[URGENT]JMS Stuck at   connectionFactory.createQueueConnection();

I am developing an OSB project and it has to insert a message on a OC4J Queue. I've been testing on *10.1.3.3.0* version and it workd fine. But the real version used is *10.1.3.0.0* and I don't know why but the request just gets stuck.... nothing happens, no timeout, no exception... nothing.
I write a java test to found the problem this is the code...
String queueName = "jms/demoQueue";
          String queueConnectionFactoryName = "jms/QueueConnectionFactory";
          Context ctx;
          try {
               Properties parm = new Properties();
               parm.setProperty("java.naming.factory.initial",
                         "com.evermind.server.rmi.RMIInitialContextFactory");
               parm.setProperty("java.naming.provider.url",
                         "ormi://10.11.2.32:23791");
               parm.setProperty("java.naming.security.principal", "oc4jadmin");
               parm.setProperty("java.naming.security.credentials", "password" +
                         "" +
               ctx = new InitialContext(parm);
               System.out.println("context");
               QueueConnectionFactory connectionFactory = (QueueConnectionFactory) ctx.lookup(queueConnectionFactoryName);
               System.out.println("CF");
               queue = (Queue) ctx.lookup(queueName);
               System.out.println(queue);
               connection = connectionFactory.createQueueConnection();
               System.out.println("QC");
               connection.start();
               session = connection.createQueueSession(false,
                         Session.AUTO_ACKNOWLEDGE);
               sender = session.createSender(queue);
               receiver = session.createReceiver(queue);
          } catch (JMSException je) {
               System.out.println(je);
          } catch (Exception t) {
               System.out.println(t);
     }again in 10.1.3.3.0 it works fine, but in 10.1.3.0.0 gets stuck at code connection = connectionFactory.createQueueConnection(); just stays at that line... like waiting for something that never comes
Tested on HermesJms but the same problem....
any ideas on why this is happening and how to solve this???
Thanks in advance.

Between you and Peter it got solved
When you make a standalone java client the connection will be performed by a TCP socket to the server. Your problem is this cannot be achieved. When you do it from JSP your code will interact directly with the JMS on the server. No opening of socket to itself. That's why it works.
I would suggest launching a visual administrator, then going to the "dispatcher" nodes, (not server) and checking the properties of the JMS_provider service. Set up there a valid TCP port (perhaps it is empty or it is not read ?), then try to restart the whole cluster.
If that will not help you, please open a OSS message where the SAP supoprt guys can help you.
HTH
Peter

Similar Messages

  • JMS:Java Client XAQueueConnectionFactory.createQueueConnection() exception

    Team,
    Running from stanalone java client. Whe I try to put the message on JMS, it throws the exception. Some other person found the same problem(JMS Exception: hosts (hostname:port) cannot be accessed!).
    I can create the initial context, lookup connection factory and look up queue succesfully but after that when I create the connection it throws the exception(listed below)
    Same code if I run under jsp running on SAP WS runs fine all the way and put the message on the queue.
    javax.jms.JMSException: The following hosts (hostname:port) cannot be accessed:
    . Check host names and ports.
            at com.sap.jms.client.connection.ConnectionFactory.getSocket(ConnectionF
    actory.java:447)
            at com.sap.jms.client.connection.ConnectionFactory.createConnection(Conn
    ectionFactory.java:300)
            at com.sap.jms.client.connection.ConnectionFactory.createConnection(Conn
    ectionFactory.java:244)
            at com.sap.jms.client.xa.XAQueueConnectionFactory.createQueueConnection(
    XAQueueConnectionFactory.java:122)
            at QueueSend.main(QueueSend.java:37)
    This where I print out the context, cf and queue.
    ctx=javax.naming.InitialContext@1833eca
      qcf=com.sap.jms.client.xa.XAQueueConnectionFactory@18f5824

    Peter solved it
    When you make a standalone java client the connection will be performed by a TCP socket to the server. Your problem is this cannot be achieved. When you do it from JSP your code will interact directly with the JMS on the server. No opening of socket to itself. That's why it works.
    I would suggest launching a visual administrator, then going to the "dispatcher" nodes, (not server) and checking the properties of the JMS_provider service. Set up there a valid TCP port (perhaps it is empty or it is not read ?), then try to restart the whole cluster.
    If that will not help you, please open a OSS message where the SAP supoprt guys can help you.
    HTH
    Peter

  • Urgent JMS Problem,Help!!

    I meet a urgent problem about JMS,I use wls61 sp1
    but when serverl MDB subscribed to one topic,problem
    accur and not all of the subscriber seems to receive the
    message,I know that sp2 have slove the bugs.but I just
    want to get the patch of jms for wls61sp1.
    This is very urgent,can anyone help me to
    get the patch?
    Thanks a lot

    This sounds like the symptoms that I am currently suffering,
    under Weblogic 6.1 SP2.
    My situation is that I have processes on several "satellite"
    Weblogic servers that all subscribe to the same set of several
    JMS Topics published by a "central" Weblogic server. The servers
    are all using Weblogic 6.1 SP2 (non-clustered). It appears that
    only one of the subscribing "satellite" servers receives the
    messages published. After a couple of experiments, it appears
    that the first "satellite" server to register with the Topics is
    the one that receives the messages, even if that "satellite"
    server is restarted, until such time as the "central" server is restarted.
    It appears from Eric's message that there is a patch for this.
    How do I go about getting a copy of the patch? Or is my problem
    different?
    Thanks,
    -Chris-
    "Eric.Nie" <[email protected]> wrote:
    >
    I have got the patch,Thank u very much
    Ravi Akella <[email protected]> wrote:
    Are these subscribers on the server. If you could provide some more
    info about the problem I will try to help you.
    Ravi Akella.
    "Eric.Nie" wrote:
    I meet a urgent problem about JMS,I use wls61 sp1
    but when serverl MDB subscribed to one topic,problem
    accur and not all of the subscriber seems to receive the
    message,I know that sp2 have slove the bugs.but I just
    want to get the patch of jms for wls61sp1.
    This is very urgent,can anyone help me to
    get the patch?
    Thanks a lot

  • JMS: Cannot initialize ConnectionFactory

    Hi all,
    I am learning JMS and so I have downloaded "Java EE SDK 5 Update 2" (available at https://sdlc5a.sun.com/ECom/EComActionServlet;jsessionid=500D73F57050D281F4B6B 5289DA3C254) and installed it on my window machine. From the package, I can use "Sun Java System Application Server" to define the necessary resources used in the JMS example programs. I have followed the instruction to create the resources before I run the example with the following output to confirm that ConnectionFactory, Queue and Topic are successfully created:
    C:\temp>asadmin list-jms-resources
    jms/Queue
    jms/Topic
    jms/ConnectionFactory
    Command list-jms-resources executed successfully.
    C:\temp>
    However, I got NullPointerException for when I executed the Producer.java (http://java.sun.com/javaee/5/docs/tutorial/examples/jms/simple/producer/src/java/Producer.java) that the ConnectionFactory cannot be created:
    @Resource(mappedName = "jms/ConnectionFactory")
    private static ConnectionFactory connectionFactory;
    Connection connection = connectionFactory.createConnection(); // NullPointerException here
    Do you think I have sth missing to be defined or created in the "Sun Java System Application Server" or anything else?
    Thanks,
    Joe

    Portal wrote:
    Hi all,
    I am learning JMS and so I have downloaded "Java EE SDK 5 Update 2" (available at https://sdlc5a.sun.com/ECom/EComActionServlet;jsessionid=500D73F57050D281F4B6B 5289DA3C254) and installed it on my window machine. From the package, I can use "Sun Java System Application Server" to define the necessary resources used in the JMS example programs. I have followed the instruction to create the resources before I run the example with the following output to confirm that ConnectionFactory, Queue and Topic are successfully created:
    C:\temp>asadmin list-jms-resources
    jms/Queue
    jms/Topic
    jms/ConnectionFactory
    Command list-jms-resources executed successfully.
    C:\temp>
    However, I got NullPointerException for when I executed the Producer.java (http://java.sun.com/javaee/5/docs/tutorial/examples/jms/simple/producer/src/java/Producer.java) that the ConnectionFactory cannot be created:
    @Resource(mappedName = "jms/ConnectionFactory")
    private static ConnectionFactory connectionFactory;
    *Do you know initialize the InitialContext before the ConnectionFactory? After initialization, you have to look up for them in your JNDI.
    Connection connection = connectionFactory.createConnection(); // NullPointerException hereDo you think I have sth missing to be defined or created in the "Sun Java System Application Server" or anything else?Except that, you have to add all of those necessary jar files in your CLASSPATH. Read the instillation and configuration document for your application server.
    >
    Thanks,
    Joe

  • Urgent:Idoc stuck with status 03 in TRFC

    My Idoc is in status 03, but it is not reached to destination.
    I guess It is stuck in Rfc layer or in some QUEUE.
    There was quality system refresh last week here with Production system.
    Pelase suggest what seetings need to be changed and where.
    in SM58 it give the following error
    'RFC address XXXXXXX doesn't exist'
    (where XXXXXXX i m not mentioning here for Client security reasons)
    is there any program to clear these layers?
    Thanks a ton in advance and the answer will be adequately awarded.

    hi,
    whnevr ur idoc is in status 03 just run the transaction BD75.
    the status will be converted to 12 and datawill be passed.
    reward points if hlpful.

  • Urgent - JMS adapter

    Hi,
    How do we set-up transport level security (using encryption) when the message is sent from XI to MQ Series using receiver JMS adapter?
    Thanks,
    Vatsala.

    check these docs
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a05b2347-01e7-2910-ceac-c45577e574e0
    http://help.sap.com/saphelp_nw04s/helpdata/en/c1/739c4186c2a409e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/90/57849e5e3e45d784afc4e3bfa8136f/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/604e2b64-e689-2910-64b3-ffd650f83756
    regards
    krishna

  • Urgent JMS issue with SSL-enabled cluster

    Hello, dear All!
    We have deployed a SAP WebAS SP13 SSL-enabled cluster (2 servers) and face the following strange behaviour:
    When both servers are running our queue-based message driven beans (MDB EJBs) never get any messages.
    However, JMS topic subscriber threads (not implemented as MDBs) work fine on both servers and receive JMS broadcasts. As well web-initiated JMS queue browsing works fine.
    Then if only one (central) server is up, queue-based MDBs work fine and start receiving messages...
    If you know or guess what might be an issue it would be greatly appreciated!
    Thank you and best regards,
    -Yuri

    Hi!
    Yes, I solved this problem. You have to set your certificate to the LDAP server and get SSL enabled. You should also add same certificate to your jdk's cacerts file. That should help. :)
    Janne

  • URGENT!Stuck while installing the Oracle apps 11.5.8 on Windows 2000 Server

    Hi All,
    I am installing the Oracle applications 11.5.8 on windows server 2000 using the rapid install 11.5.8.11(which was part of the cd pack).
    I am using the Windows CD Pack(which consists of 19 cds)
    To start with, it has passed all the pre install checks(including the utlity check, system check etc), every thing was succesful and then I started the installation.
    And then I started installing, I inserted 1 cd at a time. Every thing went smoothly until the 5 cd. While processing the 5th CD, it started spawning the dos session and was trying to connect to the created database. And it was not able to do so.
    I could see from the status bar that it was trying to run the scripts like adlicnse.sql, adclobtmp.sql ,adclobconv.sql
    and throwing the following message
    ora-01089: immediate shutdown in progress
    and was asking me to enter the user name . When I entered the username and password, it throws the message saying that
    "ora-01089: immediate shutdown in progress".
    After such unsuccesful attempts for each of the above mentioned file, I finally go the "Oracle Applications Rapid Install Wizard Alert"
    displaying the below message.
    Error code received when running external process.
    Check log file for details.
    Running Database Install Driver for PROD instance.
    and then with the "Retry" and "Abort" buttons. When I pressed the retry button,still get the same message. (And I did not find any log file to look for).
    Please let us know what are we supposed to do now and what is the exact reason why it is not able to connect to the database.
    I have not tampered with any of the files. This is a urgent requirement for us to install the oracle apps, please help us immediately and any help is widely appreciated.
    Thanks.

    your problem is not very unusual... I also faced the similar situation cpl of times when Oracle was not able to continue the installation coz the Immediate Shutdown was failed. Actually During the installation, Oracle mounts/opens the database and shuts it down many times and few times, Oracle is unable to shutdown cleanly as some process is hanging or not responding.
    Piece of advise is that always use staging area to install Apps as it takes long time on Win2K (anything between 4-12 hrs) to install it and CDROM Access is lot slower than HDD. Also, it will prompt u every time to insert tbe CD. All this hassle can be bypassed by using the staging area. Read the Installation help document on how to create it.
    For failure reasons, look in ur installation log file which is created in the default Temp folder usually C:\documents and settings\USERNAME\local settings\temp for WinXP or C:\winnt\documents and settings\USERNAME\local settings\temp for Win2K.
    post or email me at [email protected] or [email protected] for further help/details.

  • Urgent: JMS invalid pagesize

    Hi,
    I get the following error
    ServerFile--jms/TransactionProcessorQueue,/C:/oc4j_extended_101340/j2ee/home/persistence/TransactionProcessor--: invalid pagesize "1,048,576" on page "3", freeing page.
    Messages posted to the queue gets discarded with out any reason. Following is the content in jms.xml
    &lt;queue name="jms/TransactionProcessorQueue" location="queue/vms/TransactionProcessorQueue" persistence-file="TransactionProcessor"&gt;
    &lt;description&gt;TransactionProcessor Queue&lt;/description&gt;
    &lt;/queue&gt;
    I am using OracleASjms to connect to the queue.
    Can some body please shed some light on this issue.
    Thanks,
    Rakesh

    Delete the persistance file in j2ee/home/persistence/TransactionProcessor and see if you can reproduce this. Obviously the file is corrupted. If it is reproducible open an SR.

  • URGENT: JMS Adapter With BPEL: Reply Only Scenario

    Gurus,
    I have the following scenario to be implemented:
    1) BPEL Process A invokes an Async web-service (on some other SOA)
    2) Process A then does some processing.
    3) Then, process A waits for a reply message. The reply is sent in a JMS queue by the async Webservice.
    4) I have an intermediate receive activity within the same BPEL process A that connects to the JMS Adapter. JMS Adapter is set up to consume messages from the queue.
    I see messages pending in the queue but my receive doesn't continue.
    Thanks-
    Ashish

    Hello,
    There are interoperability issues between the Mid-tier and the RDBMS at present because the the mid-tier is using older version of the AQ jar files. At present the mid-tier is based on 10.1.0.5 and the backend will be whatever the backend is. Your issue sounds like a NLS issue given that bytes are fine but text is not. The characterset of the database will probably be important in this situation. So you check if the issue reproduces with different charactersets if possible. What characterset are you using and what is the Payload that the queue table is built on?
    I would also suggest you try and build a standalone java application which reproduces the problem. You could most likely achieve this by creating a 10.1.0.5 RDBMS home and using the jar files from that install and then run it against your database to see if it reproduces the issue.
    Anything that you can do to break down the problem will help Oracle Support identify what the issue is.
    Thanks
    Peter

  • Urgent:JMS AND JSP

    I am working with an architecture which has JSP pages talking to JMS message bean and in turn message bean talks to EJB, which persists the user data.
    I am quite new to JMS. My understanding is that JMS is used for Asynchronous operations. The requirement is a user can enter some data using form and the jsp page is supposed invoke a message bean which goes through other layers to store the info in the DB and should display a user An ID from the DB. How do I implement a mechanism to get message back from the Message Bean? I am using WebLogic Appserver 6.1. Please help

    First of all, you need to realize that your client and users are not the same thing. All your web requests come thru the webserver and into a certain application space, and your message queue is associated with that application, not each web user. So you only have one client to the message queue.
    Clearly you need to identify each web user in a unique way.
    Generate a sequential and unique ID for each web user and keep this is a hashtable. Remove it from the hashtable once the web user has no longer used it after a certain timeout period. If you are using Servlets then use the Session ID which is sent and received in cookies and used to link the broken session of web browsing.
    Send this unique ID with your message. And then link it back up to the original web user, once you have received a response from the queue.
    It does'nt sound like you need message queues though, since you want to return an immediate response to your client. However, look into Session.CLIENT_ACKNOWLEDGE which provides a synchronous receiver. I doubt if it will solve your problem as this works on the session level and not the message level. But check it out.
    I dunno, your question is vague, you need to provide more info.

  • Urgent - Concurrent Stuck in Running phase

    Gurus,
    Version: 12.0.4.
    To import the PO from 3rd party application, I used PDOI. For my testing, I just pushed 3 records into the tables and ran the concurrent Import Standard Purchase Orders. Strange to note that the concurrent is running for 3 days, still not completed, the phase shows Running and status as 'Normal'. No clue what went wrong.
    Please help me out.
    Thanks,
    Sen
    Edited by: Sen2008 on Nov 1, 2009 10:59 PM
    Edited by: Sen2008 on Nov 2, 2009 4:31 AM

    Hi,
    To run AutoConfig, please do the following:
    On the database tier: As oracle user, source the database env file and issue:
    $ cd $RDBMS ORACLE_HOME/appsutil/scripts/<CONTEXT_NAME>
    $ adautocfg.sh On the application tier: As applmgr user, source the application env file and issue:
    $ cd $INST_TOP/admin/scripts
    $ adautocfg.sh Note: 387859.1 - Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12
    Regards,
    Hussein

  • NoInitialContextException in jms

    i wrote a simple jms program for point to point Destination
    i am able to run the program in j2ee 1.3
    but i get problem with j2ee 1.4
    here is my program
    import javax.jms.*;
    import javax.naming.*;
    class test
         public static void main(String arg[])
              try {
                   Context ctx = new InitialContext();
                   QueueConnectionFactory  connectionFactory = (QueueConnectionFactory)ctx.lookup("QueueConnectionFactory");
                   Queue myDest = (Queue) ctx.lookup("MyQueue");
                   QueueConnection connection = connectionFactory.createQueueConnection();               
                   QueueSession session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
                   QueueSender producer = session.createSender(myDest);
                   TextMessage message = session.createTextMessage();
                   message.setText("Message");
                   producer.send(message);          
                   connection.close();
              } catch (NamingException e) {               
                   e.printStackTrace();
              } catch (JMSException e) {               
                   e.printStackTrace();
    }& i got following error
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.lookup(Unknown Source)
         at test.main(test.java:9)i have created QueueConnectionFactory in admin console
    & even i tried as jms/QueueConnectionFactory but i am getting same error. what is the reason for this plz give me solutions
    Thanks in advance

    i need it urgently anybody could send me solution please.

  • Why do the number of active JMS connections increase?

    <strong>Problem</strong>
    - Number of active JMS connections and current JMS messages increases until the Weblogic instances crash with an OutOfMemory exception
    <strong>Setup</strong>
    - Weblogic v9.2.3, Cluster with 4 Nodes
    - A JMS Message is sent from a MDB in Weblogic to a distributed queue which has a member on each of the 4 Weblogic nodes. The session is created as follows session = connection.createSession(false,Session.AUTO_ACKNOWLEDGE), the message delivery mode is set programmatically to persistent and the delivery mode override of the queue setup is set to persistent too
    - Standalone JMS client processes: each one is attached to <strong>all</strong> 4 nodes. Each one uses a unique JMS message selector so that we have more than one queue consumer for one queue but every message is exactly dedicated to one queue consumer. We us weblogic.jar for the clients.
    - Use of Weblogic auto reconnect feature. JMS client code:
    Connection connection = this.connectionFactory.createQueueConnection();
    final WLConnection wlconnection = (WLConnection)connection;
    wlconnection.setReconnectPolicy(JMSConstants.RECONNECT_POLICY_ALL);
    wlconnection.setTotalReconnectPeriodMillis(-1);
    wlconnection.setReconnectBlockingMillis(-1);
    <strong>Remarks and Questions</strong>
    - There are no pending JMS messages which is good
    - In our setup, each JMS client is connected to all 4 nodes as the messages are not distributed to all nodes: if a message is put to Queue A but the client is only connected to Queue B, the message is NOT transfered from Queue A to Queue B. We set the parameter "Forward Delay" to 5 seconds with no effects. Is this the normal behavior?
    - Not all JMS clients are visible in the Weblogic console under JMS Services -&gt; JMS Servers -&gt; [Server] -&gt; Monitoring -&gt; Active Connections. Which one are visible? Which one are not visible? There are also clients where the number of connections is not zero but stays constant; we know that as several independent clients on different hosts are started and the IP adress is visible in the Weblogic console. Why....?
    - What reasons can lead to increasing connections? Is this due to client or server problems? Do we have to acknowledge the message in the onMessage(Message) method of the client JMS consumer? So far as I know, we don't have to.
    - Are the increasing number of current messages due to the increasing number of JMS connections?
    - May the RECONNECT_POLICY_ALL policy produce this problem?
    Any hint is appreciated.
    Peter
    Edited by: pkeller on 23.10.2008 17:08

    To answer the question about the forwarding of messages from one queue to another myself: As mentioned at http://forums.bea.com/thread.jspa?threadID=400000611, the forwarding for queues does only work if all queue consumers are attached to the same queue. This means that our setup is OK.
    But the main question is still unanswered: why do the number of active JMS connections increase? I forgot to mention that
    - all messages arrive at the clients and that no exceptions are visible in the log
    - if you kill the client, the connections are still visible in the Weblogic console!?
    Please help as this problem is very urgent.
    Peter
    Edited by: pkeller on 24.10.2008 09:06
    Edited by: pkeller on 24.10.2008 09:10

  • Facing problem while implementing JMS in Weblogic 8.1

    Hi all,
    I am very new to JMS.
    I am trying to implement JMS in Weblogic.
    I have cofigured the server properly but while i am executing my receiver class i am getting the following error:
    javax.naming.NameNotFoundException: Unable to resolve 'MyJMSQueue1' Resolved [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'MyJMSQueue1' Resolved ]; remaining name 'MyJMSQueue1'
    Waiting for messages....
    and my receiver program is as follows:
    import java.util.Hashtable;
    import javax.jms.JMSException;
    import javax.jms.Message;
    import javax.jms.MessageListener;
    import javax.jms.Queue;
    import javax.jms.QueueConnection;
    import javax.jms.QueueConnectionFactory;
    import javax.jms.QueueReceiver;
    import javax.jms.QueueSession;
    import javax.jms.TextMessage;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    public class SampleQueueReceiver implements MessageListener
    private boolean done = false;
    private Context ctx = null;
    private QueueConnectionFactory connectionFactory = null;
    private QueueConnection connection = null;
    private QueueSession session = null;
    private QueueReceiver receiver = null;
    private Queue queue = null;
    private Hashtable ht = null;
    public void init()
    try
    ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");
    ctx = new InitialContext(ht);
    connectionFactory =(QueueConnectionFactory)ctx.lookup("weblogic.jms.ConnectionFactory");
    connection = connectionFactory.createQueueConnection();
    session = connection.createQueueSession(false,javax.jms.QueueSession.AUTO_ACKNOWLEDGE);
    queue = (Queue) ctx.lookup("MyJMSQueue1");
    receiver = session.createReceiver(queue);
    receiver.setMessageListener(this);
    connection.start();
    catch ( Exception e )
    System.out.println(e);
    public void close() throws JMSException
    try
    receiver.close();
    session.close();
    connection.close();
    catch ( Exception e )
    System.out.println(e);
    public void onMessage(Message message)
    if ( message instanceof TextMessage )
    try
    TextMessage textMessage = (TextMessage) message;
    String msg = textMessage.getText();
    System.out.println("Received message: " + msg);
    if ( msg.equals("exit") )
    synchronized (this)
    done = true;
    this.notifyAll();
    catch ( Exception e )
    System.out.println(e);
    public static void main(String[] args)
    try
    SampleQueueReceiver sqr = new SampleQueueReceiver();
    sqr.init();
    System.out.println("Waiting for messages....");
    synchronized (sqr)
    while ( !sqr.done )
    try
    sqr.wait();
    catch ( InterruptedException ie )
    sqr.close();
    catch ( Exception e )
    System.out.println(e);
    I have already configured MyJMSQueue in the server.....
    Someone please guide me...
    Thanks in Advance........
    Goutam

    Looks like configuration prob.
    Have you tried jms examples of weblogic ? you may need to re-configure your server setup, to create example server.

Maybe you are looking for

  • Photoshop tif won't open in Photoshop; launches Camera Raw plugin window

    We recently upgraded from Creative Suite 1 to Creative Suite 3 (with Mac OS 10.5.4). I am trying to open a tif file that was saved out of Photoshop CS1, and it keeps launching the Camera Raw plugin window instead. I've tried saving as an EPS, then op

  • GL Balance

    Hello Experts, I was trying to understand the table GLPCT from R/3 4.6d. I am working on extracting the GL balance of some balance sheet accounts summarized on profit centers. Can someone help me understand the table? I have to extract the balance in

  • Why the question mark on all open windows while in the Finder?

    I am running OS X version 10.10 on an iMac and a MBP with Retina display. While in the finder every open window has a large question mark displayed. Why is this? What might be the he problem? What can be done to correct the issue? Thanks in advance!

  • Restoring quicktime to original length after "trim to selection" debacle.

    After trimming a selection in Quicktime Pro, I accidentally saved the file, now I have a one-minute clip that is 9.7 GB on the hard drive. I'm using QTpro 7.1.5, how do I get my file back to the original length? I have seen this issue post on this fo

  • What is the small padlock on the top of my iPhone lockscreen?

    Hey guys, I am wondering what the small padlock on my lockscreen is, it's directly in the center and it has no arrow around it. The padlock is in the locked position and it has only been that way since I have had trouble turning my keyboard sideways.