Query:JMS
From: Anil (aggarwalanil2004_at_gmail.com)
Date: 10/20/04
- Next message: steph: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Previous message: Andrew Johnson: "Tomcat DB2 connection - No suitable driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: steph: "Re: Inserting 444.44 into a DECimal(11,2) defined database field does not work"
- Previous message: Andrew Johnson: "Tomcat DB2 connection - No suitable driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|