dev@glassfish.java.net

Unresolved constraint in bundle org.glassfish.main.jdbc.runtime and endless stack traces on failed deployment?

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Thu, 13 Sep 2012 11:43:22 -0700

Several EJB devtests failed on the WEB profile (web.zip) with the
messages like:

     [exec] Caused by: org.osgi.framework.BundleException: Unresolved
constraint in bundle org.glassfish.main.jdbc.runtime [153]: Unable to
resolve 153.0: missing requirement [153.0] osgi.wiring.package;
(&(osgi.wiring.package=com.sun.enterprise.connectors)(version>=4.0.0)(!(version>=5.0.0)))
[caused by: Unable to resolve 207.0: missing requirement [207.0]
osgi.wiring.package; (osgi.wiring.package=javax.jms)]

JMS is not part of the web profile, so the dependency is wrong.

Also, the failed deployment produced 41(!) endless stack traces as a
MultiException.

-marina