Thanks Jim.
The web.xml is in the right place:
1908 Sun Dec 12 18:34:58 PST 2004 WEB-INF/web.xml

I have checked the permissions and I feel they are correct. It is very 
puzzling; I have ruled out an ant build issue either.

Thanks


-----Original Message-----
From: Jim Barrows <[EMAIL PROTECTED]>
Sent: Dec 13, 2004 11:54 AM
To: Struts Users Mailing List <[EMAIL PROTECTED]>, 
        [EMAIL PROTECTED]
Subject: RE: Struts configuration problem on Tomcat 5.5.4



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 13, 2004 12:49 PM
> To: [EMAIL PROTECTED]
> Subject: Struts configuration problem on Tomcat 5.5.4
> 
> 
> Hi,
> I am hoping I have selected the correct list for this 
> problem. I can successfully deploy a simple struts 
> application with 1 action and form by manually extracting the 
> war file into the webapps directory of the Tomcat server.  I 
> cannot deploy the war file automatically on a running Tomcat 
> 5.5.4 server. I get the following error which has been very 
> difficult to debug:
> 
> INFO: Missing application web.xml, using defaults only 
> StandardEngine[Catalina].StandardHost[lo
> calhost].StandardContext[/nobs]
> 
> I think it is a subtle struts configuration problem with 
> web.xml and struts-config.xml but I am at a loss to find the 
> root cause of the problem. 

Except that struts-config.xml is read after web.xml, and tomcat is apparently 
not finding the web.xml file.  This could be for a couple of reasons:
        1) web.xml is not in the WEB-INF directory
      2) read permissions on web.xml
      3) read permissions on WEB-INF and/or parent directories.

In essence, the web.xml file tells tomcat to load the action servlet for 
struts.  The action servlet then reads struts-config.xml.  So, in this 
particular case it is not likely that the problem is struts related.

I suspect that the war won't work becuase the war has to have a web.xml while 
the exploded does not.


> 
> All the example struts applications in the 1.2.4 bundle 
> deploy automatically on Tomcat 5.5.4 using JDK1.4
> 
> Does anybody have any ideas?
> 
> Much appreciated.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 




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

Reply via email to