Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Failed to load servlet (WAS - Struts)

 
Mary White
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • 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 ]
 
Junilu Lacar
Bartender
Pie
Posts: 7316
45
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • 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.
 
Stephen La
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic