Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: jsp deployment

Doug Parsons

2004-02-14

Replies:

Sorry had a typo:

resource not found

should be:

resource not available

Thinking one thing typing another.

Doug


----- Original Message -----
From: "Parsons Technical Services" <parsonstechnical@(protected)>
To: "Tomcat Users List" <tomcat-user@(protected)>
Sent: Saturday, February 14, 2004 2:10 PM
Subject: Re: jsp deployment


>
> > > Tomcat manager shows EBook is running. And, when I request it through
> > > Apache, Tomcat does serve it up. When I request it through port 8080,
> > > Tomcat says it's not available:
> >
> > I suggest for now you forget running via Apache totally, since if it is
> > not working directly from Tomcat, it cannot be running via Apache. What
> > you see Tomcat is serving via Apache, actually it is not, rather the
> > Apache itself is serving it.
> >
> > You say Tomcat manager shows EBook is running, did you run
> > localhost:8080//manager/list? Can you post the result of the url?
> >
>
> Jerry,
>
> I think BAO is right about apache here.
>
> I have a stand alone setup and did a quick test of something. You have in
> your web.xml:
>
>  <servlet-mapping>
>     <servlet-name>invoker</servlet-name>
>     <url-pattern>/*</url-pattern>
>   </servlet-mapping>
>
> When I set mine to this I get 404 resource not found.
> Curiously, even though it gave a 404 resource not found, the manager
showed
> it running.
>
> But with this it works fine.
>
>  <servlet-mapping>
>     <servlet-name>invoker</servlet-name>
>     <url-pattern>/servlet/*</url-pattern>
>   </servlet-mapping>
>
> I had this same problem myself. Sorry I didn't spot it sooner.
>
> Doug
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.