You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by João Gil ACE-SC <jo...@edis.edp.pt> on 2004/09/02 17:25:01 UTC

Unable to integrate Apache 2.0.24 with Tomcat 5.

Greatings,

I am trying to integrate Apache 2.0.24 with Tomcat 5 with no success.

The best solution I have found on the net is at
http://www.dynamicobjects.com/d2r/archives/002574.html

After configuring Apache and Tomcat as instructed, both execute with
no problem. But Apache is still not forwarding JSP pages/Servlets
to Tomcat. Can anyone help me?

Warmest Regards
Joao Gil



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


RE: Unable to integrate Apache 2.0.24 with Tomcat 5.

Posted by Andy Eastham <an...@peakdrive.com>.
Joao,

I looked at that url and the way redirections are configured is different to
mine.

I do NOT have things like
<Location "/*.jsp">
JkUriSet worker ajp13:localhost:8009
</Location>

<Location "/mywebapp">
JkUriSet worker ajp13:localhost:8009
</Location>

(in fact these look like mod_jk configuration to me)

Instead, my workers2.properties is as follows:
[logger.apache2]
#level=DEBUG

[shm]
file=/usr/local/apache2/logs/shm.file
size=1048576

# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

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

# Uri mapping
[uri:192.168.0.103/wisadmin/*]
worker=ajp13:localhost:8009

[uri:localhost/wisadmin/*]
worker=ajp13:localhost:8009

[uri:wis/wisadmin/]
worker=ajp13:localhost:8009

[uri:127.0.0.1/wisadmin/*]
worker=ajp13:localhost:8009

Note that the URIs are mapped in this file.

Give this a try,

Andy

> -----Original Message-----
> From: João Gil ACE-SC [mailto:joaogil.ace-sc@edis.edp.pt]
> Sent: 02 September 2004 16:25
> To: tomcat-user@jakarta.apache.org
> Subject: Unable to integrate Apache 2.0.24 with Tomcat 5.
> 
> 
> Greatings,
> 
> I am trying to integrate Apache 2.0.24 with Tomcat 5 with no success.
> 
> The best solution I have found on the net is at
> http://www.dynamicobjects.com/d2r/archives/002574.html
> 
> After configuring Apache and Tomcat as instructed, both execute with
> no problem. But Apache is still not forwarding JSP pages/Servlets
> to Tomcat. Can anyone help me?
> 
> Warmest Regards
> Joao Gil
> 
> 
> 
> ---------------------------------------------------------------------
> 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