Hello Chris,
 I'm a little embarassed to say that I was watching a log file on a
different machine, I had one too many xterm's opened. It was a long
weekend :)

However, on the server where I was having my problem, the ending tag
for the filter's url pattern was wrong. I had  </urlpattern> instead
of </url-pattern>

Thank you for your help though!


On 7/26/05, Chris Ward <[EMAIL PROTECTED]> wrote:
> 
> Joe,
> 
> Are you sure your filter is doing the right thing?
> 
> Sounds like it may be forwarding to a "bad" URL or
> something.  If it works without the web.xml then I
> assume you've set up your <context> for the /cms
> application.
> 
> Maybe try a
> 
>         System.err.println( myDestURL )
> 
> in the filter and then copy/paste that output into
> your browser to see it exists.
> 
> Hope this helps.
> Chris Ward
> 
> 
> 
> >
> >
> > Hello,
> >
> > I'm running Tomcat 5.5.7, and right now I have one
> > application ( the default application ). I just created a new
> > dir ( $CATALINA_HOME/webapps/cms ) for a new application. The
> > home page ( index.jsp ), for the application, is just a
> > simple jsp file with static content.
> >
> > Once I added a WEB-INF/web.xml file, with just filter &
> > filter-mapping tags, and my welcome-file list, and browse to
> > the application I get a 404 error. Now, if I remove the
> > web.xml file from the WEB-INF/web.xml directory, I see the
> > correct index.jsp.
> >
> > I'm looking in the $CATALINA_HOME/logs/catalina.out file and
> > see nothing. I have watched the file, using "tail -f" during
> > start up, and don't see any message about a misconfiguration
> > in my web-xml file.
> >
> > Am I missing a step in the process of creating a  new web
> > application? Any help would be appreciated.
> >
> > Thanks.
> >
> > ---------------------------------------------------------------------
> > 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