users@glassfish.java.net

unable to start glassfish 2.1 with java 1.6

From: <glassfish_at_javadesktop.org>
Date: Fri, 18 Dec 2009 16:11:54 PST

Hi,

I am trying to install glassfish 2.1 but having problem to start the server. It works fine under jdk1.5 but somehow it just doesn't like jdk1.6. I tried 1.6u6, 1.6u7, 1.6u16 and 1.6u17 but no luck. The error in the server.log is as follows.

[#|2009-12-18T14:43:23.767-0800|WARNING|sun-appserver2.1|javax.enterprise.resource.corba.ee._INITIALIZING_.rpc.presentation|_ThreadID=10;_ThreadName=main;;_RequestID=750339f3-3743-479e-b0b2-71bdca7da4c2;|"IO
P02310202: (OBJ_ADAPTER) Error in connecting servant to ORB"
org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 202 completed: No
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:10263)
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:10281)
        at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1666)
        at com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:212)
        at com.sun.corba.ee.impl.orb.ORBImpl.getIOR(ORBImpl.java:2115)
        at com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:987)
        at com.sun.enterprise.util.ORBManager.initORB(ORBManager.java:556)
        at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:278)
        at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:289)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.createORB(EjbServiceGroup.java:511)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:437)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:156)
        at com.sun.enterprise.server.ondemand.EjbServiceGroup.start(EjbServiceGroup.java:143)
        at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:193)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:190)
        at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:58)
        at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:85)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:75)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateStartUpEntryContext(ServerEntryHelper.java:64)
        at com.sun.enterprise.server.ondemand.OnDemandServer.generateEntryContext(OnDemandServer.java:154)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:133)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:409)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
        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:597)
        at com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
Caused by: java.lang.RuntimeException: .startSelector: Selector.open exception
        at com.sun.corba.ee.impl.transport.SelectorImpl.startSelector(SelectorImpl.java:381)
        at com.sun.corba.ee.impl.transport.SelectorImpl.registerForEvent(SelectorImpl.java:155)
        at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:238)
        at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:253)
        at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:127)
        at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:107)
        at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:98)
        at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1664)
        ... 26 more
Caused by: java.io.IOException: Function not implemented
        at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)
        at sun.nio.ch.EPollArrayWrapper.<init>(EPollArrayWrapper.java:68)
        at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:52)
        at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:18)
        at java.nio.channels.Selector.open(Selector.java:209)
        at com.sun.corba.ee.impl.transport.SelectorImpl.startSelector(SelectorImpl.java:375)
        ... 33 more
|#]

Does anyone have any idea what happen here?

Thanks.
[Message sent by forum member 'wyvchau' (vc_at_canada.com)]

http://forums.java.net/jive/thread.jspa?messageID=371620