dev@glassfish.java.net

Re: [v3] unable to deploy

From: Byron Nevins <Byron.Nevins_at_Sun.COM>
Date: Mon, 04 Aug 2008 17:53:02 -0700
Here is the output of PS.

INFO:    ID   State         Level  Name
Aug 4, 2008 5:50:20 PM
INFO: [   0] [Active     ] [    0] System Bundle (1.0.4)
Aug 4, 2008 5:50:20 PM
INFO: [   1] [Active     ] [    1] javax.xml.stream API v.1.0 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [   2] [Active     ] [    1] org.jvnet.tiger-types repackaged as module (0.3.10.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [   3] [Active     ] [    1] Inversion of Control / Autodependency mechanism (0.3.10.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [   4] [Active     ] [    1] HK2 configuration module (0.3.10.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [   5] [Active     ] [    1] HK2 core module (0.3.10.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [   6] [Active     ] [    1] HK2 OSGi Adapter (0.3.10.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [   7] [Active     ] [    1] Apache Felix Shell Service (1.0.0)
Aug 4, 2008 5:50:20 PM
INFO: [   8] [Active     ] [    1] Apache Felix Shell TUI (1.0.0)
Aug 4, 2008 5:50:20 PM
INFO: [   9] [Installed  ] [    1] EclipseLink Oracle Extensions (1.0)
Aug 4, 2008 5:50:20 PM
INFO: [  10] [Installed  ] [    1] Classes Shared by Servlet and JSP Containers (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  11] [Resolved   ] [    1] javax.management.j2ee API v.1.1 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  12] [Resolved   ] [    1] org.objectweb.asm.all version 3.1 repackaged as a module (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  13] [Active     ] [    1] Web Container Common Utilities (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  14] [Installed  ] [    1] JSP implementation (1.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  15] [Installed  ] [    1] Admin Utilities classes (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  16] [Installed  ] [    1] AMX API Implementation (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  17] [Installed  ] [    1] Backup Restore classes (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  18] [Installed  ] [    1] Java(TM) EE Specification APIs Repackaged as HK2 module and OSGi bundle (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  19] [Active     ] [    1] Security Core Classes (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  20] [Installed  ] [    1] Appserver Core Bootstraping Classes (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  21] [Installed  ] [    1] Launcher (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  22] [Installed  ] [    1] AMX API (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  23] [Resolved   ] [    1] javax.servlet API v.2.5 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  24] [Resolved   ] [    1] javax.xml.bind API v.2.1 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  25] [Resolved   ] [    1] GlassFish Java EE Annotation Framework (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  26] [Active     ] [    1] Glassfish MBeanServer support (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  27] [Resolved   ] [    1] javax.xml.soap API v.1.3 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  28] [Resolved   ] [    1] javax.xml.rpc API v.1.1 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  29] [Installed  ] [    1] GlassFish Flashlight Agent (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  30] [Resolved   ] [    1] javax.mail API v.1.4 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  31] [Installed  ] [    1] com.sun.scn.sysnet-registration repackaged as a module (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  32] [Resolved   ] [    1] Transaction Service Internal API (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  33] [Resolved   ] [    1] javax.activation API v.1.1 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  34] [Active     ] [    1] JTA Implementation for Glassfish (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  35] [Installed  ] [    1] JDBC admin (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  36] [Resolved   ] [    1] javax.security.jacc API v.1.1 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  37] [Active     ] [    1] Security Realms (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  38] [Resolved   ] [    1] Deployment Object Library (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  39] [Installed  ] [    1] EclipseLink ASM (1.0)
Aug 4, 2008 5:50:20 PM
INFO: [  40] [Installed  ] [    1] EclipseLink ANTLR (1.0)
Aug 4, 2008 5:50:20 PM
INFO: [  41] [Active     ] [    1] Kernel Classes (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  42] [Installed  ] [    1] Admin Console Integration (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  43] [Active     ] [    1] Glassfish Naming (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  44] [Active     ] [    1] Glassfish enablement of Ruby on Rails (0.6.12)
Aug 4, 2008 5:50:20 PM
INFO: [  45] [Resolved   ] [    1] javax.transaction API v.1.1 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  46] [Resolved   ] [    1] Connectors Private APIs for GlassFish Containers (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  47] [Active     ] [    1] Private APIs of Glassfish V3 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  48] [Resolved   ] [    1] javax.enterprise.deploy API v.1.2 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  49] [Active     ] [    1] Connector (gluecode) for GlassFish Java EE Connector Architecture Runtime (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  50] [Installed  ] [    1] Java EE Connector Architecture Work Management module (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  51] [Resolved   ] [    1] Web Container Naming Utilities (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  52] [Installed  ] [    1] CLI Framework (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  53] [Installed  ] [    1] javax.faces API v.1.2 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  54] [Installed  ] [    1] Core Servlet Container (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  55] [Installed  ] [    1] Apache commons library repackaged as OSGi and HK2 bundle (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  56] [Installed  ] [    1] Deployment Client Classes and Interfaces (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  57] [Active     ] [    1] Administration Configuration APIs (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  58] [Installed  ] [    1] Registration API (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  59] [Resolved   ] [    1] jmxremote_optional repackaged as a module (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  60] [Resolved   ] [    1] javax.persistence API v.1.0 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  61] [Installed  ] [    1] EclipseLink Core (1.0)
Aug 4, 2008 5:50:20 PM
INFO: [  62] [Active     ] [    1] Container Common (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  63] [Resolved   ] [    1] javax.servlet.jsp API v.2.1 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  64] [Resolved   ] [    1] javax.annotation API v.1.0 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  65] [Installed  ] [    1] Java EE Connector Architecture Runtime for GlassFish (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  66] [Installed  ] [    1] Server management (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  67] [Active     ] [    1] Web module command line interface (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  68] [Resolved   ] [    1] javax.ejb API v.3.0 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  69] [Active     ] [    1] JPA connector for glassfish (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  70] [Installed  ] [    1] Optional Admin CLI commands (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  71] [Resolved   ] [    1] Common Utilities (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  72] [Installed  ] [    1] EclipseLink JPA (1.0)
Aug 4, 2008 5:50:20 PM
INFO: [  73] [Resolved   ] [    1] Appserver Monitoring Infrastructure (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  74] [Installed  ] [    1] Registration Impl (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  75] [Installed  ] [    1] org.apache.commons.codec repackaged as a module (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  76] [Resolved   ] [    1] grizzly optionals repackaged as HK2 and OSGi bundle (1.8.4)
Aug 4, 2008 5:50:20 PM
INFO: [  77] [Resolved   ] [    1] grizzly-http repackaged as HK2 and OSGi bundle (1.8.4)
Aug 4, 2008 5:50:20 PM
INFO: [  78] [Resolved   ] [    1] javax.security.auth.message API v.1.0 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  79] [Installed  ] [    1] grizzly-jruby adapter repackaged as OSGi and HK2 module (0.6.12)
Aug 4, 2008 5:50:20 PM
INFO: [  80] [Resolved   ] [    1] ldapbp repackaged as a module (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  81] [Installed  ] [    1] javax.servlet.jsp.jstl API v.1.2 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  82] [Resolved   ] [    1] javax.resource API v.1.5 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  83] [Installed  ] [    1] Web Container glue code (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  84] [Active     ] [    1] Deployment Related Common Classes (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  85] [Resolved   ] [    1] javax.jws API v.1.1 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  86] [Installed  ] [    1] Java EE dependent public APIs of Glassfish V3 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  87] [Active     ] [    1] Public APIs of Glassfish V3 (10.0.402)
Aug 4, 2008 5:50:20 PM
INFO: [  88] [Resolved   ] [    1] javax.jms API v.1.1 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  89] [Active     ] [    1] Connector for GlassFish Web Container (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  90] [Resolved   ] [    1] javax.xml.ws API v.2.1 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  91] [Resolved   ] [    1] HK2 module of HK2 itself (0.3.10.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  92] [Active     ] [    1] GlassFish Flashlight Framework (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  93] [Installed  ] [    1] Admin CLI for v3 (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  94] [Installed  ] [    1] Admin Core classes (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  95] [Installed  ] [    1] Deployment Related JavaEE Core Classes (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  96] [Active     ] [    1] Security Common Classes (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  97] [Installed  ] [    1] Java Server (TM) TagLib Implementation (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  98] [Installed  ] [    1] WebTier Security Integration (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [  99] [Installed  ] [    1] Admin Console Web Container Plugin (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [ 100] [Installed  ] [    1] Admin Console Common (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [ 101] [Installed  ] [    1] JSF implementation connector module (10.0.0.SNAPSHOT)
Aug 4, 2008 5:50:20 PM
INFO: [ 102] [Installed  ] [    1] GlassFish-Application-Common-Module
Aug 4, 2008 5:50:20 PM
INFO: ->

Tim Quinn wrote:
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@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@glassfish.dev.java.net
For additional commands, e-mail: dev-help@glassfish.dev.java.net



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: dev-help@glassfish.dev.java.net



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: dev-help@glassfish.dev.java.net




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: dev-help@glassfish.dev.java.net


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: dev-help@glassfish.dev.java.net



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: dev-help@glassfish.dev.java.net


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: dev-help@glassfish.dev.java.net



-- 
Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123 - Sun Microsystems, Inc.