users@glassfish.java.net

glassfish cannot be started up using jdk1.6?

From: <glassfish_at_javadesktop.org>
Date: Mon, 27 Aug 2007 17:19:39 PDT

It seems that I have a problem starting up my glassfish server when pointing my asenv.conf to my jdk1.6. I have tried both glassfish v1 and v2, and they all complain the following error:

Starting Sun Java System Application Server 9.1 (build b58c-fcs) ...
Application server is listening at address 9009 for debugger to attach using transport dt_socket
MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor
Function not implemented
java.io.IOException: Function not implemented
        at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)
        at sun.nio.ch.EPollArrayWrapper.<init>(EPollArrayWrapper.java:59)
        at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:52)
        at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:18)
        at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openSelector(ASSelectorProvider.java:88)
        at java.nio.channels.Selector.open(Selector.java:209)
        at com.sun.enterprise.server.ss.ASSocketService.createListeningSelector(ASSocketService.java:236)
        at com.sun.enterprise.server.ss.ASSocketService.start(ASSocketService.java:118)
        at com.sun.enterprise.server.ss.ASLazyKernel.startService(ASLazyKernel.java:203)
        at com.sun.enterprise.server.ss.ASLazyKernel.startService(ASLazyKernel.java:192)
        at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:157)
        at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:99)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:92)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:401)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
        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:412)
Function not implemented
java.io.IOException: Function not implemented
        at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)
        at sun.nio.ch.EPollArrayWrapper.<init>(EPollArrayWrapper.java:59)
        at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:52)
        at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:18)
        at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openSelector(ASSelectorProvider.java:88)
        at java.nio.channels.Selector.open(Selector.java:209)
        at com.sun.enterprise.server.ss.ASSocketService.createListeningSelector(ASSocketService.java:236)
        at com.sun.enterprise.server.ss.ASSocketService.start(ASSocketService.java:118)
        at com.sun.enterprise.server.ss.ASLazyKernel.startService(ASLazyKernel.java:203)
        at com.sun.enterprise.server.ss.ASLazyKernel.startService(ASLazyKernel.java:192)
        at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:157)
        at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:99)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:92)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:401)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
        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:412)
Function not implemented
java.io.IOException: Function not implemented
        at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)
        at sun.nio.ch.EPollArrayWrapper.<init>(EPollArrayWrapper.java:59)
        at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:52)
        at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:18)
        at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openSelector(ASSelectorProvider.java:88)
        at java.nio.channels.Selector.open(Selector.java:209)
        at com.sun.enterprise.server.ss.ASSocketService.createListeningSelector(ASSocketService.java:236)
        at com.sun.enterprise.server.ss.ASSocketService.start(ASSocketService.java:118)
        at com.sun.enterprise.server.ss.ASLazyKernel.startService(ASLazyKernel.java:203)
        at com.sun.enterprise.server.ss.ASLazyKernel.startService(ASLazyKernel.java:192)
        at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:157)
        at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:99)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:92)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:401)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
        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:412)
The log message is null.
java.lang.NullPointerException
        at com.sun.enterprise.server.ondemand.ServiceGroup.preInvoke(ServiceGroup.java:227)
        at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:188)
        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.generatePortEntryContext(ServerEntryHelper.java:56)
        at com.sun.enterprise.server.ss.ASSocketService.generateEntryContext(ASSocketService.java:311)
        at com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketService.java:562)
Function not implemented
java.io.IOException: Function not implemented
        at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)
        at sun.nio.ch.EPollArrayWrapper.<init>(EPollArrayWrapper.java:59)
        at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:52)
        at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:18)
        at com.sun.enterprise.server.ss.provider.ASSelectorProvider.openSelector(ASSelectorProvider.java:88)
        at java.nio.channels.Selector.open(Selector.java:209)
        at com.sun.enterprise.server.ss.ASSocketService.createListeningSelector(ASSocketService.java:236)
        at com.sun.enterprise.server.ss.ASSocketService.start(ASSocketService.java:118)
        at com.sun.enterprise.server.ss.ASLazyKernel.setupSocketListeners(ASLazyKernel.java:186)
        at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:99)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:92)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:401)
        at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
        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:412)
java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
        at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:88)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:75)
        at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generatePortEntryContext(ServerEntryHelper.java:56)
        at com.sun.enterprise.server.ss.ASSocketService.generateEntryContext(ASSocketService.java:311)
        at com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketService.java:562)
Caused by: java.lang.NullPointerException
        at com.sun.enterprise.server.ondemand.ServiceGroup.preInvoke(ServiceGroup.java:227)
        at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:188)
        at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:58)
        at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:85)
        ... 4 more
CORE5098: AS Socket Service Initialization has been completed.

Does anyone have any clue what is going on here? I tried to search but cannot find much useful information. Thanks a lot for the help!
[Message sent by forum member 'jmao' (jmao)]

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