tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <Filip.Ha...@evant.com>
Subject RE: apache & tomcat (this old problem)
Date Fri, 21 Feb 2003 18:17:01 GMT
actually, the whole server.xml is messed up.

you have set the shutdown port to 8080,
the http port to 8080
and the ajp13 port to 8080

you violated the "if it ain't broke, don't fix it" law :))

Filip

-----Original Message-----
From: pqin@shareowner.com [mailto:pqin@shareowner.com]
Sent: Friday, February 21, 2003 10:14 AM
To: tomcat-user@jakarta.apache.org
Subject: RE: apache & tomcat (this old problem)


One on 8080, one on 8009

Regards,
 
 
PQ
 
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"

-----Original Message-----
From: Filip Hanik [mailto:Filip.Hanik@evant.com] 
Sent: February 21, 2003 1:13 PM
To: Tomcat Users List
Subject: RE: apache & tomcat (this old problem)

you can't have two connectors listen to the same port, in your case 8080

Filip

-----Original Message-----
From: Dani [mailto:alchasira@eresmas.com]
Sent: Friday, February 21, 2003 10:15 AM
To: Tomcat Users List
Subject: RE: apache & tomcat (this old problem)


- This is the apache error_log when I'm trying to connect
[Fri Feb 21 19:06:15 2003] [error] workerEnv.init() create slot epStat.1
failed
[Fri Feb 21 19:06:15 2003] [error] lb.service() worker failed
ajp13:192.168.5.1:8080
[Fri Feb 21 19:06:15 2003] [error] lb.service() unrecoverable error...
[Fri Feb 21 19:06:15 2003] [error] mod_jk.handler() Error connecting to
tomcat 120000

- And this is the worker2.properties:
#Define the communication channel
[channel.socket:192.168.5.1:8080]
info=Ajp13 forwarding over socket
tomcatId=192.168.5.1:8080

#Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp

- I add this line in the httpd.conf in the apache2/conf directory:
LoadModule jk2_module modules/mod_jk2-2.0.43.so

- This is jk2.properties in jakarta-tomcat/conf directory (only this line):
channelSocket.port=8080

- This is part of the server.xml file:
...
 <Server port="8080" shutdown="SHUTDOWN" debug="0">
...
<Service name="Tomcat-Apache">
...
 <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8080" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="100" debug="0" connectionTimeout="20000"
               useURIValidationHack="false" disableUploadTimeout="true" />
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8080" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="0"
               useURIValidationHack="false"

protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8080" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>
.....


----- Original Message -----
From: Dani <alchasira@eresmas.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Friday, February 21, 2003 7:01 PM
Subject: apache & tomcat (this old problem)


> Hello. First of all: sorry for my terrible English. Second, I'm
introducing
> myself: My name is Dani. Third thing (and the most important): my problem
> :-).
>
> "Again this silly and old problem?", you may say, but I can't solve it.
Help
> me please.
>
> I've installed red hat 7.2, apache 2.0.44 & tomcat 4.1.18. I'm trying to
> connect apache - tomcat each other, but I can't.
>
> I've downloaded mod_jk2-2.0.43.so and I've configure server.xml and
> workers2.properties as it is described in the mod_jk2 documentation. But
it
> doesn't work. Maybe server.xml or workers2.properties are bad
> (workers2.properties didn't exist previously) or maybe mod_jk2-2.0.43 is
not
> the correct module or maybe I put them in a bad place. I don't know. Any
> suggestion?
>
> Thanks for your patient.
>
>
>
> ---------------------------------------------------------------------
> 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


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