Hello David,

I have followed the steps defined on the web page but still I am facing
following problem
when Apache and Tomcat are on two different machines.
Following are the excerpts from mod_jk.log file

[Wed Jun 23 17:27:49 2004]  [jk_ajp_common.c (874)]: Error connecting to
the Tomcat process.
[Wed Jun 23 17:27:49 2004]  [jk_ajp_common.c (1190)]: sending request to
tomcat failed in send loop. err=1
[Wed Jun 23 17:27:49 2004]  [jk_connect.c (132)]: Into jk_open_socket
[Wed Jun 23 17:27:49 2004]  [jk_connect.c (139)]: jk_open_socket, try to
connect socket = 8
[Wed Jun 23 17:27:49 2004]  [jk_connect.c (148)]: jk_open_socket, after
connect ret = -1
[Wed Jun 23 17:27:49 2004]  [jk_connect.c (177)]: jk_open_socket, connect()
failed errno = 2
[Wed Jun 23 17:27:49 2004]  [jk_ajp_common.c (626)]: Error connecting to
tomcat. Tomcat is probably not st
arted or is listenning on the wrong port. Failed errno = 2

But everything work properly if both Apache and Tomcat are on the same
machine.

-AB


|---------+---------------------------->
|         |           Davor Cengija    |
|         |           <[EMAIL PROTECTED]|
|         |           il.inet.hr>      |
|         |           Sent by: news    |
|         |           <[EMAIL PROTECTED]|
|         |           rg>              |
|         |                            |
|         |                            |
|         |           06/24/2004 12:22 |
|         |           PM               |
|         |           Please respond to|
|         |           "Tomcat Users    |
|         |           List"            |
|         |                            |
|---------+---------------------------->
  
>---------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                           |
  |        To:      [EMAIL PROTECTED]                                                  
              |
  |        cc:                                                                         
                           |
  |        Subject: Re: Apache Tomcat Inerconnection                                   
                           |
  
>---------------------------------------------------------------------------------------------------------------|




[EMAIL PROTECTED] wrote:

>
> Hi,
>
> I need some help on Apache and TOmcat interconnectivity
>
> I have Apache1.3.19 and Tomcat4.1.24 running on two different machines.
> I need to run servlets.
> Can anyone help me on this subject. Any pointers for configuration using
> JK2 as
> I need to use loadbalancing

See http://raibledesigns.com/tomcat/ for details on mod_jk. Mod_jk2
couldn't
be that much different.

--
Davor Cengija, [EMAIL PROTECTED]


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







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

Reply via email to