You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Thom Burnett <th...@gmail.com> on 2007/01/31 18:44:56 UTC
Service unavailable error
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>
Re: Service unavailable error
Posted by Thom Burnett <th...@gmail.com>.
Don's reply? Your's is the only reply to make it to me.
Can you send me a copy of this other reply?
I will see about changing my DOCTYPE line.
On 1/31/07, Simons Kevin <fb...@skynet.be> wrote:
>
> On top of Don's reply
> I once had done the same mistake. I thought they told me that your version
> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD
> Struts Configuration 1.3.5//EN"
> needs to be the same as stated here
> "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
> so I think that struts-config_1_1.dtd
> "http://jakarta.apache.org/struts/dtds/struts-config-1.3.5.dtd">
>
> Regards,
> ----- Original Message -----
> From: "Thom Burnett" < thom.burnett@gmail.com>
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Sent: Wednesday, January 31, 2007 6:44 PM
> Subject: Service unavailable error
>
>
> > 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>
> >
>
>
>
> --------------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.17.14/658 - Release Date:
> 29/01/2007
> 14:49
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
Re: Service unavailable error
Posted by Simons Kevin <fb...@skynet.be>.
On top of Don's reply
I once had done the same mistake. I thought they told me that your version
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD
Struts Configuration 1.3.5//EN"
needs to be the same as stated here
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
so I think that struts-config_1_1.dtd
"http://jakarta.apache.org/struts/dtds/struts-config-1.3.5.dtd">
Regards,
----- Original Message -----
From: "Thom Burnett" <th...@gmail.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Wednesday, January 31, 2007 6:44 PM
Subject: Service unavailable error
> 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>
>
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.14/658 - Release Date: 29/01/2007
14:49
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org