dev@glassfish.java.net

unable to start domain in latest glassfish v3 classic version

From: Sreekanth <Sreekanth.Manga_at_Sun.COM>
Date: Thu, 16 Apr 2009 15:12:36 +0530

Hi ,

In the latest Gf v3 classic edition we are unable to start the glassfish
because of below exception.Filed a bug[1] to track this.

[1]https://glassfish.dev.java.net/issues/show_bug.cgi?id=7788

Thanks,
Sreekanth

Exception:
=========

[#|2009-04-16T11:12:53.344+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;|Exception in thread "GlassFish Kernel Main Thread" |#]

[#|2009-04-16T11:12:53.344+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;|java.lang.LinkageError: Failed to inject class com.sun.enterprise.v3.admin.PublicAdminAdapter from 131.0|#]

[#|2009-04-16T11:12:53.345+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:163)|#]

[#|2009-04-16T11:12:53.345+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:159)|#]

[#|2009-04-16T11:12:53.345+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90)|#]

[#|2009-04-16T11:12:53.345+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at java.security.AccessController.doPrivileged(Native Method)|#]

[#|2009-04-16T11:12:53.345+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87)|#]

[#|2009-04-16T11:12:53.345+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)|#]

[#|2009-04-16T11:12:53.345+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)|#]

[#|2009-04-16T11:12:53.345+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)|#]

[#|2009-04-16T11:12:53.346+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)|#]

[#|2009-04-16T11:12:53.346+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:252)|#]

[#|2009-04-16T11:12:53.346+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at java.util.AbstractList$Itr.next(AbstractList.java:345)|#]

[#|2009-04-16T11:12:53.346+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.enterprise.v3.services.impl.GrizzlyService.registerNetworkProxy(GrizzlyService.java:398)|#]

[#|2009-04-16T11:12:53.346+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.enterprise.v3.services.impl.GrizzlyService.registerNetworkProxy(GrizzlyService.java:390)|#]

[#|2009-04-16T11:12:53.346+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.enterprise.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:293)|#]

[#|2009-04-16T11:12:53.346+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:163)|#]

[#|2009-04-16T11:12:53.346+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90)|#]

[#|2009-04-16T11:12:53.346+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at java.security.AccessController.doPrivileged(Native Method)|#]

[#|2009-04-16T11:12:53.346+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87)|#]

[#|2009-04-16T11:12:53.346+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)|#]

[#|2009-04-16T11:12:53.347+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)|#]

[#|2009-04-16T11:12:53.347+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)|#]

[#|2009-04-16T11:12:53.347+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)|#]

[#|2009-04-16T11:12:53.347+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:215)|#]

[#|2009-04-16T11:12:53.347+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:127)|#]

[#|2009-04-16T11:12:53.348+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;|Caused by: com.sun.enterprise.module.ResolveError: Failed to start org.glassfish.common.container-common(Container Common):3.0.0.SNAPSHOT|#]

[#|2009-04-16T11:12:53.348+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:143)|#]

[#|2009-04-16T11:12:53.348+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1$1.loadClass(OSGiModuleImpl.java:280)|#]

[#|2009-04-16T11:12:53.348+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)|#]

[#|2009-04-16T11:12:53.348+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)|#]

[#|2009-04-16T11:12:53.348+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)|#]

[#|2009-04-16T11:12:53.348+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:335)|#]

[#|2009-04-16T11:12:53.348+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:133)|#]

[#|2009-04-16T11:12:53.349+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:81)|#]

[#|2009-04-16T11:12:53.349+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| ... 23 more|#]

[#|2009-04-16T11:12:53.349+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;|Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle 135: package; (&(package=javax.ejb.spi)(version>=3.1.0))|#]

[#|2009-04-16T11:12:53.349+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3090)|#]

[#|2009-04-16T11:12:53.349+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)|#]

[#|2009-04-16T11:12:53.349+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:774)|#]

[#|2009-04-16T11:12:53.349+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:137)|#]

[#|2009-04-16T11:12:53.349+0530|SEVERE|glassfish|null|_ThreadID=12;_ThreadName=Thread-1;| ... 30 more|#]

[#|2009-04-16T11:12:54.146+0530|WARNING|glassfish|javax.enterprise.system.tools.admin.org.glassfish.server|_ThreadID=13;_ThreadName=Thread-1;|Cannot start JMX connector: JmxConnector config: { name = system, Protocol = rmi_jrmp, Address = 0.0.0.0, Port = 8686, AcceptAll = false, AuthRealmName = admin-realm, SecurityEnabled = false}: java.io.IOException: Cannot bind to URL [rmi://129.158.213.44:8686/jmxrmi]: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.impl.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.impl.SerialInitContextFactory]|#]