File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Deploying webservice to Tomcat 7 gives WSDL parsing error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Deploying webservice to Tomcat 7 gives WSDL parsing error" Watch "Deploying webservice to Tomcat 7 gives WSDL parsing error" New topic
Author

Deploying webservice to Tomcat 7 gives WSDL parsing error

ratna sargurp
Ranch Hand

Joined: Jan 12, 2010
Posts: 32
Hi

I have been racking my brains to get this figured out. I am trying to deploy my webservice on tomcat 7 and keep getting this error message:

com.sun.xml.ws.transport.http.servlet.WSServletContextListener parseAdaptersAndCreateDelegate
SEVERE: WSSERVLET11: failed to parse runtime descriptor: exception during WSDL parsing:

The web service is written in JAX-WS. I have included the libraries for it in my project. I have copied them over the TOMCAT/lib folder. I have also copied over WSDL4j.jar to the tomcat/lib folder.

What else am I missing here? Can anyone help me please?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14572
    
    7

Unless the instructions explicitly tell you to do so, you should not be copying any jars into the Tomcat/lib folder. Unless the code was specifically designed to run in that environment, unpredictable results may occur.

All of the webservice facilities I know of for Tomcat are intended to be part of the webapp, not part of the webserver, and therefore their support jars should be in the webapp's WEB-INF/lib directory.


Customer surveys are for companies who didn't pay proper attention to begin with.
ratna sargurp
Ranch Hand

Joined: Jan 12, 2010
Posts: 32
Thank you Tim.

I was missing a jar file in my deployment. I added the webservices-rt.jar and it worked.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Deploying webservice to Tomcat 7 gives WSDL parsing error
 
Similar Threads
deploying JAX-WS webservice on tomcat 5.0 gives 404 error
Doing JDBC with servlets
axis simple examples error
Error Instantiating servlet class in tomcat log
Getting Error instantiating servlet class in tomcat log .... please help