users@glassfish.java.net

Re : Unable to deploy the war with webservices in glassfish 3.1.1 server but

From: <forums_at_java.net>
Date: Thu, 5 Jan 2012 08:35:42 -0600 (CST)

Hi all,

I am unable to deploy the war with webservices in glassfish 3.1.1 server but
able to deploy successfully in JBOSS.

Can anybody help  me to resolve the issue, am getting the below exception
when the war is deployed.

java.lang.RuntimeException
 at
org.glassfish.javaee.core.deployment.JavaEEDeployer.prepare(JavaEEDeployer.java:221)
 at
com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872)
 at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
 at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
 at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
 at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:360)
 at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
 at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
 at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
 at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
 at
org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:145)
 at
org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:575)
 at
org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:461)
 at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:389)
 at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:380)
 at
org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209)
 at java.util.TimerThread.mainLoop(Timer.java:512)
 at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.RuntimeException
 at
org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:280)
 at
com.sun.enterprise.deployment.WebBundleDescriptor.visit(WebBundleDescriptor.java:2032)
 at com.sun.enterprise.deployment.Application.visit(Application.java:1777)
 at
org.glassfish.webservices.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:153)
 at
org.glassfish.webservices.JAXRPCCodeGenFacadeImpl.run(JAXRPCCodeGenFacadeImpl.java:60)
 at
org.glassfish.javaee.core.deployment.JavaEEDeployer.prepare(JavaEEDeployer.java:210)
 ... 17 more
Caused by: java.lang.NullPointerException
 at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
 at
org.glassfish.web.loader.WebappClassLoader.findLoadedClass0(WebappClassLoader.java:2442)
 at
org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1416)
 at
org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1369)
 at
org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:174)
 ... 22 more
|#]

[#|2012-01-05T19:16:34.037+0530|SEVERE|oracle-glassfish3.1.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=17;_ThreadName=Thread-2;|Exception
while preparing the app
java.lang.RuntimeException
 at
org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:280)
 at
com.sun.enterprise.deployment.WebBundleDescriptor.visit(WebBundleDescriptor.java:2032)
 at com.sun.enterprise.deployment.Application.visit(Application.java:1777)
 at
org.glassfish.webservices.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:153)
 at
org.glassfish.webservices.JAXRPCCodeGenFacadeImpl.run(JAXRPCCodeGenFacadeImpl.java:60)
 at
org.glassfish.javaee.core.deployment.JavaEEDeployer.prepare(JavaEEDeployer.java:210)
 at
com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:872)
 at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
 at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
 at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
 at
com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:360)
 at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
 at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
 at
com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
 at
com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
 at
org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:145)
 at
org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:575)
 at
org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:461)
 at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:389)
 at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:380)
 at
org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209)
 at java.util.TimerThread.mainLoop(Timer.java:512)
 at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.NullPointerException
 at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
 at
org.glassfish.web.loader.WebappClassLoader.findLoadedClass0(WebappClassLoader.java:2442)
 at
org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1416)
 at
org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1369)
 at
org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:174)
 ... 22 more


--
[Message sent by forum member 'dev_kumar']
View Post: http://forums.java.net/node/880084