I have the myapp.webapp file in document root, but it must be in
WEB-INF, I moved it to WEB-INF and it recognized the path for
struts-config.

Friday, November 30, 2001, 9:43:59 AM, you wrote:

JR> Hi,

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

JR> Jon Ridgway
JR> www.upco.co.uk


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


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

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

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


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

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

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

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

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

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



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

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




--
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]>

Reply via email to