JMS beginner -Environment help

I read the JMS tutorial on the sun's website. Still some of the concepts are not clear to me. I'm trying to understand JMS as analogous to JDBC. Can somebody answer the following questions
1) In JDBC paradigm, You have JDBC API, and a JDBC implementation(The jar file provided by the database vendor) and the database(eg Oracle , sybase). Through out the JMS tutorial, they talk about only JMS API and Messaging provider.
2) My environment is eclipse,tomcat. What do i need to write a j2ee component that puts a message on IBM MQ?
Thanks in advance.

I have done it using J2SE - the approach is similar except I assume you will be using a Message Driven Bean.
1.You need the MQ JMS jar files on your classpath. E.g. (not sure if all of these are required, but I always have them all):
com.ibm.mq.jar
com.ibm.mq.pcf.jar
com.ibm.mq.jms.jar
connector.jar
dhbcore.jar
jms.jar
jta.jar
mqcontext.jar2.You need to have a JNDI configuration file on your classpath root: (change the URL to host:port/channel you are using. 1414/SYSTEM.DEF.SVRCONN are the defaults).
java.naming.factory.inital=com.ibm.mq.jms.context.WMQInitialContextFactory
java.naming.provider.url=localhost:1414/SYSTEM.DEF.SVRCONN
3. Make sure you have MQ 6.0.2.2 (fix packs installed), and set up your 1414 queue manager with a JNDI provider. Set up a queue connection factory "myQCF" and a destination "myQueue" which itself references an actual queue on your queue manager.
4. In J2SE, something along the lines of:
import javax.naming.*;
import javax.jms.*;
Context ctx = new InitialContext();
QueueConnectionFactory factory = (QueueConnectionFactory) ctx.lookup( "myQCF");
QueueConnection conn = factory.createQueueConnection();
Destination dest = (Destination) ctx.lookup( "myQueue");
Session session = conn.createSession( false, Session.AUTO_ACKNOWLEDGE);
TextMessage message = session.createTextMessage( "This is a test message");
MessageProducer prod = session.createProducer( dest);
producer.send( message);

Similar Messages

  • Need help, JMS beginner.

    Hi,
    I m new to the JMS and appreciate all help you can offer.
    I'll need to create some kind of an API to our system that other suppliers/operators will use in their existing (java) environment.
    And think JMS is a good solution (?)
    Please correct me if I m thinking wrong:
    1.
    The API MUST over my own classes contains SUN JMS classes and client classes specific the JMS vendor.
    2.
    A typical API call for the supplier would look like:
    import mycomp.rpc.*;
    import mycomp.rpc.answers.*;
    Books[] books = MyAPIClass.getAllBooks();
    OrderConfirmation orderConf = MyAPIClass.createOrder( aBook );
    boolean orderCommited = orderConf.isCommited();
    if ( !orderCommited )
      System.out.println( orderConf.getDescription() );
    ...Is it possible to achieve a solution for this in JMS ?
    As you see Im a good JMS beginner.
    any comments are good...
    thank you.

    Yes, JMS is a good solution for integration of this type. Of course, since this integration may be external you're going to have to come up with a solution for security and firewall issues. Perhaps web services would be a better option in light of these issues.

  • Environment Help

    What do I have to do to get Logic 7.1.1 to see External midi instruments ?
    Ive a Traveler and have a Yamaha MU80 & Korg X5 DR .
    Traveler sees Midi but externals are not ?
    Everyone I ask says they only deal with it once , kind a set and forget..
    can any pls help me ???
    desparate snoger

    snog oogadus, "Environment Help" #4, 07:31am Oct 5, 2005 CDT
    sometimes when I patch an intrument direct to sequencer imput in env page , the korg comes alive but the dialogue box says remove port or none or cancel all options kill the sounds .. Its got me flumoxed ..
    And where, in the manual, or the getting started guide, did you read that you should do that ?
    I suggest you discard whatever Autoload you have built, and start again.
    Do the Setup Assistant again and it will create an Autoload which reflects the hardware you told it you have.
    Don't touch anything in the 'clicks and ports' layer at all. At least not until you feel comfortable that you really understand what does what.
    The reason you got that dialog, when you tried to cable from the Multi, is because the Multi Instrument is already assigned to a MIDI Out port.
    Get the correct Multi Instruments for your hardware, and copy them to the MIDI Instruments layer of the Environment.
    Assign each Multi Instrument to the only MIDI Out Port you have (the Traveller).
    The manuals for both synths will describe how to set up MIDI Thru.
    Create tracks for each instrument in the tracklist, according to which channels you set up as MIDI Thru channels.
    That is all.

  • Environment help and safety

    Hi experts,
    There is any standart extractor in the EHS(Environment help and safety) module of R/3?
    Thanks

    There are extractors 0EHS_IH_WA_1, 0EHS_IH_IA_1, 0EHS_IH_IA_2
    Chk this link..
    http://help.sap.com/saphelp_nw70/helpdata/EN/02/0809407448c442e10000000a1550b0/frameset.htm

  • Re: Beginner needs help using a array of class objects, and quick

    Dear Cynthiaw,
    I just read your Beginner needs help using a array of class objects, and quick of Dec 7, 2006 9:25 PM . I really like your nice example.
    I also want to put a question on the forum and display the source code of my classe in a pretty way as you did : with colors, indentation, ... But how ? In html, I assume. How did you generate the html code of your three classes ? By help of your IDE ? NetBeans ? References ?
    I already posted my question with six source code classes ... in text mode --> Awful : See "Polymorphism did you say ?"
    Is there a way to discard and replace a post (with html source code) in the Sun forum ?
    Thanks for your help.
    Chavada

    chavada wrote:
    Dear Cynthiaw,
    I just read your Beginner needs help using a array of class objects, and quick of Dec 7, 2006 9:25 PM . I really like your nice example.You think she's still around almost a year later?
    I also want to put a question on the forum and display the source code of my classe in a pretty way as you did : with colors, indentation, ... But how ?Just use [code] and [/code] around it, or use the CODE button
    [code]
    public class Foo() {
      * This is the bar method
      public void bar() {
        // do stuff
    }[/code]

  • Beginner: Need Help : Label Frame

    Beginner: Need Help : Label Frame
    Hi everyone, 
    I am trying to find a way to get my menu bar working. Little info, I am a beginner in Flash just learned the essential DVD from Adobe.
    My menu bar has the following:
    (About Us) (Services) (Quality) (Projects) (Contact Us)
    Each page will have a motion shape tween and slide the page down.
    I have type in this actions :
    stop();
    import flash.events.MouseEvent;
    //---aboutus Button Timeline change---\\
    aboutus_btn.addEventListener(MouseEvent.CLICK, aboutusClick);
    function aboutusClick(event:MouseEvent):void{
    gotoAndPlay("aboutus");
    //---services Button Timeline change---\\
    services_btn.addEventListener(MouseEvent.CLICK, servicesClick);
    function servicesClick(event:MouseEvent):void{
    gotoAndPlay("services");
    //---quality Button Timeline change---\\
    quality_btn.addEventListener(MouseEvent.CLICK, qualityClick);
    function qualityClick(event:MouseEvent):void{
    gotoAndPlay("quality");
    //---projects Button Timeline change---\\
    projects_btn.addEventListener(MouseEvent.CLICK, projectsClick);
    function projectsClick(event:MouseEvent):void{
    gotoAndPlay("projects");
    //---contactus Button Timeline change---\\
    contactus_btn.addEventListener(MouseEvent.CLICK, contactusClick);
    function contactusClick(event:MouseEvent):void{
    gotoAndPlay("contactus");
    This actions only works when I click to the next labels but doesn't work when I want to click back to the previous labels. For example, if I click onto (About Us) to (Services) and (Services) to (Quality) and (Quality) to Projects and (Projects) to (Contact Us)... it all works. If I then click from (Contact Us) back to (Projects) or even any previous buttons... it does NOT work??
    Anyone? Please help!

    This is my timeline structure. The code for the action frame is in hi-lite in yellow.
    Is this clear enough?
    I also tried rewriting the action like below, but still have the same problem.
    stop();
    aboutus_btn.addEventListener(MouseEvent.CLICK, onaboutusClick, false, 0, true);
    services_btn.addEventListener(MouseEvent.CLICK, onservicesClick, false, 0, true);
    quality_btn.addEventListener(MouseEvent.CLICK, onqualityClick, false, 0, true);
    projects_btn.addEventListener(MouseEvent.CLICK, onprojectsClick, false, 0, true);
    contactus_btn.addEventListener(MouseEvent.CLICK, oncontactusClick, false, 0, true);
    function onaboutusClick(evt:MouseEvent):void {
    gotoAndPlay("aboutus");
    function onservicesClick(evt:MouseEvent):void {
    gotoAndPlay("services");
    function onqualityClick(evt:MouseEvent):void {
    gotoAndPlay("quality");
    function onprojectsClick(evt:MouseEvent):void {
    gotoAndPlay("projects");
    function oncontactusClick(evt:MouseEvent):void {
    gotoAndPlay("contactus");

  • Java beginner, please help!! (oracle jdbc setting)

    Hi, I am a java beginner. I can't access remote oracle db from my computer. please help me. I can't figure out the problem.
    1.The error------------------------------------------------------------
    Exception in thread "main" java.sql.SQLException: No suitable driver
    at java.sql.DriverManager.getConnection(DriverManager.java:532)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at testdb.main(testdb.java:9)
    2.JDBC DRIVER is in----------------------------------------------------
    c:\j2sdk1.4.1_02\jdbc\classes12.zip
    3.CLASSPATH is --------------------------------------------------------
    .;c:\j2sdk1.4.1_02\bin;c:\j2sdk1.4.1_02\jdbc;
    4.My program is--------------------------------------------------------
    import java.sql.*;
    class testdb
    public static void main (String args[])
    throws SQLException,ClassNotFoundException
    Connection conn=
    DriverManager.getConnection("jdbc:oracle:thin:@111.31.111.11:1526:ORA81","scott","tiger");
    Statement stmt = conn.createStatement();
    ResultSet rset=stmt.executeQuery("SELECT EMPNO FROM EMP");
    while (rset.next()) {
    System.out.println (rset.getString(1));
    5. Why can't i connect to db?

    Hi...i have the same problem and can't seem to solve it
    this is my source code
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class TextToDatabaseTable {
    public static void main (String[] args) {
    try {
    // connect to db
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@cs-bid:1521:SVRDESK", "lynn", "abc");
    catch( Exception e) {
    e.printStackTrace();
    and this is my error
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at TextToDatabaseTable.main(TextToDatabaseTable.java:12)
    and i try the methods above
    C:\download\Lynn>java -classpath c:\download\lynn;classes12.zip TextToDatabaseTable
    C:\download\Lynn>java TextToDatabaseTable
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at TextToDatabaseTable.main(TextToDatabaseTable.java:12)
    i'm using oracle 8i with tomcat on win 2k server.
    i dunno what's wrong with it...do i need to set any classpath?
    i have TOMCAT_HOME and JAVA_HOME Variables in My Environment Variables.
    Do i need to set anything for these variables?
    Do i need to download any patches? I'm kinda confused.
    Thanks!

  • Raw Beginner need help with Adobe Photoshop CS2

    I am reading Photoshop CS2 for digital photographers by Scott Kelby. I am looking at pg 55 if any one has this book and would like to visually see what I am about to describe. I own Adobe Photoshop CS2 software. After bringing up Adobe bride RAW on my PC, I then see all the settings, Exposure, Shadows, Brightness, Contrast, and Saturation.. Located directly above all of these settings is Auto and Default which you can click on and adjust all settings at the same time. If you don't like what you see you click on Default to go back to the original, you can then make your adjustments individually. In my CS2 book there is an Auto box you can check or un-check beside each setting, Exposure, Shadows, Brightness, and Contrast. My question is how do I get the Auto box beside each setting so I can simply put a check in that box and preview changes individually instead of the Auto and Default on top which changes every setting at the same time? I hope this make since to you, if not I will try to explain again.

    Thank you Ramon for your help. I will just be happy with what I have, which works fine but I thought it might be better for me to have the individual Auto check box for each setting. Thank you for the tip to double-click the sliders to reset it to default, it works in CS2 also:) Actually this gives me more control and works out great now that I think about it. I am sure there are more handy little tips I should know about but don't because I am a beginner in learning RAW. Hopefully I'll stumble across a book or some thing over the internet that will help me with my learning curve.

  • A transaction problem in cluster environment,help!

              I need to take a complicated data operation which will have to call sevearl SQL
              sentences to add datas into DB in a circle. In order to minimize the cost of DB
              connection, I use one connection to create 5 statements,which are used to add
              datas repeatedly. You can read the corresponding codes below. These codes run
              very well in stand-alone environment,but problem occurs when changed to cluster
              environment. The console shows that it's timeout because the transaction takes
              too long time. But when it runs in stand-alone environment,it completes in less
              than one second! In both situations I use the same TX data source. I guess when
              changed to cluster environment,the transaction processing becomes very complicated
              and then it leads to dead-lock. Anybody agrees with this, or has any experience
              about it before? Help,thanks a lot!
              conn = getConnection();
              pstmt3 = conn.prepareStatement
              (DBInfo.SQL_RECEIPTPACK_CREATE);
              pstmt4 = conn.prepareStatement
              (DBInfo.SQL_RECEIPT_CREATE);
              pstmt5 = conn.prepareStatement
              (DBInfo.SQL_RECEIPTPACKAUDIT_INSERT_ALL);
              pstmt6 = conn.prepareStatement
              (DBInfo.SQL_RECEIPTAUDIT_INSERT_ALL);
              int count = (endno+1-startno)/quantity;
              for(int i=0;i<count;i++)
              int newstartno = startno +
              i*quantity;
              int newendno = newstartno +
              quantity - 1;
              String newStartNO =
              Formatter.formatNum2Str(newstartno,ConstVar.RECEIPT_NO_LENGTH);
              String newEndNO =
              Formatter.formatNum2Str(newendno,ConstVar.RECEIPT_NO_LENGTH);
              pstmt1 = conn.prepareStatement
              (DBInfo.SQL_RECEIPTPACK_SEQ_NEXT);
              rs1 = pstmt1.executeQuery();
              if(!rs1.next()) return -1;
              int packid = rs1.getInt(1);
              cleanup(pstmt1,null,rs1);
              pstmt3.setInt(1,packid);
              pstmt3.setString(2,newStartNO);
              pstmt3.setString(3,newEndNO);
              pstmt3.setInt(4,quantity);
              pstmt3.setLong(5,expiredt);
              pstmt3.setInt
              (6,ConstVar.ID_UNIT_TREASURY);
              pstmt3.setInt
              (7,Status.STATUS_RECEIPTPACK_REGISTERED);
              pstmt3.setLong(8,proctm);
              pstmt3.setInt(9,procUserid);
              pstmt3.setInt
              (10,ConstVar.ID_UNIT_TREASURY);
              pstmt3.setInt(11,typeid);
              pstmt3.addBatch();
              //audit
              pstmt5.setInt(1,procUserid);
              pstmt5.setInt(2,packid);
              pstmt5.setInt
              (3,OPCode.OP_RCT_RGT_RECEIPTPACK);
              pstmt5.setLong(4,0);
              pstmt5.setLong(5,proctm);
              pstmt5.addBatch();
              for(int
              j=newstartno;j<=newendno;j++)
              String receiptNO =
              Formatter.formatNum2Str(j,ConstVar.RECEIPT_NO_LENGTH);
              pstmt2 =
              conn.prepareStatement(DBInfo.SQL_RECEIPT_SEQ_NEXT);
              rs2 =
              pstmt2.executeQuery();
              if(!rs2.next()) return -
              1;
              int receiptid =
              rs2.getInt(1);
              cleanup
              (pstmt2,null,rs2);
              pstmt4.setInt
              (1,receiptid);
              pstmt4.setString
              (2,receiptNO);
              pstmt4.setInt
              (3,Status.STATUS_RECEIPT_REGISTERED);
              pstmt4.setDouble
              (4,00.0);
              pstmt4.setInt(5,0);
              pstmt4.setDouble
              (6,00.0);
              pstmt4.setDouble
              (7,00.0);
              pstmt4.setDouble
              (8,00.0);
              pstmt4.setInt
              (9,procUserid);
              pstmt4.setLong
              (10,proctm);
              pstmt4.setLong
              (11,expiredt);
              pstmt4.setInt(12,0);
              pstmt4.setInt
              (13,packid);
              pstmt4.setInt
              (14,typeid);
              pstmt4.addBatch();
              //audit
              pstmt6.setInt
              (1,procUserid);
              pstmt6.setInt
              (2,receiptid);
              pstmt6.setInt
              (3,OPCode.OP_RCT_RGT_RECEIPTPACK);
              pstmt6.setLong(4,0);
              pstmt6.setLong
              (5,proctm);
              pstmt6.addBatch();
              pstmt3.executeBatch();
              cleanup(pstmt3,null);
              pstmt5.executeBatch();
              cleanup(pstmt5,null);
              pstmt4.executeBatch();
              cleanup(pstmt4,null);
              pstmt6.executeBatch();
              cleanup(pstmt6,null);
              

    Hello,
    Are you using any kind of Load Balancer, like an F5. I am currently troubleshooting this issue for one of our ADF apps and I originally suspected the F5 was not sending traffic correctly. We have not set the adf-config file for HA and the dev team will fix that. But my concern is that will just hide my F5 issue.
    Thanks,
    -Alan

  • Absolute Beginner needs help

    I've had my 30 GB color video iPod for a few hours, and feel totally lost.
    I was able to connect it to my iMac, and the computer used iTunes to synch everything.
    How do you turn it on or off? How do you stop it from playing music?
    How do you set it up, or use the wheel to select stuff?
    This is all very basic stuff, and I couldn't find the info in the help files or in this discussion forum.
    Am I just plain dense?

    To stop the iPod from automatically syncing with iTunes when you connect the iPod to the computer you will need to change some preferences.
    Connect the iPod to the computer and then stop the iPod from syncing. While the iPod is still in iTunes i.e is still in the left column (sometimes it ejects the iPod when you stop it from syncing don't ask me why : /)
    I will assume that you have the latest iTunes (if not you will eventually need to download it anyway) so all you will have to do is click on the iPod in the left column and click on the "Manually manage music and videos" box. Now you will have to drag songs/videos/playlists to the iPod.
    To turn off your iPod simply hold the play button until it sleeps. Then you can put it on hold so it wont turn on accidently.
    To select stuff... as in selecting a specific song? then navigate to the prefered song listing (songs or playlists artists etc) using the center button (sorry if this sounds obvious but you did say absolute beginner :P)
    To stop a song selection from playing just push previous until you have gone past the first song. there may be easier ways but unless your playing 4000 songs its not very time-consuming
    Hope this helps you out a bit look forward to some feedback and quires
    This is probably covered in the links provided by b noir but this is just to focus on the specifics of your questions.
    MP 2GHz 1GB RAM 2X 160HD X1900XT 24" LCD   Mac OS X (10.4.8)   PM G4 (Digital Audio) 1 GB Ram, Firewire/USB PCI card, Extra 2x 60GB HD

  • Beginner - Need Help With Soundboard

    Hey everyone,
    I'm just learning Flash, and from various online tutorials, I
    have managed to get this far with the soundboard I want to make.
    Example Soundboard -
    Here
    As you can see from the example, this will be a very simple
    soundboard. All I want it to do is trigger and loop sounds, like it
    does now. But I have a couple things more I want it to do.
    In the example, in the "Over" state of the buttons, I've
    added text to show what each button will trigger (Test Loop 1, Test
    Loop 2).
    But once the sound is triggered (via OnRelease) and the user
    moves the cursor off the button - I want the Over state mode of the
    button to remain showing as the audio loop plays (so the user
    visually sees what audio loop is currently playing).
    How would I do this?
    Also, I'm considering making each button be it's own on/off
    control, instead of a completely separate "Off" button.
    I've found 4-5 different online tutorials to accomplish this
    same feature. And have tried and succeeded at doing some of them.
    But what I would like to know is, what method would be the
    easiest and most compatible, inconjunction to what I would like to
    do above?
    Last question...
    On the example soundboard, I notice that if you hover the
    cursor over where the text appears (Test Loop 1, Test Loop 2) it
    flickers the Over state of the buttons.
    Why does it do this, and can that be prevented?
    I know for a lot of you, these are probably simple questions.
    So, Hopefully someone can help me out. I've already done a lot
    searching for solutions, as well as tried the Flash "Help". But as
    a beginner, I'm not sure exactly what I need to search for.
    Any help will be sincerely appreciated!
    Thanks!

    1. you need to use movieclip buttons instead of true buttons
    to have better control of their up, over and down states.
    2. you can make each button a toggle by using toggle variable
    that you have execute one set of statements when the toggle is true
    and another set with the toggle variable is false. you'll "toggle"
    that variable each time your button is released
    3. you're seeing those problems with the text flickering
    because that text must be part of your buttons hit area..

  • Beginner Question - Help Needed for EJB QL Sample Application

    I'm working with a group of student interns, like myself, and we've been given an assignment to work with Oracle. All of us have no training or experience with this, so we're just learning as we go.
    I've been trying to run the EJB QL Sample Application (http://www.oracle.com/technology/sample_code/tech/java/ejb_corba/ejbql/Install.html), but I keep running into problems at step 3.
    Now, we will deploy the sample application onto OC4J. Open another command prompt and go to the folder <OC4J_HOME>/j2ee/home and run the following commands one-by-one
    > java -jar admin.jar ormi://<machine_name>:<admin_port> admin <admin_pwd> -deploy -file <SAMPLE_HOME>/build/ejbql.ear -deploymentName Ejbql
    > java -jar admin.jar ormi://<machine_name>:<admin_port> admin <admin_pwd> -bindWebApp Ejbql ejbql-war http-web-site /ejbql
    where,
    <machine_name>      Name of the machine where OC4J Server is running
    <admin_port>      Admin Port on which the OC4J server listens. This value by default is 23791 unless explicitly changed by the user
    <admin_pwd>      Adminstrator password to access OC4J. The default value is welcome
    When I do this step I get this error:
    Error: Unable to find java:comp/ServerAdministrator: Lookup error: javax.naming.
    AuthenticationException: Invalid username/password for default (sds); nested exc
    eption is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds)
    com.evermind.client.orion.AdminCommandException: Unable to find java:comp/Server
    Administrator: Lookup error: javax.naming.AuthenticationException: Invalid usern
    ame/password for default (sds); nested exception is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:105)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException
    : Invalid username/password for default (sds); nested exception is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds) [Root exception is javax.naming.AuthenticationException: Invalid usern
    ame/password for default (sds)]
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:153)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:102)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    Caused by: javax.naming.AuthenticationException: Invalid username/password for d
    efault (sds)
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2410
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2226
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1692)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
    ... 2 more
    ---- Embedded exception
    javax.naming.AuthenticationException: Invalid username/password for default (sds
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2410
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2226
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1692)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:102)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    Any suggestions to fix this error?
    Thanks in advance for any help.

    George,
    The Readme.html file is available with the ejbqlsample.jar downloadable (Extract and find the doc in Ejbql\docs\Readme.html) which is printable.
    Or,
    If you are trying to print the file directly from OTN site, you need to set the Page-Setup Orientation to 'Landscape'.
    Hope this helps.
    Regards
    Pushkala

  • Beginner needs Help with using FCP

    Hi I just opened up FCP and have no idea how to use it. How can I watch free Video Tutorials?
    Most videos I want to use in a video project are Xvid .avi videos and I have a hard time scrubbing through them. How can I make my editing for those more smooth.

    Congratulations on purchasing a very complicated and deep collection of software. This forum is for technical support issues - not teaching you the software.
    Your Xvid material will have to be converted to an editable format. What constitutes an editable format is listed in your Easy Setup list in FCP.
    A good place to start learning the program is reading the manual - particularly the sections that introduce the software, spell out supported formats and describe the work flow.
    For specific tutorials, Lydia.com is useful.
    Ken Stone's website contains a great deal of helpful information.
    Good luck.
    x

  • Beginner needs help

    I am working on creating a new web page for myself. I am a
    novice, running into a little trouble. The link to the site is
    http://exercise.cabspace.com/football/
    Can anyone tell me why the hover works fine in FF, but not in
    IE. What did
    I do wrong? I got the nav bar from
    http://websitestyle.com/templates/menus/horizontal/
    It is called: Centered with Hover Tab
    It works there in IE. Any help would be appreciated.

    I spent a good portion of the night trying to figure this
    out, but none of my options worked. If anyone is good at this type
    of problem, please advise me what I can do. My skills are too
    limited to figure this out. Thank you.

  • Beginner needs help with css layout

    i'm new to using dw (cs3) and css, though i have some
    background in html and coding. i'm creating a page using the "one
    column elastic, centered, header and footer" layout and i have a
    banner header with a horizontal spry menu bar at the bottom of the
    header. the background color of the buttons on the menu bar is red,
    and there's a yellow 5px border on the top and bottom of the red
    menu bar, so it looks like there's red bar with yellow piping above
    and below it, and this bar is between the header and body section
    of the page. i've set these colors in the "ul.MenuBarHorizontal a"
    rule.
    now, the issue i have is that my menu bar does not extend
    across the entire column, so there's empty space to the right of my
    menu bar (between the end of the menu bar and the far right
    column). i'd like the look of the red and yellow menu bar to extend
    all the way across, but i can't figure out how to do this in css.
    do i:
    extend the menu bar all the way across the width of the page?
    i can't figure out how to do this.
    insert an image to make it appear as though the red and
    yellow bar keeps extending to the right? if so, how will that image
    remain elastic along with my page?
    or is there a better solution?
    i'm very new to css and i'm doing my best to figure out how
    everything fits together. the last web site i built was in 1997 and
    it was done in notepad. any help would be tremendous. i'm in
    kinshasa, in the democratic republic of congo, and truth be told
    there aren't a lot of dw gurus out here.
    thanks in advance...

    Can you post a link to your page, please?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "charliemooreiv" <[email protected]> wrote
    in message
    news:[email protected]...
    > i'm new to using dw (cs3) and css, though i have some
    background in html
    > and
    > coding. i'm creating a page using the "one column
    elastic, centered,
    > header
    > and footer" layout and i have a banner header with a
    horizontal spry menu
    > bar
    > at the bottom of the header. the background color of the
    buttons on the
    > menu
    > bar is red, and there's a yellow 5px border on the top
    and bottom of the
    > red
    > menu bar, so it looks like there's red bar with yellow
    piping above and
    > below
    > it, and this bar is between the header and body section
    of the page. i've
    > set
    > these colors in the "ul.MenuBarHorizontal a" rule.
    >
    > now, the issue i have is that my menu bar does not
    extend across the
    > entire
    > column, so there's empty space to the right of my menu
    bar (between the
    > end of
    > the menu bar and the far right column). i'd like the
    look of the red and
    > yellow menu bar to extend all the way across, but i
    can't figure out how
    > to do
    > this in css.
    >
    > do i:
    >
    > extend the menu bar all the way across the width of the
    page? i can't
    > figure
    > out how to do this.
    >
    > insert an image to make it appear as though the red and
    yellow bar keeps
    > extending to the right? if so, how will that image
    remain elastic along
    > with
    > my page?
    >
    > or is there a better solution?
    >
    > i'm very new to css and i'm doing my best to figure out
    how everything
    > fits
    > together. the last web site i built was in 1997 and it
    was done in
    > notepad.
    > any help would be tremendous. i'm in kinshasa, in the
    democratic republic
    > of
    > congo, and truth be told there aren't a lot of dw gurus
    out here.
    >
    > thanks in advance...
    >

Maybe you are looking for

  • FireFox is not playing sound on any video files. Youtube, Hulu, etc. I am not having this problem with the other web browsers on my computer.

    <blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/908837]]</blockquote> I think it is related to a babylon add on that my son installed. I don't know how to get rid of it.

  • Query with multiple checks

    I have a table with 4 fields fiels name type Possible values 1. Income_group char(1) 'A','B' 2. Family_Size number(2) 1 to 3 3. LPG_Cylinder char(1) 'S','D'(Single/Double) 4. No_of_families number(5) any number from this table I wants to generate a f

  • Cant access shared music on iPad

    I have home sharing turned on, on my ipad, Mac and apple TV, i can access music via aple TV using the remote app on my ipad, when i go into music on the ipad, i have the shared music icon on the bottom left of my screen, when i click on the icon i ca

  • SQL Loader input derived column

    Hi, I am running SQL Loader and I have two columns in my source file I am loading along with LoadDate and the name of the source file. my loader.ctl is below: load data infile 'c:\Reports\Test20070619.txt' APPEND into table MikeTest2 fields terminate

  • Code for an iframe that sizes the presentation correctly

    Does anyone have code for an iframe that sizes the HTML5 presentation correctly?  We want the presentation to be presented in the specific width and height we set for it.  Interestingly if we open the presentation using a JavaScript window.open or sh