I've been using multiple config files in Tomcat for a while now with no
problem. The only difference is I put each file on a new line...but I
wouldn't think that would fix the problem. Try one config file at a time and
make sure it's not having a problem with the content of one of them.

Joe

----- Original Message -----
From: "Richard Raquepo" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 4:00 AM
Subject: Re: error in my struts config


> 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" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> 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" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to