2 Replies Latest reply on Dec 30, 2003 3:47 PM by sgopinathan

    HELP:org.jboss.mq.SpyJMSException: Cannot authenticate user

    younggun Newbie

      Hi All.

      I have the following problem

      After migrating JBoss server 3.2 from Windows to Linux or Aix 5.2 the only JMS connection factory I can use is RMIConnectionFactory. Attempts to use othe factory ends with exception:

      org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.net.SocketException: errno: 66, error: The type of socket is not supported in this protocol family. for fd: 25)
      at org.jboss.mq.Connection.authenticate(Connection.java:883)
      at org.jboss.mq.Connection.(Connection.java:238)
      at org.jboss.mq.Connection.(Connection.java:315)
      at org.jboss.mq.SpyConnection.(SpyConnection.java:59)
      at org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:78)
      at com.linkage.rmon.util.jmsservice.JmsServiceLocate.GetTopicConnection(JmsServiceLocate.java:159)
      at com.linkage.rmon.util.jmsservice.JmsServiceLocate.setupPubSub(JmsServiceLocate.java:206)
      at com.linkage.rmon.util.jmsservice.JmsServiceLocate.sendAsyncObj(JmsServiceLocate.java:251)
      at com.linkage.rmon.corba.service.ProcessMonitor.ProcessManager.SendProcessInfo(ProcessManager.java:66)
      at com.linkage.rmon.corba.service.ProcessMonitor.ProcessMonitorInterfaceServerImpl.SendProcessInfo(ProcessMonitorInterfaceServerImpl.java:46)
      at com.linkage.rmon.corba.idl.ProcessMonitor.ProcessMonitorInterfacePOA._invoke(ProcessMonitorInterfacePOA.java:45)
      at org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java(Compiled Code))
      at org.jacorb.poa.RequestProcessor.process(RequestProcessor.java(Compiled Code))
      at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java(Compiled Code))
      + nested throwable: java.net.SocketException: errno: 66, error: The type of socket is not supported in this protocol family. for fd: 25
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java(Compiled Code))
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:157)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:144)
      at java.net.Socket.(Socket.java(Compiled Code))
      at java.net.Socket.(Socket.java:148)
      at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:189)
      at org.jboss.mq.il.oil.OILServerIL.createConnection(OILServerIL.java:563)
      at org.jboss.mq.il.oil.OILServerIL.checkConnection(OILServerIL.java:507)
      at org.jboss.mq.il.oil.OILServerIL.authenticate(OILServerIL.java:289)
      at org.jboss.mq.Connection.authenticate(Connection.java:876)
      at org.jboss.mq.Connection.(Connection.java:238)
      at org.jboss.mq.Connection.(Connection.java:315)
      at org.jboss.mq.SpyConnection.(SpyConnection.java:59)
      at org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:78)
      at com.linkage.rmon.util.jmsservice.JmsServiceLocate.GetTopicConnection(JmsServiceLocate.java:159)
      at com.linkage.rmon.util.jmsservice.JmsServiceLocate.setupPubSub(JmsServiceLocate.java:206)
      at com.linkage.rmon.util.jmsservice.JmsServiceLocate.sendAsyncObj(JmsServiceLocate.java:251)
      at com.linkage.rmon.corba.service.ProcessMonitor.ProcessManager.SendProcessInfo(ProcessManager.java:66)
      at com.linkage.rmon.corba.service.ProcessMonitor.ProcessMonitorInterfaceServerImpl.SendProcessInfo(ProcessMonitorInterfaceServerImpl.java:46)
      at com.linkage.rmon.corba.idl.ProcessMonitor.ProcessMonitorInterfacePOA._invoke(ProcessMonitorInterfacePOA.java:45)
      at org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java(Compiled Code))
      at org.jacorb.poa.RequestProcessor.process(RequestProcessor.java(Compiled Code))
      at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java(Compiled Code))

      Thanks, Kit.

      Roger