struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Cavaness <cava1...@bellsouth.net>
Subject RE: Re: Specifying comma-delimted Struts Config Files
Date Thu, 01 Jan 1970 00:00:00 GMT
I agree with Susan. I would take a very close look at your config files. Try using Struts console
and loading the multiple configuration files and see if it finds something hard to see with
the naked eye.

chuck

> 
> From: "Susan Bradeen" <SusanB@softlanding.com>
> Date: 2003/03/13 Thu AM 08:26:18 EST
> To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> Subject: RE: Re: Specifying comma-delimted Struts Config Files
> 
> Michael, 
> 
> Did you get this figured out? I've got four config files in my list, and 
> it has worked like a charm from the get-go (with Struts 1.1b3, and now on 
> yesterday's nightly). I do not have spaces in my list, as David suggested. 
> I am not using Tomcat, but I wonder if your problem lies elsewhere, not in 
> your config files list. 
> 
> Susan Bradeen
> 
> On 03/12/2003 05:23:11 PM "Michael Cardon" wrote:
> 
> > Thanks David, I did, but it still doesn't work. When I start my tomcat
> > server I get the following error:
> > 
> > SEVERE: Parsing error processing resource path
> > java.lang.NullPointerException
> > at
> > 
> org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9
> > 41)
> 
> > 
> > Any more idea?
> > 
> > 
> > -----Original Message-----
> > From: David Graham [mailto:dgraham1980@hotmail.com]
> > Sent: Wednesday, March 12, 2003 1:51 PM
> > To: struts-user@jakarta.apache.org
> > Subject: RE: Re: Specifying comma-delimted Struts Config Files
> > 
> > 
> > Try removing the space after the comma.
> > 
> > David
> > 
> > 
> > >
> > >I've never been able to get the comma config file feature to work, but 
> you
> > >did? If you can tell me how you did it, I would appreciate it. Here is 
> my
> > >sniplet from my web.xml file:
> > >
> > >     <init-param>
> > >       <param-name>config</param-name>
> > >       <param-value>
> > >             /WEB-INF/struts-config.xml, 
> /WEB-INF/struts-config-reports.xml
> > >       </param-value>
> > >     </init-param>
> > >
> > >Thanks.
> > >
> > >-----Original Message-----
> > >From: Chuck Cavaness [mailto:cava1801@bellsouth.net]
> > >Sent: Wednesday, March 12, 2003 1:41 PM
> > >To: Struts Users Mailing List
> > >Subject: Re: Re: Specifying comma-delimted Struts Config Files
> > >
> > >
> > >As embarassing as it is to admit, the error was a pure operator type 
> error.
> > >There was an <action-mappings> element missing in the second config 
> file. I
> > >was actually taking one config file apart and splitting it into two to
> > >demonstrate this feature. Why the error complained about a missing
> > ></struts-config>, I'm not sure.
> > >
> > >Anyway, the feature works as expected. Sorry for the distraction. Back 
> to
> > >your regularly scheduled program...
> > >
> > >chuck
> > >
> > >
> > > >
> > > > From: Rick Reumann <r@reumann.net>
> > > > Date: 2003/03/12 Wed PM 04:15:53 EST
> > > > To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> > > > Subject: Re: Specifying comma-delimted Struts Config Files
> > > >
> > > > On Wed, 12 Mar 2003 16:00:46 -0500
> > > > Chuck Cavaness <cava1801@bellsouth.net> wrote:
> > > >
> > > > > Is anyone using the feature of the framework where you can specify
> > > > > multiple configuration files in the web.xml:
> > > >
> > > > Sorry I can't help Chuck, since I'm not using multiple config.xml's.
> > > > I'd like to start using them though, so when you figure what the 
> problem
> > > > is could you please post the solution (since I'm sure I'll run 
> across it
> > > > as well).
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Rick Reumann
> > > >
> > > > 
> ---------------------------------------------------------------------
> > > > 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
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > 
> > 
> > _________________________________________________________________
> > The new MSN 8: smart spam protection and 2 months FREE*
> > http://join.msn.com/?page=features/junkmail
> > 
> > 
> > ---------------------------------------------------------------------
> > 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
> > 
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message