users@glassfish.java.net

Error in starting

From: khosro asgharifard <khosro_question_at_yahoo.com>
Date: Sat, 5 Jan 2008 13:26:06 -0800 (PST)

Hello,
I have a problem.
When i start glassfish-v2 i got the following error:
Please help.
It is better to say i use NetBeans 6.0.I run it from NetBeans.

NAM0002: Exception in NamingManagerImpl copyMutableObject().
java.lang.IllegalArgumentException: Illegal null argument to ObjectInputStreamWithLoader
        at com.sun.enterprise.util.ObjectInputStreamWithLoader.<init>(ObjectInputStreamWithLoader.java:61)
        at com.sun.enterprise.naming.NamingUtils.makeCopyOfObject(NamingUtils.java:73)
        at com.sun.enterprise.naming.LocalSerialContextProviderImpl.rebind(LocalSerialContextProviderImpl.java:105)
       
 at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:433)
        at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:448)
        at javax.naming.InitialContext.rebind(InitialContext.java:412)
        at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:234)
        at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:190)
       
at
com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.createConnectorConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:261)
        at
 com.sun.enterprise.connectors.ConnectorRuntime.createConnectorConnectionPool(ConnectorRuntime.java:320)
        at com.sun.enterprise.resource.JdbcConnectionPoolDeployer.actualDeployResource(JdbcConnectionPoolDeployer.java:136)
        at com.sun.enterprise.resource.JdbcConnectionPoolDeployer.deployResource(JdbcConnectionPoolDeployer.java:115)
        at com.sun.enterprise.connectors.ConnectorServiceImpl.loadDeferredResources(ConnectorServiceImpl.java:269)
        at com.sun.enterprise.connectors.ConnectorServiceImpl$1.run(ConnectorServiceImpl.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at
 com.sun.enterprise.connectors.ConnectorServiceImpl.loadResourcesAndItsRar(ConnectorServiceImpl.java:214)
        at com.sun.enterprise.connectors.ConnectorServiceImpl.checkAndLoadResource(ConnectorServiceImpl.java:196)
        at com.sun.enterprise.connectors.ConnectorRuntime.checkAndLoadResource(ConnectorRuntime.java:878)
        at com.sun.enterprise.naming.SerialContextProviderImpl.checkAndLoadResource(SerialContextProviderImpl.java:96)
        at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:77)
        at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:111)
        at
 com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:339)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:582)
        at com.sun.enterprise.web.WebModuleContextConfig.configureResource(WebModuleContextConfig.java:220)
        at com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextConfig.java:161)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:143)
        at org.apache.catalina.core.StandardContext.init(StandardContext.java:6342)
        at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:4840)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:296)
        at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:168)
        at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:184)
        at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1672)
        at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:296)
        at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:168)
        at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:184)
        at com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(EmbeddedWebContainer.java:453)
        at
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:533)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:936)
        at com.sun.enterprise.web.WebContainer.start(WebContainer.java:873)
        at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:790)
        at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:84)
        at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
        at
 com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
        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)
failed to load resources/ResourceAdapter
java.lang.RuntimeException: Cant copy Serializable
 object:
        at com.sun.enterprise.naming.NamingUtils.makeCopyOfObject(NamingUtils.java:82)
        at com.sun.enterprise.naming.LocalSerialContextProviderImpl.rebind(LocalSerialContextProviderImpl.java:105)
        at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:433)
        at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:448)
        at javax.naming.InitialContext.rebind(InitialContext.java:412)
        at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:234)
        at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:190)
       
at
com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.createConnectorConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:261)
        at com.sun.enterprise.connectors.ConnectorRuntime.createConnectorConnectionPool(ConnectorRuntime.java:320)
        at com.sun.enterprise.resource.JdbcConnectionPoolDeployer.actualDeployResource(JdbcConnectionPoolDeployer.java:136)
        at com.sun.enterprise.resource.JdbcConnectionPoolDeployer.deployResource(JdbcConnectionPoolDeployer.java:115)
        at com.sun.enterprise.connectors.ConnectorServiceImpl.loadDeferredResources(ConnectorServiceImpl.java:269)
        at com.sun.enterprise.connectors.ConnectorServiceImpl$1.run(ConnectorServiceImpl.java:217)
        at
 java.security.AccessController.doPrivileged(Native Method)
        at com.sun.enterprise.connectors.ConnectorServiceImpl.loadResourcesAndItsRar(ConnectorServiceImpl.java:214)
        at com.sun.enterprise.connectors.ConnectorServiceImpl.checkAndLoadResource(ConnectorServiceImpl.java:196)
        at com.sun.enterprise.connectors.ConnectorRuntime.checkAndLoadResource(ConnectorRuntime.java:878)
        at com.sun.enterprise.naming.SerialContextProviderImpl.checkAndLoadResource(SerialContextProviderImpl.java:96)
        at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:77)
        at
 com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:111)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:339)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at com.sun.enterprise.naming.NamingManagerImpl.bindObjects(NamingManagerImpl.java:582)
        at com.sun.enterprise.web.WebModuleContextConfig.configureResource(WebModuleContextConfig.java:220)
        at com.sun.enterprise.web.WebModuleContextConfig.lifecycleEvent(WebModuleContextConfig.java:161)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:143)
        at
 org.apache.catalina.core.StandardContext.init(StandardContext.java:6342)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4840)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:296)
        at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:168)
        at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:184)
        at
 com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1672)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:296)
        at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:168)
        at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:184)
        at
 com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(EmbeddedWebContainer.java:453)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:533)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:936)
        at com.sun.enterprise.web.WebContainer.start(WebContainer.java:873)
        at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:790)
        at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:84)
        at
 com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
        at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
        at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
        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)
Caused by: java.lang.IllegalArgumentException: Illegal null argument to ObjectInputStreamWithLoader
        at com.sun.enterprise.util.ObjectInputStreamWithLoader.<init>(ObjectInputStreamWithLoader.java:61)
        at com.sun.enterprise.naming.NamingUtils.makeCopyOfObject(NamingUtils.java:73)
        ... 55 more




      ____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping