F
Farshad
I am trying to connect to a Sun App Server from the JMS client
application: SimpleProducer from chapter 33 of
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
It works fine when run on the same machine where the server is running.
But when I try it from a remote machine, I get the below message:
---
Could not create JNDI API context: javax.naming.CommunicationException:
Cannot connect to ORB [Root exception is org.omg.CORBA.COMM_FAILURE:
vmcid: SUN minor code: 201 completed: No
---
Note: this is the only message I get, no other error follows!
When the server is local I run this command from the simple/build
directory:
#java SimpleProducer jms/Queue
and it works successfully.
#java -Dorg.omg.CORBA.ORBInitialHost=myservername SimpleProducer
jms/Queue
Both machines have J2EE installed and Sun App Server is running only in
"myservername" and not on the remote machine.
I have tried any suggestions found on the Internet or anything coming
to my mind but no success so far. I appreciate any clues.
thanks,
Farshad
application: SimpleProducer from chapter 33 of
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
It works fine when run on the same machine where the server is running.
But when I try it from a remote machine, I get the below message:
---
Could not create JNDI API context: javax.naming.CommunicationException:
Cannot connect to ORB [Root exception is org.omg.CORBA.COMM_FAILURE:
vmcid: SUN minor code: 201 completed: No
---
Note: this is the only message I get, no other error follows!
When the server is local I run this command from the simple/build
directory:
#java SimpleProducer jms/Queue
and it works successfully.
directory:From a remote machine I run the below command from the simple/build
#java -Dorg.omg.CORBA.ORBInitialHost=myservername SimpleProducer
jms/Queue
Both machines have J2EE installed and Sun App Server is running only in
"myservername" and not on the remote machine.
I have tried any suggestions found on the Internet or anything coming
to my mind but no success so far. I appreciate any clues.
thanks,
Farshad