2 Replies Latest reply: May 10, 2012 2:35 AM by user12077498 RSS

    jms server with multiple network cards  connection fails often

    user12077498
      Hi,

      I have installed the Oracle Application Server 10.1.2.3. The server has mulitple network interface cards. It seems that the connection with the JMS server fails often. Below you find the message_publisher.log file,
      How can I solve this issue?

      26-Apr-2012 09:45:59: reading file: jms_connection.properties
      26-Apr-2012 09:45:59: ********************> JMS Connection info:
      26-Apr-2012 09:45:59: java.naming.provider.url: opmn:ormi://XXXXX:6004:OC4J_BI_Forms/formsapp
      26-Apr-2012 09:45:59: java.naming.factory.initial: com.evermind.server.rmi.RMIInitialContextFactory
      26-Apr-2012 09:45:59: java.naming.security.principal: XX
      26-Apr-2012 09:45:59: java.naming.security.credentials: XXX
      26-Apr-2012 09:45:59: Connection Factrory: jms/TopicConnectionFactory
      26-Apr-2012 09:45:59: Topic: jms/PrimaryTopic
      26-Apr-2012 09:45:59: Request message timeout: 10 seconds
      26-Apr-2012 09:45:59: Lims message timeout: 259200 seconds
      26-Apr-2012 09:45:59: <*******************
      26-Apr-2012 09:46:00: JNDI lookup failed:
      26-Apr-2012 09:46:00: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
           java.net.ConnectException: Connection refused: connect
      javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
           java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
           at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:169)
           at javax.naming.InitialContext.lookup(InitialContext.java:347)
           at com.apldbio.sm.remotenotification.JMSClient.jndiLookup(JMSClient.java:230)
           at com.apldbio.sm.remotenotification.JMSClient.getTopicConnectionFactory(JMSClient.java:244)
           at com.apldbio.sm.remotenotification.JMSClient.initTopicJMSConnection(JMSClient.java:118)
           at com.apldbio.sm.remotenotification.JMSClient.<init>(JMSClient.java:55)
           at com.apldbio.sm.remotenotification.MessagePublisher.initJMS(MessagePublisher.java:30)
           at com.apldbio.sm.remotenotification.MessagePublisher.main(MessagePublisher.java:186)
      Caused by: java.net.ConnectException: Connection refused: connect
           at java.net.PlainSocketImpl.socketConnect(Native Method)
           at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
           at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
           at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
           at java.net.Socket.connect(Socket.java:452)
           at java.net.Socket.connect(Socket.java:402)
           at java.net.Socket.<init>(Socket.java:309)
           at java.net.Socket.<init>(Socket.java:153)
           at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2359)
           at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1813)
           at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:782)
           at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:150)
           ... 7 more
      26-Apr-2012 09:46:00: ***** Error in publishing message:

      26-Apr-2012 09:46:00: Fatal Error. JNDI lookup failed. The JMS server might be down. Or the connection properties are incorrect.
      com.apldbio.sm.remotenotification.JMSConnectionException: Fatal Error. JNDI lookup failed. The JMS server might be down. Or the connection properties are incorrect.
           at com.apldbio.sm.remotenotification.JMSClient.jndiLookup(JMSClient.java:237)
           at com.apldbio.sm.remotenotification.JMSClient.getTopicConnectionFactory(JMSClient.java:244)
           at com.apldbio.sm.remotenotification.JMSClient.initTopicJMSConnection(JMSClient.java:118)
           at com.apldbio.sm.remotenotification.JMSClient.<init>(JMSClient.java:55)
           at com.apldbio.sm.remotenotification.MessagePublisher.initJMS(MessagePublisher.java:30)
           at com.apldbio.sm.remotenotification.MessagePublisher.main(MessagePublisher.java:186)

      Your help is much appreciated!

      Edited by: user12077498 on 11-May-2012 05:39