File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Failed to load servlet (WAS - Struts)  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Failed to load servlet (WAS - Struts)  " Watch "Failed to load servlet (WAS - Struts)  " New topic
Author

Failed to load servlet (WAS - Struts)

Mary White
Ranch Hand

Joined: Jan 27, 2003
Posts: 41
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

Joined: Feb 26, 2001
Posts: 4442
    
    5

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.


Junilu - [How to Ask Questions] [How to Answer Questions]
Stephen La
Greenhorn

Joined: Jun 10, 2005
Posts: 1
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

Joined: Feb 15, 2005
Posts: 4864
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.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Failed to load servlet (WAS - Struts)
 
Similar Threads
java.io.IOException: Compiler failed executable.exec
Struts Question
Failed to load servlet (WAS - Struts)
Failed to load servlet: javax.servlet.UnavailableException:
Tag Library Error