users@glassfish.java.net

com.sun.enterprise.module.ResolveError

From: Manish Gupta <Manish.K.Gupta_at_Sun.COM>
Date: Tue, 12 Aug 2008 10:23:11 +0530

After adding metro module using update center in my GF V3 TP2, I am
deploying attached web service application. While deploying this
web-app, I am getting following exception


[#|2008-08-12T10:14:51.781+0530|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=12;_ThreadName=Thread-4;|selecting
D:\GlassFishV3\glassfishv3-tp2\glassfish\domains\domain1\autodeploy\SimpleWebService.war
for autodeployment|#]

[#|2008-08-12T10:14:51.937+0530|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=12;_ThreadName=Thread-4;|Deployment
of SimpleWebService done is 125 ms|#]

[#|2008-08-12T10:14:51.937+0530|SEVERE|GlassFish10.0|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Thread-4;|Exception
in command execution : *com.sun.enterprise.module.ResolveError: Module
Dependency : org.glassfish.deployment:dol: referenced from
org.glassfish.webservices:jsr109-impl is not resolved*
com.sun.enterprise.module.ResolveError: Module Dependency :
org.glassfish.deployment:dol: referenced from
org.glassfish.webservices:jsr109-impl is not resolved
    at
com.sun.enterprise.module.impl.ModuleImpl.resolve(ModuleImpl.java:344)
    at com.sun.enterprise.module.impl.ModuleImpl.start(ModuleImpl.java:395)
    at
com.sun.enterprise.module.impl.ModuleClassLoader.initialize(ModuleClassLoader.java:162)
    at
com.sun.enterprise.module.impl.ModuleClassLoader.loadClass(ModuleClassLoader.java:80)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    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.jvnet.hk2.component.Habitat$1.get(Habitat.java:226)
    at java.util.AbstractList$Itr.next(Unknown Source)
    at
com.sun.enterprise.v3.server.ApplicationLifecycle.createSnifferParentCL(ApplicationLifecycle.java:230)
    at
com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:240)
    at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:250)
    at
org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:118)
    at
org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:513)
    at
org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:397)
    at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:333)
    at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:327)
    at
org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:115)
    at java.util.TimerThread.mainLoop(Unknown Source)
    at java.util.TimerThread.run(Unknown Source)
|#]

[#|2008-08-12T10:14:51.937+0530|INFO|GlassFish10.0|javax.enterprise.system.tools.deployment|_ThreadID=12;_ThreadName=Thread-4;|deployment
of
D:\GlassFishV3\glassfishv3-tp2\glassfish\domains\domain1\autodeploy\SimpleWebService.war
failed|#]


I can see that jsr109-impl-10.0-SNAPSHOT.jar is there under modules folder.

Any help is much appreciated.


Regards
Manish.