dev@glassfish.java.net

Re: Error deploying WAR

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 04 Jul 2008 09:11:28 +0530

As I mentioned, it should have been already fixed. Please check the
previous discussion. Also check the status of hudson job.

Thanks,
Sahoo

Arun Gupta wrote:
> Thanks,
>
> Is there a bug filed for this issue ?
>
> Any ETA on when the issue will be fixed ?
>
> I've got a customer waiting on this fix.
>
> -Arun
>
> Sahoo wrote:
>> It's currently a known issue. Check out the discussion that Marina
>> started on this alias a few days ago. I was under the impression that
>> the issue was resolved after the build system started functioning again.
>>
>> Thanks,
>> Sahoo
>>
>> Claudio Miranda wrote:
>>> I have had some issues with this, and have fixed some pom.xml files,
>>>
>>> Take a look at domains/domain1/.felix/gf/bundle47/bundle.location to
>>> see which module is causing this problem.
>>> Probably you are going to fix the correct version at pom.xml
>>> I am not a maven expert, but doing that just made my module working
>>> with glassfish v3 svn
>>>
>>> Follow the thread at admin list, if needed
>>> https://glassfish.dev.java.net/servlets/ReadMsg?list=admin&msgNo=1876
>>>
>>> On Thu, Jul 3, 2008 at 10:49 PM, Arun Gupta <Arun.Gupta_at_sun.com> wrote:
>>>
>>>> Checked out a fresh copy of v3 and could build/start it fine. But
>>>> deploying
>>>> a simple WAR file gives the error:
>>>>
>>>> SEVERE: Exception in command execution :
>>>> com.sun.enterprise.module.ResolveError: Failed to start
>>>> org.glassfish.web:gf-web-connector:1.0
>>>> com.sun.enterprise.module.ResolveError: Failed to start
>>>> org.glassfish.web:gf-web-connector:1.0
>>>> 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.v3.server.SnifferManager.createSnifferParentCL(SnifferManager.java:135)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.server.SnifferManager.createSnifferParentCL(SnifferManager.java:146)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:236)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:285)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:113)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:233)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:150)
>>>>
>>>> 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
>>>> 47: module;
>>>> (&(bundle-symbolic-name=com.sun.enterprise.hk2)(bundle-version>=0.3.2)(bundle-version<=0.3.2))
>>>>
>>>> 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)
>>>>
>>>> ... 26 more
>>>>
>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>