Hi,

Have you added the ActionServlet mapping into your <webapp name>.webapp
file? This mapping tells the action servlet where to find struts-config.xml.
If you have the mapping what entry do you have for the config parameter?

Jon Ridgway
www.upco.co.uk


-----Original Message-----
From: jpablo [mailto:[EMAIL PROTECTED]] 
Sent: 30 November 2001 12:30
To: Struts Users Mailing List
Subject: struts-config not found in Websphere 3.5.2 FixPack3


        I'm configuring the Struts Action servlet on WebSphere 3.5.2
with fix pack 3, but I get an exception on startup (because this
server uses loadonstartup). The servlet cant find the
/WEB-INF/struts-config.xml file,

I have the following file:
  /opt/IBMWebAS/hosts/default_host/myapp/web/WEB-INF/struts-config.xml file,
And the documen root of my web application is:
    /opt/IBMWebAS/hosts/default_host/myapp/web/

    It is ok? Where shold be placed struts-config.xml? IMHO this
config is right.. but not working. Any suggestion or tip will be
really appreciated.


This is a fragment of default_servlet_stdout.log
---cut---
[01.11.30 10:04:39:385 GMT-02:00] e82f28da ServletInstan A SRVE0048I:
Loading servlet: "action"
[01.11.30 10:04:39:885 GMT-02:00] e82f28da WebGroup      A SRVE0091I:
[Servlet LOG]: "action: init"                                 
[01.11.30 10:04:39:987 GMT-02:00] e82f28da WebGroup      A SRVE0091I:
[Servlet LOG]: "action: Loading application resources from res
ource Cuida2Resources"

[01.11.30 10:04:39:990 GMT-02:00] e82f28da WebGroup      A SRVE0091I:
[Servlet LOG]: "action: Initializing configuration from resour
ce path /WEB-INF/struts-config.xml"

[01.11.30 10:04:40:005 GMT-02:00] e82f28da ServletInstan X Uncaught init()
exception thrown by servlet {0}: {1}                     
                                 "action"

                                 javax.servlet.UnavailableException: Missing
configuration resource for path /WEB-INF/struts-config.
xml

        at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1316) 
---cut---

--
Juan Pablo Villaverde
Tec. en Infraestructura de Redes
Soluciones Punto Com S.A. 
http://www.spcom.com.ar



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

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

Reply via email to