RE: Tomcat Apache Config

2002-09-05 Thread Turner, John


Only if you leave the HTTP connector on port 8080 enabled.  For development,
this is wise for testing purposes.  For production, not so wise.

John

 -Original Message-
 From: Tam, Michael [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 04, 2002 4:39 PM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat Apache Config
 
 
 Hi John,
 
Just a quick question about this integration.  Does it 
 mean with the
 integrated tomcat + apache, we would open 2 ports (80 + 8080) 
 instead of
 having port 80 only??  That would open up port 8080 to public 
 to directly
 reach tomcat wouldn't it??  
 
 Regards,
 Michael
 
 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 04, 2002 1:33 PM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat Apache Config
 
 
 
 You will know if the integration is successful if what your 
 browser receives
 is identical for these 2 URLs:
 
 http://some.host.com:8080/some-servlet (or
 http://some.host.com:8080/examples)
 
 http://some.host.com/some-servlet (or http://some.host.com/examples)
 
 One is port 80, the other is port 8080 (tomcat 4's default 
 port). If Apache
 and Tomcat are integrated, the results will be the same even 
 though the URLs
 are accessing different ports.
 
 John Turner
 
  -Original Message-
  From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, September 04, 2002 4:29 PM
  To: Tomcat Users List
  Subject: Tomcat Apache Config
  
  
  Hi:
  
  What is the difference between tomcat.conf and 
  tomcat-apache.conf.  which
  of these two files need to be included in the httpd.conf 
  file?  Also how
  do I know if request are being answerd by apache or tomcat 
 ie how do I
  test if the integration is successful?
  
  Thanks
  Ravi
  
  
  
  --
  To unsubscribe, e-mail:   
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
  mailto:[EMAIL PROTECTED]
  
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat Apache Config

2002-09-04 Thread Ravindra K. Bhat

Hi:

I am trying to run apache1.3 with tomcat 3.2 on NT 4.0.  I have apache and
tomcat running independently and am trying to integrate the two.

I have downloaded the mod_jserv to the apache libexec folder and have
included the path in the httpd.conf file.  But apache does not start when
I include the path.  What am I doing wrong?

My path to tomcat.conf within my tomcat directory is:
c:\jakarta-tomcat-3.2.3\conf\tomcat.conf and the path to the httpd.conf
file is: c:\program files\apache group\apache\conf\httpd.conf

what should my include file path in the httpd.conf file be?

Thanks
Ravi 



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat Apache Config

2002-09-04 Thread Ravindra K. Bhat

Hello:

What is the difference between: mod_jk.dll and
ApacheModuleJServ.dll..which of these files do I need to integrate Apache
with Tomcat for servlets?

Also what is the differnce between mod_jserv.so and ApacheModuleJServ.dll?

Thanks
Ravi



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat Apache Config

2002-09-04 Thread Turner, John


JServ is an early method of connecting Apache and Tomcat, known as a
connector.  JK is a more recent implementation of the connector protocol
that JServ used.

So, ApacheModuleJServ.dll is a Windows DLL that implements JServ.
mod_jk.dll is a Windows DLL that implements JK.  

The difference between mod_jserv.so and ApacheModuleJServ.dll is that one is
a 32-bit ELF shared object file (mod_jserv.so) intended for use on UNIX and
Linux systems, and ApacheModuleJServ.dll is a (32-bit??) Windows DLL
intended for use on Windows.  Both implement JServ.

Which one you need depends on you.  Most people are typicaly using JK (AJP13
protocol) to connect Apache and Tomcat on Windows.  That would be
mod_jk.dll.  I have several older tomcat instances that are still using
JServ (mod_jserv.so) just fine, so which you decide to use is up to you.

John Turner
[EMAIL PROTECTED]


 -Original Message-
 From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 04, 2002 3:33 PM
 To: Tomcat Users List
 Subject: Re: Tomcat Apache Config
 
 
 Hello:
 
 What is the difference between: mod_jk.dll and
 ApacheModuleJServ.dll..which of these files do I need to 
 integrate Apache
 with Tomcat for servlets?
 
 Also what is the differnce between mod_jserv.so and 
 ApacheModuleJServ.dll?
 
 Thanks
 Ravi
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat Apache Config

2002-09-04 Thread Ravindra K. Bhat

After Tomcat/Apache integration do you need to start both Tomcat and
Apache or does Apache alone do the job?

Thanks 

Ravi



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat Apache Config

2002-09-04 Thread Thomas T. Veldhouse

Both -- start Tomcat first.

Tom Veldhouse

- Original Message -
From: Ravindra K. Bhat [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 04, 2002 2:54 PM
Subject: Tomcat Apache Config


 After Tomcat/Apache integration do you need to start both Tomcat and
 Apache or does Apache alone do the job?

 Thanks

 Ravi



 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat Apache Config

2002-09-04 Thread Ravindra K. Bhat

Hi:

What is the difference between tomcat.conf and tomcat-apache.conf.  which
of these two files need to be included in the httpd.conf file?  Also how
do I know if request are being answerd by apache or tomcat ie how do I
test if the integration is successful?

Thanks
Ravi



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat Apache Config

2002-09-04 Thread Turner, John


You will know if the integration is successful if what your browser receives
is identical for these 2 URLs:

http://some.host.com:8080/some-servlet (or
http://some.host.com:8080/examples)

http://some.host.com/some-servlet (or http://some.host.com/examples)

One is port 80, the other is port 8080 (tomcat 4's default port). If Apache
and Tomcat are integrated, the results will be the same even though the URLs
are accessing different ports.

John Turner

 -Original Message-
 From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 04, 2002 4:29 PM
 To: Tomcat Users List
 Subject: Tomcat Apache Config
 
 
 Hi:
 
 What is the difference between tomcat.conf and 
 tomcat-apache.conf.  which
 of these two files need to be included in the httpd.conf 
 file?  Also how
 do I know if request are being answerd by apache or tomcat ie how do I
 test if the integration is successful?
 
 Thanks
 Ravi
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat Apache Config

2002-09-04 Thread Tam, Michael

Hi John,

   Just a quick question about this integration.  Does it mean with the
integrated tomcat + apache, we would open 2 ports (80 + 8080) instead of
having port 80 only??  That would open up port 8080 to public to directly
reach tomcat wouldn't it??  

Regards,
Michael

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat Apache Config



You will know if the integration is successful if what your browser receives
is identical for these 2 URLs:

http://some.host.com:8080/some-servlet (or
http://some.host.com:8080/examples)

http://some.host.com/some-servlet (or http://some.host.com/examples)

One is port 80, the other is port 8080 (tomcat 4's default port). If Apache
and Tomcat are integrated, the results will be the same even though the URLs
are accessing different ports.

John Turner

 -Original Message-
 From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 04, 2002 4:29 PM
 To: Tomcat Users List
 Subject: Tomcat Apache Config
 
 
 Hi:
 
 What is the difference between tomcat.conf and 
 tomcat-apache.conf.  which
 of these two files need to be included in the httpd.conf 
 file?  Also how
 do I know if request are being answerd by apache or tomcat ie how do I
 test if the integration is successful?
 
 Thanks
 Ravi
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat Apache Config

2002-09-04 Thread Ravindra K. Bhat

Hi:

Yes..I tested the intgration it works on both 80 and 8080...should it not?
if not how do I disable 8080?
Thanks ravi

On Wed, 4 Sep 2002, Tam, Michael wrote:

 Hi John,
 
Just a quick question about this integration.  Does it mean with the
 integrated tomcat + apache, we would open 2 ports (80 + 8080) instead of
 having port 80 only??  That would open up port 8080 to public to directly
 reach tomcat wouldn't it??  
 
 Regards,
 Michael
 
 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 04, 2002 1:33 PM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat Apache Config
 
 
 
 You will know if the integration is successful if what your browser receives
 is identical for these 2 URLs:
 
 http://some.host.com:8080/some-servlet (or
 http://some.host.com:8080/examples)
 
 http://some.host.com/some-servlet (or http://some.host.com/examples)
 
 One is port 80, the other is port 8080 (tomcat 4's default port). If Apache
 and Tomcat are integrated, the results will be the same even though the URLs
 are accessing different ports.
 
 John Turner
 
  -Original Message-
  From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, September 04, 2002 4:29 PM
  To: Tomcat Users List
  Subject: Tomcat Apache Config
  
  
  Hi:
  
  What is the difference between tomcat.conf and 
  tomcat-apache.conf.  which
  of these two files need to be included in the httpd.conf 
  file?  Also how
  do I know if request are being answerd by apache or tomcat ie how do I
  test if the integration is successful?
  
  Thanks
  Ravi
  
  
  
  --
  To unsubscribe, e-mail:   
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
  mailto:[EMAIL PROTECTED]
  
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat Apache Config

2002-09-04 Thread Eddie Bush

1)  Open your server.xml
2)  Locate the Connector element that says port='8080'
3)  Comment it out
4)  Restart tomcat (and Apache)

... do you get connection refused on 8080?  Good ... you did good ...

If TC is run stand-alone, you need the HTTP connector -- that's the one 
that knows how to be a web server.  If TC is run under a web server, it 
needs to know how to receive requests from the web server (that's what 
mod_jk does), but it does not need to know how to be a web-server itself 
-- so remove that functionality by removing (commenting out) the connector.

Regards,

Eddie

Ravindra K. Bhat wrote:

Hi:

Yes..I tested the intgration it works on both 80 and 8080...should it not?
if not how do I disable 8080?
Thanks ravi

On Wed, 4 Sep 2002, Tam, Michael wrote:

Hi John,

   Just a quick question about this integration.  Does it mean with the
integrated tomcat + apache, we would open 2 ports (80 + 8080) instead of
having port 80 only??  That would open up port 8080 to public to directly
reach tomcat wouldn't it??  

Regards,
Michael




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat Apache Config

2002-09-04 Thread Milt Epstein

On Wed, 4 Sep 2002, Ravindra K. Bhat wrote:

 Hi:

 What is the difference between tomcat.conf and tomcat-apache.conf.

Don't know, you tell us, what is different between them?

 which of these two files need to be included in the httpd.conf file?

Whichever one has the correct configuration directives for your setup.

 Also how do I know if request are being answerd by apache or tomcat
 ie how do I test if the integration is successful?

Check the logs.  For example, for a successful request, you can look
at the apache access log and the tomcat access log(s) and see which
handled the request.  Upon an unsuccessful request, you can look at
the apache error log and the tomcat error log(s) to get an idea what
went wrong and where.  The logs really are your friends, you can learn
a lot by looking at them.  I see a lot of questions on this list where
it looks like people have not looked at the logs first.

(I write log(s) for tomcat, because it has several different logs,
and you might need to look at all of them to get the info you're
looking for.)

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat Apache Config

2002-09-04 Thread Milt Epstein

On Wed, 4 Sep 2002, Tam, Michael wrote:

 Hi John,

Just a quick question about this integration.  Does it mean with
 the integrated tomcat + apache, we would open 2 ports (80 + 8080)
 instead of having port 80 only??  That would open up port 8080 to
 public to directly reach tomcat wouldn't it??

Well, it depends how you set it up, but I think with the default
setup, yes, you will have web servers listening on both of those ports
(Apache on 80 and Tomcat on 8080).  But you don't have to have it set
up that way.


 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 04, 2002 1:33 PM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat Apache Config


 You will know if the integration is successful if what your browser receives
 is identical for these 2 URLs:

 http://some.host.com:8080/some-servlet (or
 http://some.host.com:8080/examples)

 http://some.host.com/some-servlet (or http://some.host.com/examples)

 One is port 80, the other is port 8080 (tomcat 4's default port). If Apache
 and Tomcat are integrated, the results will be the same even though the URLs
 are accessing different ports.

 John Turner

  -Original Message-
  From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, September 04, 2002 4:29 PM
  To: Tomcat Users List
  Subject: Tomcat Apache Config
 
 
  Hi:
 
  What is the difference between tomcat.conf and
  tomcat-apache.conf.  which
  of these two files need to be included in the httpd.conf
  file?  Also how
  do I know if request are being answerd by apache or tomcat ie how do I
  test if the integration is successful?
 
  Thanks
  Ravi

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Tomcat Apache Config

2002-09-04 Thread Milt Epstein

On Wed, 4 Sep 2002, Ravindra K. Bhat wrote:

 Hi:

 Yes..I tested the intgration it works on both 80 and 8080...should it not?

It all depends on how you have it set up (and how you want it set up).

 if not how do I disable 8080?

All the connectors are defined in the server.xml file, in Connector
tags.  Some of the connectors are for running tomcat in standalone
mode (e.g. with or without SSL), and some are for running tomcat
integrated with a web server (e.g. apache).  If there are some
connectors you don't want running simply comment out the appropriate
Connector tags.  Actually, when running in production or whenever
security's a concern, it's a very good idea to disable all the
connectors you don't really need.


 On Wed, 4 Sep 2002, Tam, Michael wrote:

  Hi John,
 
 Just a quick question about this integration.  Does it mean with the
  integrated tomcat + apache, we would open 2 ports (80 + 8080) instead of
  having port 80 only??  That would open up port 8080 to public to directly
  reach tomcat wouldn't it??
 
  Regards,
  Michael
 
  -Original Message-
  From: Turner, John [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, September 04, 2002 1:33 PM
  To: 'Tomcat Users List'
  Subject: RE: Tomcat Apache Config
 
 
  You will know if the integration is successful if what your browser receives
  is identical for these 2 URLs:
 
  http://some.host.com:8080/some-servlet (or
  http://some.host.com:8080/examples)
 
  http://some.host.com/some-servlet (or http://some.host.com/examples)
 
  One is port 80, the other is port 8080 (tomcat 4's default port). If Apache
  and Tomcat are integrated, the results will be the same even though the URLs
  are accessing different ports.
 
  John Turner
 
   -Original Message-
   From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, September 04, 2002 4:29 PM
   To: Tomcat Users List
   Subject: Tomcat Apache Config
  
  
   Hi:
  
   What is the difference between tomcat.conf and
   tomcat-apache.conf.  which
   of these two files need to be included in the httpd.conf
   file?  Also how
   do I know if request are being answerd by apache or tomcat ie how do I
   test if the integration is successful?
  
   Thanks
   Ravi

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Virtual host in a tomcat/apache config

2001-06-14 Thread Martin van Dijken

Hi there,

I've got a good config going for apache/tomcat but I'm still using that
mod_jk.conf-auto. I created a dir in the $TOMCAT_HOME/webapps directory and
installed my hello world application in it. Works like a charm. Now I
created a Virtual host in apache with the following definition, but I just
can't seem to find how to write the JkMount statement. 

VirtualHost 192.168.110.9

ServerAdmin root@madotux
DocumentRoot /shares/sunsear.mad
ServerName www.sunsear.mad
ErrorLog /shares/sunsear.mad/sunsear-error_log
CustomLog /shares/sunsear.mad/sunsear-access_log common
JkMount www.sunsear.mad/servlet/* ajp13
JkMount www.sunsear.mad/*.jsp ajp13
#JkMount /servlet/* ajp13
#JkMount /*.jsp ajp13
#JkMount /www.sunsear.mad/servlet/* ajp13
#JkMount /www.sunsear.mad/*.jsp ajp13
#JkMount /shares/sunsear.mad/servlet/* ajp13
#JkMount /shares/sunsear.mad/*.jsp ajp13
/VirtualHost

I've also created a Context in tomcat's server.xml with the following
definition:

 Context path=www.sunsear.mad
 docBase=/share/sunsear.mad
 crossContext=false
 debug=0
 reloadable=true 
 /Context

I've tried numerous different combinations of JkMount statements, all of
them #-ed, but none seem to work. Is my context definition wrong or
something?

Greetings,

Martin van Dijken



Tomcat Apache config

2001-05-21 Thread Dave Finch

Hi,
I have got Tomcat and Apache running on Redhat Linux 6.2 and all is working
fine.
Could someone please give me some pointers on how to configure Tomcat to
start automatically on boot. like an NT service.

TIA
Dave Finch



tomcat-apache config.

2000-11-28 Thread Matt Becker



Hi. I'm new to setting up Tomcat with Apache. The 
documentation in tomcat-apache-howto.html shows modifying tomcat-apache.conf, 
however it states that this file will be written over the next time Tomcat 
starts, which seems to make modifying the file pointless. Would it be a better 
idea to copy the tomcat-apache.conf file, rename it something else, and include 
that in Apache's httpd.conf file?

Appreciate your help!

Thanks!



Matt Becker



RE: tomcat-apache config.

2000-11-28 Thread Hu, Geoff



Yes, 
that's exactly the way I'm doinng it. It works great.

Geoff

  -Original Message-From: Matt Becker 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 28, 2000 
  2:19 PMTo: tomcat mailing listSubject: tomcat-apache 
  config.
  Hi. I'm new to setting up Tomcat with Apache. The 
  documentation in tomcat-apache-howto.html shows modifying tomcat-apache.conf, 
  however it states that this file will be written over the next time Tomcat 
  starts, which seems to make modifying the file pointless. Would it be a better 
  idea to copy the tomcat-apache.conf file, rename it something else, and 
  include that in Apache's httpd.conf file?
  
  Appreciate your help!
  
  Thanks!
  
  
  
  Matt Becker
  


Tomcat Apache Config problem

2000-11-24 Thread David Connolly

Hi All,

I have several virtual hosts set up with my Apache server. They have both
cgi and jsp content. I am using Tomcat to serve my jsp's. Each virtual host
has a unique ApJServMount. One of them is "/" however and for this virtual
host my cgi programs do not work. Is it possible to use "/" as one of the
mount points? It will save having to edit a lot of code if this is possible.

Any ideas ?

Thanks,
David