-
1. Re: Problem connecting to JBossMQ from an applet
sergeibatiuk Feb 8, 2002 11:11 AM (in response to sergeibatiuk)I have just found out that when a client from localhost connects to JBoss, JBossMQ says:
[OILClientIL] ConnectionReceiverOILClient is connecting to: 192.168.0.16:1519
(Please note that 192.168.0.16 is IP of my computer, where JBoss is running, i.e. my localhost).
Now, when a client from a different host attempts to connect to JBoss ( NOT 192.168.0.16 ) it says:
[OILClientIL] ConnectionReceiverOILClient is connecting to: 127.0.0.1:3890
[ClientConsumer:ID3] Could not send messages to a receiver.
java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server
at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:98)
at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:84)
at org.jboss.mq.il.oil.OILClientIL.receive(OILClientIL.java:69)
at org.jboss.mq.server.ClientConsumer.run(ClientConsumer.java:212)
at java.lang.Thread.run(Thread.java:484)
[JMSServer] The connection to client ID3 failed.
I don't have any idea why it tries to connect to localhost, when the client is actually a remote machine....
Any ideas?
Sincerely,
Sergei Batiuk.