dev@glassfish.java.net

Re: V3 deployment problem

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 10 Jul 2008 22:19:18 +0530

Set of modules in glassfish distribution is superset of that in web
distribution. e.g., web distribution does not have jts module, so you
don't see that problem while using web distribution.

Thanks,
Sahoo

Kin-man Chung wrote:
> Yea, I was using glassfish bundle. The web bundle seems to work fine.
> What's the difference? Thanks.
>
> -Kin-man
>
> Sahoo wrote:
>> Are you by any chance using glassfish bundle instead of web bundle?
>> What kind of application are you deploying?
>>
>> Mahesh is aware of it and addressing it. AFAIK, this should not
>> appear when you use web (i.e. distributions/target/web.zip) bundle.
>>
>> Thanks,
>> Sahoo
>>
>> Kin-man Chung wrote:
>>> I checked out a fresh V3. It built and started without problem, but
>>> I deployed an app, I got the following error. Anyone got any idea?
>>> Thanks.
>>>
>>> -Kin-man
>>>
>>> [#|2008-07-09T18:13:36.266-0700|INFO|GlassFish10.0|org.jvnet.hk2.osgiadapter|_ThreadID=14;_ThreadName=Thread-5;org.glassfish.transaction.jta
>>> [8];|Started bundle org.glassfish.transaction.jta [8]|#]
>>>
>>> [#|2008-07-09T18:13:36.325-0700|SEVERE|GlassFish10.0|javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=Thread-5;|WebModule[]StandardWrapper.Throwable
>>>
>>> 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:345)
>>> 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:347)
>>>
>>> at
>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1201)
>>>
>>> at
>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1045)
>>>
>>> at
>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4950)
>>>
>>> at
>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5347)
>>>
>>> at com.sun.enterprise.web.WebModule.start(WebModule.java:346)
>>> at
>>> org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1499)
>>>
>>> at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1179)
>>> at
>>> org.apache.catalina.core.StandardHost.start(StandardHost.java:963)
>>> at
>>> org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1499)
>>>
>>> at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1179)
>>> at
>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:550)
>>> at
>>> org.apache.catalina.startup.Embedded.start(Embedded.java:945)
>>> at
>>> com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:610)
>>>
>>> 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.glassfish.internal.data.ContainerInfo.getContainer(ContainerInfo.java:75)
>>>
>>> at
>>> com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:766)
>>>
>>> at
>>> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:411)
>>>
>>> at
>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:262)
>>>
>>> at
>>> com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:274)
>>>
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:286)
>>>
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:114)
>>>
>>> at
>>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:238)
>>>
>>> at
>>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:155)
>>> at
>>> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:145)
>>>
>>> at
>>> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:620)
>>>
>>> at
>>> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:551)
>>>
>>> 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 22: package; (package=org.omg.CosTSPortability)
>>> 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)
>>>
>>> ... 59 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>