Try adding a worker definition to the workers2.properties like below. Your
jsp-examples uri mapping specifies a worker but there's none defined in the
file.

# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

Hope that helps.
LD

----- Original Message ----- 
From: "Jeremy Barth" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 23, 2003 12:57 PM
Subject: RE: mod_jk2/2.0.2 failure in Tomcat 5.0.16 / Apache 2.0.48


> At 01:33 PM 12/23/2003 -0700, Wendell Holmes wrote:
> >If jkstatus works, then Apache is working with Tomcat, no?
> >IIRC, the actual path to the jsp-examples is
/webapps/examples/jsp-examples,
> >so your uri mapping should be [uri:/examples/jsp-examples/*] I think.
> >
> >You should have an Apache error log that says 'file does not exist' where
> >you tried to access /jsp-examples, since Apache nor jk2 would have a path
to
> >that dir.
> >
> >Wendell
>
> I don't know about Tomcat 4, but in Tomcat 5 there is no "examples"
> webapp.  In the webapps dir for Tomcat 5 you've got:
>
>   ROOT/
>   balancer/
>   jsp-examples/
>   servlets-examples/
>   tomcat-docs/
>
> Also, "jsp-examples" does work when executed directly from port 8080, so
> I don't think the pathline to the webapp itself is incorrect:
>
>   http://servername:8080/jsp-examples Works -- talk directly to Tomcat
>   http://servername/jsp-examples      FAILS -- via JK2 connector
>
> I've tried the same setup (mod_jk2/tomcat5.0.16/apache2.0.48) in both
> Unix and Windows with the same result, so whatever mistake I'm making,
> it's consistent.  If anyone else has gotten the examples to work, I'd
> be interested in how you did it.
>
>
> ---------------------------------------------------------------------
> 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