tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: JK2 2.0.1 and Apache 2.0.44 problem
Date Wed, 19 Feb 2003 11:51:54 GMT

I'm pretty sure you need a shared memory block in your workers2.properties
file.

I don't use JK2, but I think it should look something like this:

[shm]
file=${serverRoot}/logs/shm.file
size=1048576

John

> -----Original Message-----
> From: Mete Kural [mailto:metekural@yahoo.com]
> Sent: Tuesday, February 18, 2003 7:56 PM
> To: tomcat-user@jakarta.apache.org
> Subject: JK2 2.0.1 and Apache 2.0.44 problem
> 
> 
> Hello guys,
> 
> I'm having trouble connecting Apache and Tomcat with
> JK2 v2.0.1. I am using Apache 2.0.44 and Tomcat 4.1.12
> which is bundled inside of the JBoss 3.0.4
> distribution. I'm on a Red Hat Linux 8.0. I set up the
> configuration as the minimum recommended on the jk2
> documentation website.
> 
> The only line I added to httpd.conf is:
> LoadModule jk2_module modules/mod_jk2.so
> 
> My workers2.properties file looks like this:
> 
> # Define the communication channel
> [channel.socket:localhost:8009]
> info=Ajp13 forwarding over socket
> tomcatId=localhost:8009
> # Map the Tomcat examples webapp to the Web server uri
> space
> [uri:/examples/*]
> info=Map the whole webapp
> 
> And I left jk2.properties as it came with Tomcat
> 4.1.12, i.e. all the lines inside it are commented
> out.
> 
> When I try to access localhost/examples, I get this
> page:
> <<<
> Internal Server Error
> The server encountered an internal error or
> misconfiguration and was unable to complete your
> request.
> 
> Please contact the server administrator,
> you@your.address and inform them of the time the error
> occurred, and anything you might have done that may
> have caused the error.
> 
> More information about this error may be available in
> the server error log.
> >>>
> 
> And here is my error_log:
> 
> [Tue Feb 18 15:27:28 2003] [notice] Apache/2.0.44
> (Unix) configured -- resuming normal operations
> [Tue Feb 18 15:29:29 2003] [notice] caught SIGTERM,
> shutting down
> [Tue Feb 18 16:22:58 2003] [error] shm.init(): No file
> [Tue Feb 18 16:22:58 2003] [notice] Apache/2.0.44
> (Unix) mod_jk2/2.0.0 configured -- resuming normal
> operations
> [Tue Feb 18 16:22:58 2003] [error] shm.init(): No file
> [Tue Feb 18 16:22:58 2003] [error] shm.init(): No file
> [Tue Feb 18 16:23:10 2003] [error] workerEnv.init()
> create slot epStat.0 failed
> [Tue Feb 18 16:23:10 2003] [error] lb.service() worker
> failed ajp13:localhost:8009
> [Tue Feb 18 16:23:10 2003] [error] lb.service()
> unrecoverable error...
> [Tue Feb 18 16:23:10 2003] [error] mod_jk.handler()
> Error connecting to tomcat 120000
> 
> 
> Can you please help me out with this? I am new to JK2
> and I have no idea why this could be happenning. If
> more information about my configuration is necessary
> please let me know.
> 
> Thank you very much,
> Mete
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
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