com.sun.appserv.server.ServerLifecycleException

[C4003]: Error occurred on connection creation [127.0.0.1:45184]. - cause: java.io.IOException

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web31

  • via Unknown by ABHAYDHAR,
  • via Unknown by Abhay Dhar,
  • Stack trace

    • com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation [127.0.0.1:45184]. - cause: java.io.IOException at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:427) at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:54) at com.sun.enterprise.server.PEMain.run(PEMain.java:274) at com.sun.enterprise.server.PEMain.main(PEMain.java:220) Caused by: com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [127.0.0.1:45184]. - cause: java.io.IOException at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSConnectException(ExceptionHandler.java:233) at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleConnectException(ExceptionHandler.java:180) at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:191) at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:116) at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:54) at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:61) at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:102) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionOld(ConnectionInitiator.java:291) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:113) at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:98) at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:613) at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:1194) at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:1949) at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:745) at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:315) at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:33) at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConnectionImpl.java:32) at com.sun.messaging.ConnectionFactory.createQueueConnection(ConnectionFactory.java:72) at com.sun.messaging.jmq.admin.jmsspi.JMSAdminImpl.pingProvider(JMSAdminImpl.java:783) at com.sun.enterprise.jms.JmsProviderLifecycle.waitForJmsProvider(JmsProviderLifecycle.java:335) at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:396) ... 3 more Caused by: java.io.IOException at com.sun.enterprise.server.ss.ASInputStream.waitForSelect(ASInputStream.java:118) at com.sun.enterprise.server.ss.ASInputStream.read(ASInputStream.java:81) at com.sun.enterprise.server.ss.ASInputStream.read(ASInputStream.java:73) at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) at java.io.BufferedInputStream.read(BufferedInputStream.java:201) at com.sun.messaging.jmq.io.PortMapperTable.readLine(PortMapperTable.java:277) at com.sun.messaging.jmq.io.PortMapperTable.read(PortMapperTable.java:233) at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:185) ... 21 more Caused by: java.io.IOException: Invalid argument at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method) at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:136) at sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:70) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:70) at com.sun.enterprise.server.ss.ASSelector.select(ASSelector.java:92) at com.sun.enterprise.server.ss.ASInputStream.waitForSelect(ASInputStream.java:101) ... 28 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,