dev@glassfish.java.net

Cannot build

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Tue, 27 Jul 2010 16:34:15 -0700

Hi,
I have updated the source code and have the following build errors when I run the QL (without any code changes).
I have checked Hudson.
I see the same errors as below:
Any idea?
Shing Wai Chan

[#|2010-07-27T15:35:05.979-0700|SEVERE|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=121;_ThreadName=pool-30-thread-1;|Exception while processing config bean changes :
org.jvnet.hk2.component.UnsatisfiedDependencyException: Unsatisfied dependency exception : com.sun.enterprise.deployment.annotation.factory.SJSASFactory com.sun.enterprise.deployment.archivist.Archivist.annotationFactory
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:116)
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:66)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:115)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:92)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:82)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:143)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:61)
        at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:1008)
        at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:989)
        at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:739)
        at com.sun.enterprise.web.WebContainer.updateDocroot(WebContainer.java:3178)
        at com.sun.enterprise.web.WebContainer.updateHost(WebContainer.java:2698)
        at com.sun.enterprise.web.reconfig.WebConfigListener$1.changed(WebConfigListener.java:123)
        at org.jvnet.hk2.config.ConfigSupport.sortAndDispatch(ConfigSupport.java:316)
        at com.sun.enterprise.web.reconfig.WebConfigListener.changed(WebConfigListener.java:109)
        at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:367)
        at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:357)
        at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:250)
        at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:248)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.jvnet.hk2.component.UnsatisfiedDependencyException: Unsatisfied dependency exception : org.glassfish.apf.AnnotationHandler[] com.sun.enterprise.deployment.annotation.factory.SJSASFactory.handlers
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:116)
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:66)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:115)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:92)
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:143)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:61)
        at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:1008)
        at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:989)
        at com.sun.hk2.component.InjectInjectionResolver.getValue(InjectInjectionResolver.java:108)
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:95)
        ... 23 more
Caused by: org.jvnet.hk2.component.ComponentException: problem initializing
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:70)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:143)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:61)
        at org.jvnet.hk2.component.Habitat$5.get(Habitat.java:661)
        at java.util.AbstractList$Itr.next(AbstractList.java:345)
        at java.util.AbstractCollection.toArray(AbstractCollection.java:171)
        at com.sun.hk2.component.InjectInjectionResolver.getValue(InjectInjectionResolver.java:83)
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:95)
        ... 33 more
Caused by: java.lang.LinkageError: Failed to inject class com.sun.enterprise.deployment.annotation.handlers.AuthenticationMechanismHandler from 172.0
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:183)
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:66)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:115)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:92)
        at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
        ... 40 more
Caused by: com.sun.enterprise.module.ResolveError: Failed to start Bundle Id [132] State [INSTALLED] [org.glassfish.ejb.ejb-container(GlassFish Core EJB container implementation):3.1.0.SNAPSHOT]
        at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:174)
        at org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1$1.loadClass(OSGiModuleImpl.java:341)
        at com.sun.hk2.component.LazyInhabitant.loadClass(LazyInhabitant.java:126)
        at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:113)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:142)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:61)
        at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:756)
        at com.sun.hk2.component.InjectInjectionResolver.getValue(InjectInjectionResolver.java:101)
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:95)
        ... 44 more
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.ejb.ejb-container [132]: Unable to resolve 132.0: missing requirement [132.0] package; (&(package=com.sun.appserv.ejb)(version>=3.1.0)) - [132.0] package; (&(package=com.sun.appserv.ejb)(version>=3.1.0))
        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
        at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:166)