dev@glassfish.java.net

V3 start-domain failing for the latest build

From: Mohit Gupta <Mohit.Gupta_at_Sun.COM>
Date: Thu, 18 Jun 2009 14:42:42 +0530

GlassFish-v3 start-domain is failing with the following stack trace.

INFO: ERROR: Error starting
file:/space/v3-workspace-2/v3/distributions/glassfish/target/stage/glassfishv3/glassfish/modules/osgi-main.jar
(org.osgi.framework.BundleException: Activator start error in bundle
com.sun.enterprise.osgi-adapter [16].)
18 Jun, 2009 1:57:08 PM
SEVERE: java.lang.NoSuchMethodError:
org.glassfish.gmbal.ManagedObjectManager.stripPackagePrefix()V
18 Jun, 2009 1:57:08 PM
SEVERE: at
org.glassfish.admin.monitor.StatsProviderManagerDelegateImpl.register(StatsProviderManagerDelegateImpl.java:111)
18 Jun, 2009 1:57:08 PM
SEVERE: at
org.glassfish.probe.provider.StatsProviderManager.setStatsProviderManagerDelegate(StatsProviderManager.java:83)
18 Jun, 2009 1:57:08 PM
SEVERE: at
org.glassfish.admin.monitor.StatsProviderManagerBootstrap.postConstruct(StatsProviderManagerBootstrap.java:36)
18 Jun, 2009 1:57:08 PM
SEVERE: at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
18 Jun, 2009 1:57:08 PM
SEVERE: at
com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90)
18 Jun, 2009 1:57:08 PM
SEVERE: at java.security.AccessController.doPrivileged(Native Method)
18 Jun, 2009 1:57:08 PM
SEVERE: at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87)
18 Jun, 2009 1:57:08 PM
SEVERE: at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
18 Jun, 2009 1:57:08 PM
SEVERE: at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
18 Jun, 2009 1:57:08 PM
SEVERE: at
com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
18 Jun, 2009 1:57:08 PM
SEVERE: at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
18 Jun, 2009 1:57:08 PM
SEVERE: at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:218)
18 Jun, 2009 1:57:08 PM
SEVERE: at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:115)
18 Jun, 2009 1:57:08 PM
SEVERE: at
com.sun.enterprise.module.bootstrap.Main.launch(Main.java:433)
18 Jun, 2009 1:57:08 PM
SEVERE: at
com.sun.enterprise.module.bootstrap.Main.launch(Main.java:377)
18 Jun, 2009 1:57:08 PM
SEVERE: at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:120)
18 Jun, 2009 1:57:08 PM
SEVERE: at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
18 Jun, 2009 1:57:08 PM
SEVERE: at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
18 Jun, 2009 1:57:08 PM
SEVERE: at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:779)
18 Jun, 2009 1:57:08 PM
SEVERE: at org.jvnet.hk2.osgimain.Main.start(Main.java:104)
18 Jun, 2009 1:57:08 PM
SEVERE: at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
18 Jun, 2009 1:57:08 PM
SEVERE: at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
18 Jun, 2009 1:57:08 PM
SEVERE: at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
18 Jun, 2009 1:57:08 PM
SEVERE: at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
18 Jun, 2009 1:57:08 PM
SEVERE: at java.lang.Thread.run(Thread.java:619)

It seems that "org.glassfish.gmbal.ManagedObjectManager" has two
different implementations with webservices-osgi.jar and gmbal.jar, and
during runtime the interface is looked up from one jar and implemetation
from another. The two interfaces are not having the same signature,
hence the required method could not be found.

Thanks
Mohit