Re: Tomcat 5.5 problem - container not serving up web content
I have the same message when I try to deploy a war file that already exists. I have to shutdown, remove the old war file and its deployed dir, copy the new war file and then re-start Linux Tomcat. This probably has nothing to do with your problem but ... we never know ;-) --mike Jorge Rodriguez wrote: I believe this to be a config issue, but have had no success resolving it for the past two days, so any help would be greatly appreciated. When I access a JSP page directly on my localhost, it loads properly with images and the stylesheet. However, when I access the JSP (or any other JSP for that matter) using a filter, servlet or the struts action forward, the JSP content loads up, but anything else (images, linked CSS files) do not get served up. I've tried every single variation of the img and link tags (relative, hardcoded, with a /) but that didn't work. My guess is that there is some additional configuration that I haven't completed, yet I don't see if anywhere in the docs. I tried adding MIME mapping info to my web.xml, but that didn't help either. The only possible relevant info that shows up related to errors/warnings is the following log: Nov 17, 2005 1:50:23 PM org.apache.catalina.startup.ContextConfig applicationWebConfig INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[] My web.xml is located in \Web Content\WEB-INF\web.xml, which sounds like it should be ok. Using Tomcat 5.5 on jdk1.5.0_05 and developing on Eclipse 3.1 with the Web tools project 0.7 and no other plugins. Please help me out if you know what's up. TIA! JR - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.5 problem - container not serving up web content
I believe this to be a config issue, but have had no success resolving it for the past two days, so any help would be greatly appreciated. When I access a JSP page directly on my localhost, it loads properly with images and the stylesheet. However, when I access the JSP (or any other JSP for that matter) using a filter, servlet or the struts action forward, the JSP content loads up, but anything else (images, linked CSS files) do not get served up. I've tried every single variation of the img and link tags (relative, hardcoded, with a /) but that didn't work. My guess is that there is some additional configuration that I haven't completed, yet I don't see if anywhere in the docs. I tried adding MIME mapping info to my web.xml, but that didn't help either. The only possible relevant info that shows up related to errors/warnings is the following log: Nov 17, 2005 1:50:23 PM org.apache.catalina.startup.ContextConfig applicationWebConfig INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[] My web.xml is located in \Web Content\WEB-INF\web.xml, which sounds like it should be ok. Using Tomcat 5.5 on jdk1.5.0_05 and developing on Eclipse 3.1 with the Web tools project 0.7 and no other plugins. Please help me out if you know what's up. TIA! JR
Re: Tomcat 5.5 problem - container not serving up web content
Jorge Rodriguez wrote: When I access a JSP page directly on my localhost, it loads properly with images and the stylesheet. However, when I access the JSP (or any other JSP for that matter) using a filter, servlet or the struts action forward, the JSP content loads up, but anything else (images, linked CSS files) do not get served up. I've tried every single variation of the img and link tags (relative, hardcoded, with a /) but that didn't work. My guess is that there is some additional configuration that I haven't completed Nope, there isn't -- your app (or your install) is broken :-) The only possible relevant info that shows up related to errors/warnings is the following log: Nov 17, 2005 1:50:23 PM org.apache.catalina.startup.ContextConfig applicationWebConfig INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[] My web.xml is located in \Web Content\WEB-INF\web.xml, which sounds like it should be ok. Sounds to me like it's *not* OK, and getting rid of that should be the first order of business. For one thing, I'd use a path without spaces in it -- the '\Web Content\' might well be the problem... HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.5 problem - container not serving up web content
Hi Jorge, On 17 Nov 2005 at 11:53, Hassan Schroeder wrote: Jorge Rodriguez wrote: When I access a JSP page directly on my localhost, it loads properly with images and the stylesheet. However, when I access the JSP (or any other JSP for that matter) using a filter, servlet or the struts action forward, the JSP content loads up, but anything else (images, linked CSS files) do not get served up. I've tried every single variation of the img and link tags (relative, hardcoded, with a /) but that didn't work. My guess is that there is some additional configuration that I haven't completed Nope, there isn't -- your app (or your install) is broken :-) The only possible relevant info that shows up related to errors/warnings is the following log: Nov 17, 2005 1:50:23 PM org.apache.catalina.startup.ContextConfig applicationWebConfig INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[] My web.xml is located in \Web Content\WEB-INF\web.xml, which sounds like it should be ok. Sounds to me like it's *not* OK, and getting rid of that should be the first order of business. For one thing, I'd use a path without spaces in it -- the '\Web Content\' might well be the problem... I've seen other scenarios that produces this problem, usually related to context.xml file(s). For example, in Tomcat 5.5.12, I've found that if you have a context file anywhere within the docBase tree for your application, and it has problems, Tomcat will find it and then complain about not finding the web.xml. I don't recall what the subtle problems were that we had in our context.xml when I discovered this, but it was not actually meant to have been used by Tomcat - it was just being stored in that part of the tree. So, when you get this error message about web.xml, it may be your context.xml file that's the problem. HTH, Rob Hills NetPaver Pty Ltd Western Australia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]