I had a similar problem.

Is the client/applet and the server running the same version of the JVM?

There is a bug (#4661534) in 1.4 such that there are binary 
incompatibilities with the InetAddress class between 1.3 and 1.4.  It 
appears the the socket is created using an InetAddress.


On Friday, August 2, 2002, at 06:08  AM, Ionel Gardais wrote:

> Hi,
>
> Where to manage the MQ security ?
>
> Currently, my queue doesn't set anything and JBoss uses the default 
> policy.
> Unfortunatly, when my applet connects to the topic, the server side log 
> shows :
> <snip>
> 2:57:07,825 ERROR [OILClientIL] Cannot connect to the ConnectionReceiver/
> Server
> java.net.ConnectException: Connection refused
>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
>        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:
> 161)
>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
>        at java.net.Socket.connect(Socket.java:425)
>        at java.net.Socket.connect(Socket.java:375)
>        at java.net.Socket.<init>(Socket.java:290)
>        at java.net.Socket.<init>(Socket.java:146)
>        at 
> org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:175)
>        at 
> org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:156)
>        at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:112)
>        at 
> org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:
> 853)
>        at 
> org.jboss.mq.server.JMSServerInterceptorSupport.ping
> (JMSServerInterceptorSupport.java:308)
>        at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.
> java:630)
>        at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:
> 310)
>        at 
> org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:
> 309)
>        at java.lang.Thread.run(Thread.java:536)
> 12:57:07,833 WARN  [OILServerILService] Client request resulted in a 
> server exception:
> org.jboss.mq.SpyJMSException: Could not pong
>        at 
> org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:
> 857)
>        at 
> org.jboss.mq.server.JMSServerInterceptorSupport.ping
> (JMSServerInterceptorSupport.java:308)
>        at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.
> java:630)
>        at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:
> 310)
>        at 
> org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:
> 309)
>        at java.lang.Thread.run(Thread.java:536)
> linked exception is:
> java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server
>        at 
> org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:183)
>        at 
> org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:156)
>        at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:112)
>        at 
> org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:
> 853)
>        at 
> org.jboss.mq.server.JMSServerInterceptorSupport.ping
> (JMSServerInterceptorSupport.java:308)
>        at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.
> java:630)
>        at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:
> 310)
>        at 
> org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:
> 309)
>        at java.lang.Thread.run(Thread.java:536)
> </snip>
>
> I guess I need to allow the applet to connect to the queue but I don't 
> know how.
>
> Thanks for your help,
> ionel
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to