When I deploy and go to my struts application I get the following error:
Does the error indicate an error in my struts-config.xml file or in some
file referenced by the struts-config.xml file?
I'm trying to figure out how to hunt down and kill this error.



-------------------------------------------------
503 Service Unavailable

Servlet error: Parsing error processing resource path
file:/usr/oracle/OraHome_1/j2ee/OC4J_tburnett/applications/conference/cwapp-conference/WEB-INF/struts-config.xml
--------------------------------------


My struts-config.xml: I commented out large chunks of it trying to
locate a problem. Doesn't seem to matter. With none of the comments I
get the same error message.

<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD
Struts Configuration 1.3.5//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
<struts-config>

 <form-beans>
   <form-bean name="loginForm"
type="com.softrek.conference.LoginForm" />
<!--
   <form-bean name="registrationForm"
type="com.softrek.conference.RegistrationForm" />
   <form-bean name="creditCardForm"
type="com.softrek.conference.CreditCardForm" />
-->
 </form-beans>
<!--
 <global-exceptions>
   <exception key="global.exception" path="/error.jsp"
scope="request" type="java.lang.Throwable" />
 </global-exceptions>
-->
 <action-mappings>
   <action path="/login" type="com.softrek.conference.LoginAction"
           name="loginForm" scope="request"
           validate="true" >
       <forward name="login" path="/login.jsp" />
       <forward name="softrek" redirect="true"
path="http://www.softrek.com"; />
   </action>
<!--
   <action path="/eventSetup" type="com.softrek.conference.EventSetupAction"
           name="registrationForm" scope="request"
           validate="true" >
       <forward name="eventSelection" path="/eventSelectionPage.jsp" />
       <forward name="softrek" redirect="true"
path="http://www.softrek.com"; />
       <forward name="login" path="/login.jsp" />
   </action>
   <action path="/eventSelection"
type="com.softrek.conference.EventSelectionAction"
           name="registrationForm" scope="request"
           validate="true">
     <forward name="guestEntry"  path="/guestEntryPage.jsp"/>
     <forward name="login"  path="/login.jsp"/>
   </action>
   <action path="/guestEntry"
type="com.softrek.conference.GuestSelectionAction"
           name="registrationForm" scope="request"
           validate="true">
     <forward name="payment"  path="/paymentPagePage.jsp"/>
   </action>
   <action path="/payment"   type="com.softrek.conference.PaymentAction"
           name="creditCardForm" scope="request"
           validate="true">
     <forward name="accepted"  path="/thankYouPage.jsp"/>
     <forward name="denied"  path="/deniedPage.jsp"/>
   </action>
-->
 </action-mappings>
<!--
 <message-resources parameter="ApplicationResources" null="false" />
 <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
   <set-property property="pathnames"
     
value="/WEB-INF/validator/validator-rules.xml,/WEB-INF/validator/validation.xml"/>
 </plug-in>
-->
</struts-config>

Reply via email to