• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Deploy Spring Application to tomcat

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:

 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My first guess is that you're missing a library or one of its dependencies.
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic