• 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

Failed to load servlet (WAS - Struts)

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm deploying a web application that uses Struts in WAS.
The application deploys without any error, but when the application is starting or trying to run it I get the following error:
WebGroup X Servlet Error-[action]: Failed to load servlet: java.lang.ClassCastException: org.apache.struts.action.ActionServlet
I'm using Struts 1.1 and WAS 4.0.4
I already copy struts.jar under WAS/lib
Is ther any special configuration I should do?
Thanks
[ August 20, 2003: Message edited by: Mary White ]
 
Sheriff
Posts: 17644
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where's Kyle when you need him, huh? :roll:
Kyle Brown, our resident IBM WebSphere expert, is on an indefinite leave of absence right now. If nobody comes up with anything, try looking around the IBM DeveloperWorks website for some clues.
Good luck.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings,

Well, it appears that your resident IBM WebSphere expert is not responding to this issue, which I've also encountered recently.
I'm wondering if you (Mary) did eventually find a solution to the problem. If so, would you be kind enough to forward me the solution.
If not, would any one be able to offer any useful suggestions?

Cheers
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The struts.jar file should not be kept in a common area such as WAS/lib. It should be included in the WEB-INF/lib folder for each struts application.
reply
    Bookmark Topic Watch Topic
  • New Topic