It says:
Caused by: java.net.BindException: Address already in use: bind
Is there another instance of glassfish running on the same host which
has occupied the ports? if yes, you may like to assign different port
numbers to different instances. You can do so by editing domain.xml.
Sahoo
glassfish_at_javadesktop.org wrote:
> I dont know why but my development crashes... see my log files
>
> Starting Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (build b31g-fcs) ...
> CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_12] from [Sun Microsystems Inc.]
> UTIL6009:Unexcpected Exception in createORB.
> 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: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
> at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3187)
> at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3207)
> at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:182)
> at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:236)
> 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.net.BindException: Address already in use: bind
> at sun.nio.ch.Net.bind(Native Method)
> at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
> at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
> at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
> at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:301)
> at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:175)
> ... 32 more
> CORE5081: Exception while creating ORB: [java.lang.RuntimeException: org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 202 completed: No]
> CORE5082: Exception running j2ee services: [java.lang.RuntimeException: Unable to create ORB]
> com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
> com.sun.enterprise.server.ondemand.ServiceGroupException: com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
> at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:198)
> 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: com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
> at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:160)
> 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)
> ... 13 more
> Caused by: java.lang.RuntimeException: Unable to create ORB
> at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:501)
> at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:156)
> ... 17 more
> Caused by: java.lang.RuntimeException: Unable to create ORB
> at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:452)
> ... 18 more
> CORE5071: An error occured during initialization
> java.lang.RuntimeException: com.sun.enterprise.server.ondemand.ServiceGroupException: com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
> 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.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: com.sun.enterprise.server.ondemand.ServiceGroupException: com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
> at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:198)
> at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:58)
> at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:85)
> ... 11 more
> Caused by: com.sun.enterprise.server.ondemand.ServiceGroupException: java.lang.RuntimeException: Unable to create ORB
> at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:160)
> 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)
> ... 13 more
> Caused by: java.lang.RuntimeException: Unable to create ORB
> at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:501)
> at com.sun.enterprise.server.ondemand.EjbServiceGroup._start(EjbServiceGroup.java:156)
> ... 17 more
> Caused by: java.lang.RuntimeException: Unable to create ORB
> at com.sun.enterprise.server.ondemand.EjbServiceGroup.startORB(EjbServiceGroup.java:452)
> ... 18 more
> Server Startup failed. Exiting...
> Server shutdown in progress...
> CORE5061: Exception :
> com.sun.appserv.server.ServerLifecycleException: WEB0106: An error occurred while stopping the web container
> at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:826)
> at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:100)
> at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:560)
> at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:145)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:427)
> 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: LifecycleException: WEB0103: This web container has not yet been started
> at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:913)
> at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:818)
> ... 10 more
> CORE5051: Shutting down all J2EE applications ...
> CORE5068 : Stopping all J2EE Connector 1.5 Compliant resource adapters ...
> CORE 5061 : Resource adapters Stop() Complete
> CORE5052: Application shutdown complete.
> CORE5061: Exception :
> java.lang.NullPointerException
> at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)
> at com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)
> at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)
> at com.sun.appserv.server.ServerLifecycleModule.onShutdown(ServerLifecycleModule.java:273)
> at com.sun.appserv.server.LifecycleModuleService.onShutdown(LifecycleModuleService.java:487)
> at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:560)
> at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:145)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:427)
> 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)
> CORE5061: Exception :
> com.sun.appserv.server.ServerLifecycleException
> at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:171)
> at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:560)
> at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:145)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:427)
> 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)
> CORE5061: Exception :
> java.lang.NullPointerException
> at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)
> at com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)
> at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)
> at com.sun.appserv.server.ServerLifecycleModule.onTermination(ServerLifecycleModule.java:277)
> at com.sun.appserv.server.LifecycleModuleService.onTermination(LifecycleModuleService.java:496)
> at com.sun.enterprise.server.ApplicationServer.onTermination(ApplicationServer.java:598)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:432)
> 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)
> Server stopped due to Server startup failure.
> sending notification to server...server
> Server shutdown complete.
> Starting Domain domain1, please wait.
> Default Log location is C:\dev\domain1\logs\server.log.
> Redirecting output to C:/dev/domain1/logs/server.log
>
> [#|2010-01-21T15:07:38.359-0200|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5051: Shutting down all J2EE applications ...|#]
>
> [#|2010-01-21T15:07:38.359-0200|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5068 : Stopping all J2EE Connector 1.5 Compliant resource adapters ...|#]
>
> [#|2010-01-21T15:07:38.359-0200|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE 5061 : Resource adapters Stop() Complete|#]
>
> [#|2010-01-21T15:07:38.359-0200|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5052: Application shutdown complete.|#]
>
> [#|2010-01-21T15:07:38.359-0200|WARNING|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=c9fae7a8-c24c-4ff5-95bd-b4963bee1d10;|CORE5061: Exception :
> java.lang.NullPointerException
> at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)
> at com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)
> at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)
> at com.sun.appserv.server.ServerLifecycleModule.onShutdown(ServerLifecycleModule.java:273)
> at com.sun.appserv.server.LifecycleModuleService.onShutdown(LifecycleModuleService.java:487)
> at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:560)
> at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:145)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:427)
> 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)
> |#]
>
> [#|2010-01-21T15:07:38.375-0200|WARNING|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=c9fae7a8-c24c-4ff5-95bd-b4963bee1d10;|CORE5061: Exception :
> com.sun.appserv.server.ServerLifecycleException
> at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:171)
> at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:560)
> at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:145)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:427)
> 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)
> |#]
>
> [#|2010-01-21T15:07:38.656-0200|WARNING|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=c9fae7a8-c24c-4ff5-95bd-b4963bee1d10;|CORE5061: Exception :
> java.lang.NullPointerException
> at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)
> at com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)
> at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)
> at com.sun.appserv.server.ServerLifecycleModule.onTermination(ServerLifecycleModule.java:277)
> at com.sun.appserv.server.LifecycleModuleService.onTermination(LifecycleModuleService.java:496)
> at com.sun.enterprise.server.ApplicationServer.onTermination(ApplicationServer.java:598)
> at com.sun.enterprise.server.PEMain.run(PEMain.java:432)
> 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)
> |#]
>
> [#|2010-01-21T15:07:38.656-0200|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=c9fae7a8-c24c-4ff5-95bd-b4963bee1d10;|Server stopped due to Server startup failure.|#]
>
> [#|2010-01-21T15:07:38.656-0200|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=11;_ThreadName=Thread-1;|sending notification to server...server|#]
>
> [#|2010-01-21T15:07:38.656-0200|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=11;_ThreadName=Thread-1;|Server shutdown complete.|#]
>
> i dont know what to do !!!!!!!!!!!!!!!!!!!!
> [Message sent by forum member 'josecarlosbarros' (josecarlos.barros_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=382189
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>