dev@glassfish.java.net

unresolved dependencies caused multiple failures on the latest ejb devtests run against web.zip

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Thu, 18 Apr 2013 20:22:56 -0700

To reproduce, run 'ant lite' from devtests/ejb against web.zip install.

The latest run of hudson job ejb-devtests-lite-trunk failed for these
reasons (the previous run at 11am PT today was successful):

1.

deploy-war-commonpe:
      [exec] asadmin --host localhost --port 34499 --user anonymous --passwordfile /export/home/hudson/workspace/ejb-devtests-lite-trunk/appserv-tests/config/adminpassword.txt --interactive=false --echo=true --terse=true deploy --contextroot ejb-ejb32-ejblite-timer --libraries ${libraries} --force=false --precompilejsp=true --verify=false --generatermistubs=false --availabilityenabled=false --asyncreplication=true --target server --keepreposdir=false --keepfailedstubs=false --isredeploy=false --logreportederrors=true --_classicstyle=false --upload=true /export/home/hudson/workspace/ejb-devtests-lite-trunk/appserv-tests/build/module/archive/ejb-ejb32-ejblite-timer-web.war
      [exec] I/O Error: ContentType does not define boundary


Unresolved bundle in the server.log on startup (there were no changes in
the ejb-container today):

[2013-04-18T19:14:31.667-0700] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=11 _ThreadName=Thread-7] [timeMillis: 1366337671667] [levelValue: 800] [[
   ERROR: Bundle org.glassfish.fighterfish.osgi-web-container [220] Error starting file:/export/home/hudson/workspace/ejb-devtests-lite-trunk/glassfish-v4-image/glassfish4/glassfish/modules/autostart/osgi-web-container.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.fighterfish.osgi-web-container [220]: Unable to resolve 220.0: missing requirement [220.0] osgi.wiring.package; (&(osgi.wiring.package=com.sun.enterprise.web)(version>=3.1.0)) [caused by: Unable to resolve 41.0: missing requirement [41.0] osgi.wiring.bundle; (osgi.wiring.bundle=org.glassfish.main.ejb.ejb-container) [caused by: Unable to resolve 160.0: missing requirement [160.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.enterprise.iiop.api)(version>=4.0.0)(!(version>=5.0.0))) [caused by: Unable to resolve 49.0: missing requirement [49.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.orb.admin.config)(version>=4.0.0)(!(version>=5.0.0)))]]])]]

[2013-04-18T19:14:31.668-0700] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=11 _ThreadName=Thread-8] [timeMillis: 1366337671668] [levelValue: 1000] [[
   org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.fighterfish.osgi-web-container [220]: Unable to resolve 220.0: missing requirement [220.0] osgi.wiring.package; (&(osgi.wiring.package=com.sun.enterprise.web)(version>=3.1.0)) [caused by: Unable to resolve 41.0: missing requirement [41.0] osgi.wiring.bundle; (osgi.wiring.bundle=org.glassfish.main.ejb.ejb-container) [caused by: Unable to resolve 160.0: missing requirement [160.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.enterprise.iiop.api)(version>=4.0.0)(!(version>=5.0.0))) [caused by: Unable to resolve 49.0: missing requirement [49.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.orb.admin.config)(version>=4.0.0)(!(version>=5.0.0)))]]]
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:722)]]


2. multiple of these:

deploy-war-commonpe:
      [exec] asadmin --host localhost --port 34499 --user anonymous --passwordfile /export/home/hudson/workspace/ejb-devtests-lite-trunk/appserv-tests/config/adminpassword.txt --interactive=false --echo=true --terse=true deploy --contextroot ejb-ejb32-ejblite-async --libraries ${libraries} --force=false --precompilejsp=true --verify=false --generatermistubs=false --availabilityenabled=false --asyncreplication=true --target server --keepreposdir=false --keepfailedstubs=false --isredeploy=false --logreportederrors=true --_classicstyle=false --upload=true /export/home/hudson/workspace/ejb-devtests-lite-trunk/appserv-tests/build/module/archive/ejb-ejb32-ejblite-async-web.war
      [exec] remote failure: Error during authorization
      [exec] java.lang.RuntimeException: java.lang.RuntimeException: Unable to set up module org.glassfish.main.web.glue

And in the server.log:

Caused by: java.lang.RuntimeException: Unable to set up module org.glassfish.main.web.glue
        at org.glassfish.internal.deployment.GenericSniffer.setup(GenericSniffer.java:198)
        at org.glassfish.web.sniffer.WarDetector.getArchiveHandler(WarDetector.java:127)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.getArchiveHandler(ApplicationLifecycle.java:212)
        at org.glassfish.deployment.admin.DeployCommand.preAuthorization(DeployCommand.java:246)
        ... 52 more
]]



3. embeeded test that uses JPA failed because of an unresolved ORB
dependency?

      [java] SEVERE: RAR6035 : Resource adapter start failed.

      [java] java.lang.ExceptionInInitializerError
      [java] at com.sun.enterprise.connectors.work.CommonWorkManager.<init>(CommonWorkManager.java:118)
      [java] at com.sun.enterprise.connectors.work.WorkManagerFactoryImpl.createWorkManager(WorkManagerFactoryImpl.java:129)
      [java] at com.sun.enterprise.connectors.work.WorkManagerFactoryImpl.getWorkManagerProxy(WorkManagerFactoryImpl.java:203)
      [java] at com.sun.enterprise.connectors.ConnectorRuntime.getWorkManagerProxy(ConnectorRuntime.java:1181)
      [java] at com.sun.enterprise.connectors.BootstrapContextImpl.initializeWorkManager(BootstrapContextImpl.java:163)
      [java] at com.sun.enterprise.connectors.BootstrapContextImpl.<init>(BootstrapContextImpl.java:105)
      [java] at com.sun.enterprise.connectors.ActiveOutboundResourceAdapter.init(ActiveOutboundResourceAdapter.java:127)
      [java] at com.sun.enterprise.connectors.ActiveRAFactory.instantiateActiveResourceAdapter(ActiveRAFactory.java:141)
      [java] at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:108)
      [java] at com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:210)
      [java] at com.sun.enterprise.connectors.service.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:346)
      [java] at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:405)
      [java] at com.sun.enterprise.connectors.service.ConnectorService.loadDeferredResourceAdapter(ConnectorService.java:184)
      [java] at com.sun.enterprise.connectors.service.ConnectorService.loadResourcesAndItsRar(ConnectorService.java:148)
      [java] at com.sun.enterprise.connectors.service.ConnectorService.checkAndLoadPool(ConnectorService.java:325)
      [java] at com.sun.enterprise.connectors.service.ConnectorResourceAdminServiceImpl.createConnectorResource(ConnectorResourceAdminServiceImpl.java:99)
      [java] at com.sun.enterprise.connectors.ConnectorRuntime.createConnectorResource(ConnectorRuntime.java:345)
      [java] at org.glassfish.jdbc.deployer.JdbcResourceDeployer.deployResource(JdbcResourceDeployer.java:103)

...
      [java] Caused by: A MultiException has 5 exceptions. They are:
      [java] 1. java.lang.NoClassDefFoundError: org/glassfish/orb/admin/config/IiopService
      [java] 2. java.lang.IllegalStateException: Error while getting fields of class org.glassfish.enterprise.iiop.util.IIOPUtils
      [java] 3. java.lang.NoClassDefFoundError: org/glassfish/orb/admin/config/IiopService
      [java] 4. java.lang.NoClassDefFoundError: org/glassfish/orb/admin/config/IiopService
      [java] 5. java.lang.IllegalArgumentException: Errors were discovered while reifying SystemDescriptor(

      [java] Caused by: java.lang.ClassNotFoundException: org.glassfish.orb.admin.config.IiopService

      [java] java.lang.NoClassDefFoundError: Could not initialize class org.glassfish.enterprise.iiop.util.S1ASThreadPoolManager


-marina