You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Karmanov, Igor" <Ka...@JUSTICE.GC.CA> on 2001/06/15 22:12:00 UTC
RE: Missing configuration resource for path /WEB-INF/struts-confi
g.xml in Webspere 3.5.2 under not Default server
Ted,
My ApplicationResouces.property file under servlets path and it looks loaded
fine if you see full log:
[01.06.15 13:25:47:453 EDT] 9cbba84b ServletHost A Restarting group:
"eTESTwebapp"
[01.06.15 13:25:48:437 EDT] 9cbba84b ServletInstan A SRVE0048I: Loading
servlet: "action"
[01.06.15 13:25:48:734 EDT] 9cbba84b WebGroup A SRVE0091I: [Servlet
LOG]: "action: init"
[01.06.15 13:25:48:875 EDT] 9cbba84b WebGroup A SRVE0091I: [Servlet
LOG]: "action: Loading application resources from resource
ApplicationResources"
[01.06.15 13:25:48:906 EDT] 9cbba84b WebGroup A SRVE0091I: [Servlet
LOG]: "action: Initializing configuration from resource path
/WEB-INF/struts-config.xml"
[01.06.15 13:25:48:953 EDT] 9cbba84b ServletInstan X Uncaught init()
exception thrown by servlet {0}: {1}
"action"
javax.servlet.UnavailableException: Missing
configuration resource for path /WEB-INF/struts-config.xml
As I mentioned before my app works fine under Default server and doesn't
under another server.
Any other ideas?
Thanks,
Igor Karmanov
> -----Original Message-----
> From: Ted Husted [SMTP:husted@apache.org]
> Sent: June 15, 2001 03:21:PM
> To: struts-user@jakarta.apache.org
> Subject: Re: Missing configuration resource for path
> /WEB-INF/struts-config.xml in Webspere 3.5.2 under not Default server
>
> It's looking for the ApplicationResouces.property file.
>
> This can be anywhere on your class path.
>
> I like it right under the classes folder.
>
> "Karmanov, Igor" wrote:
> >
> > Hi All,
> >
> > I've got Struts (1.0-b1) Example working under Default Server without
> any
> > problem using standard instructions.
> > We converted part of our application towards using Struts as well.
> >
> > struts-config.xml was placed under web/WEB-INF directory.
> >
> > The problem starts when I deploy Struts application under manually
> created
> > another Application Server on the same physical server (box).
> > During web application start I'm getting the following error:
> >
> > [01.06.15 13:25:48:906 EDT] 9cbba84b WebGroup A SRVE0091I: [Servlet
> > LOG]: "action: Initializing configuration from resource path
> > /WEB-INF/struts-config.xml"
> > [01.06.15 13:25:48:953 EDT] 9cbba84b ServletInstan X Uncaught init()
> > exception thrown by servlet {0}: {1}
> > "action"
> > javax.servlet.UnavailableException:
> Missing
> > configuration resource for path /WEB-INF/struts-config.xml
> >
> > I tried all possible suggestions from archive messages like:
> > - put web/ directory in classpath of the webapp;
> > - create /WEB-INF subdirectory in servlets/ with struts-config.xml and
> > web.xml in it.
> >
> > None of them worked out.
> >
> > Does somebody has the same experience?
> > Thanks in advance,
> >
> > Igor Karmanov
>
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Custom Software ~ Technical Services.
> -- Tel 716 737-3463.
> -- http://www.husted.com/about/struts/