Hello , I am building a webservice for deployment on Tomcat. I made use of JWSDP 1.5 version. When i made use of wsdeploy.bat for generating war file that could be deployed on Tomcat , i am getting this Exception. Should i run first wscompile and then wsdeploy. Please help me out. The error message is
C:\Sun\jwsdp-1.5\jaxrpc\samples\StringService>%JWSDP_HOME%\jaxrpc\bin\wsdeploy.bat -verbose -o dist/ myWStest.war build\myWEB-INF.war info: created temporary directory: C:\DOCUME~1\NODE6\LOCALS~1\Temp\jaxrpc-deploy-1c092c info: removed temporary directory: C:\DOCUME~1\NODE6\LOCALS~1\Temp\jaxrpc-deploy-1c092c error: java.io.FileNotFoundException: C:\DOCUME~1\NODE6\LOCALS~1\Temp\jaxrpc-deploy-1c092c\WEB-INF\j axrpc-ri.xml (The system cannot find the path specified) java.io.FileNotFoundException: C:\DOCUME~1\NODE6\LOCALS~1\Temp\jaxrpc-deploy-1c092c\WEB-INF\jaxrpc-r i.xml (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java:251) 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) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
Hello, Thanks for the reply. I could not understand clearly the thing you liked to express in your reply. i was running the wsdeploy.bat file and it is not related with tomcat, right. The WAR file what we get after running the wsdeploy is deployed on Tomcat. The Tomcat what you have mentioned is suggested for JWSDP. Is it possible to solve this issue and get the WAR file, for deployment on tomcat. It wolud be great if i can do this. Please give me the suggestion
Joined: Dec 21, 2005
Hi You spoke about the instructions. Can i get from you what is the instruction to be followed.
Joined: Aug 19, 2005
Originally posted by Mohan Basavarajappa: The Tomcat what you have mentioned is suggested for JWSDP.
You can use Apache Axis if you want deploy a Web service on a regular version of Tomcat (provided you install Axis first, of course).
Anyway, wsdeploy is complaining about the fact that it can't find the jaxrpc-ri.xml file in the WEB-INF directory of your input WAR. The jaxrpc-ri.xml is JWSDPs version of the webservices.xml. The jaxrpc-ri.xml must be deployed together with the web.xml file. The jaxrpc-ri.xml contains web service deployment information that cannot be put in the web.xml file.