If anyone's interested, I seem to have stumbled onto an answer for this
problem. My web.xml was fine, but in my filter implementation class I
was obtaining a reference to the ServletContext from HttpSession rather
than from FilterConfig. Not sure why this matters, but when I changed
it, Tomcat was suddenly able to start my webapp.

Jason


Jason Wells wrote:

> Christopher K. St. John wrote:
>
>> Jason Wells wrote:
>>
>>>> What error messages do you get, exactly?
>>>>
>>> None at all. Not even an XML parsing error.
>>>
>>
>>  Well, that's not much to go on. Random thoughts: How
>> do you know it doesn't work?
>
>
>
> When I look at /manager/list, I see that my app is set to "stopped". I
> also get a 404 in my browser when I visit the app
>
>> What, exactly, does it say in catalina.out?
>
>
> It reports nothing out of the ordinary in catalina.out; just the nominal
> status messages like "Starting service Tomcat-Apache".
>
>  > How about if you turn debugging
>  > on in server.xml, anything interesting in catalina.out
>  > now?
>
> I'm not exactly clear on how Tomcat debugging works, but I tried setting
> debug="1" on every non-commented-out tag in server.xml that had a
> debug="0". Amidst the spam, I found a few interesting lines:
>
> XmlMapper: new null org.apache.catalina.deploy.FilterDef filter
> FilterDef[filterName=null, filterClass=null]
> XmlMapper: org.apache.catalina.deploy.FilterDef.setFilterName( Servlet
> Mapped Filter)
> XmlMapper: org.apache.catalina.deploy.FilterDef.setFilterClass(
> filters.ExampleFilter)
> .
> .
> .
>
> These appear to be filters that are defined in the /examples app. Based
> on the above, I was expecting to see a message like:
>
> XmlMapper: org.apache.catalina.deploy.FilterDef.setFilterName( AuthFilter )
> XmlMapper: org.apache.catalina.deploy.FilterDef.setFilterClass(
> com.xsilogy.steamtrap.AuthenticationFilter )
>
> But, I never did.
>
> --
> Jason Wells
> Web Architect
> Xsilogy, Inc.
> http://www.xsilogy.com/
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>



--
Jason Wells
Web Architect
Xsilogy, Inc.
http://www.xsilogy.com/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to