RE: apache + tomcat + JK connector configuration

2005-04-27 Thread Raghupathy,Gurumoorthy
http://www.one0.com/html/downloads.php

Download the pdf ( nice ) / doc version Nice :o)

Guru 

-Original Message-
From: anshul shrivastava [mailto:[EMAIL PROTECTED] 
Sent: 26 April 2005 18:08
To: Tomcat Users List
Subject: Re: apache + tomcat + JK connector configuration
Importance: High



Hi all,

This is my first post to group. I've already asked this problem in popular
forums, but can't resolve. Hope, someone of you'll help. Thank you, in
advance, very much.

I'm using Tomcat Apache Tomcat/5.0.16 on jdk 1.5.0 ( port 8080 ). I've
installed Apache2 ( port 80 ) using MSI installer on Windows 200
Professional. I want to use mod_jserv and connect Tomcat, Apache and
database MySQL.

I read, it is better not to process .html requests by Tomcat, instead by
Apache. Also, I want to run .jsp files from ~/wwwroot ( Apache is already
working PHP files in ~/wwwroot ). Someone of you, said to forward, .jsp to
Apache using .htaccess. Also, it can be done by Apache Module, how ? Please
also tell me, where ( exact url ) can I download jk_connecter or mod_jserv ?
( I've already downloaded something! ).

Please help.
anshul shrivastava
( I'm very new to Java; swithcing to Java! from PHP )

What is the username/password for http://localhost:8080/admin/

What is catalina, by the way ? ( h'ven't seen it in previous versions ).




- Original Message - 
From: "Delphine Lê" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" 
Sent: Monday, April 18, 2005 6:26 PM
Subject: RE: apache + tomcat + JK connector configuration

Bob,
Thank you but Apache doesn't start if I add this line.
The Apache config I have is:

LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug
JkMount /examples worker1

It seems to works fine (see the logs in my very first message).
And also, I can see that it automatically creates a mod_jk.conf file in
$TOMCAT_HOME\conf\auto
Regards

-Original Message-
From: Robert Harrison [mailto:[EMAIL PROTECTED] 
Sent: vendredi 15 avril 2005 19:52
To: Tomcat Users List
Subject: Re: apache + tomcat + JK connector configuration
Delphine,
Have you added "JkSet config.file ..." to your apache config file?
Bob

On 4/14/05, Delphine Lê <[EMAIL PROTECTED]> wrote:
> I tried this, but it didn't help unfortunately
> Thank you
> 
> > Are you using load balance in your app?  If not, you probably don't
need
> > this line:
> >
> > worker.worker1.lbfactor=50
> >
> > Try to use this configuration in the server.xml
> >
> >  > port="6969" minProcessors="5" maxProcessors="75"
> > enableLookups="false" acceptCount="10" debug="0"/>
> >
> > Hope this helps...
> >
> > -Original Message-
> > From: Delphine Lê [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, April 13, 2005 6:41 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: RE: apache + tomcat + JK connector configuration
> >
> > thank you, but it's got them:
> >
> > # Define 1 real worker using ajp13
> > worker.list=worker1
> > # Set properties for worker1 (ajp13)
> > worker.worker1.type=ajp13
> > worker.worker1.host=localhost
> > worker.worker1.port=6969
> > worker.worker1.lbfactor=50
> > worker.worker1.cachesize=10
> > worker.worker1.cache_timeout=600
> > worker.worker1.socket_keepalive=1
> > worker.worker1.reclycle_timeout=300
> >
> >> Post the workers.properties file.  You probably need to include
these
> >> lines in that file:
> >>
> >> worker.list=worker1
> >> worker.worker1.port=6969
> >>
> >> -Original Message-
> >> From: Delphine Lê [mailto:[EMAIL PROTECTED]
> >> Sent: Wednesday, April 13, 2005 2:01 PM
> >> To: tomcat-user@jakarta.apache.org
> >> Subject: apache + tomcat + JK connector configuration
> >>
> >>
> >> Hello,
> >>
> >> Has anyone had any success in configuring Apache (2.0.53) with
Tomcat
> >> (4.1.29) in Windows XP, using a recent JK connector ?
> >>
> >> We have a server running with the JK2 connector and I'm trying to
> >> replace it with the latest JK connector (JK-1.2.10), the reason
being
> >> that JK2 is officially unsupported as of 15 Nov 2004 and we're
> >> experiencing a problem with truncated requests due to this
connector.
> >>
> >> In Apache, I configured a worker called worker1 and I send
everything
> >> from context /examples to this worker following
> >> http://jakarta.apache.org/tomcat/connectors-doc/howto/quic

Re: apache + tomcat + JK connector configuration

2005-04-26 Thread Ted Christensen
, after 
connect ret = -1
[Sat Apr 23 20:06:02 2005]  [jk_connect.c (233)]: jk_open_socket, 
connect() failed errno = 128
[Sat Apr 23 20:06:02 2005]  [jk_ajp_common.c (676)]: Error connecting to 
tomcat. Tomcat is probably not started or is listenning on the wrong 
port. Failed errno = 128
[Sat Apr 23 20:06:02 2005]  [jk_ajp_common.c (955)]: Error connecting to 
the Tomcat process.
[Sat Apr 23 20:06:02 2005]  [jk_ajp_common.c (1309)]: sending request to 
tomcat failed in send loop. err=2
[Sat Apr 23 20:06:02 2005]  [jk_ajp_common.c (1318)]: Error connecting 
to tomcat. Tomcat is probably not started or is listening on the wrong 
port. worker=ajp13 failed errno = 128
[Sat Apr 23 20:06:02 2005]  [jk_ajp_common.c (1529)]: Into 
jk_endpoint_t::done, closing connection 0
[Sat Apr 23 20:06:02 2005]  [jk_ajp_common.c (605)]: In 
jk_endpoint_t::ajp_close_endpoint
[Sat Apr 23 20:06:02 2005]  [jk_uri_worker_map.c (486)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Sat Apr 23 20:06:02 2005]  [jk_uri_worker_map.c (500)]: Attempting to 
map URI '/favicon.ico'
[Sat Apr 23 20:06:02 2005]  [jk_uri_worker_map.c (618)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Sat Apr 23 20:06:02 2005]  [jk_uri_worker_map.c (486)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Sat Apr 23 20:06:02 2005]  [jk_uri_worker_map.c (500)]: Attempting to 
map URI '/favicon.ico'
[Sat Apr 23 20:06:02 2005]  [jk_uri_worker_map.c (618)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match

 snip ---
Hope it helps a little.
--
Ted Christensen

anshul shrivastava wrote:
Hi all,
This is my first post to group. I've already asked this problem in popular 
forums, but can't resolve. Hope, someone of you'll help. Thank you, in advance, 
very much.
I'm using Tomcat Apache Tomcat/5.0.16 on jdk 1.5.0 ( port 8080 ). I've 
installed Apache2 ( port 80 ) using MSI installer on Windows 200 Professional. 
I want to use mod_jserv and connect Tomcat, Apache and database MySQL.
I read, it is better not to process .html requests by Tomcat, instead by 
Apache. Also, I want to run .jsp files from ~/wwwroot ( Apache is already 
working PHP files in ~/wwwroot ). Someone of you, said to forward, .jsp to 
Apache using .htaccess. Also, it can be done by Apache Module, how ? Please 
also tell me, where ( exact url ) can I download jk_connecter or mod_jserv ?
( I've already downloaded something! ).
Please help.
anshul shrivastava
( I'm very new to Java; swithcing to Java! from PHP )
What is the username/password for http://localhost:8080/admin/
What is catalina, by the way ? ( h'ven't seen it in previous versions ).

- Original Message - 
From: "Delphine Lê" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" 
Sent: Monday, April 18, 2005 6:26 PM
Subject: RE: apache + tomcat + JK connector configuration

Bob,
Thank you but Apache doesn't start if I add this line.
The Apache config I have is:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug
JkMount /examples worker1
It seems to works fine (see the logs in my very first message).
And also, I can see that it automatically creates a mod_jk.conf file in
$TOMCAT_HOME\conf\auto
Regards
-Original Message-
From: Robert Harrison [mailto:[EMAIL PROTECTED] 
Sent: vendredi 15 avril 2005 19:52
To: Tomcat Users List
Subject: Re: apache + tomcat + JK connector configuration
Delphine,
Have you added "JkSet config.file ..." to your apache config file?
Bob

On 4/14/05, Delphine Lê <[EMAIL PROTECTED]> wrote:
 

I tried this, but it didn't help unfortunately
Thank you
   

Are you using load balance in your app?  If not, you probably don't
 

need
 

this line:
worker.worker1.lbfactor=50
Try to use this configuration in the server.xml

Hope this helps...
-Original Message-
From: Delphine Lê [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 6:41 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: apache + tomcat + JK connector configuration
thank you, but it's got them:
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=6969
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.reclycle_timeout=300
 

Post the workers.properties file.  You probably need to include
   

these
 

lines in that file:
worker.list=worker1
worker.worker1.port=6969
-Original Message-
From: Delphine Lê [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 2:01 PM
To: tomcat-user@jakarta.apache.org
Subject: apache + tomcat + JK connector configuration
Hello,
Has anyone had any success in configuring Apache (2.0.53) with
   

Tomcat
 

(4.1.29) in Windows XP, using a recent JK connector ?
We h

Re: apache + tomcat + JK connector configuration

2005-04-26 Thread anshul shrivastava
Avoiding use of Apache httpd also eliminates a significant
amount of complexity.
httpd.conf is an important file.
I wanna use PHP/JSP/MySQL with Apache.
( surprised )
Please someone, send a useful reply !

- Original Message - 
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" 
Sent: Tuesday, April 26, 2005 11:11 PM
Subject: RE: apache + tomcat + JK connector configuration


> From: anshul shrivastava [mailto:[EMAIL PROTECTED] 
> Subject: Re: apache + tomcat + JK connector configuration
> 
> I'm using Tomcat Apache Tomcat/5.0.16

Why such an old level?  If you want to use the 5.0 branch, at least get
the current version.  Better yet, use 5.5.

> I read, it is better not to process .html requests by Tomcat, 

Although this was often true in the past, the performance of the current
Tomcat levels is such that it can handle static content quite
effectively.  Avoiding use of Apache httpd also eliminates a significant
amount of complexity.

 - Chuck

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



RE: apache + tomcat + JK connector configuration

2005-04-26 Thread Caldarale, Charles R
> From: anshul shrivastava [mailto:[EMAIL PROTECTED] 
> Subject: Re: apache + tomcat + JK connector configuration
> 
> I'm using Tomcat Apache Tomcat/5.0.16

Why such an old level?  If you want to use the 5.0 branch, at least get
the current version.  Better yet, use 5.5.

> I read, it is better not to process .html requests by Tomcat, 

Although this was often true in the past, the performance of the current
Tomcat levels is such that it can handle static content quite
effectively.  Avoiding use of Apache httpd also eliminates a significant
amount of complexity.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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



Re: apache + tomcat + JK connector configuration

2005-04-26 Thread anshul shrivastava

Hi all,

This is my first post to group. I've already asked this problem in popular 
forums, but can't resolve. Hope, someone of you'll help. Thank you, in advance, 
very much.

I'm using Tomcat Apache Tomcat/5.0.16 on jdk 1.5.0 ( port 8080 ). I've 
installed Apache2 ( port 80 ) using MSI installer on Windows 200 Professional. 
I want to use mod_jserv and connect Tomcat, Apache and database MySQL.

I read, it is better not to process .html requests by Tomcat, instead by 
Apache. Also, I want to run .jsp files from ~/wwwroot ( Apache is already 
working PHP files in ~/wwwroot ). Someone of you, said to forward, .jsp to 
Apache using .htaccess. Also, it can be done by Apache Module, how ? Please 
also tell me, where ( exact url ) can I download jk_connecter or mod_jserv ?
( I've already downloaded something! ).

Please help.
anshul shrivastava
( I'm very new to Java; swithcing to Java! from PHP )

What is the username/password for http://localhost:8080/admin/

What is catalina, by the way ? ( h'ven't seen it in previous versions ).




- Original Message - 
From: "Delphine Lê" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" 
Sent: Monday, April 18, 2005 6:26 PM
Subject: RE: apache + tomcat + JK connector configuration

Bob,
Thank you but Apache doesn't start if I add this line.
The Apache config I have is:

LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug
JkMount /examples worker1

It seems to works fine (see the logs in my very first message).
And also, I can see that it automatically creates a mod_jk.conf file in
$TOMCAT_HOME\conf\auto
Regards

-Original Message-
From: Robert Harrison [mailto:[EMAIL PROTECTED] 
Sent: vendredi 15 avril 2005 19:52
To: Tomcat Users List
Subject: Re: apache + tomcat + JK connector configuration
Delphine,
Have you added "JkSet config.file ..." to your apache config file?
Bob

On 4/14/05, Delphine Lê <[EMAIL PROTECTED]> wrote:
> I tried this, but it didn't help unfortunately
> Thank you
> 
> > Are you using load balance in your app?  If not, you probably don't
need
> > this line:
> >
> > worker.worker1.lbfactor=50
> >
> > Try to use this configuration in the server.xml
> >
> >  > port="6969" minProcessors="5" maxProcessors="75"
> > enableLookups="false" acceptCount="10" debug="0"/>
> >
> > Hope this helps...
> >
> > -Original Message-
> > From: Delphine Lê [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, April 13, 2005 6:41 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: RE: apache + tomcat + JK connector configuration
> >
> > thank you, but it's got them:
> >
> > # Define 1 real worker using ajp13
> > worker.list=worker1
> > # Set properties for worker1 (ajp13)
> > worker.worker1.type=ajp13
> > worker.worker1.host=localhost
> > worker.worker1.port=6969
> > worker.worker1.lbfactor=50
> > worker.worker1.cachesize=10
> > worker.worker1.cache_timeout=600
> > worker.worker1.socket_keepalive=1
> > worker.worker1.reclycle_timeout=300
> >
> >> Post the workers.properties file.  You probably need to include
these
> >> lines in that file:
> >>
> >> worker.list=worker1
> >> worker.worker1.port=6969
> >>
> >> -Original Message-
> >> From: Delphine Lê [mailto:[EMAIL PROTECTED]
> >> Sent: Wednesday, April 13, 2005 2:01 PM
> >> To: tomcat-user@jakarta.apache.org
> >> Subject: apache + tomcat + JK connector configuration
> >>
> >>
> >> Hello,
> >>
> >> Has anyone had any success in configuring Apache (2.0.53) with
Tomcat
> >> (4.1.29) in Windows XP, using a recent JK connector ?
> >>
> >> We have a server running with the JK2 connector and I'm trying to
> >> replace it with the latest JK connector (JK-1.2.10), the reason
being
> >> that JK2 is officially unsupported as of 15 Nov 2004 and we're
> >> experiencing a problem with truncated requests due to this
connector.
> >>
> >> In Apache, I configured a worker called worker1 and I send
everything
> >> from context /examples to this worker following
> >> http://jakarta.apache.org/tomcat/connectors-doc/howto/quick.html.
> >>
> >> The configuration looks fine, since I can see in the following
lines in
> >> mod_jk.log:
> >>
> >> [Wed Apr 13 18:49:13 2005] [debug]
> >> uri_worker_map_add::jk_uri_worker_map.c (269): exact rule
> >> /example

RE: apache + tomcat + JK connector configuration

2005-04-18 Thread Delphine Lê

Bob,
Thank you but Apache doesn't start if I add this line.
The Apache config I have is:

LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel debug
JkMount /examples worker1

It seems to works fine (see the logs in my very first message).
And also, I can see that it automatically creates a mod_jk.conf file in
$TOMCAT_HOME\conf\auto
Regards

-Original Message-
From: Robert Harrison [mailto:[EMAIL PROTECTED] 
Sent: vendredi 15 avril 2005 19:52
To: Tomcat Users List
Subject: Re: apache + tomcat + JK connector configuration

Delphine,
Have you added "JkSet config.file ..." to your apache config file?

Bob

On 4/14/05, Delphine Lê <[EMAIL PROTECTED]> wrote:
> I tried this, but it didn't help unfortunately
> Thank you
> 
> > Are you using load balance in your app?  If not, you probably don't
need
> > this line:
> >
> > worker.worker1.lbfactor=50
> >
> > Try to use this configuration in the server.xml
> >
> >  > port="6969" minProcessors="5" maxProcessors="75"
> > enableLookups="false" acceptCount="10" debug="0"/>
> >
> > Hope this helps...
> >
> >
> > -----Original Message-
> > From: Delphine Lê [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, April 13, 2005 6:41 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: RE: apache + tomcat + JK connector configuration
> >
> >
> > thank you, but it's got them:
> >
> > # Define 1 real worker using ajp13
> > worker.list=worker1
> > # Set properties for worker1 (ajp13)
> > worker.worker1.type=ajp13
> > worker.worker1.host=localhost
> > worker.worker1.port=6969
> > worker.worker1.lbfactor=50
> > worker.worker1.cachesize=10
> > worker.worker1.cache_timeout=600
> > worker.worker1.socket_keepalive=1
> > worker.worker1.reclycle_timeout=300
> >
> >
> >> Post the workers.properties file.  You probably need to include
these
> >> lines in that file:
> >>
> >> worker.list=worker1
> >> worker.worker1.port=6969
> >>
> >>
> >>
> >> -Original Message-
> >> From: Delphine Lê [mailto:[EMAIL PROTECTED]
> >> Sent: Wednesday, April 13, 2005 2:01 PM
> >> To: tomcat-user@jakarta.apache.org
> >> Subject: apache + tomcat + JK connector configuration
> >>
> >>
> >> Hello,
> >>
> >>
> >>
> >> Has anyone had any success in configuring Apache (2.0.53) with
Tomcat
> >> (4.1.29) in Windows XP, using a recent JK connector ?
> >>
> >> We have a server running with the JK2 connector and I'm trying to
> >> replace it with the latest JK connector (JK-1.2.10), the reason
being
> >> that JK2 is officially unsupported as of 15 Nov 2004 and we're
> >> experiencing a problem with truncated requests due to this
connector.
> >>
> >>
> >>
> >> In Apache, I configured a worker called worker1 and I send
everything
> >> from context /examples to this worker following
> >> http://jakarta.apache.org/tomcat/connectors-doc/howto/quick.html.
> >>
> >> The configuration looks fine, since I can see in the following
lines in
> >> mod_jk.log:
> >>
> >>
> >>
> >> [Wed Apr 13 18:49:13 2005] [debug]
> >> uri_worker_map_add::jk_uri_worker_map.c (269): exact rule
> >> /examples=worker1 was added
> >>
> >> [Wed Apr 13 18:49:13 2005] [debug] build_worker_map::jk_worker.c
(219):
> >> creating worker worker1
> >>
> >> [Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c
(125):
> >> about to create instance worker1 of ajp13
> >>
> >> [Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c
(138):
> >> about to validate and init worker1
> >>
> >> [Wed Apr 13 18:49:13 2005] [debug] ajp_validate::jk_ajp_common.c
(1781):
> >> worker worker1 contact is 'localhost:6969'
> >>
> >>
> >>
> >> However, if I send a request, it doesn't get through and I get an
error
> >> message in the browser.
> >>
> >> The log shows:
> >>
> >> [Wed Apr 13 18:50:16 2005] [info]
> >> ajp_connect_to_endpoint::jk_ajp_common.c (877): Failed connecting
to
> >> tomcat. Tomcat is probably not started or is listening on the wrong
> >> host/port (127.0.0.1:6969). Failed errno = 61
> >>
> >> [Wed Apr 13 18:50:16 

Re: apache + tomcat + JK connector configuration

2005-04-15 Thread Robert Harrison
Delphine,
Have you added "JkSet config.file ..." to your apache config file?

Bob

On 4/14/05, Delphine Lê <[EMAIL PROTECTED]> wrote:
> I tried this, but it didn't help unfortunately
> Thank you
> 
> > Are you using load balance in your app?  If not, you probably don't need
> > this line:
> >
> > worker.worker1.lbfactor=50
> >
> > Try to use this configuration in the server.xml
> >
> >  > port="6969" minProcessors="5" maxProcessors="75"
> > enableLookups="false" acceptCount="10" debug="0"/>
> >
> > Hope this helps...
> >
> >
> > -Original Message-
> > From: Delphine Lê [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, April 13, 2005 6:41 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: RE: apache + tomcat + JK connector configuration
> >
> >
> > thank you, but it's got them:
> >
> > # Define 1 real worker using ajp13
> > worker.list=worker1
> > # Set properties for worker1 (ajp13)
> > worker.worker1.type=ajp13
> > worker.worker1.host=localhost
> > worker.worker1.port=6969
> > worker.worker1.lbfactor=50
> > worker.worker1.cachesize=10
> > worker.worker1.cache_timeout=600
> > worker.worker1.socket_keepalive=1
> > worker.worker1.reclycle_timeout=300
> >
> >
> >> Post the workers.properties file.  You probably need to include these
> >> lines in that file:
> >>
> >> worker.list=worker1
> >> worker.worker1.port=6969
> >>
> >>
> >>
> >> -Original Message-
> >> From: Delphine Lê [mailto:[EMAIL PROTECTED]
> >> Sent: Wednesday, April 13, 2005 2:01 PM
> >> To: tomcat-user@jakarta.apache.org
> >> Subject: apache + tomcat + JK connector configuration
> >>
> >>
> >> Hello,
> >>
> >>
> >>
> >> Has anyone had any success in configuring Apache (2.0.53) with Tomcat
> >> (4.1.29) in Windows XP, using a recent JK connector ?
> >>
> >> We have a server running with the JK2 connector and I'm trying to
> >> replace it with the latest JK connector (JK-1.2.10), the reason being
> >> that JK2 is officially unsupported as of 15 Nov 2004 and we're
> >> experiencing a problem with truncated requests due to this connector.
> >>
> >>
> >>
> >> In Apache, I configured a worker called worker1 and I send everything
> >> from context /examples to this worker following
> >> http://jakarta.apache.org/tomcat/connectors-doc/howto/quick.html.
> >>
> >> The configuration looks fine, since I can see in the following lines in
> >> mod_jk.log:
> >>
> >>
> >>
> >> [Wed Apr 13 18:49:13 2005] [debug]
> >> uri_worker_map_add::jk_uri_worker_map.c (269): exact rule
> >> /examples=worker1 was added
> >>
> >> [Wed Apr 13 18:49:13 2005] [debug] build_worker_map::jk_worker.c (219):
> >> creating worker worker1
> >>
> >> [Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c (125):
> >> about to create instance worker1 of ajp13
> >>
> >> [Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c (138):
> >> about to validate and init worker1
> >>
> >> [Wed Apr 13 18:49:13 2005] [debug] ajp_validate::jk_ajp_common.c (1781):
> >> worker worker1 contact is 'localhost:6969'
> >>
> >>
> >>
> >> However, if I send a request, it doesn't get through and I get an error
> >> message in the browser.
> >>
> >> The log shows:
> >>
> >> [Wed Apr 13 18:50:16 2005] [info]
> >> ajp_connect_to_endpoint::jk_ajp_common.c (877): Failed connecting to
> >> tomcat. Tomcat is probably not started or is listening on the wrong
> >> host/port (127.0.0.1:6969). Failed errno = 61
> >>
> >> [Wed Apr 13 18:50:16 2005] [info]  ajp_send_request::jk_ajp_common.c
> >> (1227): Error connecting to the Tomcat process.
> >>
> >>
> >>
> >> What should I change in Tomcat configuration to have it work with JK
> >> instead of JK2 ?
> >>
> >> It is of course started and listening on port 6969. The configuration in
> >> server.xml looks like this:
> >>
> >>
> >>
> >>  >>
> >> port="6969" minProcessors="5" maxProcessors="75" enableLookups="true"
> >> redirectPort="8443" acceptCount="100" debug="0"
> >> connectionTimeout="2" useURIValidationHack="false"
> >> disableUploadTimeout="true"/>
> >>
> >>
> >>
> >> Thanks.
> >>
> >>
> >>
> >>
> >> -
> >> 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]
> >
> >
> > -
> > 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]
> 
>

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



RE: apache + tomcat + JK connector configuration

2005-04-14 Thread Delphine Lê
I tried this, but it didn't help unfortunately
Thank you

> Are you using load balance in your app?  If not, you probably don't need
> this line:
>
> worker.worker1.lbfactor=50
>
> Try to use this configuration in the server.xml
>
>  port="6969" minProcessors="5" maxProcessors="75"
> enableLookups="false" acceptCount="10" debug="0"/>
>
> Hope this helps...
>
>
> -Original Message-
> From: Delphine Lê [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 13, 2005 6:41 PM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: apache + tomcat + JK connector configuration
>
>
> thank you, but it's got them:
>
> # Define 1 real worker using ajp13
> worker.list=worker1
> # Set properties for worker1 (ajp13)
> worker.worker1.type=ajp13
> worker.worker1.host=localhost
> worker.worker1.port=6969
> worker.worker1.lbfactor=50
> worker.worker1.cachesize=10
> worker.worker1.cache_timeout=600
> worker.worker1.socket_keepalive=1
> worker.worker1.reclycle_timeout=300
>
>
>> Post the workers.properties file.  You probably need to include these
>> lines in that file:
>>
>> worker.list=worker1
>> worker.worker1.port=6969
>>
>>
>>
>> -Original Message-
>> From: Delphine Lê [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, April 13, 2005 2:01 PM
>> To: tomcat-user@jakarta.apache.org
>> Subject: apache + tomcat + JK connector configuration
>>
>>
>> Hello,
>>
>>
>>
>> Has anyone had any success in configuring Apache (2.0.53) with Tomcat
>> (4.1.29) in Windows XP, using a recent JK connector ?
>>
>> We have a server running with the JK2 connector and I'm trying to
>> replace it with the latest JK connector (JK-1.2.10), the reason being
>> that JK2 is officially unsupported as of 15 Nov 2004 and we're
>> experiencing a problem with truncated requests due to this connector.
>>
>>
>>
>> In Apache, I configured a worker called worker1 and I send everything
>> from context /examples to this worker following
>> http://jakarta.apache.org/tomcat/connectors-doc/howto/quick.html.
>>
>> The configuration looks fine, since I can see in the following lines in
>> mod_jk.log:
>>
>>
>>
>> [Wed Apr 13 18:49:13 2005] [debug]
>> uri_worker_map_add::jk_uri_worker_map.c (269): exact rule
>> /examples=worker1 was added
>>
>> [Wed Apr 13 18:49:13 2005] [debug] build_worker_map::jk_worker.c (219):
>> creating worker worker1
>>
>> [Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c (125):
>> about to create instance worker1 of ajp13
>>
>> [Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c (138):
>> about to validate and init worker1
>>
>> [Wed Apr 13 18:49:13 2005] [debug] ajp_validate::jk_ajp_common.c (1781):
>> worker worker1 contact is 'localhost:6969'
>>
>>
>>
>> However, if I send a request, it doesn't get through and I get an error
>> message in the browser.
>>
>> The log shows:
>>
>> [Wed Apr 13 18:50:16 2005] [info]
>> ajp_connect_to_endpoint::jk_ajp_common.c (877): Failed connecting to
>> tomcat. Tomcat is probably not started or is listening on the wrong
>> host/port (127.0.0.1:6969). Failed errno = 61
>>
>> [Wed Apr 13 18:50:16 2005] [info]  ajp_send_request::jk_ajp_common.c
>> (1227): Error connecting to the Tomcat process.
>>
>>
>>
>> What should I change in Tomcat configuration to have it work with JK
>> instead of JK2 ?
>>
>> It is of course started and listening on port 6969. The configuration in
>> server.xml looks like this:
>>
>>
>>
>> >
>> port="6969" minProcessors="5" maxProcessors="75" enableLookups="true"
>> redirectPort="8443" acceptCount="100" debug="0"
>> connectionTimeout="2" useURIValidationHack="false"
>> disableUploadTimeout="true"/>
>>
>>
>>
>> Thanks.
>>
>>
>>
>>
>> -
>> 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]
>
>
> -
> 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]



RE: apache + tomcat + JK connector configuration

2005-04-14 Thread Trung Nguyen
Are you using load balance in your app?  If not, you probably don't need this 
line:

worker.worker1.lbfactor=50

Try to use this configuration in the server.xml



Hope this helps...


-Original Message-
From: Delphine Lê [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 6:41 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: apache + tomcat + JK connector configuration


thank you, but it's got them:

# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=6969
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.reclycle_timeout=300


> Post the workers.properties file.  You probably need to include these
> lines in that file:
>
> worker.list=worker1
> worker.worker1.port=6969
>
>
>
> -Original Message-
> From: Delphine Lê [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 13, 2005 2:01 PM
> To: tomcat-user@jakarta.apache.org
> Subject: apache + tomcat + JK connector configuration
>
>
> Hello,
>
>
>
> Has anyone had any success in configuring Apache (2.0.53) with Tomcat
> (4.1.29) in Windows XP, using a recent JK connector ?
>
> We have a server running with the JK2 connector and I'm trying to
> replace it with the latest JK connector (JK-1.2.10), the reason being
> that JK2 is officially unsupported as of 15 Nov 2004 and we're
> experiencing a problem with truncated requests due to this connector.
>
>
>
> In Apache, I configured a worker called worker1 and I send everything
> from context /examples to this worker following
> http://jakarta.apache.org/tomcat/connectors-doc/howto/quick.html.
>
> The configuration looks fine, since I can see in the following lines in
> mod_jk.log:
>
>
>
> [Wed Apr 13 18:49:13 2005] [debug]
> uri_worker_map_add::jk_uri_worker_map.c (269): exact rule
> /examples=worker1 was added
>
> [Wed Apr 13 18:49:13 2005] [debug] build_worker_map::jk_worker.c (219):
> creating worker worker1
>
> [Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c (125):
> about to create instance worker1 of ajp13
>
> [Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c (138):
> about to validate and init worker1
>
> [Wed Apr 13 18:49:13 2005] [debug] ajp_validate::jk_ajp_common.c (1781):
> worker worker1 contact is 'localhost:6969'
>
>
>
> However, if I send a request, it doesn't get through and I get an error
> message in the browser.
>
> The log shows:
>
> [Wed Apr 13 18:50:16 2005] [info]
> ajp_connect_to_endpoint::jk_ajp_common.c (877): Failed connecting to
> tomcat. Tomcat is probably not started or is listening on the wrong
> host/port (127.0.0.1:6969). Failed errno = 61
>
> [Wed Apr 13 18:50:16 2005] [info]  ajp_send_request::jk_ajp_common.c
> (1227): Error connecting to the Tomcat process.
>
>
>
> What should I change in Tomcat configuration to have it work with JK
> instead of JK2 ?
>
> It is of course started and listening on port 6969. The configuration in
> server.xml looks like this:
>
>
>
> 
> port="6969" minProcessors="5" maxProcessors="75" enableLookups="true"
> redirectPort="8443" acceptCount="100" debug="0"
> connectionTimeout="2" useURIValidationHack="false"
> disableUploadTimeout="true"/>
>
>
>
> Thanks.
>
>
>
>
> -
> 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]


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



RE: apache + tomcat + JK connector configuration

2005-04-13 Thread Delphine Lê
thank you, but it's got them:

# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=6969
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.reclycle_timeout=300


> Post the workers.properties file.  You probably need to include these
> lines in that file:
>
> worker.list=worker1
> worker.worker1.port=6969
>
>
>
> -Original Message-
> From: Delphine Lê [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 13, 2005 2:01 PM
> To: tomcat-user@jakarta.apache.org
> Subject: apache + tomcat + JK connector configuration
>
>
> Hello,
>
>
>
> Has anyone had any success in configuring Apache (2.0.53) with Tomcat
> (4.1.29) in Windows XP, using a recent JK connector ?
>
> We have a server running with the JK2 connector and I'm trying to
> replace it with the latest JK connector (JK-1.2.10), the reason being
> that JK2 is officially unsupported as of 15 Nov 2004 and we're
> experiencing a problem with truncated requests due to this connector.
>
>
>
> In Apache, I configured a worker called worker1 and I send everything
> from context /examples to this worker following
> http://jakarta.apache.org/tomcat/connectors-doc/howto/quick.html.
>
> The configuration looks fine, since I can see in the following lines in
> mod_jk.log:
>
>
>
> [Wed Apr 13 18:49:13 2005] [debug]
> uri_worker_map_add::jk_uri_worker_map.c (269): exact rule
> /examples=worker1 was added
>
> [Wed Apr 13 18:49:13 2005] [debug] build_worker_map::jk_worker.c (219):
> creating worker worker1
>
> [Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c (125):
> about to create instance worker1 of ajp13
>
> [Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c (138):
> about to validate and init worker1
>
> [Wed Apr 13 18:49:13 2005] [debug] ajp_validate::jk_ajp_common.c (1781):
> worker worker1 contact is 'localhost:6969'
>
>
>
> However, if I send a request, it doesn't get through and I get an error
> message in the browser.
>
> The log shows:
>
> [Wed Apr 13 18:50:16 2005] [info]
> ajp_connect_to_endpoint::jk_ajp_common.c (877): Failed connecting to
> tomcat. Tomcat is probably not started or is listening on the wrong
> host/port (127.0.0.1:6969). Failed errno = 61
>
> [Wed Apr 13 18:50:16 2005] [info]  ajp_send_request::jk_ajp_common.c
> (1227): Error connecting to the Tomcat process.
>
>
>
> What should I change in Tomcat configuration to have it work with JK
> instead of JK2 ?
>
> It is of course started and listening on port 6969. The configuration in
> server.xml looks like this:
>
>
>
> 
> port="6969" minProcessors="5" maxProcessors="75" enableLookups="true"
> redirectPort="8443" acceptCount="100" debug="0"
> connectionTimeout="2" useURIValidationHack="false"
> disableUploadTimeout="true"/>
>
>
>
> Thanks.
>
>
>
>
> -
> 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]



RE: apache + tomcat + JK connector configuration

2005-04-13 Thread Trung Nguyen
Post the workers.properties file.  You probably need to include these lines in 
that file:

worker.list=worker1
worker.worker1.port=6969



-Original Message-
From: Delphine Lê [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 2:01 PM
To: tomcat-user@jakarta.apache.org
Subject: apache + tomcat + JK connector configuration


Hello,

 

Has anyone had any success in configuring Apache (2.0.53) with Tomcat
(4.1.29) in Windows XP, using a recent JK connector ?

We have a server running with the JK2 connector and I'm trying to
replace it with the latest JK connector (JK-1.2.10), the reason being
that JK2 is officially unsupported as of 15 Nov 2004 and we're
experiencing a problem with truncated requests due to this connector.

 

In Apache, I configured a worker called worker1 and I send everything
from context /examples to this worker following
http://jakarta.apache.org/tomcat/connectors-doc/howto/quick.html.

The configuration looks fine, since I can see in the following lines in
mod_jk.log:

 

[Wed Apr 13 18:49:13 2005] [debug]
uri_worker_map_add::jk_uri_worker_map.c (269): exact rule
/examples=worker1 was added

[Wed Apr 13 18:49:13 2005] [debug] build_worker_map::jk_worker.c (219):
creating worker worker1

[Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c (125):
about to create instance worker1 of ajp13

[Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c (138):
about to validate and init worker1

[Wed Apr 13 18:49:13 2005] [debug] ajp_validate::jk_ajp_common.c (1781):
worker worker1 contact is 'localhost:6969'

 

However, if I send a request, it doesn't get through and I get an error
message in the browser.

The log shows:

[Wed Apr 13 18:50:16 2005] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (877): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:6969). Failed errno = 61

[Wed Apr 13 18:50:16 2005] [info]  ajp_send_request::jk_ajp_common.c
(1227): Error connecting to the Tomcat process.

 

What should I change in Tomcat configuration to have it work with JK
instead of JK2 ? 

It is of course started and listening on port 6969. The configuration in
server.xml looks like this:

 



 

Thanks.

 


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



apache + tomcat + JK connector configuration

2005-04-13 Thread Delphine Lê
Hello,

 

Has anyone had any success in configuring Apache (2.0.53) with Tomcat
(4.1.29) in Windows XP, using a recent JK connector ?

We have a server running with the JK2 connector and I'm trying to
replace it with the latest JK connector (JK-1.2.10), the reason being
that JK2 is officially unsupported as of 15 Nov 2004 and we're
experiencing a problem with truncated requests due to this connector.

 

In Apache, I configured a worker called worker1 and I send everything
from context /examples to this worker following
http://jakarta.apache.org/tomcat/connectors-doc/howto/quick.html.

The configuration looks fine, since I can see in the following lines in
mod_jk.log:

 

[Wed Apr 13 18:49:13 2005] [debug]
uri_worker_map_add::jk_uri_worker_map.c (269): exact rule
/examples=worker1 was added

[Wed Apr 13 18:49:13 2005] [debug] build_worker_map::jk_worker.c (219):
creating worker worker1

[Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c (125):
about to create instance worker1 of ajp13

[Wed Apr 13 18:49:13 2005] [debug] wc_create_worker::jk_worker.c (138):
about to validate and init worker1

[Wed Apr 13 18:49:13 2005] [debug] ajp_validate::jk_ajp_common.c (1781):
worker worker1 contact is 'localhost:6969'

 

However, if I send a request, it doesn't get through and I get an error
message in the browser.

The log shows:

[Wed Apr 13 18:50:16 2005] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (877): Failed connecting to
tomcat. Tomcat is probably not started or is listening on the wrong
host/port (127.0.0.1:6969). Failed errno = 61

[Wed Apr 13 18:50:16 2005] [info]  ajp_send_request::jk_ajp_common.c
(1227): Error connecting to the Tomcat process.

 

What should I change in Tomcat configuration to have it work with JK
instead of JK2 ? 

It is of course started and listening on port 6969. The configuration in
server.xml looks like this:

 



 

Thanks.

 



Apache Tomcat &JK connector

2004-07-07 Thread adamk1
I hope that people on this list can help me. I have been trying to install Apache and 
Tomcat 
on a Solaris 9 machine. I have had success up to the point of apache and tomcat 
working. I am 
working on getting the JK connector to work. I was using the documentation provided 
at: 

http://johnturner.com/howto/apache2-tomcat4112-sol8-howto.html 

as a guide. Unfortunately I have run into a problem after running the 

./configure --with-apxs=/some/path/to/apache2/bin/apxs 

This configure seemed to work, but when I tried to run the make i got an error stating:

*** Error code 1
make: Fatal error: Command failed for target 'mod_jk.so'
Current working directory /usr/local/src/jakarta-tomcat-connectors-jk-1.2.5-
src/jk/native/apache-2.0
*** Error code 1
make: Fatal error: Command failed for target 'all-recursive'

I am trying to work with the 1.2.5 JK connector
apache 2.0.49 and Tomcat 5.0.27

I appreciate any help or suggestions that you can provide.

Adam



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