Could not register a DisconnectListener | Weblogic

Oracle Weblogic Server

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] aaa.bbb.cc.d:2633, <0, null>]] for weblogic.jms.C:NYXKATI01T42:1lw:3kcsf4frcg
at weblogic.jms.frontend.FEConnectionFactory.connectionCreateInternal(FEConnectionFactory.java:363)
at weblogic.jms.frontend.FEConnectionFactoryImpl.connectionCreateInternal(FEConnectionFactoryImpl.java:79)

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.

In case of any ┬ęCopyright or missing credits issue please check CopyRights page for faster resolutions.

2 Responses

  1. Ram says:

    Can you please show me how to edit / add this line? I dont know how to add this line

    • 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

Leave a Reply