dev@glassfish.java.net

Constraint violation error

From: Bhakti Mehta <Bhakti.Mehta_at_Sun.COM>
Date: Tue, 02 Sep 2008 14:45:12 -0700

I was able to make some progress today with Sahoo's help and this is the
next set of errors I run into with latest metro and jsr109impl bits
This is happening because in v3 we are exporting javax.xml.ws.* and
javax.xml.bind.* from javaee-api as well as the metro bundles.
I have discussed with Jerome and Sahoo and resolving this issue is non
trivial and will involve not only
removing javax.xml.* from v3 but since deployment/dol has all the
annotation handlers which depend on javax.xml.soap,ws, javax.jws
it involves moving the annotation handlers from the DOL into the metro
stack.

I am looking at the code changes involved but till then I wanted to check.

How was this working till last thursday? Is there anyway we can relax
this constraint violation? That will atleast get jaxws apps deployed.
Pls let me know .
Regards,
Bhakti


NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.w
.handler.soap from [54.0] and javax.xml.ws.handler.soap from [34.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM
NFO: DEBUG: Constraint violation for 108.0 detected; module can see
javax.xml.b
nd from [75.0] and javax.xml.bind from [13.0]
ep 2, 2008 2:34:39 PM org.glassfish.deployment.admin.DeployCommand execute
NFO: Deployment of wsit-jaxws-fromwsdl done is 828 ms
ep 2, 2008 2:34:39 PM com.sun.enterprise.v3.admin.CommandRunner doCommand
EVERE: Exception in command execution :
com.sun.enterprise.module.ResolveError:
Failed to start org.glassfish.webservices.jsr109-impl(JSR-109
implementation to
deploy Metro):10.0.0.SNAPSHOT
om.sun.enterprise.module.ResolveError: Failed to start
org.glassfish.webservice
.jsr109-impl(JSR-109 implementation to deploy Metro):10.0.0.SNAPSHOT
       at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:
11)
       at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:12
)
       at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1.loadClass(OSGiModuleImpl
java:252)
       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(AbstractInhabitantIm
l.java:60)
       at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:252)
       at java.util.AbstractList$Itr.next(AbstractList.java:422)
       at
com.sun.enterprise.v3.server.SnifferManager.createSnifferParentCL(Sni
ferManager.java:150)
       at
com.sun.enterprise.v3.server.SnifferManager.createSnifferParentCL(Sni
ferManager.java:161)
       at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.ja
a:238)
       at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.jav
:286)
       at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.jav
:130)
       at
org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.j
va:118)
       at
org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.
ava:526)
       at
org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeploy
r.java:409)
       at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.jav
:341)
       at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.jav
:329)
       at
org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeplo
Service.java:200)
       at java.util.TimerThread.mainLoop(Timer.java:512)
       at java.util.TimerThread.run(Timer.java:462)
aused by: org.osgi.framework.BundleException: Unable to resolve due to
constrai
t violation.
       at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1735)
       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:
08)
       ... 20 more
ep 2, 2008 2:34:39 PM org.glassfish.deployment.autodeploy.AutoOperation run