Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploy Spring Application to tomcat

 
Kunal Sathe
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My first guess is that you're missing a library or one of its dependencies.
 
Amit kull
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic