File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Failed to load servlet (WAS - Struts)

 
Mary White
Ranch Hand
Posts: 41
  • 0
  • 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: 6529
21
Java Linux Mac Scala Spring
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic