struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darryl Nortje <Darr...@astrolabegroup.com>
Subject RE: struts-config not found in Websphere 3.5.2 FixPack3
Date Mon, 03 Dec 2001 10:27:18 GMT
It's working YEEE HAAAAAAA. Jon thanks a million. No idea why it's working
as per my first e-mail that I sent you. But at least now I can debug it and
try to make my own subtle changes to see what happpens, etc etc. as I'm sure
you've noticed I have just gotten into programming and also just gotten into
Struts. Been busy with this for 2 & half weeks now. So great. Thanks again. 

cheers
Darryl

-----Original Message-----
From: Jon.Ridgway [mailto:Jon.Ridgway@upco.co.uk]
Sent: Monday, December 03, 2001 12:30 PM
To: 'Struts Users Mailing List'
Subject: RE: struts-config not found in Websphere 3.5.2 FixPack3


Hi Darryl,

It's been some time since I have done any WebSphere work so...

Have you made sure that the permission are OK on the struts-config.xml? Have
you tried changing the config param to read /web/WEB-INF/struts-config.xml?

Jon.

-----Original Message-----
From: Darryl Nortje [mailto:DarrylN@astrolabegroup.com] 
Sent: 03 December 2001 07:55
To: 'Struts Users Mailing List'
Subject: RE: struts-config not found in Websphere 3.5.2 FixPack3

Hi Jon, firstly thanks for your replies, and sorry for my late replies.
Rough weekend.
here is the excerp from strutsexample.webapp where the ActionServlet mapping
is specified and then the struts-config.xml parm is specified. Does this
answer your question?

<servlet>
      <name>action</name>
      <description>Action Servlet</description>
      <code>org.apache.struts.action.ActionServlet</code>
      <servlet-path>*.do</servlet-path>
      <autostart>true</autostart>
	<init-parameter> 
		<name>application</name> 
		<value>ApplicationResources</value> 
	</init-parameter> 
	<init-parameter> 
		<name>config</name> 
		<value>/WEB-INF/struts-config.xml</value> 
	</init-parameter> 

-----Original Message-----
From: Jon.Ridgway [mailto:Jon.Ridgway@upco.co.uk]
Sent: Friday, November 30, 2001 2:44 PM
To: 'Struts Users Mailing List'
Subject: RE: struts-config not found in Websphere 3.5.2 FixPack3


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:jpablo@spcom.com.ar] 
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:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message