Ritesh Dwa [
http://community.jboss.org/people/ritesh163] created the discussion
"problem in deploying web service as a .war file in jboss-6.0.0.Final"
To view the discussion, visit:
http://community.jboss.org/message/612319#612319
--------------------------------------------------------------
hello everyone,
I am developing web service as a web application and it's running fine in tomcat 7.
But now I am shifting this web service to JBoss 6.0.0. As I deploy into JBoss, error
occurs:
17:34:37,687 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error
installing to PostClassLoader:
name=vfs:///D:/jbossAS-6/jboss-6.0.0.Final/server/default/deploy/WebServicetest.war
state=ClassLoader mode=Manual requiredState=PostClassLoader:
org.jboss.deployers.spi.DeploymentExc
eption: Error during deploy:
vfs:///D:/jbossAS-6/jboss-6.0.0.Final/server/default/deploy/WebServicetest.war
at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
[:2.2.0.GA]
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185)
[:2.2.0.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832)
[:2.2.0.GA]
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550)
[:2.2.0.GA]
......
Caused by: java.lang.Error: Error visiting
"/D:/jbossAS-6/jboss-6.0.0.Final/server/default/deploy/WebServicetest.war/WEB-INF/lib/webservices-tools.jar/1.0/com/sun/codemodel/JConditional.class"
at
org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:268)
[jboss-classloading-vfs.jar:2.2.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:408) [jboss-vfs.jar:3.0.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA]
at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:410) [jboss-vfs.jar:3.0.0.GA]
... 37 more
Caused by: java.lang.RuntimeException: Error visiting resource: VFSResourceContext @
1.0/com/sun/codemodel/JConditional.class /
BaseClassLoader@1d630f5{vfs:///D:/jbossAS-6/jboss-6.0.0.Final/server/default/deploy/WebServicetest.war},
visitor: org.jboss.scanning.hierarchy.plugins.HierarchyTypeVisitor@4
25b08
at
org.jboss.scanning.plugins.visitor.IgnoreSetErrorHandler.handleError(IgnoreSetErrorHandler.java:56)
[:1.0.0.GA]
at
org.jboss.scanning.plugins.visitor.ReflectResourceVisitor.visit(ReflectResourceVisitor.java:91)
[:1.0.0.GA]
at
org.jboss.scanning.hierarchy.plugins.HierarchyIndexScanningPlugin.visit(HierarchyIndexScanningPlugin.java:91)
[:1.0.0.GA]
... 49 more
Caused by: java.lang.ClassNotFoundException: 1.0.com.sun.codemodel.JConditional
at java.net.URLClassLoader$1.run(URLClassLoader.java:202) [:1.6.0_18]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_18]
at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [:1.6.0_18]
... 53 more
Can anyone suggest me , what's the problem is? I am using web service in JBoss for the
first time with JDK 1.6. The web service was developed on NetBeans 7 IDE.
Am I using the correct version of JBoss? May be I should use JBossWS- metro instead?
Thank you in advance.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/612319#612319]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]