I need to listen remotely to as jms Topic.
In our linux debian server (the connection factory jms/sisTopics is defined, in
there is no firewall problem with the port 3700)
Iâ€™m trying to connect from a windows client. The glassfish libraries Iâ€™m using
are from the glassfish-installer-v2ur2-b04-windows.jar release.
The code I have to connect is the following one:
Properties props = new Properties();
InitialContext ic = new InitialContext(props);
Object a = ic.lookup("jms/sisTopics");
The exception happens in the line from the new InitialContext(props)
I have the exception:
"IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT;
hostname: 127.0.0.1; port: 3700" org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor
code: 201 completed: No
Iâ€™ve tried with InitialContext() and setting the parameter as a JVM parameter
-Dorg.omg.CORBA.ORBInitialHost=192.168.215.85 and it happens the same.
Iâ€™ve executed the code in the server and it runs properly, but the case is that
I must have it running remotely.
Any clue about this?