Could not register a DisconnectListener | Weblogic

When trying to run JMS client application from remote client (Using VPN) to connect to the WebLogic server running on a different machine, the following JMS exception occurs:

weblogic.jms.common.JMSException:weblogic.messaging.dispatcher.DispatcherException: Could not register a DisconnectListener for [Delegate(1630003910) [weblogic.iiop.IOR[RMI:weblogic.messaging.dispatcher.DispatcherImpl:0000000000000000], <0, null>]] for weblogic.jms.C:NYXKATI01T42:1lw:3kcsf4frcg
at weblogic.jms.frontend.FEConnectionFactory.connectionCreateInternal(
at weblogic.jms.frontend.FEConnectionFactoryImpl.connectionCreateInternal(

This happens as JMS Client is taking the Dynamic Wireless IP Address instead of VPN Adapter IP Address.

To solve this, add -Dcom.sun.CORBA.ORBServerHost=your_client_IP_address as a JVM startup argument on your side.

Leave a Reply

    • When you start your application you can just append the same to java command line arguments(JAVA_OPTIONS/JAVA_OPTS) like below.

      java -Xmx2048m -Xms256m -Dcom.sun.CORBA.ORBServerHost=your_client_IP_address your_java_jms_client_app