tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jake Robb" <jaker...@mac.com>
Subject Re: jk2 config -- uri directive for root context?
Date Thu, 13 Feb 2003 17:31:24 GMT
Brett,

Thanks for your help.

I commented out the Contexts, as you suggested.  This made no change to the
server behavior, meaning that yes, the contexts were auto-configured.

Then, I took out the / in my URI definition.  Still no change.

The following was appended to /etc/httpd/logs/error_log when I restarted the
servers:

[Thu Feb 13 09:26:28 2003] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
[Thu Feb 13 09:26:28 2003] [error] mod_jk child init 1 0
[Thu Feb 13 09:26:28 2003] [error] jk2_init() Can't find child 29191 in
scoreboard
[Thu Feb 13 09:26:28 2003] [error] mod_jk child init 1 -2
[Thu Feb 13 09:26:28 2003] [notice] Apache/2.0.44 (Unix) mod_ssl/2.0.44
OpenSSL/0.9.6b DAV/2 mod_jk2/2.0.3-dev configured -- resuming normal
operations

Nothing was appended when I tried to access the URL:

http://65.42.173.103/index.jsp

The examples context still works, so I'm not sure how to interpret the
errors in the log.  Any ideas?

http://65.42.173.103/examples/jsp/index.html

-Jake


----- Original Message -----
From: "Brett Neumeier" <brett.neumeier@ualloyalty.com>
To: <jakerobb@mac.com>
Sent: Thursday, February 13, 2003 11:44 AM
Subject: RE: jk2 config -- uri directive for root context?


> Jake Robb writes:
> > From server.xml
> > -------------------------------------------------------------
> > <Context path="/" docBase="ROOT" debug="0"/>
> >
> > <Context path="/examples" docBase="examples" debug="0"
> >     ... *** unchanged from original form
> > </Context>
> > -------------------------------------------------------------
>
> Hi Jake,
>
> Just a couple of thoughts.
>
> Does this work when going to Tomcat directly (say to port 8080, if you've
> got a HTTP connector listening to that port) rather than going through a
> native web server?  If you don't have an HTTP connector configured in
> Tomcat, you might want to add one to help in debugging the situation.
>
> You might try ...
>
> - removing the Context elements from server.xml; they ought to be
configured
> automatically.  (In
>
> - changing the workers2.properties uri mapping to:
>
> [uri:*.jsp]
> worker=ajp13:localhost:8009
>
> You also might want to enable debugging information in the web server, or
> tomcat, or both -- if you can find out what Tomcat is trying to do, that
> might illuminate why it's not doing what you expect.
>
> Cheers,
>
> bn


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message