Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error creating a WAR using wsdeploy

843833Oct 19 2005 — edited Oct 12 2006
Iam trying to create a WAR to deploy on Tomcat 5.5 using wsdeploy tool
of jwsdp-1.6. The command is


wsdeploy.bat -verbose -o dist/myWStest.war build/myWEB-INF.war


Iam getting a ClassNotFoundException. Below is the snippet of same

error: RmiModeler error: java.lang.ClassNotFoundException: 
server$wstest 
info: removed temporary directory: 
D:\DOCUME~1\ASHISHP\LOCALS~1\Temp\jaxrpc-depl 
oy-45d931 
error: java.lang.NullPointerException 
java.lang.NullPointerException 
        at 
com.sun.xml.rpc.tools.wsdeploy.DeployTool.defineServletsAndListeners( 
DeployTool.java:447) 
        at 
com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java:258) 
        at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43) 
        at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:22) 
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. 
java:39) 
....... 
.....
I've copied all of the jars from the
following directories into <TOMCAT_HOME>/shared/lib:


<JWSDP_HOME>/jaxrpc/lib
<JWSDP_HOME>/saaj/lib
<JWSDP_HOME>/jaxp/lib/endorsed
<JWSDP_HOME>/jwsdp-shared/lib


What could be the problem ?
Thanks


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 9 2006
Added on Oct 19 2005
2 comments
117 views