RE: Plz - Anyone have any ideas

2001-07-23 Thread Nance, Michael

Yes I have started it separately.
Has anyone heard that you can;t use the -Include in Apache.
Note I do NOT include the tomcat info in httpd.conf
I include a copy of the autogenerated file using the -Include command

-Original Message-
From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 5:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Plz - Anyone have any ideas


Alright, at the risk of asking a stpid question - you have started Tomcat
seperately haven't you?  Apache  wont start it automatically, you'll need
to do it yourself.

cheers
dim

On Thu, 19 Jul 2001, Nance, Michael wrote:

 I am trying to switch our current configuration from
Apache/Tomcat/Mod_Jserv
 to
 Apache/Tomcat/Mod_Jk.  I obtained the source files and built mod_jk.so.
 I removed the include of JServ.  
 I have a few questions and a problem.  When tomcat starts up it generates
 mod_jk.conf-auto.  Where do I put customized JKMounts?
 
 It appears that Apache is starting ok but not sure if Tomcat is.  in the
 mod_jk.log
 I am getting
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
 
 I have read the docs and don't see what I am missing.
 Please help!
 
 



RE: Plz - Anyone have any ideas

2001-07-23 Thread Loïc Lefèvre

Look at the end of the answer ;)

http://www.jguru.com/faq/view.jsp?EID=323083

Loïc Lefèvre

-Message d'origine-
De : Nance, Michael [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 23 juillet 2001 16:46
À : '[EMAIL PROTECTED]'
Objet : RE: Plz - Anyone have any ideas


Yes I have started it separately.
Has anyone heard that you can;t use the -Include in Apache.
Note I do NOT include the tomcat info in httpd.conf
I include a copy of the autogenerated file using the -Include command

-Original Message-
From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 5:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Plz - Anyone have any ideas


Alright, at the risk of asking a stpid question - you have started Tomcat
seperately haven't you?  Apache  wont start it automatically, you'll need
to do it yourself.

cheers
dim

On Thu, 19 Jul 2001, Nance, Michael wrote:

 I am trying to switch our current configuration from
Apache/Tomcat/Mod_Jserv
 to
 Apache/Tomcat/Mod_Jk.  I obtained the source files and built mod_jk.so.
 I removed the include of JServ.
 I have a few questions and a problem.  When tomcat starts up it generates
 mod_jk.conf-auto.  Where do I put customized JKMounts?

 It appears that Apache is starting ok but not sure if Tomcat is.  in the
 mod_jk.log
 I am getting
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1

 I have read the docs and don't see what I am missing.
 Please help!






RE: Plz - Anyone have any ideas

2001-07-23 Thread Nance, Michael

thanks again for replying
I DO NOT have those lines in my httpd.conf... what I have 
in my apache start up is a -Include mod_jk.conf   (whcih is a copy of
mod_jk.so.conf-auto)
I receive one message that this won't work  but it is the way we do JServ (I
am trying to switch from JServ)
Is that correct?



-Original Message-
From: John Hebert [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 7:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Plz - Anyone have any ideas


Nance, Michael wrote:

 Yes I have started it separately.
 Has anyone heard that you can;t use the -Include in Apache.
 Note I do NOT include the tomcat info in httpd.conf
 I include a copy of the autogenerated file using the -Include command


I'm not certain of the question you are asking, but I am successfully 
using Tomcat 3.2.1 and Apache 1.3.19 using mod_jk.so. I have the 
following at the end of my httpd.conf:

Include /usr/local/tomcat/conf/mod_jk.so.conf-auto
JkMount /webapp1/j_security_check ajp12
...other JkMount declarations...

Is this what you are asking for?

John Hebert








-- 
John Alex Hebert
[EMAIL PROTECTED]
System Engineer



Re: Plz - Anyone have any ideas

2001-07-23 Thread John Hebert

Nance, Michael wrote:

 thanks again for replying
 I DO NOT have those lines in my httpd.conf... what I have 
 in my apache start up is a -Include mod_jk.conf   (whcih is a copy of
 mod_jk.so.conf-auto)
 I receive one message that this won't work  but it is the way we do JServ (I
 am trying to switch from JServ)
 Is that correct?


When you say apache start up, what do you mean exactly? Can you send 
me an example of the script or file that you are describing? Have you 
tried using the Include directive in httpd.conf?


-- 
John Alex Hebert
[EMAIL PROTECTED]
System Engineer



RE: Plz - Anyone have any ideas

2001-07-23 Thread Dmitri Colebatch

Hi again,

I cant remember where you're up to with this, but will answer one of your
questions below.

The common way to use Tomcat is to not use the mod_jk.conf-auto, but take
a copy of it when you're relatively happy with Tomcat's configuration, and
use that.  You will notice that if you want to use virtual hosts you'll
have trouble (I think) using the auto generated config.  This is because
the JkMount directives need to go inside the VirtualHost directives in
Apache.  In short, break your mod_jk config into two parts - one for
apache, which handles the LoadModule, and one for each virtual host, which
contains the JkMount.

Re your second query, check that Tomcat starts happily.  What versions are
you using?  It almost seems that Tomcat is not listening for Apache's
request.

cheesr
dim

 On Thu, 19 Jul 2001, Nance, Michael wrote:
 
  I am trying to switch our current configuration from
 Apache/Tomcat/Mod_Jserv
  to
  Apache/Tomcat/Mod_Jk.  I obtained the source files and built mod_jk.so.
  I removed the include of JServ.  
  I have a few questions and a problem.  When tomcat starts up it generates
  mod_jk.conf-auto.  Where do I put customized JKMounts?
  
  It appears that Apache is starting ok but not sure if Tomcat is.  in the
  mod_jk.log
  I am getting
  [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
  [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
  
  I have read the docs and don't see what I am missing.
  Please help!
  
  
 




Plz - Anyone have any ideas

2001-07-19 Thread Nance, Michael

I am trying to switch our current configuration from Apache/Tomcat/Mod_Jserv
to
Apache/Tomcat/Mod_Jk.  I obtained the source files and built mod_jk.so.
I removed the include of JServ.  
I have a few questions and a problem.  When tomcat starts up it generates
mod_jk.conf-auto.  Where do I put customized JKMounts?

It appears that Apache is starting ok but not sure if Tomcat is.  in the
mod_jk.log
I am getting
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1

I have read the docs and don't see what I am missing.
Please help!




Re: Plz - Anyone have any ideas

2001-07-19 Thread John Hebert

../tomcat/conf/tomcat.conf

Or, once you get a running, stable app server configuration, just point 
your httpd.conf include directive to a specific copy of your 
mod_jk.conf-auto file:

http.conf:
Include /usr/local/tomcat/conf/copy_of_mod_jk.conf-auto

Hope this helps!

John Hebert



Nance, Michael wrote:

 I am trying to switch our current configuration from Apache/Tomcat/Mod_Jserv
 to
 Apache/Tomcat/Mod_Jk.  I obtained the source files and built mod_jk.so.
 I removed the include of JServ.  
 I have a few questions and a problem.  When tomcat starts up it generates
 mod_jk.conf-auto.  Where do I put customized JKMounts?
 
 It appears that Apache is starting ok but not sure if Tomcat is.  in the
 mod_jk.log
 I am getting
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
 
 I have read the docs and don't see what I am missing.
 Please help!
 
 



-- 
John Alex Hebert
[EMAIL PROTECTED]
System Engineer



RE: Plz - Anyone have any ideas

2001-07-19 Thread Nance, Michael

Thanks for your reply
The weird thing is in our current env does not include those files in the
htttpd.conf file.  They are included 
in a _Include when we start up Tomcat separately.  Would the tomcat.conf
still be read because I noticed that it was including JServ and not Mod_JK
Thanks again for your time
Mike
Tickets.Com


-Original Message-
From: John Hebert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 2:44 PM
To: [EMAIL PROTECTED]
Subject: Re: Plz - Anyone have any ideas


../tomcat/conf/tomcat.conf

Or, once you get a running, stable app server configuration, just point 
your httpd.conf include directive to a specific copy of your 
mod_jk.conf-auto file:

http.conf:
Include /usr/local/tomcat/conf/copy_of_mod_jk.conf-auto

Hope this helps!

John Hebert



Nance, Michael wrote:

 I am trying to switch our current configuration from
Apache/Tomcat/Mod_Jserv
 to
 Apache/Tomcat/Mod_Jk.  I obtained the source files and built mod_jk.so.
 I removed the include of JServ.  
 I have a few questions and a problem.  When tomcat starts up it generates
 mod_jk.conf-auto.  Where do I put customized JKMounts?
 
 It appears that Apache is starting ok but not sure if Tomcat is.  in the
 mod_jk.log
 I am getting
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
 
 I have read the docs and don't see what I am missing.
 Please help!
 
 



-- 
John Alex Hebert
[EMAIL PROTECTED]
System Engineer



Re: Plz - Anyone have any ideas

2001-07-19 Thread John Hebert

Nance, Michael wrote:

 Thanks for your reply
 The weird thing is in our current env does not include those files in the
 htttpd.conf file.  They are included 
 in a _Include when we start up Tomcat separately.  Would the tomcat.conf
 still be read because I noticed that it was including JServ and not Mod_JK


Hmmm, now you have me stumped. Don't know. Try messing around with 
tomcat.conf and see. Anybody else?

John

-- 
John Alex Hebert
[EMAIL PROTECTED]
System Engineer



Re: Plz - Anyone have any ideas

2001-07-19 Thread Dmitri Colebatch

Alright, at the risk of asking a stpid question - you have started Tomcat
seperately haven't you?  Apache  wont start it automatically, you'll need
to do it yourself.

cheers
dim

On Thu, 19 Jul 2001, Nance, Michael wrote:

 I am trying to switch our current configuration from Apache/Tomcat/Mod_Jserv
 to
 Apache/Tomcat/Mod_Jk.  I obtained the source files and built mod_jk.so.
 I removed the include of JServ.  
 I have a few questions and a problem.  When tomcat starts up it generates
 mod_jk.conf-auto.  Where do I put customized JKMounts?
 
 It appears that Apache is starting ok but not sure if Tomcat is.  in the
 mod_jk.log
 I am getting
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
 
 I have read the docs and don't see what I am missing.
 Please help!