dev@glassfish.java.net

Re: [v3] start-up error after updating and rebuilding hk2 and gf

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 07 Aug 2008 15:31:54 -0700

I am seeing it also.

On Aug 7, 2008, at 3:06 PM, Kedar Mhaswade wrote:

> I am seeing this too and going nuts trying to understand it.
>
> - Kedar
>
> Tim Quinn wrote:
>> And now for something completely different...
>> Earlier today I updated my local hk2 and GlassFish v3 workspaces
>> and rebuilt both.
>> Now my locally-built server fails during startup with the error
>> below.
>> I have already updated and cleaned and rebuilt hk2 again with no
>> improvement.
>> Is anyone else seeing this or have any suggestions for what to do?
>> - Tim
>> ERROR: Error starting file:/Users/Tim/asgroup/v3/publish/glassfish//
>> modules/osgi-adapter-0.3.12-SNAPSHOT.jar
>> (org.osgi.framework.BundleException: Activator start error.)
>> org.jvnet.hk2.component.ComponentException: Failed to create class
>> com.sun.enterprise.v3.server.DomainXml
>> at
>> com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:76)
>> at
>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:74)
>> at
>> com
>> .sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:
>> 58)
>> at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:
>> 107)
>> at
>> com
>> .sun
>> .hk2
>> .component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:
>> 60) at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:242)
>> at java.util.AbstractList$Itr.next(AbstractList.java:422)
>> at
>> com
>> .sun
>> .enterprise
>> .module
>> .common_impl
>> .AbstractModulesRegistryImpl
>> .createHabitat(AbstractModulesRegistryImpl.java:138) at
>> com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:392)
>> at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:114)
>> at
>> org
>> .apache
>> .felix.framework.util.SecureAction.startActivator(SecureAction.java:
>> 591) at org.apache.felix.framework.Felix._startBundle(Felix.java:
>> 1610)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
>> at
>> org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:
>> 1125)
>> at
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:
>> 258)
>> at java.lang.Thread.run(Thread.java:613)
>> Caused by: java.lang.NoClassDefFoundError: org/jvnet/hk2/config/
>> DomDocument
>> at java.lang.ClassLoader.defineClass1(Native Method)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
>> at
>> org
>> .apache
>> .felix
>> .framework
>> .searchpolicy.ContentClassLoader.findClass(ContentClassLoader.java:
>> 214) at
>> org
>> .apache
>> .felix
>> .framework
>> .searchpolicy
>> .ContentClassLoader.loadClassFromModule(ContentClassLoader.java:
>> 85) at
>> org
>> .apache
>> .felix
>> .framework
>> .searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:
>> 141) at
>> org.apache.felix.framework.searchpolicy.R4Wire.getClass(R4Wire.java:
>> 101)
>> at
>> org
>> .apache
>> .felix
>> .framework
>> .searchpolicy
>> .R4SearchPolicyCore.searchImports(R4SearchPolicyCore.java:507)
>> at
>> org
>> .apache
>> .felix
>> .framework
>> .searchpolicy
>> .R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:
>> 468) at
>> org
>> .apache
>> .felix
>> .framework
>> .searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:
>> 187) at
>> org
>> .apache
>> .felix
>> .framework
>> .searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45)
>> at
>> org
>> .apache
>> .felix
>> .framework
>> .searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:
>> 109) at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>> at java.lang.Class.getDeclaredConstructors0(Native Method)
>> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
>> at java.lang.Class.getConstructor0(Class.java:2671)
>> at java.lang.Class.newInstance0(Class.java:321)
>> at java.lang.Class.newInstance(Class.java:303)
>> at
>> com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:70)
>> ... 15 more
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>