File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Deploy Spring Application to tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Deploy Spring Application to tomcat" Watch "Deploy Spring Application to tomcat" New topic
Author

Deploy Spring Application to tomcat

Kunal Sathe
Ranch Hand

Joined: Apr 08, 2005
Posts: 49
I am trying to deploy a Spring Webservices Application to tomcat on a unix box. I have deployed the war file, bounced the server instance and tried to access the wsdl using the url:

http://boxname:portnumber/RPMService/rpm.wsdl

However, I get the following exception:
The requested resource (Servlet spring-ws is not available) is not available.

In my packaging script, I have packaged the spring-ws-servlet.xml within the WEB-INF directory.

Can someone point me in the right direction?

Why is tomcat not able to detect the spring-ws-servlet.xml?

Thanks in advance,
Kunal

WEB.xml:


Logs:

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

My first guess is that you're missing a library or one of its dependencies.
Amit kull
Ranch Hand

Joined: Jun 05, 2008
Posts: 46
Hi,
Yes, it looks like library problem.
Although this may not be directly related, are you using compatible versions of libraries? (I used to get some class not found exception in one of my previous projects because CGLIB version was not compatible.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploy Spring Application to tomcat
 
Similar Threads
war on tomcat giving error
The requested resource (/User/WEB-INF/web.xml) is not available.
java.IO.EOFException when deploying war file
How to implement JSF Facelets Tags
Servlet add is currently unavailable