You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Brownlee <os...@hotmail.com> on 2003/04/15 20:31:32 UTC

Apache 1.3.27 +Tomcat 4.1.24 integration - is this scenario possible?

Hi,

We've been running apache 1.3.26 and using mod_jk to pass /servet/* and 
*.jsp to tomcat 3.2.  We are now upgrading our environment and trying to 
move to using webapps packaged in war files.  I have tomcat 4.1.24 running 
and deploying webapps automatically such that after uploading foo.war, 
http://tomcathost:8080/foo/ is available automatically.  In our old setup, 
we had static JkMount directives that passed requests to tomcat when the URL 
matched a specific pattern.  This worked fine except that changing the 
pattern requires us to restart apache.  We would like to configure apache so 
that it passes all http://apachehost/apps/* requests to tomcat and that 
uploading foo.war in tomcat automatically makes that application available 
through apache at http://apachehost/apps/foo/.

Is this possible?

Can it be done with mod_jk or do I need mod_webapp/mod_jk2?

Example server.xml and httpd.conf files would be greatly appreciated.

TIA!

On a completely unrelated note, we were having a problem with tomcat 
creating URLs like http://host.domain:0/... (the port is wrong) when 
send.Redirect was used with a relative path.  It turned out that, although 
apache says the BindAddress and Port directives are deprecated, mod_jk needs 
the Port directive in the httpd.conf in order to pass the port number to 
tomcat.  I searched the mailing lists for this problem but didn't find the 
answer so I hope this helps someone else.



_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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


Re: Apache 1.3.27 +Tomcat 4.1.24 integration - is this scenario possible?

Posted by Bill Barker <wb...@wilshire.com>.
I don't see anyway to do this with mod_jk.  It should be coming soon to Jk2
(or, as I understand, is there now via JMX if you want to use the HEAD
branch and live on the bleeding edge :).

"David Brownlee" <os...@hotmail.com> wrote in message
news:F116UTSstJCpCfIBEMV00029a51@hotmail.com...
> Hi,
>
> We've been running apache 1.3.26 and using mod_jk to pass /servet/* and
> *.jsp to tomcat 3.2.  We are now upgrading our environment and trying to
> move to using webapps packaged in war files.  I have tomcat 4.1.24 running
> and deploying webapps automatically such that after uploading foo.war,
> http://tomcathost:8080/foo/ is available automatically.  In our old setup,
> we had static JkMount directives that passed requests to tomcat when the
URL
> matched a specific pattern.  This worked fine except that changing the
> pattern requires us to restart apache.  We would like to configure apache
so
> that it passes all http://apachehost/apps/* requests to tomcat and that
> uploading foo.war in tomcat automatically makes that application available
> through apache at http://apachehost/apps/foo/.
>
> Is this possible?
>
> Can it be done with mod_jk or do I need mod_webapp/mod_jk2?
>
> Example server.xml and httpd.conf files would be greatly appreciated.
>
> TIA!
>
> On a completely unrelated note, we were having a problem with tomcat
> creating URLs like http://host.domain:0/... (the port is wrong) when
> send.Redirect was used with a relative path.  It turned out that, although
> apache says the BindAddress and Port directives are deprecated, mod_jk
needs
> the Port directive in the httpd.conf in order to pass the port number to
> tomcat.  I searched the mailing lists for this problem but didn't find the
> answer so I hope this helps someone else.
>
>
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail




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