users@glassfish.java.net

Re: JMS destination lookup doesn't work on GlassFish 3.1.1 with

From: <forums_at_java.net>
Date: Mon, 10 Oct 2011 08:47:20 -0500 (CDT)

For me it helped to run java with following VM options (change to appropriate
host name and port):

-Dorg.omg.CORBA.ORBInitialHost=some.host -Dorg.omg.CORBA.ORBInitialPort=3700
You can also set this in the code using:

System.setProperty("org.omg.CORBA.ORBInitialPort", "17129");
System.setProperty("org.omg.CORBA.ORBInitialHost", "some.host");
If you use /System.setProperty() /it has to be executed before creating
/InitalContext/ with no argument constructor.

Of course make sure that firewall is not blocking the communication.

I hope this helps.


--
[Message sent by forum member 'bastian_knight']
View Post: http://forums.java.net/node/850482