struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asatrasala <astrutsu...@netscape.net>
Subject Re: error in my struts config
Date Mon, 24 Mar 2003 15:33:59 GMT
Yes, it works for me in resin too.  I didn't try tomcat

rraquepo@primeorion.com wrote:

>i did that too... the thing is... my web app works in Resin.
>
>but when i try to run it under tomcat i always get the errors.
>
>i don't know what's really hapenning... can someone enlighten me...
>
>thanks a lot....
>----- Original Message -----
>From: "Konstantina Stamopoulou" <stak@intracom.gr>
>To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>Sent: Monday, March 24, 2003 4:45 PM
>Subject: Re: error in my struts config
>
>
>  
>
>>Hello Richard,
>>
>>I'm not sure if it is allowed to give the stuts-configs as comma delimited
>>parameters. Try the following in your web.xml
>>
>>
>><init-param>
>>      <param-name>config</param-name>
>>      <param-value>/WEB-INF/struts-config-tm.xml</param-value>
>>    </init-param>
>>    <init-param>
>>      <param-name>config</param-name>
>>      <param-value>/WEB-INF/struts-config.xml</param-value>
>>    </init-param>
>><init-param>
>>      <param-name>config</param-name>
>>      <param-value>/WEB-INF/struts-config-manager.xml</param-value>
>>    </init-param>
>>
>>Konstnatina
>>
>>
>>
>>----- Original Message -----
>>From: "Richard Raquepo" <rraquepo@primeorion.com>
>>To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>>Sent: Monday, March 24, 2003 8:17 AM
>>Subject: error in my struts config
>>
>>
>>My web-app is working fine in resin but when i switched to tomcat i got
>>    
>>
>this
>  
>
>>error.
>>
>>2003-03-24 14:13:57 StandardContext[/]: Servlet / threw load() exception
>>javax.servlet.UnavailableException: Parsing error processing resource path
>>/WEB-INF/struts-config-tm.xml,/WEB-INF/struts-config-manager.xml
>> at
>>
>>    
>>
>org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
>  
>
>>52)
>> at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
>> at javax.servlet.GenericServlet.init(GenericServlet.java:256)
>> at
>>
>>    
>>
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
>  
>
>>4)
>> at
>>    
>>
>org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821)
>  
>
>> at
>>
>>    
>>
>org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
>  
>
>>3420)
>> at
>>org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>> at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>> at
>>    
>>
>org.apache.catalina.core.StandardService.start(StandardService.java:497)
>  
>
>> at
>>    
>>
>org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
>  
>
>> at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
>> at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>> at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>>
>>    
>>
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>  
>
>>)
>> at
>>
>>    
>>
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>  
>
>>.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:324)
>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>>
>>====
>>my web.xml looks like this
>>.....
>>    <init-param>
>>      <param-name>config</param-name>
>>      <param-value>
>>
>>
>>    
>>
>/WEB-INF/struts-config.xml,/WEB-INF/struts-config-tm.xml,/WEB-INF/struts-con
>  
>
>>fig-manager.xml
>>       </param-value>
>>    </init-param>
>>....
>>it works fine in resin but this seems not allowed in tomcat...
>>
>>guys, what do you think is the error.
>>
>>thanks a lot...
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>  
>

-- 
Your favorite stores, helpful shopping tools and great gift ideas. 
Experience the convenience of buying online with Shop@Netscape! 
http://shopnow.netscape.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message