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 503 error: Servlet action is currently unavailable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "503 error: Servlet action is currently unavailable" Watch "503 error: Servlet action is currently unavailable" New topic
Author

503 error: Servlet action is currently unavailable

Picus Ameradeus
Greenhorn

Joined: Sep 22, 2006
Posts: 11
I have developed a Struts app where the user orders something and is then sent a confirmation email.

I have had no issues (save for minor errors) up until now.

My application now throws this error:

Sep 22, 2006 4:19:31 PM org.apache.catalina.core.StandardWrapperValve invoke
INFO: Servlet action is currently unavailable

This only occurs after I have added this action to struts config:

<action path="/ConfirmOrderEmail"
type="com.mullen.cac.struts.action.OrderConfirmEmailAction"
scope="request">
<forward name="success" path="/EmailConfirmSuccess.do" redirect="true" />
<forward name="failure" path="/EmailConfirmFailure.do" redirect="true" />
</action>

What could be causing this, I see now error in my xml.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
One possible reason for this error would be if the Action class com.mullen.cac.struts.action.OrderConfirmEmailAction doesn't exist. Check for spelling errors. Also, make sure you haven't overridden the default no-args constructor of the Action class or made the constructor non-public.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 503 error: Servlet action is currently unavailable
 
Similar Threads
HTTP Status 503 - Servlet action is currently unavailable
struts - Servlet unavailable error
Cannot retrieve mapping for action
Forward to issue
Struts Cancel Button submits the form