dev@glassfish.java.net

Re: V3 won't start: NoClassDefFoundError: org/jvnet/tiger_types/Types

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Thu, 17 Apr 2008 13:50:31 -0700

so it's HK2 mode, looks like the classpath attribute of your hk2-0.X-
SNAPSHOT is incorrect

for instance when using hk2 version 0.2-SNAPSHOT, it is
Class-Path : auto-depends-0.2.jar hk2-core-0.2.jar wstx-asl-3.2.3.jar
config-0.2.jar stax-api-1.0-2.jar tiger-types-osgi-0.2.jar


in your case it might be pointing to 0.3-SNAPSHOT while you seem to
only ship 0.2-SNAPSHOT

did you rebuild everything with the proper hk2.version setting ?

Jerome

On Apr 17, 2008, at 1:41 PM, Lloyd L Chambers wrote:
> Jerome,
>
> I unjarred glassfish-10.0-SNAPSHOT.zip after building.
>
> Then I did 'asadmin start-domain'.
>
> Lloyd
>
> On Apr 17, 2008, at 1:36 PM, Jerome Dochez wrote:
>> is this using Hk2 or OSGi mode ?
>>
>> On Apr 17, 2008, at 11:00 AM, Lloyd L Chambers wrote:
>>> I've done 'svn up', a clean, a fresh build and fresh install. And
>>> "tiger-types-osgi-0.2-SNAPSHOT.jar" is present in the modules
>>> directory.
>>>
>>> It's also a bug: the server doesn't quit, and it doesn't work.
>>> ............
>>>
>>> MB2:code lloyd$ ls /v3/run/modules/tiger-types-osgi-0.2-SNAPSHOT.jar
>>> /v3/run/modules/tiger-types-osgi-0.2-SNAPSHOT.jar
>>>
>>>
>>>
>>> INFO:
>>> com.sun.enterprise.v3.services.impl.CmdLineParamProcessor_at_dffb78
>>> Init done in 331 ms
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: Exception in thread "Thread-1"
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: java.lang.NoClassDefFoundError: org/jvnet/tiger_types/Types
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at org.jvnet.hk2.config.ConfigModel
>>> $CollectionNode.get(ConfigModel.java:228)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at org.jvnet.hk2.config.Dom.getter(Dom.java:756)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> org.jvnet.hk2.config.ConfigBean._getter(ConfigBean.java:151)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at org.jvnet.hk2.config.ConfigBean.getter(ConfigBean.java:
>>> 159)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at org.jvnet.hk2.config.Dom.invoke(Dom.java:747)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> org
>>> .glassfish
>>> .config
>>> .support.TranslatedConfigView.invoke(TranslatedConfigView.java:80)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at $Proxy13.getSystemProperty(Unknown Source)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> com
>>> .sun
>>> .enterprise
>>> .v3
>>> .server
>>> .SystemTasks.setSystemPropertiesFromDomainXml(SystemTasks.java:117)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> com
>>> .sun
>>> .enterprise.v3.server.SystemTasks.postConstruct(SystemTasks.java:82)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> com
>>> .sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:
>>> 150)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> com
>>> .sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:
>>> 86)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> com
>>> .sun
>>> .hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> com
>>> .sun
>>> .hk2
>>> .component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:
>>> 60)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:226)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at java.util.AbstractList$Itr.next(AbstractList.java:422)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> com
>>> .sun
>>> .enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:88)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:437)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:400)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at
>>> com.sun.enterprise.module.bootstrap.Main.start(Main.java:189)
>>> Apr 17, 2008 10:58:07 AM
>>> SEVERE: at com.sun.enterprise.module.bootstrap.Main
>>> $1.run(Main.java:104)
>>>
>>>
>>>
>>> ---
>>> Lloyd L Chambers
>>> lloyd.chambers_at_sun.com
>>> Sun Microsystems, Inc
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>>
>
> ---
> Lloyd L Chambers
> lloyd.chambers_at_sun.com
> Sun Microsystems, Inc
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>