Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6322825

(se) Selector fails with invalid argument on Solaris 10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9.0ee, 9.0pe, 5.0u6, 5.0u7, 6
    • Fix Version/s: 6
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b57
    • CPU:
      generic, sparc
    • OS:
      solaris_9, solaris_10

      Backports

        Description

        Starting glassfish using JDK6 fails with the following exceptions in the log file.


        >>----------------------------------
        >>>>
        >>>>[#|2005-09-12T13:36:11.002-0500|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@141b736;com.sun.appserv.server.ServerLifecycleException:
        >>>>Cannot bind to URL
        >>>>[rmi://dhcp-uaus09-147-55:8686/management/rmi-jmx-connector]:
        >>>>javax.naming.CommunicationException [Root exception is
        >>>>java.rmi.ConnectIOException: error during JRMP connection establishment;
        >>>>nested exception is:
        >>>> java.io.IOException];|Service
        >>>>com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@141b736
        >>>>cannot be started! : com.sun.appserv.server.ServerLifecycleException:
        >>>>Cannot bind to URL
        >>>>[rmi://dhcp-uaus09-147-55:8686/management/rmi-jmx-connector]:
        >>>>javax.naming.CommunicationException [Root exception is
        >>>>java.rmi.ConnectIOException: error during JRMP connection establishment;
        >>>>nested exception is:
        >>>> java.io.IOException]|#]
        >>>>
        >>>>[#|2005-09-12T13:36:11.046-0500|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;|CORE5071:
        >>>>An error occured during initialization
        >>>>com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL
        >>>>[rmi://dhcp-uaus09-147-55:8686/management/rmi-jmx-connector]:
        >>>>javax.naming.CommunicationException [Root exception is
        >>>>java.rmi.ConnectIOException: error during JRMP connection establishment;
        >>>>nested exception is:
        >>>> java.io.IOException]
        >>>> at
        >>>>com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:123)
        >>>> at
        >>>>com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:324)
        >>>> at
        >>>>com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:110)
        >>>> at com.sun.enterprise.server.PEMain.run(PEMain.java:312)
        >>>> at com.sun.enterprise.server.PEMain.main(PEMain.java:246)
        >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        >>>> at
        >>>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        >>>> at
        >>>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        >>>> at java.lang.reflect.Method.invoke(Method.java:585)
        >>>> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:202)
        >>>>Caused by: java.io.IOException: Cannot bind to URL
        >>>>[rmi://dhcp-uaus09-147-55:8686/management/rmi-jmx-connector]:
        >>>>javax.naming.CommunicationException [Root exception is
        >>>>java.rmi.ConnectIOException: error during JRMP connection establishment;
        >>>>nested exception is:
        >>>> java.io.IOException]
        >>>> at
        >>>>javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:812)
        >>>> at
        >>>>javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:422)
        >>>> at
        >>>>com.sun.enterprise.admin.jmx.remote.server.rmi.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:190)
        >>>> at
        >>>>com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:115)
        >>>> ... 9 more
        >>>>Caused by: javax.naming.CommunicationException [Root exception is
        >>>>java.rmi.ConnectIOException: error during JRMP connection establishment;
        >>>>nested exception is:
        >>>> java.io.IOException]
        >>>> at
        >>>>com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:126)
        >>>> at
        >>>>com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
        >>>> at javax.naming.InitialContext.bind(InitialContext.java:359)
        >>>> at
        >>>>javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:633)
        >>>> at
        >>>>javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:418)
        >>>> ... 11 more
        >>>>Caused by: java.rmi.ConnectIOException: error during JRMP connection
        >>>>establishment; nested exception is:
        >>>> java.io.IOException
        >>>> at
        >>>>sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:274)
        >>>> at
        >>>>sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
        >>>> at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:323)
        >>>> at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
        >>>> at
        >>>>com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:120)
        >>>> ... 15 more
        >>>>Caused by: java.io.IOException
        >>>> at
        >>>>com.sun.enterprise.server.ss.provider.ASOutputStream.waitForSelect(ASOutputStream.java:101)
        >>>> at
        >>>>com.sun.enterprise.server.ss.provider.ASOutputStream.write(ASOutputStream.java:128)
        >>>> at
        >>>>java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
        >>>> at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
        >>>> at java.io.DataOutputStream.flush(DataOutputStream.java:106)
        >>>> at
        >>>>sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
        >>>> ... 19 more
        >>>>Caused by: java.io.IOException: Invalid argument
        >>>> at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
        >>>> at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:158)
        >>>> at
        >>>>sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:68)
        >>>> at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)
        >>>> at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:80)
        >>>> at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:84)
        >>>> at
        >>>>com.sun.enterprise.server.ss.provider.ASSelector.select(ASSelector.java:126)
        >>>> at
        >>>>com.sun.enterprise.server.ss.provider.ASOutputStream.waitForSelect(ASOutputStream.java:91)
        >>>> ... 24 more
        >>>>|#]
        >>>>
        >>>>
        >>>>
        >>>>
        >>>>
        >
        >>
        >>
        >>

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                alanb Alan Bateman
                Reporter:
                duke J. Duke (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: