dev@glassfish.java.net

Error when deploying webapp on GFv3

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Fri, 18 Jul 2008 15:42:57 +0200

Hi,

I've checked out the latest trunk (rev 21303), and when try to deploy
any, even very simple web application with single jsp page - getting
the exception in log [1]
Is it known issue, is there workaround?

Thanks.

WBR,
Alexey.

[#|2008-07-18T15:23:21.722+0200|SEVERE|GlassFish10.0|
javax.enterprise.system.container.web|
_ThreadID=14;_ThreadName=Thread-5;|Error while deploying
com.sun.enterprise.module.ResolveError: Failed to start
org.glassfish.transaction.jts(JTS Implementation for Glassfish):
10.0.0.SNAPSHOT
        at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:
112)
        at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:
121)
        at org.jvnet.hk2.osgiadapter.OSGiModuleImpl
$1$1.loadClass(OSGiModuleImpl.java:256)
        at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)
        at
com
.sun
.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:
60)
        at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:229)
        at java.util.AbstractList$Itr.next(AbstractList.java:422)
        at
com
.sun
.enterprise
.transaction
.JavaEETransactionManagerSimplified
.initDelegates(JavaEETransactionManagerSimplified.java:1379)
        at
com
.sun
.enterprise
.transaction
.JavaEETransactionManagerSimplified
.postConstruct(JavaEETransactionManagerSimplified.java:147)
        at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150)
        at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:
86)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
        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.getByContract(Habitat.java:511)
        at
com.sun.web.server.J2EEInstanceListener.init(J2EEInstanceListener.java:
131)
        at
com
.sun
.web
.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:
106)
        at
org
.apache
.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:
384)
        at
org
.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
1251)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
1038)
        at
org
.apache
.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4915)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
5312)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:347)
        at
org
.apache
.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:922)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
906)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
696)
        at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:
3022)
        at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:
2645)
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:87)
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:78)
        at
com
.sun
.enterprise
.v3.server.ApplicationLifecycle.startModules(ApplicationLifecycle.java:
666)
        at
com
.sun
.enterprise
.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:285)
        at
com
.sun
.enterprise
.v3
.server
.ApplicationLoaderService
.processApplication(ApplicationLoaderService.java:224)
        at
com
.sun
.enterprise
.v3
.admin
.adapter
.AdminConsoleAdapter
.handleInstalledButNotLoadedState(AdminConsoleAdapter.java:436)
        at
com
.sun
.enterprise
.v3.admin.adapter.AdminConsoleAdapter.service(AdminConsoleAdapter.java:
183)
        at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:
157)
        at
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:
100)
        at
com.sun.enterprise.v3.services.impl.VsAdapter.service(VsAdapter.java:
135)
        at
com
.sun
.enterprise
.v3.services.impl.VirtualHostMapper.service(VirtualHostMapper.java:121)
        at
com
.sun
.grizzly
.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:621)
        at
com
.sun
.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:
552)
        at
com
.sun
.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:
800)
        at
com
.sun
.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:
152)
        at
com
.sun
.enterprise
.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:82)
        at
com
.sun
.enterprise
.v3
.services
.impl
.GlassfishProtocolChain
.executeProtocolFilter(GlassfishProtocolChain.java:61)
        at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
104)
        at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
90)
        at
com
.sun
.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:
67)
        at
com
.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:
56)
        at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:169)
Caused by: org.osgi.framework.BundleException: Unresolved package in
bundle 364: package; (package=org.omg.PortableServer.POAPackage)
        at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
        at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:
109)
        ... 51 more
|#]