• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts Startup/Restart Resource Not Found Problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having a strange problem with struts and Tomcat. I am using Struts 1.1 and I have tried both Tomcat 5.0.27 and 4.1.30.

Here is the problem:

When I deploy my war file and start Tomcat, the server starts up fine. When I try to access any struts action, I get "The requested resource (/xxx.do) is not available."

Here is the strange part. If I stop and start Tomcat once, I can then access any action just fine with no resource not available errors.. This happens every time I deploy the app. Anyone know what is going on?

Thank you for your time,

Ethan Schreiber
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Strange.

Is the .do set up as your welcome file in web.xml??? If so, you can't do that.

It might also be worth it to check web.xml for ActionServlet's load-on-startup value.
 
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic