users@glassfish.java.net

JMS SUN APP MQ; High-port issues??

From: <glassfish_at_javadesktop.org>
Date: Tue, 29 Apr 2008 05:35:13 PDT

Hi

Could anyone please advice on how to setup up an remote SUN APP SERVER (9.1) to reply as expected?

[u][b]My issue is:[/b][/u]

[i]1) LOCAL: OK[/i]
Got Sun App Server (9.1) installed on local sysytem.
When starting my Requestor-client, I get connected and I'm able to put message on my RequestQueue

[i]2) REMOTE: FAILS[/i]
When I try to connect to the Remote Sun App Server ( I'vesat all the queues identical e.t.c as the local), I get the error when trying to connect on port 3700:

Queue name is jms/OnlineFakturaRequestQueue
25.apr.2008 13:29:14 com.sun.messaging.jms.ra.ResourceAdapter start
INFO: MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...
25.apr.2008 13:29:35 com.sun.messaging.jmq.jmsclient.ExceptionHandler throwConnectionException
WARNING: [C4003]: Error occurred on connection creation [ast-devmachine:35925]. - cause: java.net.ConnectException: Connection timed out: connect

[i]3) REMOTE: FAILS[/i]
When I try to connect to the Remote Sun App Server ( I'vesat all the queues identical e.t.c as the local), I get the error when trying to connect on port 7676:

Looking up via Context {name=jms/OnlineFakturaConnectionFactory}
29.apr.2008 14:13:42 com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase parseGiopHeader
WARNING: "IOP00710220: (INTERNAL) Error in GIOP magic"
org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 220 completed: Maybe
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.giopMagicError(ORBUtilSystemException.java:5201)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.giopMagicError(ORBUtilSystemException.java:5215)
        at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.parseGiopHeader(MessageBase.java:196)
        at com.sun.corba.ee.impl.protocol.MessageParserImpl.parseBytes(MessageParserImpl.java:181)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.parseBytesAndDispatchMessages(SocketOrChannelCo
nnectionImpl.java:1891)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnecti
onImpl.java:1718)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1263)

        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
MQRequestor():::LOOKUP NamingException

javax.naming.CommunicationException: Can't find SerialContextProvider [Root exception is org.omg.CORBA.COMM_FAILURE: v
mcid: SUN minor code: 208 completed: Maybe]
javax.naming.CommunicationException: Can't find SerialContextProvider [Root exception is org.omg.CORBA.COMM_FAILURE: v
mcid: SUN minor code: 208 completed: Maybe]
        at com.edb.common.onlinefaktura.jms.test5.Replier.RunReplier.lookup(RunReplier.java:250)
        at com.edb.common.onlinefaktura.jms.test5.Replier.RunReplier.run(RunReplier.java:38)
        at com.edb.common.onlinefaktura.jms.test5.Replier.RunReplier.main(RunReplier.java:311)
Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectionAbort(ORBUtilSystemException.java:2862)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.connectionAbort(ORBUtilSystemException.java:2880)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnecti
onImpl.java:1788)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1263)

        at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
Caused by: org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 220 completed: Maybe
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.giopMagicError(ORBUtilSystemException.java:5201)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.giopMagicError(ORBUtilSystemException.java:5215)
        at com.sun.corba.ee.impl.protocol.giopmsgheaders.MessageBase.parseGiopHeader(MessageBase.java:196)
        at com.sun.corba.ee.impl.protocol.MessageParserImpl.parseBytes(MessageParserImpl.java:181)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.parseBytesAndDispatchMessages(SocketOrChannelCo
nnectionImpl.java:1891)
        at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doOptimizedReadStrategy(SocketOrChannelConnecti
onImpl.java:1718)
        ... 2 more
Exception in thread "main" java.lang.NullPointerException
        at com.edb.common.onlinefaktura.jms.test5.Replier.RunReplier.run(RunReplier.java:39)
        at com.edb.common.onlinefaktura.jms.test5.Replier.RunReplier.main(RunReplier.java:311)



Anyone knows what could be the issue?
For part 2 there, I see that the apps erver is trying to return on a high-port??: 35925

Cincerely Paul
[Message sent by forum member 'olspal' (olspal)]

http://forums.java.net/jive/thread.jspa?messageID=272002