dev@glassfish.java.net

Re: [v3] unable to deploy

From: Tim Quinn <Timothy.Quinn_at_Sun.COM>
Date: Mon, 04 Aug 2008 19:42:49 -0500

Kedar Mhaswade wrote:
> Tim,
>
> See if Arun's blog helps.
> http://weblogs.java.net/blog/arungupta/archive/2008/06/totd_34_using_f.html
>
Perhaps someone for whom the system does *not* work could try this? As
I mentioned, I do not see the error

- Tim
>
> -Kedar
>
>
> Tim Quinn wrote:
>> Kedar,
>>
>> 21573 is the rev. in which the correct web/web-glue/pom.xml was
>> checked in.
>>
>> The new module is a child of web, not of web-glue. So you may want
>> to try
>>
>> cd v3/web
>> mvn clean
>> svn update
>> mvn install
>>
>> My earlier suggestion was to try to build web/web-glue alone using
>> the correct pom. This possible work-around should deposit the new
>> module into your local repository.
>>
>> I would still like to verify which module is the missing one. Do you
>> know how to start Felix? Then you can use its "ls" command to map
>> the bundle number to the module name?
>>
>> - Tim
>>
>> Kedar Mhaswade wrote:
>>> Tim,
>>>
>>> Error persists.
>>>
>>> dhcp-usca14-133-169:web-glue kedar$ ls
>>> pom.xml src target
>>> dhcp-usca14-133-169:web-glue kedar$ svn up
>>> At revision 21577.
>>>
>>>
>>> Is it 21577 or 21573?
>>>
>>> - Kedar
>>>
>>>
>>> Tim Quinn wrote:
>>>> Byron (and Kedar),
>>>>
>>>> web/web-glue/pom.xml is correct as of 21573.
>>>>
>>>> The Hudson builds are succeeding.
>>>>
>>>> I am not sure why you continue to see problems.
>>>>
>>>> You could try this to see if it helps:
>>>>
>>>> cd v3/web/
>>>> svn update
>>>>
>>>> (You may see the new gui-plugin-common module sources if you have
>>>> not updated your workspace lately.)
>>>>
>>>> Then mvn clean install
>>>>
>>>> and do whatever you normally do to rebuild and reinstall the web
>>>> distribution.
>>>>
>>>> It is not clear why the build system is confused in people's local
>>>> repositories -- Hudson is doing fine with its fresh check-out and
>>>> build.
>>>>
>>>> - Tim
>>>>
>>>> Byron Nevins wrote:
>>>>> I see the problem and svn says web-glue is up to date:
>>>>>
>>>>> C:\gf\v3\web\web-glue>svn status -u | sort | tee sup.txt
>>>>> Status against revision: 21577
>>>>>
>>>>>
>>>>> Tim Quinn wrote:
>>>>>> Shing Wai Chan wrote:
>>>>>>> I just update my workspace and do a "mvn -U install".
>>>>>>> QL is working for me.
>>>>>>> Not sure if there is any change between the time that we do the
>>>>>>> checkout.
>>>>>>> Regards.
>>>>>>> Shing Wai Chan
>>>>>> Yes, it should be working now after the check-in I mentioned in
>>>>>> my earlier note.
>>>>>>
>>>>>> Good to see it's OK for you!
>>>>>>
>>>>>> - Tim
>>>>>>>
>>>>>>> Jan.Luehe_at_Sun.COM wrote:
>>>>>>>> Jane Young wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I just checked-out and built GlassFish V3. Domain starts
>>>>>>>>> successfully but when deploying a simple war app, I get this
>>>>>>>>> error:
>>>>>>>>>
>>>>>>>>> ./asadmin deploy ~/J2EE_apps/hello1.war
>>>>>>>>> remote failure: com.sun.enterprise.module.ResolveError: Failed
>>>>>>>>> to start org.glassfish.web.web-glue(Web Container glue
>>>>>>>>> code):10.0.0.SNAPSHOT
>>>>>>>>>
>>>>>>>>> Command deploy failed.
>>>>>>>>>
>>>>>>>>
>>>>>>>> Same here. QL is failing for me for this reason.
>>>>>>>>
>>>>>>>> Jan
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> server.log:
>>>>>>>>> com.sun.enterprise.module.ResolveError: Failed to start
>>>>>>>>> org.glassfish.web.web-glue(Web Container glue
>>>>>>>>> code):10.0.0.SNAPSHOT
>>>>>>>>> at
>>>>>>>>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:113)
>>>>>>>>>
>>>>>>>>> at
>>>>>>>>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:122)
>>>>>>>>>
>>>>>>>>> at
>>>>>>>>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1.loadClass(OSGiModuleImpl.java:257)
>>>>>>>>>
>>>>>>>>> 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.glassfish.internal.data.ContainerInfo.getContainer(ContainerInfo.java:75)
>>>>>>>>>
>>>>>>>>> at
>>>>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:795)
>>>>>>>>>
>>>>>>>>> at
>>>>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:432)
>>>>>>>>>
>>>>>>>>> at
>>>>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:268)
>>>>>>>>>
>>>>>>>>> at
>>>>>>>>> com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:270)
>>>>>>>>>
>>>>>>>>> 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:239)
>>>>>>>>>
>>>>>>>>> at
>>>>>>>>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:156)
>>>>>>>>>
>>>>>>>>> at
>>>>>>>>> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:148)
>>>>>>>>>
>>>>>>>>> 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:70)
>>>>>>>>>
>>>>>>>>> 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 12: package;
>>>>>>>>> (package=org.apache.tools.ant.types)
>>>>>>>>> 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:110)
>>>>>>>>>
>>>>>>>>> ... 26 more
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Is this a known issue?
>>>>>>>>>
>>>>>>>>> Thanks!
>>>>>>>>> Jane
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>> 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
>>>>>>
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>