Query:JMS

From: Anil (aggarwalanil2004_at_gmail.com)
Date: 10/20/04


Date: 20 Oct 2004 00:31:55 -0700

Hello Friends
Actually I am a new user in JMS.
I am facing problem
The problem is: I wanted to send the message to another machine
through P2P model.I have created the destination,and connection
factory object
When i run the program it generates the following exception .So tell
me what i do for removing this exception..

Plz reply soon

C:\Documents and Settings\anil.aggarwal.SHIVA\Desktop\jms_tutorial\examples\simp
le>java SimpleQueueSender1 trb1 3
Queue name is trb1
Java(TM) Message Service 1.0.2 Reference Implementation (build b14)
SEVERE ConnectionFactoryImpl: Failed to lookup or connect to JMS
service because
: javax.naming.CommunicationException: Cannot connect to ORB [Root
exception is
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed:
No]
SEVERE ConnectionFactoryImpl: Failed to lookup or connect to JMS
service because
: javax.naming.CommunicationException: Cannot connect to ORB [Root
exception is
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed:
No]
Exception in thread "main" java.lang.NullPointerException
        at com.sun.jms.client.ConnectionImpl.invokeRemoteCreateConnection(Connec
tionImpl.java:149)
        at com.sun.jms.ConnectionFactoryImpl.createConnection(ConnectionFactoryI
mpl.java:293)
        at com.sun.jms.QueueConnectionFactoryImpl.createQueueConnection(QueueCon
nectionFactoryImpl.java:77)
        at com.sun.jms.QueueConnectionFactoryImpl.createQueueConnection(QueueCon
nectionFactoryImpl.java:58)
        at com.sun.enterprise.jms.ConnectionFactoryWrapperStandalone.createQueue
Connection(ConnectionFactoryWrapperStandalone.java:40)
        at SimpleQueueSender1.main(SimpleQueueSender1.java:120)

Regds
Anil Aggarwal



Relevant Pages

  • Re: Urgent ??? - Update Data Source
    ... > I'm facing problem to update the data source after I make changes to ... You're currently just dropping any SQL CE exception which is thrown by ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: ResourceBundle sometimes giving MissingResourceException
    ... I have a java application using a ResourceBundle, ... I am facing problem some times one ... will look if it can't find a properties file for the selected locale ... And will throw exception like the one you get. ...
    (comp.lang.java.programmer)