dev@glassfish.java.net

Re: Build problem (Should be fixed now)

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 16 Sep 2008 15:59:53 -0700

I did a svn up; mvn clean; mvn -U install. Same problem:



Sep 16, 2008 3:59:03 PM HK2Main start
INFO: contextRootDir = /v3/run/modules
Sep 16, 2008 3:59:03 PM OSGiFactoryImpl initialize
INFO: Singleton already initialized as
com.sun.enterprise.module.impl.HK2Factory_at_78b64b
ERROR: Error starting file:/v3/run//modules/osgi-adapter-0.3.22.jar
(org.osgi.framework.BundleException: Activator start error.)
com.sun.enterprise.module.ResolveError: Failed to start
org.glassfish.core.kernel(Kernel Classes):10.0.0.SNAPSHOT
        at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:
142)
        at org.jvnet.hk2.osgiadapter.OSGiModuleImpl
$1$1.loadClass(OSGiModuleImpl.java:275)
        at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
        at com.sun.hk2.component.LazyInhabitant.type(LazyInhabitant.java:78)
        at org.jvnet.hk2.component.Habitat.addIndex(Habitat.java:149)
        at com.sun.hk2.component.InhabitantsParser.add(InhabitantsParser.java:
154)
        at
com.sun.hk2.component.InhabitantsParser.parse(InhabitantsParser.java:
133)
        at
org
.jvnet
.hk2.osgiadapter.OSGiModuleImpl.parseInhabitants(OSGiModuleImpl.java:
294)
        at
org
.jvnet
.hk2
.osgiadapter
.OSGiModulesRegistryImpl.parseInhabitants(OSGiModulesRegistryImpl.java:
128)
        at
com
.sun
.enterprise
.module
.common_impl
.AbstractModulesRegistryImpl
.createHabitat(AbstractModulesRegistryImpl.java:135)
        at com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:
394)
        at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:131)
        at
org
.apache
.felix.framework.util.SecureAction.startActivator(SecureAction.java:591)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1607)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
        at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:
1135)
        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:
267)
        at java.lang.Thread.run(Thread.java:613)
Caused by: org.osgi.framework.BundleException: Unresolved constraint
in bundle 101: package; (&(package=com.sun.grizzly.tcp)(version>=1.8.6))
        at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1725)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1588)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
        at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:
136)
        ... 17 more





On Sep 16, 2008, at 2:05 PM, Jeanfrancois Arcand wrote:

> Salut,
>
> I suspect you need to do a mvn -U clean install. Hudson seems fine
> and I'm guessing this is what it does.
>
> A+
>
> -- Jeanfrancois
>
> Lloyd Chambers wrote:
>> I'm not sure where this stands, but I'm getting a problem:
>> Welcome to Felix.
>> =================
>> Sep 16, 2008 1:43:38 PM HK2Main start
>> INFO: contextRootDir = /v3/run/modules
>> Sep 16, 2008 1:43:38 PM OSGiFactoryImpl initialize
>> INFO: Singleton already initialized as
>> com.sun.enterprise.module.impl.HK2Factory_at_e8a0cd
>> ERROR: Error starting file:/v3/run//modules/osgi-adapter-0.3.22.jar
>> (org.osgi.framework.BundleException: Activator start error.)
>> com.sun.enterprise.module.ResolveError: Failed to start
>> org.glassfish.core.kernel(Kernel Classes):10.0.0.SNAPSHOT
>> at
>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:
>> 142)
>> at org.jvnet.hk2.osgiadapter.OSGiModuleImpl
>> $1$1.loadClass(OSGiModuleImpl.java:275) at
>> com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
>> at com.sun.hk2.component.LazyInhabitant.type(LazyInhabitant.java:
>> 78)
>> at org.jvnet.hk2.component.Habitat.addIndex(Habitat.java:149)
>> at
>> com.sun.hk2.component.InhabitantsParser.add(InhabitantsParser.java:
>> 154)
>> at
>> com
>> .sun.hk2.component.InhabitantsParser.parse(InhabitantsParser.java:
>> 133)
>> at
>> org
>> .jvnet
>> .hk2
>> .osgiadapter.OSGiModuleImpl.parseInhabitants(OSGiModuleImpl.java:
>> 294) at
>> org
>> .jvnet
>> .hk2
>> .osgiadapter
>> .OSGiModulesRegistryImpl
>> .parseInhabitants(OSGiModulesRegistryImpl.java:128) at
>> com
>> .sun
>> .enterprise
>> .module
>> .common_impl
>> .AbstractModulesRegistryImpl
>> .createHabitat(AbstractModulesRegistryImpl.java:135) at
>> com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:394)
>> at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:131)
>> at
>> org
>> .apache
>> .felix.framework.util.SecureAction.startActivator(SecureAction.java:
>> 591) at
>> org.apache.felix.framework.Felix._startBundle(Felix.java:1607)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
>> at
>> org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:
>> 1135)
>> at
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:
>> 267)
>> at java.lang.Thread.run(Thread.java:613)
>> Caused by: org.osgi.framework.BundleException: Unresolved
>> constraint in bundle 101: package; (&(package=com.sun.grizzly.tcp)
>> (version>=1.8.6))
>> at org.apache.felix.framework.Felix._resolveBundle(Felix.java:
>> 1725)
>> at org.apache.felix.framework.Felix._startBundle(Felix.java:1588)
>> at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
>> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:
>> 371)
>> at
>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:
>> 136)
>> ... 17 more
>> ^CThe domain was stopped.
>> ..............................................
>> Lloyd Chambers
>> lloyd.chambers_at_sun.com
>> GlassFish team, LSARC member
>> On Sep 16, 2008, at 12:54 PM, Jason Lee wrote:
>>> On Sep 16, 2008, at 2:52 PM, Snjezana Sevo-Zenzerovic wrote:
>>>
>>>> to save the pain, I would suggest to go ahead and update
>>>> distributions/web/pom.xml to include admin console in web.zip and
>>>> enable Admin GUI QL tests. Given that I need passing build with
>>>> passing QL for reliable baseline before I finally include
>>>> packager module in development build, it would be better to
>>>> resolve these failures as soon as possible.
>>>
>>>
>>> OK. I'll get my changes committed, and then we can roll back what
>>> we need to when you get your changes to the point where you can
>>> commit them. Thanks.
>>>
>>> Jason Lee - x31197
>>> Senior Java Developer, Sun Microsystems
>>> GlassFish Admin Console Team
>>> Email: jasondlee_at_sun.com
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>