This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error starting web application in glassfish

 
Raghda Ismail
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody,

I am new to glassfish
I am testing small webapp in glassfish and eclipse and i am getting this error


Starting Domain domain1, please wait.
Aug 10, 2009 4:38:56 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
C:/Program Files/Java/jdk1.6.0_14\bin\java
-Dcom.sun.aas.instanceRoot=C:/JEE/domains/domain1
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=Does not exist/lib/hadbjdbc4.jar,C:/JEE/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbm.jar,Does not exist/lib/hadbmgt.jar,C:/JEE/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.serverClassPath=C:/JEE/lib/install/applications/jmsra/imqjmsra.jar,C:/JEE/imq/lib/jaxm-api.jar,C:/JEE/imq/lib/fscontext.jar,C:/JEE/imq/lib/imqbroker.jar,C:/JEE/imq/lib/imqjmx.jar,C:/JEE/lib/ant/lib/ant.jar,C:/JEE/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbjdbc4.jar,jgroups-all.jar,C:/JEE/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Program Files/Java/jdk1.6.0_14/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,C:/JEE/imq/lib/jaxm-api.jar,C:/JEE/imq/lib/fscontext.jar,C:/JEE/imq/lib/imqbroker.jar,C:/JEE/imq/lib/imqjmx.jar,C:/JEE/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,C:/JEE/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/JEE/updatecenter/lib/updatecenter.jar,C:/JEE/jbi/lib/jbi.jar,C:/JEE/imq/lib/imqjmx.jar,C:/JEE/lib/ant/lib/ant.jar,dbschema.jar
-Dcom.sun.aas.configName=server-config
-Dcom.sun.aas.configRoot=C:/JEE/config
-Dcom.sun.aas.defaultLogFile=C:/JEE/domains/domain1/logs/server.log
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.installRoot=C:/JEE
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.aas.verboseMode=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.updatecenter.home=C:/JEE/updatecenter
-Ddomain.name=domain1
-Djava.endorsed.dirs=C:/JEE/lib/endorsed
-Djava.ext.dirs=C:/Program Files/Java/jdk1.6.0_14/lib/ext;C:/Program Files/Java/jdk1.6.0_14/jre/lib/ext;C:/JEE/domains/domain1/lib/ext;C:/JEE/javadb/lib
-Djava.library.path=C:\JEE\lib;C:\JEE\lib;C:\JEE\bin;C:\JEE\bin
-Djava.security.auth.login.config=C:/JEE/domains/domain1/config/login.conf
-Djava.security.policy=C:/JEE/domains/domain1/config/server.policy
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Djavax.net.ssl.keyStore=C:/JEE/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/JEE/domains/domain1/config/cacerts.jks
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djmx.invoke.getters=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
-client
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-Xmx512m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=C:/JEE/domains/domain1/logs/jvm.log
-cp
C:/JEE/lib/jhall.jar;C:\JEE\lib\appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
verbose
[#|2009-08-10T16:39:00.015+0400|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Client VM;1.6.0_14;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_14] from [Sun Microsystems Inc.]|#]

[#|2009-08-10T16:39:00.078+0400|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=11;_ThreadName=pool-1-thread-3;|SEC1002: Security Manager is OFF.|#]

[#|2009-08-10T16:39:00.093+0400|INFO|sun-appserver2.1|javax.enterprise.resource.jms|_ThreadID=12;_ThreadName=pool-1-thread-6;|Using MQ RA for Broker lifecycle control|#]

[#|2009-08-10T16:39:01.406+0400|INFO|sun-appserver2.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

[#|2009-08-10T16:39:01.906+0400|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114: SSO is disabled in virtual server [server]|#]

[#|2009-08-10T16:39:01.921+0400|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114: SSO is disabled in virtual server [__asadmin]|#]

[#|2009-08-10T16:39:01.921+0400|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;com.ericsson.ssa.config.ConvergedContextConfig;|REgistering Custom ContextConfig|#]

[#|2009-08-10T16:39:01.921+0400|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;com.ericsson.ssa.config.ConvergedContextImpl;|REgistering Custom Context|#]

[#|2009-08-10T16:39:02.968+0400|SEVERE|sun-appserver2.1|javax.enterprise.resource.corba.ee.S1AS-ORB.rpc.transport|_ThreadID=10;_ThreadName=main;all interfaces;3700;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|"IOP00410216: (COMM_FAILURE) Unable to create IIOP listener on the specified host/port: all interfaces/3700"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3094)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3114)
at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:181)
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)
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.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:174)
... 32 more
|#]

[#|2009-08-10T16:39:02.984+0400|WARNING|sun-appserver2.1|javax.enterprise.resource.corba.ee._INITIALIZING_.rpc.presentation|_ThreadID=10;_ThreadName=main;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|"IOP02310202: (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:10170)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:10188)
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:3094)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3114)
at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:181)
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:174)
... 32 more
|#]

[#|2009-08-10T16:39:02.984+0400|SEVERE|sun-appserver2.1|javax.enterprise.system.util|_ThreadID=10;_ThreadName=main;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|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:10170)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.orbConnectError(ORBUtilSystemException.java:10188)
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:3094)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:3114)
at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:181)
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:174)
... 32 more
|#]

[#|2009-08-10T16:39:02.984+0400|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;java.lang.RuntimeException: org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 202 completed: No;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|CORE5081: Exception while creating ORB: [java.lang.RuntimeException: org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 202 completed: No]|#]

[#|2009-08-10T16:39:02.984+0400|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;java.lang.RuntimeException: Unable to create ORB;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|CORE5082: Exception running j2ee services: [java.lang.RuntimeException: Unable to create ORB]|#]

[#|2009-08-10T16:39:02.984+0400|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|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
|#]

[#|2009-08-10T16:39:02.984+0400|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|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
|#]

[#|2009-08-10T16:39:02.984+0400|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|Server Startup failed. Exiting...|#]

[#|2009-08-10T16:39:02.984+0400|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Server shutdown in progress...|#]

[#|2009-08-10T16:39:02.984+0400|INFO|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0303: Stopping Sun-Java-System/Application-Server.|#]

[#|2009-08-10T16:39:02.984+0400|WARNING|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|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:823)
at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:100)
at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:553)
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:912)
at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:815)
... 10 more
|#]

[#|2009-08-10T16:39:02.984+0400|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5051: Shutting down all J2EE applications ...|#]

[#|2009-08-10T16:39:02.984+0400|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5068 : Stopping all J2EE Connector 1.5 Compliant resource adapters ...|#]

[#|2009-08-10T16:39:02.984+0400|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE 5061 : Resource adapters Stop() Complete|#]

[#|2009-08-10T16:39:02.984+0400|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5052: Application shutdown complete.|#]

[#|2009-08-10T16:39:02.984+0400|WARNING|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|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:553)
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)
|#]

[#|2009-08-10T16:39:03.000+0400|WARNING|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|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:553)
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)
|#]

[#|2009-08-10T16:39:03.000+0400|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|core.tmp_folder_deletion_failed|#]

[#|2009-08-10T16:39:03.359+0400|WARNING|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|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:591)
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)
|#]

[#|2009-08-10T16:39:03.359+0400|SEVERE|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=41f7cf18-7d20-4262-94a0-6c2f872bec23;|Server stopped due to Server startup failure.|#]

[#|2009-08-10T16:39:03.359+0400|INFO|sun-appserver2.1|javax.enterprise.system.core|_ThreadID=13;_ThreadName=Thread-1;|sending notification to server...server|#]

Domain domain1 is ready to receive client requests. Additional services are being started in background.
Domain [domain1] is running [Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs)] with its configuration and logs at: [C:\JEE\domains].
Admin Console is available at [http://localhost:4848].
Use the same port [4848] for "asadmin" commands.
User web applications are available at these URLs:
[http://localhost:8080 https://localhost:8181 ].
Following web-contexts are available:
[/web1 /__wstx-services ].
Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://Raghda:8686/jmxrmi] for domain management purposes.
Domain listens on at least following ports for connections:
[8080 8181 4848 3700 3820 3920 8686 ].
Domain does not support application server clusters and other standalone instances.

Note: glassfish is working fine with another test application (not web application)


any help is appreciated
Thanks in advance
 
Swastik Dey
Rancher
Posts: 1602
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
java.net.BindException: Address already in use: bind


It seems that that the port number being used by the app server is already being used by some other service running in your system.
 
Raghda Ismail
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Swastik,
Thanks for your reply.
I have tomcat integrated with eclipse but i am sure it is stopped.
do you have any idea how to check the ports to discover the problem??

Thanks
 
Raghda Ismail
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody ,

I am still having the problem ,can anybody help me??

Thanks
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do a netstat -a in the command prompt and see if the port is being used. If yes, find the process that uses that port and kill it.
 
H Padia
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Raghda,

I am facing the same problem as you did.

I know its been a while now, but would you remember how you solved the problem?

Thanks.

H
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic