You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Andreas Schildbach <an...@schildba.ch> on 2003/01/30 19:14:26 UTC
Using Tomcat for Subversion instead of Apache?
Hello everyone,
Is it possible and has anyone tried to use Tomcat (4.1 or 5.0 alpha) as the
server for Subversion (instead of Apache)?
My problem is that my single IP address has already got Tomcat listening to
port 80, and when I switch Subversion to another port I will have problems
with the firewall that "protects" my Subversion clients.
Regards,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Using Tomcat for Subversion instead of Apache?
Posted by Kai Nacke ka...@redstar.de.
Hi!
Is it possible and has anyone tried to use Tomcat (4.1 or 5.0 alpha) as the
server for Subversion (instead of Apache)?
You should integrate Tomcat with Apache, using the JK2 connector and the
Apache module mod_jk. Then Apache will handle all HTTP request (including
WebDAV/Subversion) and communicate with Tomcat for JSPs and servlets. A good
starting point may be
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
(Please don't ask for configuration details - the last time I configured
Apache with Tomcat I used the (now) obsolete mod_jserv module.)
Kai
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Using Tomcat for Subversion instead of Apache?
Posted by "Edward S. Marshall" <es...@logic.net>.
On Thu, Jan 30, 2003 at 08:14:26PM +0100, Andreas Schildbach wrote:
> Is it possible and has anyone tried to use Tomcat (4.1 or 5.0 alpha) as the
> server for Subversion (instead of Apache)?
No, sorry. mod_dav_svn is an Apache module.
> My problem is that my single IP address has already got Tomcat listening to
> port 80, and when I switch Subversion to another port I will have problems
> with the firewall that "protects" my Subversion clients.
Three options that I see:
a) Move to Apache listening on port 80, connected to Tomcat using mod_jk.
This is probably the most direct route, and you might find that you enjoy
some of the benefits of running Apache/Tomcat in this manner.
b) Convince Tomcat's HTTP service to operate as a proxy server. Presumably,
one would need an HTTP proxy servlet to do this, but maybe Tomcat can do
it natively; I couldn't say for sure.
c) Run Apache on port 443. Convince your firewall admins that you need port
443 opened up for an SSL application. :-)
I'm sure there's more, but starting with c) above, they start getting
obnoxiously hackish.
--
Edward S. Marshall <es...@logic.net>
http://esm.logic.net/
Felix qui potuit rerum cognoscere causas.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Using Tomcat for Subversion instead of Apache?
Posted by Edward S.Marshall es...@logic.net.
On Thu, Jan 30, 2003 at 08:14:26PM +0100, Andreas Schildbach wrote:
Is it possible and has anyone tried to use Tomcat (4.1 or 5.0 alpha) as the
server for Subversion (instead of Apache)?
No, sorry. mod_dav_svn is an Apache module.
My problem is that my single IP address has already got Tomcat listening to
port 80, and when I switch Subversion to another port I will have problems
with the firewall that protects my Subversion clients.
Three options that I see:
a) Move to Apache listening on port 80, connected to Tomcat using mod_jk.
This is probably the most direct route, and you might find that you enjoy
some of the benefits of running Apache/Tomcat in this manner.
b) Convince Tomcat's HTTP service to operate as a proxy server. Presumably,
one would need an HTTP proxy servlet to do this, but maybe Tomcat can do
it natively; I couldn't say for sure.
c) Run Apache on port 443. Convince your firewall admins that you need port
443 opened up for an SSL application. :-)
I'm sure there's more, but starting with c) above, they start getting
obnoxiously hackish.
--
Edward S. Marshall esm@logic.net
http://esm.logic.net/
Felix qui potuit rerum cognoscere causas.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Using Tomcat for Subversion instead of Apache?
Posted by Kai Nacke <ka...@redstar.de>.
Hi!
> Is it possible and has anyone tried to use Tomcat (4.1 or 5.0 alpha) as the
> server for Subversion (instead of Apache)?
You should integrate Tomcat with Apache, using the JK2 connector and the
Apache module mod_jk. Then Apache will handle all HTTP request (including
WebDAV/Subversion) and communicate with Tomcat for JSPs and servlets. A good
starting point may be
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
(Please don't ask for configuration details - the last time I configured
Apache with Tomcat I used the (now) obsolete mod_jserv module.)
Kai
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: Using Tomcat for Subversion instead of Apache?
Posted by Sander Striker <st...@apache.org>.
> From: Andreas Schildbach [mailto:andreas@schildba.ch]
> Sent: Thursday, January 30, 2003 8:14 PM
> Hello everyone,
>
> Is it possible and has anyone tried to use Tomcat (4.1 or 5.0 alpha) as the
> server for Subversion (instead of Apache)?
Does mod_dav_svn plug into Tomcat? The answer to that is the same as the
answer to your question.
> My problem is that my single IP address has already got Tomcat listening to
> port 80, and when I switch Subversion to another port I will have problems
> with the firewall that "protects" my Subversion clients.
Can't you configure Tomcat to 'ProxyPass' to your httpd running on a local ip/
port?
Sander
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org