RE: Connector for apache and tomcat

2005-06-16 Thread Christine Ho
I fixed the problem already.

thanks,
Christine

--- Christine Ho [EMAIL PROTECTED] wrote:

 Thanks. I have tried it and I still cant make it
 work.
 But it is better than before. I got HTTP status 404
 -
 /jsp-eg/index.html. 
 
 In error.log in apache, I got the following:
 
 [Wed Jun 15 15:33:04 2005] [emerg] No JkShmFile
 defined in httpd.conf. LoadBalancer will not
 function
 properly!
 No JkShmFile defined in httpd.conf. LoadBalancer
 will
 not function properly!
 [Wed Jun 15 15:33:08 2005] [emerg] No JkShmFile
 defined in httpd.conf. LoadBalancer will not
 function
 properly!
 
 In mod_jk.log in apache, I got the following:
 
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_connection_tcp_get_message::jk_ajp_common.c
 (1024): received from ajp13 pos=0 len=96 max=8192
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_unmarshal_response::jk_ajp_common.c (606):
 status
 = 404
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_unmarshal_response::jk_ajp_common.c (613):
 Number
 of headers is = 2
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_unmarshal_response::jk_ajp_common.c (669):
 Header[0] [Content-Type] = [text/html;charset=utf-8]
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_unmarshal_response::jk_ajp_common.c (669):
 Header[1] [Content-Length] = [1019]
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_connection_tcp_get_message::jk_ajp_common.c
 (1024): received from ajp13 pos=0 len=1023 max=8192
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ws_write::mod_jk.c (380): writing 1019 (1019) out of
 1019
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_connection_tcp_get_message::jk_ajp_common.c
 (1024): received from ajp13 pos=0 len=2 max=8192
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 ajp_done::jk_ajp_common.c (2046): recycling
 connection
 cache slot=0 for worker ajp13
 [Wed Jun 15 16:42:34 2005] [3800:] [debug]
 jk_handler::mod_jk.c (1959): Service finished with
 status=404 for worker=ajp13
 
 I am not sure what went wrong.
 
 In httpd.conf in apache, I added/modified the
 following lines:
 
 ServerRoot /export/chrisho/apache2
 
 LoadModule jk_module libexec/mod_jk.so
 
 Directory

/export/chrisho/jakarta-tomcat-5.5.9/webapps/jsp-examples/WEB-INF
   Options -Indexes FollowSymLinks
   Deny from all
 /Directory
 
 JkWorkersFile conf/workers.properties
 JkLogfile logs/mod_jk.log
 JkLogLevel debug
 
 Alias /jsp-eg

/export/chrisho/jakarta-tomcat-5.5.9/webapps/jsp-examples
 Alias /servlets-eg

/export/chrisho/jakarta-tomcat-5.5.9/webapps/servlets-examples
 
 JkMount /jsp-eg/*.jsp ajp13
 JkMount /jsp-eg/*.html ajp13
 JkMount /servlets-eg/*.html ajp13
 
 The workers.properties in apache2 looks like the
 following:
 

workers.tomcat_home=/export/chrisho/jakarta-tomcat-5.5.9
 ps=/
 worker.list=ajp13
 worker.ajp13.port=8009
 worker.ajp13.host=localhost
 worker.ajp13.type=ajp13
 worker.ajp13.lbfactor=1
 
 
 In server.xml in tomcat 5.5.9, I added/modified the
 following lines:
 
 Listener
 className=org.apache.jk.config.ApacheConfig
   configHome=/export/chrisho/jakarta-tomcat-5.5.9
   modJk=/export/chrisho/apache2/libexec/mod_jk.so
   jkWorker=ajp13
   forwardAll=False
   jkLog=/export/chrisho/apache2/logs/jk-tomcat.log
   jkDebug=debug
   noRoot=False
  

workersConfig=/export/chrisho/apache2/conf/workers.properties
 /
 Connector port=8009

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
 redirectPort=8443 protocol=AJP/1.3 /
 
 Then I restart the tomcat and apache respectively. I
 have no problem to go to the following link through
 tomcat:
 
 http://localhost:8080/jsp-examples/index.html
 
 But I have problem to go to the following link
 through
 apache:
 
 http://localhost/jsp-eg/index.html
 
 Can somebody please help me.
 
 thanks,
 Christine
 
 
 --- [EMAIL PROTECTED] wrote:
 
  Please refer to message 128209 for a complete
 howto.
  
   
  
  Request it by sending an email to :
  
   
  
  [EMAIL PROTECTED]
  
   
  
   
  
  
 
 
 
   
 __ 
 Discover Yahoo! 
 Get on-the-go sports scores, stock quotes, news and
 more. Check it out! 
 http://discover.yahoo.com/mobile.html
 

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



RE: Connector for apache and tomcat

2005-06-16 Thread luc_boudreau
Please verify first that you did not added a secont connector on port 8009 in 
tomcat/conf/server.xml for they cannot listen both on the same port.

Second, the instructions i've provided are for mod_jk.so version 1 minor 13. 
Please make sure you've got the right module library. It seems to me that your 
module is expecting something that I didn't configure and This particular 
configuration works fine for me.

Luc Boudreau
Universit du Qubec
Canada


-Message d'origine-
De: Christine Ho [mailto:[EMAIL PROTECTED] 
Envoy: 15 juin 2005 20:15
: Tomcat Users List
Objet: RE: Connector for apache and tomcat

Thanks. I have tried it and I still cant make it work.
But it is better than before. I got HTTP status 404 -
/jsp-eg/index.html. 

In error.log in apache, I got the following:

[Wed Jun 15 15:33:04 2005] [emerg] No JkShmFile
defined in httpd.conf. LoadBalancer will not function
properly!
No JkShmFile defined in httpd.conf. LoadBalancer will
not function properly!
[Wed Jun 15 15:33:08 2005] [emerg] No JkShmFile
defined in httpd.conf. LoadBalancer will not function
properly!

In mod_jk.log in apache, I got the following:

[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1024): received from ajp13 pos=0 len=96 max=8192
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (606): status
= 404
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (613): Number
of headers is = 2
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (669):
Header[0] [Content-Type] = [text/html;charset=utf-8]
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (669):
Header[1] [Content-Length] = [1019]
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1024): received from ajp13 pos=0 len=1023 max=8192
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ws_write::mod_jk.c (380): writing 1019 (1019) out of
1019
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1024): received from ajp13 pos=0 len=2 max=8192
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_done::jk_ajp_common.c (2046): recycling connection
cache slot=0 for worker ajp13
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
jk_handler::mod_jk.c (1959): Service finished with
status=404 for worker=ajp13

I am not sure what went wrong.

In httpd.conf in apache, I added/modified the
following lines:

ServerRoot /export/chrisho/apache2

LoadModule jk_module libexec/mod_jk.so

Directory
/export/chrisho/jakarta-tomcat-5.5.9/webapps/jsp-examples/WEB-INF
  Options -Indexes FollowSymLinks
  Deny from all
/Directory

JkWorkersFile conf/workers.properties
JkLogfile logs/mod_jk.log
JkLogLevel debug

Alias /jsp-eg
/export/chrisho/jakarta-tomcat-5.5.9/webapps/jsp-examples
Alias /servlets-eg
/export/chrisho/jakarta-tomcat-5.5.9/webapps/servlets-examples

JkMount /jsp-eg/*.jsp ajp13
JkMount /jsp-eg/*.html ajp13
JkMount /servlets-eg/*.html ajp13

The workers.properties in apache2 looks like the
following:

workers.tomcat_home=/export/chrisho/jakarta-tomcat-5.5.9
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1


In server.xml in tomcat 5.5.9, I added/modified the
following lines:

Listener
className=org.apache.jk.config.ApacheConfig
  configHome=/export/chrisho/jakarta-tomcat-5.5.9
  modJk=/export/chrisho/apache2/libexec/mod_jk.so
  jkWorker=ajp13
  forwardAll=False
  jkLog=/export/chrisho/apache2/logs/jk-tomcat.log
  jkDebug=debug
  noRoot=False
 
workersConfig=/export/chrisho/apache2/conf/workers.properties
/
Connector port=8009
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
redirectPort=8443 protocol=AJP/1.3 /

Then I restart the tomcat and apache respectively. I
have no problem to go to the following link through
tomcat:

http://localhost:8080/jsp-examples/index.html

But I have problem to go to the following link through
apache:

http://localhost/jsp-eg/index.html

Can somebody please help me.

thanks,
Christine


--- [EMAIL PROTECTED] wrote:

 Please refer to message 128209 for a complete howto.
 
  
 
 Request it by sending an email to :
 
  
 
 [EMAIL PROTECTED]
 
  
 
  
 
 




__ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html

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



RE: Connector for apache and tomcat

2005-06-15 Thread luc_boudreau
Please refer to message 128209 for a complete howto.

 

Request it by sending an email to :

 

[EMAIL PROTECTED]

 

 



RE: Connector for apache and tomcat

2005-06-15 Thread Christine Ho
Thanks. I have tried it and I still cant make it work.
But it is better than before. I got HTTP status 404 -
/jsp-eg/index.html. 

In error.log in apache, I got the following:

[Wed Jun 15 15:33:04 2005] [emerg] No JkShmFile
defined in httpd.conf. LoadBalancer will not function
properly!
No JkShmFile defined in httpd.conf. LoadBalancer will
not function properly!
[Wed Jun 15 15:33:08 2005] [emerg] No JkShmFile
defined in httpd.conf. LoadBalancer will not function
properly!

In mod_jk.log in apache, I got the following:

[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1024): received from ajp13 pos=0 len=96 max=8192
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (606): status
= 404
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (613): Number
of headers is = 2
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (669):
Header[0] [Content-Type] = [text/html;charset=utf-8]
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_unmarshal_response::jk_ajp_common.c (669):
Header[1] [Content-Length] = [1019]
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1024): received from ajp13 pos=0 len=1023 max=8192
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ws_write::mod_jk.c (380): writing 1019 (1019) out of
1019
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c
(1024): received from ajp13 pos=0 len=2 max=8192
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
ajp_done::jk_ajp_common.c (2046): recycling connection
cache slot=0 for worker ajp13
[Wed Jun 15 16:42:34 2005] [3800:] [debug]
jk_handler::mod_jk.c (1959): Service finished with
status=404 for worker=ajp13

I am not sure what went wrong.

In httpd.conf in apache, I added/modified the
following lines:

ServerRoot /export/chrisho/apache2

LoadModule jk_module libexec/mod_jk.so

Directory
/export/chrisho/jakarta-tomcat-5.5.9/webapps/jsp-examples/WEB-INF
  Options -Indexes FollowSymLinks
  Deny from all
/Directory

JkWorkersFile conf/workers.properties
JkLogfile logs/mod_jk.log
JkLogLevel debug

Alias /jsp-eg
/export/chrisho/jakarta-tomcat-5.5.9/webapps/jsp-examples
Alias /servlets-eg
/export/chrisho/jakarta-tomcat-5.5.9/webapps/servlets-examples

JkMount /jsp-eg/*.jsp ajp13
JkMount /jsp-eg/*.html ajp13
JkMount /servlets-eg/*.html ajp13

The workers.properties in apache2 looks like the
following:

workers.tomcat_home=/export/chrisho/jakarta-tomcat-5.5.9
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1


In server.xml in tomcat 5.5.9, I added/modified the
following lines:

Listener
className=org.apache.jk.config.ApacheConfig
  configHome=/export/chrisho/jakarta-tomcat-5.5.9
  modJk=/export/chrisho/apache2/libexec/mod_jk.so
  jkWorker=ajp13
  forwardAll=False
  jkLog=/export/chrisho/apache2/logs/jk-tomcat.log
  jkDebug=debug
  noRoot=False
 
workersConfig=/export/chrisho/apache2/conf/workers.properties
/
Connector port=8009
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
redirectPort=8443 protocol=AJP/1.3 /

Then I restart the tomcat and apache respectively. I
have no problem to go to the following link through
tomcat:

http://localhost:8080/jsp-examples/index.html

But I have problem to go to the following link through
apache:

http://localhost/jsp-eg/index.html

Can somebody please help me.

thanks,
Christine


--- [EMAIL PROTECTED] wrote:

 Please refer to message 128209 for a complete howto.
 
  
 
 Request it by sending an email to :
 
  
 
 [EMAIL PROTECTED]
 
  
 
  
 
 




__ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html

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



RE: Connector on Solaris 10

2005-04-04 Thread Dale, Matt

Are you saying that you can't get gcc to work? This would be why you are having 
difficulty compling JK. Get gcc to work then worry about the connector.

Ta
Matt

-Original Message-
From: jefou [mailto:[EMAIL PROTECTED]
Sent: 04 April 2005 17:00
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Connector on Solaris 10


Hello, 

I have setup Solaris 10 OS on AMD64 and I am trying to build the JK connector 
for Apache2 with Tomcat5, but I am not having any success at all with neither 
the Solaris nor the GNU gcc compiler. This is the only missing piece for my 
64-bit java framework. I would hate to have Tomcat serve my static content or 
use a different OS just because of this problem.

Did anyone compile the JK connector on a i86 64-bit architecture? Does anyone 
know where I could find a compiled version of the jk_mod.so for AMD64 solaris 
or where I could get more information? 

Much appreciated, 
Jeff 





Sent via the YourWebPro EMail system at yourwebpro.com


 
   

-
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: Connector on Solaris 10

2005-04-04 Thread jefou
gcc is working fine when compiling simple c programs.


-- Original Message --
From: Dale, Matt [EMAIL PROTECTED]
Date:  Mon, 4 Apr 2005 17:13:04 +0100


Are you saying that you can't get gcc to work? This would be why you are having 
difficulty compling JK. Get gcc to work then worry about the connector.

Ta
Matt

-Original Message-
From: jefou [mailto:[EMAIL PROTECTED]
Sent: 04 April 2005 17:00
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
Subject: Connector on Solaris 10


Hello, 

I have setup Solaris 10 OS on AMD64 and I am trying to build the JK connector 
for Apache2 with Tomcat5, but I am not having any success at all with neither 
the Solaris nor the GNU gcc compiler. This is the only missing piece for my 
64-bit java framework. I would hate to have Tomcat serve my static content or 
use a different OS just because of this problem.

Did anyone compile the JK connector on a i86 64-bit architecture? Does anyone 
know where I could find a compiled version of the jk_mod.so for AMD64 solaris 
or where I could get more information? 

Much appreciated, 
Jeff 





Sent via the YourWebPro EMail system at yourwebpro.com


 
   

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


 





Sent via the YourWebPro EMail system at yourwebpro.com


 
   

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



Re: Connector on Solaris 10

2005-04-04 Thread QM
On Mon, Apr 04, 2005 at 10:59:52AM -0500, jefou wrote:
: I have setup Solaris 10 OS on AMD64 and I am trying to build the JK connector 
for Apache2 with Tomcat5, but I am not having any success at all with neither 
the Solaris nor the GNU gcc compiler.

What errors do you see?

-QM

-- 

software   -- http://www.brandxdev.net/
tech news  -- http://www.RoarNetworX.com/
code scan  -- http://www.JxRef.org/

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



RE: Connector debug

2004-12-07 Thread Allistair Crossley
debug attributes don't do much and are gone in 5.5. to get debugging, configure 
it at the jk connector side.

Alistair.

 -Original Message-
 From: David Dankwerth [mailto:[EMAIL PROTECTED]
 Sent: 07 December 2004 13:49
 To: Tomcat Users List
 Subject: Connector debug 
 
 
 Hello
 
 I am trying to enable the debug on the AJP connector.
 (Tomcat 5.0.28)
 
 My server.xml contains :
 Connector port=8009
enableLookups=false redirectPort=8443 debug=11
protocol=AJP/1.3 /
 
 However , i cant see anything in the log.
 
 Any idea ?
 
 Thanks
 David
 
 __
 __
 This e-mail and its attachments are confidential. If you are 
 not the intended recipient of this e-mail message, please 
 telephone or e-mail us immediately, delete this message from 
 your system and do not read, copy, distribute, disclose or 
 otherwise use this e-mail message and any attachments. 
 
 Although ri3k believes this e-mail and any attachments to be 
 free of any virus or other defect which may affect your 
 computer, it is the responsibility of the recipient to ensure 
 that it is virus free and ri3k does not accept any 
 responsibility for any loss or damage in any way from its use.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



Re: Connector debug

2004-12-07 Thread David Dankwerth
Hi
Thanks for the answer , i am trying to see what the tomcat side of the 
connection does
rather than what mod_jk does.

Are you saying that tomcat 5.5 docs may be more useful ?
Thanks
David D
Allistair Crossley wrote:
debug attributes don't do much and are gone in 5.5. to get debugging, configure 
it at the jk connector side.
Alistair.
 

-Original Message-
From: David Dankwerth [mailto:[EMAIL PROTECTED]
Sent: 07 December 2004 13:49
To: Tomcat Users List
Subject: Connector debug 

Hello
I am trying to enable the debug on the AJP connector.
(Tomcat 5.0.28)
My server.xml contains :
   Connector port=8009
  enableLookups=false redirectPort=8443 debug=11
  protocol=AJP/1.3 /
However , i cant see anything in the log.
Any idea ?
Thanks
David
__
__
This e-mail and its attachments are confidential. If you are 
not the intended recipient of this e-mail message, please 
telephone or e-mail us immediately, delete this message from 
your system and do not read, copy, distribute, disclose or 
otherwise use this e-mail message and any attachments. 

Although ri3k believes this e-mail and any attachments to be 
free of any virus or other defect which may affect your 
computer, it is the responsibility of the recipient to ensure 
that it is virus free and ri3k does not accept any 
responsibility for any loss or damage in any way from its use.

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


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT

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



This e-mail and its attachments are confidential. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. 

Although ri3k believes this e-mail and any attachments to be free of any virus 
or other defect which may affect your computer, it is the responsibility of the 
recipient to ensure that it is virus free and ri3k does not accept any 
responsibility for any loss or damage in any way from its use.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Connector debug

2004-12-07 Thread Allistair Crossley
no tomcat 5.5. docs won't help you. what are you trying to find out? the only 
way I think you could hope to get tomcat-side ajp logging is via a log4j 
config, however a tomcat dev is prob. best placed to confirm or reject that.

 -Original Message-
 From: David Dankwerth [mailto:[EMAIL PROTECTED]
 Sent: 07 December 2004 13:58
 To: Tomcat Users List
 Subject: Re: Connector debug
 
 
 Hi
 
 Thanks for the answer , i am trying to see what the tomcat 
 side of the 
 connection does
 rather than what mod_jk does.
 
 Are you saying that tomcat 5.5 docs may be more useful ?
 
 Thanks
 David D
 
 Allistair Crossley wrote:
 
 debug attributes don't do much and are gone in 5.5. to get 
 debugging, configure it at the jk connector side.
 
 Alistair.
 
   
 
 -Original Message-
 From: David Dankwerth [mailto:[EMAIL PROTECTED]
 Sent: 07 December 2004 13:49
 To: Tomcat Users List
 Subject: Connector debug 
 
 
 Hello
 
 I am trying to enable the debug on the AJP connector.
 (Tomcat 5.0.28)
 
 My server.xml contains :
 Connector port=8009
enableLookups=false redirectPort=8443 debug=11
protocol=AJP/1.3 /
 
 However , i cant see anything in the log.
 
 Any idea ?
 
 Thanks
 David
 
 __
 __
 This e-mail and its attachments are confidential. If you are 
 not the intended recipient of this e-mail message, please 
 telephone or e-mail us immediately, delete this message from 
 your system and do not read, copy, distribute, disclose or 
 otherwise use this e-mail message and any attachments. 
 
 Although ri3k believes this e-mail and any attachments to be 
 free of any virus or other defect which may affect your 
 computer, it is the responsibility of the recipient to ensure 
 that it is virus free and ri3k does not accept any 
 responsibility for any loss or damage in any way from its use.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
   
 
 
 
 __
 __
 This e-mail and its attachments are confidential. If you are 
 not the intended recipient of this e-mail message, please 
 telephone or e-mail us immediately, delete this message from 
 your system and do not read, copy, distribute, disclose or 
 otherwise use this e-mail message and any attachments. 
 
 Although ri3k believes this e-mail and any attachments to be 
 free of any virus or other defect which may affect your 
 computer, it is the responsibility of the recipient to ensure 
 that it is virus free and ri3k does not accept any 
 responsibility for any loss or damage in any way from its use.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



Re: Connector debug

2004-12-07 Thread David Dankwerth
Hi
Browsed through 5.5 docs , and yes , they didnt help much.
I am trying to find out how many connector threads are running , what 
are they doing (serving) , how many spare do i have ...
I have a feeling (not the best way to describe it) that some threads 
are not released and i will hit the maxThreads trash hold.

Any idea how can i find these details ?
Thanks
David
Allistair Crossley wrote:
no tomcat 5.5. docs won't help you. what are you trying to find out? the only 
way I think you could hope to get tomcat-side ajp logging is via a log4j 
config, however a tomcat dev is prob. best placed to confirm or reject that.
 

-Original Message-
From: David Dankwerth [mailto:[EMAIL PROTECTED]
Sent: 07 December 2004 13:58
To: Tomcat Users List
Subject: Re: Connector debug
Hi
Thanks for the answer , i am trying to see what the tomcat 
side of the 
connection does
rather than what mod_jk does.

Are you saying that tomcat 5.5 docs may be more useful ?
Thanks
David D
Allistair Crossley wrote:
   

debug attributes don't do much and are gone in 5.5. to get 
 

debugging, configure it at the jk connector side.
   

Alistair.

 

-Original Message-
From: David Dankwerth [mailto:[EMAIL PROTECTED]
Sent: 07 December 2004 13:49
To: Tomcat Users List
Subject: Connector debug 

Hello
I am trying to enable the debug on the AJP connector.
(Tomcat 5.0.28)
My server.xml contains :
  Connector port=8009
 enableLookups=false redirectPort=8443 debug=11
 protocol=AJP/1.3 /
However , i cant see anything in the log.
Any idea ?
Thanks
David
__
__
This e-mail and its attachments are confidential. If you are 
not the intended recipient of this e-mail message, please 
telephone or e-mail us immediately, delete this message from 
your system and do not read, copy, distribute, disclose or 
otherwise use this e-mail message and any attachments. 

Although ri3k believes this e-mail and any attachments to be 
free of any virus or other defect which may affect your 
computer, it is the responsibility of the recipient to ensure 
that it is virus free and ri3k does not accept any 
responsibility for any loss or damage in any way from its use.


   

-
   

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

   

FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT

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

 

__
__
This e-mail and its attachments are confidential. If you are 
not the intended recipient of this e-mail message, please 
telephone or e-mail us immediately, delete this message from 
your system and do not read, copy, distribute, disclose or 
otherwise use this e-mail message and any attachments. 

Although ri3k believes this e-mail and any attachments to be 
free of any virus or other defect which may affect your 
computer, it is the responsibility of the recipient to ensure 
that it is virus free and ri3k does not accept any 
responsibility for any loss or damage in any way from its use.

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


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT

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



This e-mail and its attachments are confidential. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. 

Although ri3k believes this e-mail and any attachments to be free of any virus 
or other defect which may affect your computer, it is the responsibility of the 
recipient to ensure that it is virus free and ri3k does not accept any 
responsibility for any loss or damage in any way from its use

RE: Connector debug

2004-12-07 Thread Allistair Crossley
something like JProfiler or JProbe could help, they show the request processors 
and which state the threads are in. they even colour them in.

Allistair.

 -Original Message-
 From: David Dankwerth [mailto:[EMAIL PROTECTED]
 Sent: 07 December 2004 14:30
 To: Tomcat Users List
 Subject: Re: Connector debug
 
 
 Hi
 
 Browsed through 5.5 docs , and yes , they didnt help much.
 I am trying to find out how many connector threads are running , what 
 are they doing (serving) , how many spare do i have ...
 I have a feeling (not the best way to describe it) that 
 some threads 
 are not released and i will hit the maxThreads trash hold.
 
 Any idea how can i find these details ?
 
 Thanks
 David
 
 Allistair Crossley wrote:
 
 no tomcat 5.5. docs won't help you. what are you trying to 
 find out? the only way I think you could hope to get 
 tomcat-side ajp logging is via a log4j config, however a 
 tomcat dev is prob. best placed to confirm or reject that.
 
   
 
 -Original Message-
 From: David Dankwerth [mailto:[EMAIL PROTECTED]
 Sent: 07 December 2004 13:58
 To: Tomcat Users List
 Subject: Re: Connector debug
 
 
 Hi
 
 Thanks for the answer , i am trying to see what the tomcat 
 side of the 
 connection does
 rather than what mod_jk does.
 
 Are you saying that tomcat 5.5 docs may be more useful ?
 
 Thanks
 David D
 
 Allistair Crossley wrote:
 
 
 
 debug attributes don't do much and are gone in 5.5. to get 
   
 
 debugging, configure it at the jk connector side.
 
 
 Alistair.
 
  
 
   
 
 -Original Message-
 From: David Dankwerth [mailto:[EMAIL PROTECTED]
 Sent: 07 December 2004 13:49
 To: Tomcat Users List
 Subject: Connector debug 
 
 
 Hello
 
 I am trying to enable the debug on the AJP connector.
 (Tomcat 5.0.28)
 
 My server.xml contains :
Connector port=8009
   enableLookups=false redirectPort=8443 debug=11
   protocol=AJP/1.3 /
 
 However , i cant see anything in the log.
 
 Any idea ?
 
 Thanks
 David
 
 __
 __
 This e-mail and its attachments are confidential. If you are 
 not the intended recipient of this e-mail message, please 
 telephone or e-mail us immediately, delete this message from 
 your system and do not read, copy, distribute, disclose or 
 otherwise use this e-mail message and any attachments. 
 
 Although ri3k believes this e-mail and any attachments to be 
 free of any virus or other defect which may affect your 
 computer, it is the responsibility of the recipient to ensure 
 that it is virus free and ri3k does not accept any 
 responsibility for any loss or damage in any way from its use.
 
 
 
 
 -
 
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: 
 [EMAIL PROTECTED]
 
 

 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 
 ---
 --
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: 
 [EMAIL PROTECTED]
 
  
 
   
 
 __
 __
 This e-mail and its attachments are confidential. If you are 
 not the intended recipient of this e-mail message, please 
 telephone or e-mail us immediately, delete this message from 
 your system and do not read, copy, distribute, disclose or 
 otherwise use this e-mail message and any attachments. 
 
 Although ri3k believes this e-mail and any attachments to be 
 free of any virus or other defect which may affect your 
 computer, it is the responsibility of the recipient to ensure 
 that it is virus free and ri3k does not accept any 
 responsibility for any loss or damage in any way from its use.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
 ---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
   
 
 
 
 __
 __
 This e-mail and its attachments are confidential. If you are 
 not the intended recipient of this e

Re: Connector debug

2004-12-07 Thread David Dankwerth
Thanks for the help
ill have a go at one of these profilers
Thanks again
David D
Allistair Crossley wrote:
something like JProfiler or JProbe could help, they show the request processors 
and which state the threads are in. they even colour them in.
Allistair.
 

-Original Message-
From: David Dankwerth [mailto:[EMAIL PROTECTED]
Sent: 07 December 2004 14:30
To: Tomcat Users List
Subject: Re: Connector debug
Hi
Browsed through 5.5 docs , and yes , they didnt help much.
I am trying to find out how many connector threads are running , what 
are they doing (serving) , how many spare do i have ...
I have a feeling (not the best way to describe it) that 
some threads 
are not released and i will hit the maxThreads trash hold.

Any idea how can i find these details ?
Thanks
David
Allistair Crossley wrote:
   

no tomcat 5.5. docs won't help you. what are you trying to 
 

find out? the only way I think you could hope to get 
tomcat-side ajp logging is via a log4j config, however a 
tomcat dev is prob. best placed to confirm or reject that.
   


 

-Original Message-
From: David Dankwerth [mailto:[EMAIL PROTECTED]
Sent: 07 December 2004 13:58
To: Tomcat Users List
Subject: Re: Connector debug
Hi
Thanks for the answer , i am trying to see what the tomcat 
side of the 
connection does
rather than what mod_jk does.

Are you saying that tomcat 5.5 docs may be more useful ?
Thanks
David D
Allistair Crossley wrote:
  

   

debug attributes don't do much and are gone in 5.5. to get 


 

debugging, configure it at the jk connector side.
  

   

Alistair.



 

-Original Message-
From: David Dankwerth [mailto:[EMAIL PROTECTED]
Sent: 07 December 2004 13:49
To: Tomcat Users List
Subject: Connector debug 

Hello
I am trying to enable the debug on the AJP connector.
(Tomcat 5.0.28)
My server.xml contains :
 Connector port=8009
enableLookups=false redirectPort=8443 debug=11
protocol=AJP/1.3 /
However , i cant see anything in the log.
Any idea ?
Thanks
David
__
__
This e-mail and its attachments are confidential. If you are 
not the intended recipient of this e-mail message, please 
telephone or e-mail us immediately, delete this message from 
your system and do not read, copy, distribute, disclose or 
otherwise use this e-mail message and any attachments. 

Although ri3k believes this e-mail and any attachments to be 
free of any virus or other defect which may affect your 
computer, it is the responsibility of the recipient to ensure 
that it is virus free and ri3k does not accept any 
responsibility for any loss or damage in any way from its use.


  

   

-
  

   

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

[EMAIL PROTECTED]
   

 

  

   

FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT

---
 

--
   

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

[EMAIL PROTECTED]
   



 

__
__
This e-mail and its attachments are confidential. If you are 
not the intended recipient of this e-mail message, please 
telephone or e-mail us immediately, delete this message from 
your system and do not read, copy, distribute, disclose or 
otherwise use this e-mail message and any attachments. 

Although ri3k believes this e-mail and any attachments to be 
free of any virus or other defect which may affect your 
computer, it is the responsibility of the recipient to ensure 
that it is virus free and ri3k does not accept any 
responsibility for any loss or damage in any way from its use.


   

-
   

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

   

FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT

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

 

__
__
This e-mail and its attachments are confidential. If you

Re: Connector debug

2004-12-07 Thread Sunitha Kumar
Hey folks:
Is there a way we could attach a debugger to an already running instance 
of tomcat?
JProfiler requires re-start of tomcat.
thanks,
-sunitha

David Dankwerth wrote:
Thanks for the help
ill have a go at one of these profilers
Thanks again
David D
Allistair Crossley wrote:
something like JProfiler or JProbe could help, they show the request 
processors and which state the threads are in. they even colour them in.

Allistair.
 

-Original Message-
From: David Dankwerth [mailto:[EMAIL PROTECTED]
Sent: 07 December 2004 14:30
To: Tomcat Users List
Subject: Re: Connector debug
Hi
Browsed through 5.5 docs , and yes , they didnt help much.
I am trying to find out how many connector threads are running , 
what are they doing (serving) , how many spare do i have ...
I have a feeling (not the best way to describe it) that some 
threads are not released and i will hit the maxThreads trash hold.

Any idea how can i find these details ?
Thanks
David
Allistair Crossley wrote:
  

no tomcat 5.5. docs won't help you. what are you trying to 
find out? the only way I think you could hope to get tomcat-side ajp 
logging is via a log4j config, however a tomcat dev is prob. best 
placed to confirm or reject that.
  




-Original Message-
From: David Dankwerth [mailto:[EMAIL PROTECTED]
Sent: 07 December 2004 13:58
To: Tomcat Users List
Subject: Re: Connector debug
Hi
Thanks for the answer , i am trying to see what the tomcat side of 
the connection does
rather than what mod_jk does.

Are you saying that tomcat 5.5 docs may be more useful ?
Thanks
David D
Allistair Crossley wrote:
 
  

debug attributes don't do much and are gone in 5.5. to get

debugging, configure it at the jk connector side.
 
  

Alistair.

   


-Original Message-
From: David Dankwerth [mailto:[EMAIL PROTECTED]
Sent: 07 December 2004 13:49
To: Tomcat Users List
Subject: Connector debug
Hello
I am trying to enable the debug on the AJP connector.
(Tomcat 5.0.28)
My server.xml contains :
 Connector port=8009
enableLookups=false redirectPort=8443 debug=11
protocol=AJP/1.3 /
However , i cant see anything in the log.
Any idea ?
Thanks
David
__
__
This e-mail and its attachments are confidential. If you are not 
the intended recipient of this e-mail message, please telephone 
or e-mail us immediately, delete this message from your system 
and do not read, copy, distribute, disclose or otherwise use 
this e-mail message and any attachments.
Although ri3k believes this e-mail and any attachments to be 
free of any virus or other defect which may affect your 
computer, it is the responsibility of the recipient to ensure 
that it is virus free and ri3k does not accept any 
responsibility for any loss or damage in any way from its use.


 
  

-
 
  

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

[EMAIL PROTECTED]
  

 

 
  
FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT

---


--
  

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

[EMAIL PROTECTED]
  

   

__
__
This e-mail and its attachments are confidential. If you are not 
the intended recipient of this e-mail message, please telephone or 
e-mail us immediately, delete this message from your system and do 
not read, copy, distribute, disclose or otherwise use this e-mail 
message and any attachments.
Although ri3k believes this e-mail and any attachments to be free 
of any virus or other defect which may affect your computer, it is 
the responsibility of the recipient to ensure that it is virus 
free and ri3k does not accept any responsibility for any loss or 
damage in any way from its use.


  

-
  

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 
  
FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT

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

[OT] connecting a profiler (WAS: Re: Connector debug)

2004-12-07 Thread QM

I've changed the subject, since this your question is effectively a new
train of thought.

On Tue, Dec 07, 2004 at 11:08:58AM -0800, Sunitha Kumar wrote:
: Is there a way we could attach a debugger to an already running instance 
: of tomcat?
: JProfiler requires re-start of tomcat.
: thanks,

Not likely, based on my experience.

The profilers I've used call your code for you -- they sit between your
code and the JVM.  If the JVM's already running without the profiler,
well...

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: [OT] connecting a profiler (WAS: Re: Connector debug)

2004-12-07 Thread James Black
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
QM wrote:
| I've changed the subject, since this your question is effectively a new
| train of thought.
|
| On Tue, Dec 07, 2004 at 11:08:58AM -0800, Sunitha Kumar wrote:
| : Is there a way we could attach a debugger to an already running
instance
| : of tomcat?
| : JProfiler requires re-start of tomcat.
| : thanks,
|
| Not likely, based on my experience.
|
| The profilers I've used call your code for you -- they sit between your
| code and the JVM.  If the JVM's already running without the profiler,
| well...
~  If you have tomcat already setup with the options so that JProfiler
can attach to it then you can attach a profiler at any point, but you do
pay a performance penalty for the option.
- --
If you are not living on the edge, you're taking too much room. Unknown
Blogs: http://jamesruminations.blogspot.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBtlB2J/zyYkX46joRAuLZAKCWKGbOrPCqkuE320RdMj2WWRKfygCgichL
0Z9jGR20LhLmhmoCzHnBnAI=
=L7AI
-END PGP SIGNATURE-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Connector build error

2004-03-22 Thread Adam Fowler
Hi,

This made me a bit miffed too. The developers have changed the
jk/native2/README.txt to explain how to do it natively. Here is the post to
the dev list below.

If you get some annoying message saying could not find library -lapr-0
then fear not. You either:
a) edit the jk/native2/server/apache2/Makefile file. Line 57 I think where
it says -lapr-0 and change it to -lapr. then run make again.
b) Install libapr-0.

I chose the first option and it worked fine. It puts the so file in
/build/jk2/apach2/ tho so be warned. Its a horrible horrible hack but it
will allegedly be fixed in the upcoming 2.0.4 release.

Adam.


Information on building mod_jk2:

  Starting with 2.0.4, APR is mandatory for jk2. For Apache 2.0
  or greater jk2 will use APR that was used to build Apache 2.0.
  For Apache 1.3, jk2 must build APR and APR_UTIL from source. 

DSO build instructions for Unix-like systems:

  The compiler used to build jk2 must match the one used to build
  Apache. You may need to set an environment variable before 
  configuring such as CC=cc. `apxs -q CC` will tell you what 
  compiler was used for Apache.

  The most straightforward way to configure jk2 is to use apxs 
  that comes with Apache. Linux distributions may need to have 
  additional rpm's installed such as Apache2 devel rpm, 
  httpd-devel or apache2-devel or for Apache 13, Apache devel 
  rpm, httpd-devel or apache-devel depending on your 
  distribution.

  Example Apache2 build and install:

cd jakarta-tomcat-connectors/jk/native2
./configure --with-apxs2=/your/path/to/apxs
make
cd ../build/jk2/apache2
apxs -n jk2 -i mod_jk2.so

  Example Apache13 build and install:

apr and apr-util will be configured and built for you while
configuring and building jk2. There is no need to separately
configure and build them. 

  cd jakarta-tomcat-connectors/jk/native2
  ./configure --with-apxs=/your/path/to/apxs \
  --with-apr=/your/path/to/apr-source \
  --with-apr-util=/your/path/to/apr-util-source
  make
  cd ../build/jk2/apache13
  apxs -n jk2 -i mod_jk2.so

NOTE: pthread support may be automatically detected and built
into apr. If apache13 was not built with pthread support, you
can either disable it by adding --disable-apr-threads while
configuring, or load the pthread library in httpd.conf using
the LoadFile directive.

  Optional configure arguments (for 1.3 and 2.0):

If you want to have JNI support, add --with-jni and be sure
to have the JAVA_HOME environment variable point to your Java
Environment. This will build inprocess jni support into
mod_jk2.so and additionally build libjkjni.so. libjkjni.so
can be used by tomcat to provide support for channel unix and
should be installed in the apache libexec dir. Use 
`apxs -q LIBEXECDIR` if you are unsure of its location. 
Libjkjni.so will be located in the same directory as 
mod_jk2.so after building with this option.

If you want to have PCRE (Perl Compatible Regular
Expressions) support for jk2 uri directives, add --with-pcre
while configuring.


-Original Message-
From: Rick Lutowski [mailto:[EMAIL PROTECTED]
Sent: 22 March 2004 17:01
To: Tomcat Users List
Subject: Connector build error


Am trying to build the .so connector to integrate tomcat 4.1.30
with apache 2.0.48 on debian linux.  Both tomcat and apache are
up and running just fine individually, but need a mod_jk2.so
Ajp13 connector to get a servlet working.

The current connectors source distribution 
jakarta-tomcat-connectors-jk2-2.0.2-src
fails as follows:

--

$ cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk
jk$ ant
Buildfile: build.xml

detect:
 [echo]  jakarta-tomcat-connectors 

prepare:

BUILD FAILED
/fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-j
k2-2.0.2-src/jk/build.xml:105: Warning: Could not find file
/fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-j
k2-2.0.2-src/coyote/build/lib/tomcat-coyote.jar to copy.

---

Sure enough, build/lib does not contain any tomcat-coyote.jar file.
In fact, lib is totally empty.  The current connector source distro
appears to be missing some needed files.

Well, all I need is the binary connector, so let's just try:



jk$ ant native
Buildfile: build.xml

jkant:

BUILD FAILED
/fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-j
k2-2.0.2-src/jk/build.xml:232: srcdir
/fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-
jk2-2.0.2-src/jk/jkant/java does not exist!



Turns out it is looking for a file jkant/java/ant.tasks,
which also does not exist in the current distro.

Can anyone supply
1. tomcat-coyote.jar
2. ant.tasks
 
or, better stiil

3. A complete version of the connectors source distro that works?

Thanks very much.

PS: apache 2.0.48 built flawlessly using 

Re: Connector build error

2004-03-22 Thread Rick Lutowski
Adam Fowler wrote:
 
 Hi,
 
 This made me a bit miffed too. The developers have changed the
 jk/native2/README.txt to explain how to do it natively. Here is the post to
 the dev list below.
 
 If you get some annoying message saying could not find library -lapr-0
 then fear not. You either:
 a) edit the jk/native2/server/apache2/Makefile file. Line 57 I think where
 it says -lapr-0 and change it to -lapr. then run make again.
 b) Install libapr-0.
 
 I chose the first option and it worked fine. It puts the so file in
 /build/jk2/apach2/ tho so be warned. Its a horrible horrible hack but it
 will allegedly be fixed in the upcoming 2.0.4 release.


Yes, this works.

Also, apache 2.0.48 contains an apr-0 lib, so the -1apr hack 
was not necessary with 2.0.48

Thanks for the assistance!

-- 
Rick Lutowski
Principal, JReality
[EMAIL PROTECTED]
http://www.jreality.com

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



RE: Connector processes

2004-03-05 Thread Shapira, Yoav

Hi,
Is there a way, from within a servlet, to find out what the maximum
number of processes has (maxProcessors attribute) and how many of them
are
in use?

Yes.  The code is of course tomcat-specific, not guaranteed to work in
future tomcat versions, and the servlet must be running in a privileged
webapp (set privileged=true for your context).  Then you'd crawl down
the tomcat container tree, e.g.:
Server server = ServerFactory.getServer();
Service service = server.findService(Catalina);
Connector[] connectors = service.findConnectors();
Etc., remaining steps are to find the connector you want, cast it to the
appropriate type (probably tomcat5 Coyote is what you have in mind), and
call getMaxProcessors.  As for how many are busy, I'm not sure at the
moment.

(All the above classes are in org.apache.catalina, the connector for
casting is org.apache.coyote.tomcat5.CoyoteConnector).  Catalina is
the default server.xml service name: the name in the code must match
what's in your server.xml, or alternatively you can iterate over all
services.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: Connector attribute serverSocketTimeout in server.xml

2003-12-29 Thread Bill Barker
Hume, John - NA US HQ Delray [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Can anyone point me in the direction of a resource to explain the
Connector
 attribute serverSocketTimeout?  I haven't found any reference to it in the
 jakarta site or this mailing list.  Thanks.


It's the value of SO_TIMEOUT for the ServerSocket.  I don't really recommend
messing with it unless you *really* know what you are doing :).


 -john.
 _
 john d. hume
  561-266-6256
  [EMAIL PROTECTED]




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



Re: Connector and MBean

2003-11-19 Thread Bill Barker
As long as you don't care that it doesn't work with the 'admin' webapp, and
you register the MBean correctly, it should work.

[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hello,

 I wrote my own Connector for Tomcat which have to be registered on the
 MbeanServer since version 4.1.
 Without registration, Tomcat throw an Exception ManagedBean is not found
 ... and the MBeanServer is not available for the Tomcat Administration.
 I tried to register the Connector using my own MBean description, but I
 just get an MalformedObjectNameException in the Class
 org.apache.catalina.mbeans.MBeanUtils, method createObjectName.

 A closer look into the source code shows that only connector instances of
 HttpConnector, org.apache.catalina.connector.http10.HttpConnector,
 org.apache.ajp.tomcat4.Ajp13Connector and
 org.apache.coyote.tomcat4.CoyoteConnector are supported. By all other
 Connectors an Exception is thrown.

 Am I right, it is not possible to register an another connector to the
 MBeanServer ?

 It would suffice first to look on the MBeanServer if an MBean already
exist
 for a Object, instead of always trying to create one.
 In this case the connector could register himself on the MBeanServer.



 /**
  * Create an codeObjectName/code for this
  * codeConnector/code object.
  *
  * @param domain Domain in which this name is to be created
  * @param connector The Connector to be named
  *
  * @exception MalformedObjectNameException if a name cannot be created
  */
 public static ObjectName createObjectName(String domain,
 Connector connector)
 throws MalformedObjectNameException {

 ObjectName name = null;
 if (connector instanceof HttpConnector) {
 HttpConnector httpConnector = (HttpConnector) connector;
 Service service = httpConnector.getService();
 String serviceName = null;
 if (service != null)
 serviceName = service.getName();
 name = new ObjectName(domain + :type=Connector +
   ,service= + serviceName +
   ,port= + httpConnector.getPort() +
   ,address= + httpConnector.getAddress
 ());
 return (name);
 } else if (connector instanceof
 org.apache.catalina.connector.http10.HttpConnector) {
 org.apache.catalina.connector.http10.HttpConnector
 httpConnector =
 (org.apache.catalina.connector.http10.HttpConnector)
 connector;
 Service service = httpConnector.getService();
 String serviceName = null;
 if (service != null)
 serviceName = service.getName();
 name = new ObjectName(domain + :type=Connector +
   ,service= + serviceName+
   ,port= + httpConnector.getPort() +
   ,address= + httpConnector.getAddress
 ());
 return (name);
 } else if (org.apache.ajp.tomcat4.Ajp13Connector.equals
(connector.getClass().getName())) {
 try {
 String address = (String)
 PropertyUtils.getSimpleProperty(connector, address);
 Integer port = (Integer)
 PropertyUtils.getSimpleProperty(connector, port);
 Service service = connector.getService();
 String serviceName = null;
 if (service != null)
 serviceName = service.getName();
 name = new ObjectName(domain + :type=Connector +
   ,service= + serviceName +
   ,port= + port +
   ,address= + address);
 return (name);
 } catch (Exception e) {
 throw new MalformedObjectNameException
 (Cannot create object name for  + connector+e);
 }
 } else if (org.apache.coyote.tomcat4.CoyoteConnector.equals
(connector.getClass().getName())) {
 try {
 String address = (String)
 PropertyUtils.getSimpleProperty(connector, address);
 Integer port = (Integer)
 PropertyUtils.getSimpleProperty(connector, port);
 Service service = connector.getService();
 String serviceName = null;
 if (service != null)
 serviceName = service.getName();
 name = new ObjectName(domain + :type=Connector +
   ,service= + serviceName +
   ,port= + port +
   ,address= + address);
 return (name);
 } catch (Exception e) {
  

Re: Connector Problem

2003-11-09 Thread lohcl

Hi,
Below is the first 5 line content of the mod_jk.conf file. It is path to
exactly where the mod_jk.so is located.

## Auto generated on Mon Nov 10 09:19:35 SGT 2003##

IfModule !mod_jk.c
  LoadModule jk_module /PTSDEV/httpd-2.0.47/modules/mod_jk.so
/IfModule


Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



Chong Yu Meng [EMAIL PROTECTED]07/11/2003 10:30 PM
Please respond to Tomcat Users List
   

  To:  Tomcat Users List [EMAIL PROTECTED]   
   
  cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)  

  Subject: Re: Connector Problem   

   

   

   






I think Tomcat can't find your mod_jk.so file. What does line 4 of
mod_jk.conf say ? Probably  the location there is wrong?

Regards,
pascal chong

[EMAIL PROTECTED] wrote:

Hi,
When starting apache, following error occurs, any idea why ?

Syntax error on line 4 of
/PTSDEV/jakarta-tomcat-4.1.29/conf/auto/mod_jk.conf:
Cannot load /PTSDEV/httpd-2.0.47/modules/mod_jk.so into server: ld.so.1:
/PTSDEV/httpd-2.0.47/bin/httpd: fatal: relocation error: file
/PTSDEV/httpd-2.0.47/modules/mod_jk.so: symbol ap_psprintf: referenced
symbol not found


Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



LOH Choon Leng/Mfg  Plan Sys/CHRT/ST [EMAIL PROTECTED] Domain 07/11/2003 05:18 PM
Please respond to Tomcat Users List


  To:  Tomcat Users List [EMAIL PROTECTED]

  cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)

  Subject: Re: Connector Problem













Hi,
I have downloaded the automake, autoconf, libtool from GNU and installed,
and try to execute the following command to build the connector, however,
following error occur. cannot proceed further ... anyone can help ? I did
not seems to get libtoolize installed when installing the libtool.

$PWD ./buildconf.sh
libtoolize --force --automake --copy
aclocal
aclocal: configure.in: 22: macro `AM_PROG_LIBTOOL' not found in library
automake -a --foreign -i --copy
configure.in:14: version mismatch.  This is Automake 1.7.8,
configure.in:14: but the definition used by this AM_INIT_AUTOMAKE
configure.in:14: comes from Automake 1.6.  You should recreate
configure.in:14: aclocal.m4 with aclocal and run automake again.
autoconf


Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



[EMAIL PROTECTED] 08/11/2003 03:49 AM
Please respond to Tomcat Users List

  To:  Tomcat Users List [EMAIL PROTECTED]

  cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)

  Subject: Re: Connector Problem









Hi,

Down load automake, autocon etc from sunfreeware.com and
install it with pkgadd -d command.(download .local.gz files).

Regds


Geetha Thanu
Bioinformatics
CDFD,Hyderabad.









-REPLY TO-
Date:Fri Nov 07 09:53:17 CST 2003
FROM: [EMAIL PROTECTED]
To: Tomcat Users List  [EMAIL PROTECTED]
Subject: Re: Connector Problem

Hi !
I am using solaris 2.8, will this set of instruction works fine as well
?

where do I get rpm : autmake, autoconfig, m4 libtool from ?

Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



Chong Yu Meng [EMAIL PROTECTED]07/11/2003 09:28 AM
Please respond to Tomcat Users List

To: Tomcat Users List [EMAIL PROTECTED]
cc: (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)
Subject: Re

Re: Connector Problem

2003-11-07 Thread geeta
Hi,

Down load automake, autocon etc from sunfreeware.com and
install it with pkgadd -d command.(download .local.gz files).

Regds


Geetha Thanu
Bioinformatics
CDFD,Hyderabad.









-REPLY TO-
Date:Fri Nov 07 09:53:17 CST 2003
FROM: [EMAIL PROTECTED]
To: Tomcat Users List  [EMAIL PROTECTED]
Subject: Re: Connector Problem

Hi !
I am using solaris 2.8, will this set of instruction works fine as well 
? 

where do I get rpm : autmake, autoconfig, m4 libtool from ?

Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



Chong Yu Meng [EMAIL PROTECTED]07/11/2003 09:28 AM
Please respond to Tomcat Users List

To: Tomcat Users List [EMAIL PROTECTED] 
cc: (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group) 
Subject: Re: Connector Problem 








Hello!

I have a set of instructions that may help you (see
http://www.cymulacrum.net/tomcat/jk2_compile.html). Just updated it
yesterday.

Are you using Linux or Solaris. If Linux, my instructions cover the
following configuration : Apache 2.0.47 (rpm) + Tomcat 4.1.29 + mod_jk2. 

I used to work for your competitor across the street in Woodlands (TECH 
Semiconductor) several years ago.

Regards,
pascal chong



[EMAIL PROTECTED] wrote:

When following the following procedure to build the connector,

Building


* Install tomcat(3.3, 4.0, 4.1). Install Apache(1.3, 2.0). Any
combination is fine, but j-t-c developers should have them all.

* Copy build.properties.sample to build.properties

* Edit build.properties to taste. In particular it's important to set 
the paths to tomcat and apache.

* Run ant. It'll build modules for all the detected containers.

* If your system have a current working version of libtool, run ant
native.
 This will build the native connectors for the detected servers ( both 
jk 
  and jk2).

  Alternatively, you can build using configure/make/dsp/apxs.

* Run ant install. This will copy the files in the right location
  in your server/container. Optional: on unix systems you can create
  symlinks ( XXX script will be provided ) and avoid copying.


Following error occur, pls help ...



$PWD $ANT_HOME/bin/ant
Buildfile: build.xml

init:
 [echo] /

apache20:

apache13:
   [so] Compiling 18 out of 18
Compiling
/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/common/jk_msg_buff.c 


BUILD FAILED
file:/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/build.xml:222: 
java.io.IOException: libtool: not found

Total time: 2 seconds


Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



David Rees [EMAIL PROTECTED] 05/11/2003 02:49 PM
Please respond to Tomcat Users List


 To: Tomcat Users List [EMAIL PROTECTED] 

 cc: (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group) 

  Subject: Re: Connector Problem












[EMAIL PROTECTED] wrote:


Trying to build the connector, got the following error, anyone can help? 

$PWD ./buildconf.sh
libtoolize --force --automake --copy
./buildconf.sh: libtoolize: not found
aclocal
./buildconf.sh: aclocal: not found
automake -a --foreign -i --copy
./buildconf.sh: automake: not found
autoconf
./buildconf.sh: autoconf: not found



You need to have the tools automake and autoconf installed on your
system to run buildconf.sh.  But in recent bundled of
jakarta-tomcat-connectors, you might be able to skip that step and just 
run ./configure.

-Dave


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





[This e-mail is confidential and may also be privileged. If you are not 
the
intended recipient, please delete it and notify us immediately; you should 
not copy or use it for any purpose, nor disclose its contents to any other 
person. Thank you.]



- 
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]





[This e-mail is confidential and may also be privileged. If you are not 
the 
intended recipient, please delete it and notify us immediately; you should 
not copy or use it for any purpose, nor disclose its contents to any other 
person. Thank you.]



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

Re: Connector Problem

2003-11-07 Thread lohcl

Hi,
I have downloaded the automake, autoconf, libtool from GNU and installed,
and try to execute the following command to build the connector, however,
following error occur. cannot proceed further ... anyone can help ? I did
not seems to get libtoolize installed when installing the libtool.

$PWD ./buildconf.sh
libtoolize --force --automake --copy
aclocal
aclocal: configure.in: 22: macro `AM_PROG_LIBTOOL' not found in library
automake -a --foreign -i --copy
configure.in:14: version mismatch.  This is Automake 1.7.8,
configure.in:14: but the definition used by this AM_INIT_AUTOMAKE
configure.in:14: comes from Automake 1.6.  You should recreate
configure.in:14: aclocal.m4 with aclocal and run automake again.
autoconf


Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



[EMAIL PROTECTED] 08/11/2003 03:49 AM
Please respond to Tomcat Users List
   

  To:  Tomcat Users List [EMAIL PROTECTED]   
   
  cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)  

  Subject: Re: Connector Problem   

   

   

   






Hi,

Down load automake, autocon etc from sunfreeware.com and
install it with pkgadd -d command.(download .local.gz files).

Regds


Geetha Thanu
Bioinformatics
CDFD,Hyderabad.









-REPLY TO-
Date:Fri Nov 07 09:53:17 CST 2003
FROM: [EMAIL PROTECTED]
To: Tomcat Users List  [EMAIL PROTECTED]
Subject: Re: Connector Problem

Hi !
I am using solaris 2.8, will this set of instruction works fine as well
?

where do I get rpm : autmake, autoconfig, m4 libtool from ?

Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



Chong Yu Meng [EMAIL PROTECTED]07/11/2003 09:28 AM
Please respond to Tomcat Users List

To: Tomcat Users List [EMAIL PROTECTED]
cc: (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)
Subject: Re: Connector Problem








Hello!

I have a set of instructions that may help you (see
http://www.cymulacrum.net/tomcat/jk2_compile.html). Just updated it
yesterday.

Are you using Linux or Solaris. If Linux, my instructions cover the
following configuration : Apache 2.0.47 (rpm) + Tomcat 4.1.29 + mod_jk2.

I used to work for your competitor across the street in Woodlands (TECH
Semiconductor) several years ago.

Regards,
pascal chong



[EMAIL PROTECTED] wrote:

When following the following procedure to build the connector,

Building


* Install tomcat(3.3, 4.0, 4.1). Install Apache(1.3, 2.0). Any
combination is fine, but j-t-c developers should have them all.

* Copy build.properties.sample to build.properties

* Edit build.properties to taste. In particular it's important to set
the paths to tomcat and apache.

* Run ant. It'll build modules for all the detected containers.

* If your system have a current working version of libtool, run ant
native.
 This will build the native connectors for the detected servers ( both
jk
  and jk2).

  Alternatively, you can build using configure/make/dsp/apxs.

* Run ant install. This will copy the files in the right location
  in your server/container. Optional: on unix systems you can create
  symlinks ( XXX script will be provided ) and avoid copying.


Following error occur, pls help ...



$PWD $ANT_HOME/bin/ant
Buildfile: build.xml

init:
 [echo] /

apache20:

apache13:
   [so] Compiling 18 out of 18
Compiling
/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/common/jk_msg_buff.c




BUILD FAILED
file:/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/build.xml:222:

java.io.IOException: libtool: not found

Total time: 2 seconds


Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816

Re: Connector Problem

2003-11-07 Thread lohcl

Hi,
When starting apache, following error occurs, any idea why ?

Syntax error on line 4 of
/PTSDEV/jakarta-tomcat-4.1.29/conf/auto/mod_jk.conf:
Cannot load /PTSDEV/httpd-2.0.47/modules/mod_jk.so into server: ld.so.1:
/PTSDEV/httpd-2.0.47/bin/httpd: fatal: relocation error: file
/PTSDEV/httpd-2.0.47/modules/mod_jk.so: symbol ap_psprintf: referenced
symbol not found


Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



LOH Choon Leng/Mfg  Plan Sys/CHRT/ST [EMAIL PROTECTED] Domain 07/11/2003 05:18 PM
Please respond to Tomcat Users List
   

  To:  Tomcat Users List [EMAIL PROTECTED] 
   
  cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)  

  Subject: Re: Connector Problem   

   

   

   







Hi,
I have downloaded the automake, autoconf, libtool from GNU and installed,
and try to execute the following command to build the connector, however,
following error occur. cannot proceed further ... anyone can help ? I did
not seems to get libtoolize installed when installing the libtool.

$PWD ./buildconf.sh
libtoolize --force --automake --copy
aclocal
aclocal: configure.in: 22: macro `AM_PROG_LIBTOOL' not found in library
automake -a --foreign -i --copy
configure.in:14: version mismatch.  This is Automake 1.7.8,
configure.in:14: but the definition used by this AM_INIT_AUTOMAKE
configure.in:14: comes from Automake 1.6.  You should recreate
configure.in:14: aclocal.m4 with aclocal and run automake again.
autoconf


Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



[EMAIL PROTECTED] 08/11/2003 03:49 AM
Please respond to Tomcat Users List

  To:  Tomcat Users List [EMAIL PROTECTED]

  cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)

  Subject: Re: Connector Problem









Hi,

Down load automake, autocon etc from sunfreeware.com and
install it with pkgadd -d command.(download .local.gz files).

Regds


Geetha Thanu
Bioinformatics
CDFD,Hyderabad.









-REPLY TO-
Date:Fri Nov 07 09:53:17 CST 2003
FROM: [EMAIL PROTECTED]
To: Tomcat Users List  [EMAIL PROTECTED]
Subject: Re: Connector Problem

Hi !
I am using solaris 2.8, will this set of instruction works fine as well
?

where do I get rpm : autmake, autoconfig, m4 libtool from ?

Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



Chong Yu Meng [EMAIL PROTECTED]07/11/2003 09:28 AM
Please respond to Tomcat Users List

To: Tomcat Users List [EMAIL PROTECTED]
cc: (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)
Subject: Re: Connector Problem








Hello!

I have a set of instructions that may help you (see
http://www.cymulacrum.net/tomcat/jk2_compile.html). Just updated it
yesterday.

Are you using Linux or Solaris. If Linux, my instructions cover the
following configuration : Apache 2.0.47 (rpm) + Tomcat 4.1.29 + mod_jk2.

I used to work for your competitor across the street in Woodlands (TECH
Semiconductor) several years ago.

Regards,
pascal chong



[EMAIL PROTECTED] wrote:

When following the following procedure to build the connector,

Building


* Install tomcat(3.3, 4.0, 4.1). Install Apache(1.3, 2.0). Any
combination is fine, but j-t-c developers should have them all.

* Copy build.properties.sample to build.properties

* Edit build.properties to taste. In particular it's important to set
the paths to tomcat and apache.

* Run ant. It'll build modules for all the detected containers.

* If your system have a current working version of libtool, run ant
native.
 This will build the native connectors

Re: Connector Problem

2003-11-07 Thread Chong Yu Meng
I think Tomcat can't find your mod_jk.so file. What does line 4 of 
mod_jk.conf say ? Probably  the location there is wrong?

Regards,
pascal chong
[EMAIL PROTECTED] wrote:

Hi,
When starting apache, following error occurs, any idea why ?
Syntax error on line 4 of
/PTSDEV/jakarta-tomcat-4.1.29/conf/auto/mod_jk.conf:
Cannot load /PTSDEV/httpd-2.0.47/modules/mod_jk.so into server: ld.so.1:
/PTSDEV/httpd-2.0.47/bin/httpd: fatal: relocation error: file
/PTSDEV/httpd-2.0.47/modules/mod_jk.so: symbol ap_psprintf: referenced
symbol not found
Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816

LOH Choon Leng/Mfg  Plan Sys/CHRT/ST [EMAIL PROTECTED] Domain 07/11/2003 05:18 PM
Please respond to Tomcat Users List
  
 To:  Tomcat Users List [EMAIL PROTECTED]
 cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)  
 Subject: Re: Connector Problem   
  
  
  





Hi,
I have downloaded the automake, autoconf, libtool from GNU and installed,
and try to execute the following command to build the connector, however,
following error occur. cannot proceed further ... anyone can help ? I did
not seems to get libtoolize installed when installing the libtool.
$PWD ./buildconf.sh
libtoolize --force --automake --copy
aclocal
aclocal: configure.in: 22: macro `AM_PROG_LIBTOOL' not found in library
automake -a --foreign -i --copy
configure.in:14: version mismatch.  This is Automake 1.7.8,
configure.in:14: but the definition used by this AM_INIT_AUTOMAKE
configure.in:14: comes from Automake 1.6.  You should recreate
configure.in:14: aclocal.m4 with aclocal and run automake again.
autoconf
Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816

[EMAIL PROTECTED] 08/11/2003 03:49 AM
Please respond to Tomcat Users List
 To:  Tomcat Users List [EMAIL PROTECTED]

 cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)

 Subject: Re: Connector Problem









Hi,

Down load automake, autocon etc from sunfreeware.com and
install it with pkgadd -d command.(download .local.gz files).
Regds

Geetha Thanu
Bioinformatics
CDFD,Hyderabad.








-REPLY TO-
Date:Fri Nov 07 09:53:17 CST 2003
FROM: [EMAIL PROTECTED]
To: Tomcat Users List  [EMAIL PROTECTED]
Subject: Re: Connector Problem
Hi !
I am using solaris 2.8, will this set of instruction works fine as well
?
where do I get rpm : autmake, autoconfig, m4 libtool from ?

Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816

Chong Yu Meng [EMAIL PROTECTED]07/11/2003 09:28 AM
Please respond to Tomcat Users List
To: Tomcat Users List [EMAIL PROTECTED]
cc: (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)
Subject: Re: Connector Problem






Hello!

I have a set of instructions that may help you (see
http://www.cymulacrum.net/tomcat/jk2_compile.html). Just updated it
yesterday.
Are you using Linux or Solaris. If Linux, my instructions cover the
following configuration : Apache 2.0.47 (rpm) + Tomcat 4.1.29 + mod_jk2.
I used to work for your competitor across the street in Woodlands (TECH
Semiconductor) several years ago.
Regards,
pascal chong


[EMAIL PROTECTED] wrote:

 

When following the following procedure to build the connector,

Building

* Install tomcat(3.3, 4.0, 4.1). Install Apache(1.3, 2.0). Any
combination is fine, but j-t-c developers should have them all.
* Copy build.properties.sample to build.properties

* Edit build.properties to taste. In particular it's important to set
the paths to tomcat and apache.
* Run ant. It'll build modules for all the detected containers

Re: Connector Problem

2003-11-07 Thread Chong Yu Meng
You could try to locate automake 1.6 and install it instead of automake 
1.7, or you could regenerate aclocal.m4 (I don't know how to do that).

Regards,
pascal chong


[EMAIL PROTECTED] wrote:

Hi,
I have downloaded the automake, autoconf, libtool from GNU and installed,
and try to execute the following command to build the connector, however,
following error occur. cannot proceed further ... anyone can help ? I did
not seems to get libtoolize installed when installing the libtool.
$PWD ./buildconf.sh
libtoolize --force --automake --copy
aclocal
aclocal: configure.in: 22: macro `AM_PROG_LIBTOOL' not found in library
automake -a --foreign -i --copy
configure.in:14: version mismatch.  This is Automake 1.7.8,
configure.in:14: but the definition used by this AM_INIT_AUTOMAKE
configure.in:14: comes from Automake 1.6.  You should recreate
configure.in:14: aclocal.m4 with aclocal and run automake again.
autoconf
Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816

[EMAIL PROTECTED] 08/11/2003 03:49 AM
Please respond to Tomcat Users List
  
 To:  Tomcat Users List [EMAIL PROTECTED]  
 cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)  
 Subject: Re: Connector Problem   
  
  
  





Hi,

Down load automake, autocon etc from sunfreeware.com and
install it with pkgadd -d command.(download .local.gz files).
Regds

Geetha Thanu
Bioinformatics
CDFD,Hyderabad.








-REPLY TO-
Date:Fri Nov 07 09:53:17 CST 2003
FROM: [EMAIL PROTECTED]
To: Tomcat Users List  [EMAIL PROTECTED]
Subject: Re: Connector Problem
Hi !
I am using solaris 2.8, will this set of instruction works fine as well
?
where do I get rpm : autmake, autoconfig, m4 libtool from ?

Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816

Chong Yu Meng [EMAIL PROTECTED]07/11/2003 09:28 AM
Please respond to Tomcat Users List
To: Tomcat Users List [EMAIL PROTECTED]
cc: (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)
Subject: Re: Connector Problem






Hello!

I have a set of instructions that may help you (see
http://www.cymulacrum.net/tomcat/jk2_compile.html). Just updated it
yesterday.
Are you using Linux or Solaris. If Linux, my instructions cover the
following configuration : Apache 2.0.47 (rpm) + Tomcat 4.1.29 + mod_jk2.
I used to work for your competitor across the street in Woodlands (TECH
Semiconductor) several years ago.
Regards,
pascal chong


[EMAIL PROTECTED] wrote:

 

When following the following procedure to build the connector,

Building

* Install tomcat(3.3, 4.0, 4.1). Install Apache(1.3, 2.0). Any
combination is fine, but j-t-c developers should have them all.
* Copy build.properties.sample to build.properties

* Edit build.properties to taste. In particular it's important to set
the paths to tomcat and apache.
* Run ant. It'll build modules for all the detected containers.

* If your system have a current working version of libtool, run ant
native.
This will build the native connectors for the detected servers ( both
   

jk
 

and jk2).

Alternatively, you can build using configure/make/dsp/apxs.

* Run ant install. This will copy the files in the right location
in your server/container. Optional: on unix systems you can create
symlinks ( XXX script will be provided ) and avoid copying.
Following error occur, pls help ...



$PWD $ANT_HOME/bin/ant
Buildfile: build.xml
init:
   [echo] /
apache20:

apache13:
 [so] Compiling 18 out of 18
Compiling
/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/common/jk_msg_buff.c
   



 

BUILD FAILED
file:/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/build.xml:222:
   

 

java.io.IOException: libtool: not found

Total time: 2 seconds

Best Regards,
Loh Choon Leng

Chartered

Re: Connector Problem

2003-11-06 Thread Chong Yu Meng
Hello!

I have a set of instructions that may help you (see 
http://www.cymulacrum.net/tomcat/jk2_compile.html). Just updated it 
yesterday.

Are you using Linux or Solaris. If Linux, my instructions cover the 
following configuration : Apache 2.0.47 (rpm) + Tomcat 4.1.29 + mod_jk2.

I used to work for your competitor across the street in Woodlands (TECH 
Semiconductor) several years ago.

Regards,
pascal chong


[EMAIL PROTECTED] wrote:

When following the following procedure to build the connector,

Building

* Install tomcat(3.3, 4.0, 4.1). Install Apache(1.3, 2.0). Any
combination is fine, but j-t-c developers should have them all.
* Copy build.properties.sample to build.properties

* Edit build.properties to taste. In particular it's important to set
the paths to tomcat and apache.
* Run ant. It'll build modules for all the detected containers.

* If your system have a current working version of libtool, run ant
native.
 This will build the native connectors for the detected servers ( both jk
 and jk2).
 Alternatively, you can build using configure/make/dsp/apxs.

* Run ant install. This will copy the files in the right location
 in your server/container. Optional: on unix systems you can create
 symlinks ( XXX script will be provided ) and avoid copying.
Following error occur, pls help ...



$PWD $ANT_HOME/bin/ant
Buildfile: build.xml
init:
[echo] /
apache20:

apache13:
  [so] Compiling 18 out of 18
Compiling
/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/common/jk_msg_buff.c
BUILD FAILED
file:/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/build.xml:222:
java.io.IOException: libtool: not found
Total time: 2 seconds

Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816

David Rees [EMAIL PROTECTED] 05/11/2003 02:49 PM
Please respond to Tomcat Users List
  
 To:  Tomcat Users List [EMAIL PROTECTED]  
 cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)  
 Subject: Re: Connector Problem   
  
  
  





[EMAIL PROTECTED] wrote:
 

Trying to build the connector, got the following error, anyone can help?

$PWD ./buildconf.sh
libtoolize --force --automake --copy
./buildconf.sh: libtoolize: not found
aclocal
./buildconf.sh: aclocal: not found
automake -a --foreign -i --copy
./buildconf.sh: automake: not found
autoconf
./buildconf.sh: autoconf: not found
   

You need to have the tools automake and autoconf installed on your
system to run buildconf.sh.  But in recent bundled of
jakarta-tomcat-connectors, you might be able to skip that step and just
run ./configure.
-Dave

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




[This e-mail is confidential and may also be privileged. If you are not the
intended recipient, please delete it and notify us immediately; you should
not copy or use it for any purpose, nor disclose its contents to any other
person. Thank you.]


-
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: Connector Problem

2003-11-06 Thread lohcl

Hi !
I am using solaris 2.8, will this set of instruction works fine as well ?

where do I get rpm : autmake, autoconfig, m4 libtool from ?

Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



Chong Yu Meng [EMAIL PROTECTED]07/11/2003 09:28 AM
Please respond to Tomcat Users List
   

  To:  Tomcat Users List [EMAIL PROTECTED]   
   
  cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)  

  Subject: Re: Connector Problem   

   

   

   






Hello!

I have a set of instructions that may help you (see
http://www.cymulacrum.net/tomcat/jk2_compile.html). Just updated it
yesterday.

Are you using Linux or Solaris. If Linux, my instructions cover the
following configuration : Apache 2.0.47 (rpm) + Tomcat 4.1.29 + mod_jk2.

I used to work for your competitor across the street in Woodlands (TECH
Semiconductor) several years ago.

Regards,
pascal chong



[EMAIL PROTECTED] wrote:

When following the following procedure to build the connector,

Building


* Install tomcat(3.3, 4.0, 4.1). Install Apache(1.3, 2.0). Any
combination is fine, but j-t-c developers should have them all.

* Copy build.properties.sample to build.properties

* Edit build.properties to taste. In particular it's important to set
the paths to tomcat and apache.

* Run ant. It'll build modules for all the detected containers.

* If your system have a current working version of libtool, run ant
native.
  This will build the native connectors for the detected servers ( both jk
  and jk2).

  Alternatively, you can build using configure/make/dsp/apxs.

* Run ant install. This will copy the files in the right location
  in your server/container. Optional: on unix systems you can create
  symlinks ( XXX script will be provided ) and avoid copying.


Following error occur, pls help ...



$PWD $ANT_HOME/bin/ant
Buildfile: build.xml

init:
 [echo] /

apache20:

apache13:
   [so] Compiling 18 out of 18
Compiling
/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/common/jk_msg_buff.c


BUILD FAILED
file:/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/build.xml:222:
java.io.IOException: libtool: not found

Total time: 2 seconds


Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



David Rees [EMAIL PROTECTED] 05/11/2003 02:49 PM
Please respond to Tomcat Users List


  To:  Tomcat Users List [EMAIL PROTECTED]

  cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)

  Subject: Re: Connector Problem












[EMAIL PROTECTED] wrote:


Trying to build the connector, got the following error, anyone can help?

$PWD ./buildconf.sh
libtoolize --force --automake --copy
./buildconf.sh: libtoolize: not found
aclocal
./buildconf.sh: aclocal: not found
automake -a --foreign -i --copy
./buildconf.sh: automake: not found
autoconf
./buildconf.sh: autoconf: not found



You need to have the tools automake and autoconf installed on your
system to run buildconf.sh.  But in recent bundled of
jakarta-tomcat-connectors, you might be able to skip that step and just
run ./configure.

-Dave


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





[This e-mail is confidential and may also be privileged. If you are not
the
intended recipient, please delete it and notify us immediately; you should
not copy or use it for any purpose, nor disclose its contents to any other
person. Thank you.]



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







-
To unsubscribe, e-mail: [EMAIL

Re: Connector Problem

2003-11-05 Thread lohcl

When following the following procedure to build the connector,

Building


* Install tomcat(3.3, 4.0, 4.1). Install Apache(1.3, 2.0). Any
combination is fine, but j-t-c developers should have them all.

* Copy build.properties.sample to build.properties

* Edit build.properties to taste. In particular it's important to set
the paths to tomcat and apache.

* Run ant. It'll build modules for all the detected containers.

* If your system have a current working version of libtool, run ant
native.
  This will build the native connectors for the detected servers ( both jk
  and jk2).

  Alternatively, you can build using configure/make/dsp/apxs.

* Run ant install. This will copy the files in the right location
  in your server/container. Optional: on unix systems you can create
  symlinks ( XXX script will be provided ) and avoid copying.


Following error occur, pls help ...



$PWD $ANT_HOME/bin/ant
Buildfile: build.xml

init:
 [echo] /

apache20:

apache13:
   [so] Compiling 18 out of 18
Compiling
/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/common/jk_msg_buff.c

BUILD FAILED
file:/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/build.xml:222:
java.io.IOException: libtool: not found

Total time: 2 seconds


Best Regards,
Loh Choon Leng

Chartered Semiconductor Manufacturing Ltd.
60 Woodlands Ind. Park-D St-2 Singapore 738406
Off : +65-63603684   HP :  +65-98463801
Email : [EMAIL PROTECTED], Fax : +65-63603816



David Rees [EMAIL PROTECTED] 05/11/2003 02:49 PM
Please respond to Tomcat Users List
   

  To:  Tomcat Users List [EMAIL PROTECTED]   
   
  cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)  

  Subject: Re: Connector Problem   

   

   

   






[EMAIL PROTECTED] wrote:
 Trying to build the connector, got the following error, anyone can help?

 $PWD ./buildconf.sh
 libtoolize --force --automake --copy
 ./buildconf.sh: libtoolize: not found
 aclocal
 ./buildconf.sh: aclocal: not found
 automake -a --foreign -i --copy
 ./buildconf.sh: automake: not found
 autoconf
 ./buildconf.sh: autoconf: not found

You need to have the tools automake and autoconf installed on your
system to run buildconf.sh.  But in recent bundled of
jakarta-tomcat-connectors, you might be able to skip that step and just
run ./configure.

-Dave


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





[This e-mail is confidential and may also be privileged. If you are not the
intended recipient, please delete it and notify us immediately; you should
not copy or use it for any purpose, nor disclose its contents to any other
person. Thank you.]



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



Re: Connector Problem

2003-11-05 Thread Bill Barker
I'm guessing that you are running on Solaris, and have neglected to install
the GNU utilities such as 'libtool' and friends ;-).

If not, then ignore the 'ant' build and simply do the normal './configure'
followed by 'make'.

[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 When following the following procedure to build the connector,

 Building
 

 * Install tomcat(3.3, 4.0, 4.1). Install Apache(1.3, 2.0). Any
 combination is fine, but j-t-c developers should have them all.

 * Copy build.properties.sample to build.properties

 * Edit build.properties to taste. In particular it's important to set
 the paths to tomcat and apache.

 * Run ant. It'll build modules for all the detected containers.

 * If your system have a current working version of libtool, run ant
 native.
   This will build the native connectors for the detected servers ( both jk
   and jk2).

   Alternatively, you can build using configure/make/dsp/apxs.

 * Run ant install. This will copy the files in the right location
   in your server/container. Optional: on unix systems you can create
   symlinks ( XXX script will be provided ) and avoid copying.


 Following error occur, pls help ...



 $PWD $ANT_HOME/bin/ant
 Buildfile: build.xml

 init:
  [echo] /

 apache20:

 apache13:
[so] Compiling 18 out of 18
 Compiling

/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/common/jk_msg_buff.c

 BUILD FAILED
 file:/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/build.xml:222:
 java.io.IOException: libtool: not found

 Total time: 2 seconds


 Best Regards,
 Loh Choon Leng
 
 Chartered Semiconductor Manufacturing Ltd.
 60 Woodlands Ind. Park-D St-2 Singapore 738406
 Off : +65-63603684   HP :  +65-98463801
 Email : [EMAIL PROTECTED], Fax : +65-63603816
 


 David Rees [EMAIL PROTECTED] 05/11/2003 02:49 PM
 Please respond to Tomcat Users List

   To:  Tomcat Users List [EMAIL PROTECTED]
   cc:  (bcc: LOH Choon Leng/Mfg  Plan Sys/CHRT/ST Group)
   Subject: Re: Connector Problem








 [EMAIL PROTECTED] wrote:
  Trying to build the connector, got the following error, anyone can help?
 
  $PWD ./buildconf.sh
  libtoolize --force --automake --copy
  ./buildconf.sh: libtoolize: not found
  aclocal
  ./buildconf.sh: aclocal: not found
  automake -a --foreign -i --copy
  ./buildconf.sh: automake: not found
  autoconf
  ./buildconf.sh: autoconf: not found

 You need to have the tools automake and autoconf installed on your
 system to run buildconf.sh.  But in recent bundled of
 jakarta-tomcat-connectors, you might be able to skip that step and just
 run ./configure.

 -Dave


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





 [This e-mail is confidential and may also be privileged. If you are not
the
 intended recipient, please delete it and notify us immediately; you should
 not copy or use it for any purpose, nor disclose its contents to any other
 person. Thank you.]




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



Re: Connector Problem

2003-11-05 Thread srevilak
lohcl When following the following procedure to build the connector,
  [snip ..]
lohcl Following error occur, pls help ...

lohcl BUILD FAILED
lohcl file:/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/build.xml:222:
lohcl java.io.IOException: libtool: not found

 You need to have the tools automake and autoconf installed on your
 system to run buildconf.sh.  But in recent bundled of
 jakarta-tomcat-connectors, you might be able to skip that step and
 just run ./configure.

Libtool is needed as well.

-- 
Steve

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



RE: Connector Problem

2003-11-05 Thread Phillip Qin
Linux's libtools is needed.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: November 5, 2003 3:33 PM
To: Tomcat Users List
Subject: Re: Connector Problem

lohcl When following the following procedure to build the connector,
  [snip ..]
lohcl Following error occur, pls help ...

lohcl BUILD FAILED
lohcl
file:/PTSDEV/jakarta-tomcat-connectors-4.1.27-src/jk/native/build.xml:222:
lohcl java.io.IOException: libtool: not found

 You need to have the tools automake and autoconf installed on your
 system to run buildconf.sh.  But in recent bundled of
 jakarta-tomcat-connectors, you might be able to skip that step and
 just run ./configure.

Libtool is needed as well.

-- 
Steve

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


Re: Connector Problem

2003-11-04 Thread David Rees
[EMAIL PROTECTED] wrote:
Trying to build the connector, got the following error, anyone can help?

$PWD ./buildconf.sh
libtoolize --force --automake --copy
./buildconf.sh: libtoolize: not found
aclocal
./buildconf.sh: aclocal: not found
automake -a --foreign -i --copy
./buildconf.sh: automake: not found
autoconf
./buildconf.sh: autoconf: not found
You need to have the tools automake and autoconf installed on your 
system to run buildconf.sh.  But in recent bundled of 
jakarta-tomcat-connectors, you might be able to skip that step and just 
run ./configure.

-Dave

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


RE: Connector or Apache and Tomcat

2003-08-26 Thread Madere, Colin
If you're not concerned with having lots of users hitting the static
content, you can serve it with Tomcat (meaning not use Apache and a
connector), though there may be reasons of performance and security that you
may want to have Apache in front anyway.

To set up what you want just with Tomcat, however, you have to run it on
port 80, which you'll find ways and reasons not to by searching Google and
this list for Tomcat port 80 or some such.

But basically look at the documentation for setting up Contexts
(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html) and
set up one for each static dir (or however you'd like it to be available).

Setting up the connector and Apache is a bit more involved.  You'll have to
look at the docs, search this list, go to John Turner's HOWTO, try a few
things and then come back to the list :)

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 25, 2003 4:32 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Reg: Connector or Apache and Tomcat 


Hi
I am running a few struts-based webapp using tomcat. I access them using
www.xyz.org/webappA, www.xyz.org/webappB, www.xyz.org/webappC. We have an
old website consisting of static html. we want to merge this old website to
the tomcat. The old webiste had stuff something in this format
www.old.org/ModA, www.old.org/ModB, www.old.ModC etc..I would like it to be
so that i can all the entire content from one IP like
www.xyz.org/webappA,www.xyz,org/webappB, www/xyz.org/modA(static HTML
module), www.xyz.org/modB(static HTML module. Plz. let me know how i can do
this. I dont even know if i should use connectors for this. I am not getting
any resources on this plz. help me

Thank you

Mohan



-
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: Connector persistance across multiple apache frontends

2003-06-24 Thread Tim Funk
Yes. In each tomcat, you will need in server.xml
 Engine jvmRoute=someUniqueTomcatId ...
Then each uniqueTomcatId will need to be in workers.properties (or whatever 
config file you make apache use). Then all the 'uniqueTomcatId' workers sit 
behind a loadbalancer worker also defined in worker.properties.

The drawback is if a tomcat goes down, then you lose the session in a user 
tries to go to that instance. Luckily you can persist all sessions to a file 
and hope for a quick restart to minimize the amout of damage. Otherwise, 
there are 2 workarounds:
- Persist session data in a database
- Use the clustring facilities. But in tomcat4 they are more or less 
experimental. In tomcat5 - they will be MUCH better.

The faq has a lot of links to other sites and to the docs:
http://jakarta.apache.org/tomcat/faq/connectors.html
-Tim

Dan Hart wrote:
Please forgive my ignorance in this matter and the inherant rudeness in
asking a question moments after subscribing to this list.
The short question:  Is it possible to maintain persistant connections
 across a line of front-end apache 1.3 linux boxen?
 The goal is high availability.  If possible, please
 point me in the right direction of finding
 documentation on this ability.
Diagram:

Hardware LB Level:  BigIP (Redundant, of course)
  |
++++++--...
||||||  ...
Webserver Level:  webA webB webC webD webE webF ...
   (Apache + mod_jk)||||||  ...
+++++++--...
|||||||  ...
Tomcat Level:  tc1  tc2  tc3  tc4  tc5  tc6  tc7 ...
   (On Solaris 8)   |||||||  ...
+++++++--...
Database Level:   |
   Database (Redundant, of course)
Details:

I understand on a basic level how the mod_jk connector works, mainly from
documentation found in the worker's HOWTO.  To quote:
* sticky_session  specifies whether requests with SESSION ID's
  should be routed back to the same Tomcat worker.
  If sticky_session is an int and is not 0 it is set
  to JK_TRUE and sessions are sticky, otherwise
  sticky_session is set to false. Set sticky_session
  to JK_FALSE when Tomcat is using a Session Manager
  which can persist session data across multiple
  instances of Tomcat. By default sticky_session
  is set to JK_TRUE.
This appears to refer to a single apache instance.  It also seems to be
enabled by default, which would explain the difficulty in finding
documentation on it ;)  From past experience with mod_jserv, I know I
could do this setup using ApJServRoute directives (assuming these were the
same across all systems, of course).
So is this possible with mod_jk?  My assumption is that Yes, of course
this is possible you twat and is enabled by default even! however such
answers tend to go poorly at higher levels of management.  So a piece of
official documentation showing this would be highly appreciated.
Thanks!



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


RE: Connector persistance across multiple apache frontends

2003-06-24 Thread Filip Hanik
- Use the clustring facilities. But in tomcat4 they are more or less
experimental. In tomcat5 - they will be MUCH better.

they are actually almost the same. The tomcat 4 clustering is a back port of
the Tomcat 5 cluster code and can be found at http://cvs.apache.org/~fhanik/

Filip

 -Original Message-
 From: Tim Funk [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 24, 2003 6:24 PM
 To: Tomcat Users List
 Subject: Re: Connector persistance across multiple apache frontends

 Yes. In each tomcat, you will need in server.xml
   Engine jvmRoute=someUniqueTomcatId ...

 Then each uniqueTomcatId will need to be in workers.properties
 (or whatever
 config file you make apache use). Then all the 'uniqueTomcatId'
 workers sit
 behind a loadbalancer worker also defined in worker.properties.

 The drawback is if a tomcat goes down, then you lose the session
 in a user
 tries to go to that instance. Luckily you can persist all
 sessions to a file
 and hope for a quick restart to minimize the amout of damage. Otherwise,
 there are 2 workarounds:
 - Persist session data in a database
 - Use the clustring facilities. But in tomcat4 they are more or less
 experimental. In tomcat5 - they will be MUCH better.

 The faq has a lot of links to other sites and to the docs:
 http://jakarta.apache.org/tomcat/faq/connectors.html

 -Tim

 Dan Hart wrote:
  Please forgive my ignorance in this matter and the inherant rudeness in
  asking a question moments after subscribing to this list.
 
  The short question:  Is it possible to maintain persistant connections
   across a line of front-end apache 1.3 linux boxen?
   The goal is high availability.  If possible, please
   point me in the right direction of finding
   documentation on this ability.
 
  Diagram:
  
 
  Hardware LB Level:  BigIP (Redundant, of course)
|
  ++++++--...
  ||||||  ...
  Webserver Level:  webA webB webC webD webE webF ...
 (Apache + mod_jk)||||||  ...
  +++++++--...
  |||||||  ...
  Tomcat Level:  tc1  tc2  tc3  tc4  tc5  tc6  tc7 ...
 (On Solaris 8)   |||||||  ...
  +++++++--...
  Database Level:   |
 Database (Redundant, of course)
 
 
  Details:
  
 
  I understand on a basic level how the mod_jk connector works,
 mainly from
  documentation found in the worker's HOWTO.  To quote:
 
  * sticky_session  specifies whether requests with SESSION ID's
should be routed back to the same Tomcat worker.
If sticky_session is an int and is not 0 it is set
to JK_TRUE and sessions are sticky, otherwise
sticky_session is set to false. Set sticky_session
to JK_FALSE when Tomcat is using a Session Manager
which can persist session data across multiple
instances of Tomcat. By default sticky_session
is set to JK_TRUE.
 
  This appears to refer to a single apache instance.  It also seems to be
  enabled by default, which would explain the difficulty in finding
  documentation on it ;)  From past experience with mod_jserv, I know I
  could do this setup using ApJServRoute directives (assuming
 these were the
  same across all systems, of course).
 
  So is this possible with mod_jk?  My assumption is that Yes, of course
  this is possible you twat and is enabled by default even! however such
  answers tend to go poorly at higher levels of management.  So a piece of
  official documentation showing this would be highly appreciated.
 
  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: Connector(s)/SSL

2003-06-23 Thread Jason Bainbridge
On Tue, 24 Jun 2003 04:07, Geralyn M Hollerman wrote:
 I *think* what they're saying is that I should let Apache
 take care of SSL and configure Apache for - as in, for mod_ssl.

Correct, you only need to setup SSL for Tomcat if you are running it 
standalone and maybe also if you are still listening on port 8080 for 
incoming requests, you might want to comment that listener out if you are and 
don't need it.

Regards,
-- 
Jason Bainbridge
http://jblinux.org

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



Re: [connector] bad mime type?

2003-03-09 Thread J Aaron Farr
On Sat, 2003-03-08 at 21:24, J Aaron Farr wrote:
 Hello.
 
 I've checked the archives and done several google searches all to no avail, so
 if someone could point this out to me, I'd be very grateful:
 
 Environment:
RedHat 8.0
Apache 2.0.4
JBoss 3.0 + Tomcat 4.1.18
Using coyote connector
 
 The connector seems to be working, but the responses are all in plain text. 
 So, for example, when I browse http://myserver.com/[web-app]/index.jsp I get
 the HTML source, not the rendered HTML. I tried adding a jsp mime type to
 return text/html for 'jsp' and that worked.  So it seems like somewhere,
 somehow I've got something misconfigured since I shouldn't have to create that
 mime type, correct?  Furthermore, servlets which I cannot easily map also just
 return plain text.  Any ideas where I could at least start looking for the
 problem because I'm lost.
 
 Thanks!
 jaaron

Hmm, seems to have fixed itself after a restart.  Sorry for the false
alarm.

-- 
  jaaron[EMAIL PROTECTED]


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



RE: Connector issues - jk2, 4.1.18, 2.0.44

2003-02-12 Thread Eric L. Wittle
Jake,

I had a similar problem, but with the jk2 binary I downloaded. It
wouldn't run with 2.0.44. I tried the mod_jk2.so that is on John
Turner's site, and it loaded. I don't know what he did to build it, but
it is clearly radically different from the binary on the Jakarta site,
since the Jakarta binary is 120080 bytes and the one from his site is
689302 bytes.

The next challenge was navigating the jk2 documentation for
configuration files. After a few false starts, the following worked.

In my apache conf directory, my workers2.properties file contains the
following:

# Get rid of shm errors
[shm]
file=${serverRoot}/logs/shm.file
size=1048576

# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp

In my Tomcat 4.1.18 conf directory, my jk2.properties files contains the
folloing:

handler.list=apr,channelSocket,request
channelSocket.port=8009

Hope this works for you...

-Eric
 



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




RE: Connector issues - jk2, 4.1.18, 2.0.44

2003-02-12 Thread Turner, John

My version has the secret sauce option fully enabled.

I am SUPER COMPILER.  LOL

John

 -Original Message-
 From: Eric L. Wittle [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 11, 2003 11:18 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: Connector issues - jk2, 4.1.18, 2.0.44
 
 
 Jake,
 
 I had a similar problem, but with the jk2 binary I downloaded. It
 wouldn't run with 2.0.44. I tried the mod_jk2.so that is on John
 Turner's site, and it loaded. I don't know what he did to 
 build it, but
 it is clearly radically different from the binary on the Jakarta site,
 since the Jakarta binary is 120080 bytes and the one from his site is
 689302 bytes.
 
 The next challenge was navigating the jk2 documentation for
 configuration files. After a few false starts, the following worked.
 
 In my apache conf directory, my workers2.properties file contains the
 following:
 
 # Get rid of shm errors
 [shm]
 file=${serverRoot}/logs/shm.file
 size=1048576
 
 # Define the communication channel
 [channel.socket:localhost:8009]
 info=Ajp13 forwarding over socket
 tomcatId=localhost:8009
 
 # Map the Tomcat examples webapp to the Web server uri space
 [uri:/examples/*]
 info=Map the whole webapp
 
 In my Tomcat 4.1.18 conf directory, my jk2.properties files 
 contains the
 folloing:
 
 handler.list=apr,channelSocket,request
 channelSocket.port=8009
 
 Hope this works for you...
 
 -Eric
  
 
 
 
 -
 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: Connector issues - jk2, 4.1.18, 2.0.44

2003-02-12 Thread liug
Eric L. Wittle [EMAIL PROTECTED] wrote:
 # Map the Tomcat examples webapp to the Web server uri space
 [uri:/examples/*]
 info=Map the whole webapp

 In my Tomcat 4.1.18 conf directory, my jk2.properties files contains the
 folloing:

 handler.list=apr,channelSocket,request
 channelSocket.port=8009

 Hope this works for you...

 -Eric

with the jk2.properties you have, when you startup tomcat 4.1.18, do you
see the following errors in your catalina.out file?

Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
Feb 12, 2003 11:02:33 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Feb 12, 2003 11:02:33 AM org.apache.jk.server.JkMain newHandler
SEVERE: Can't create apr
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.jk.apr.AprImpl.clinit(AprImpl.java:340)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.jk.server.JkMain.newHandler(JkMain.java:556)
at org.apache.jk.server.JkMain.start(JkMain.java:341)
at org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
..




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




RE: Connector issues - jk2, 4.1.18, 2.0.44

2003-02-12 Thread pqin
apr.NativeSo has to be placed in jk2.properties in order for channelUnix to
work.

If I don't put apr.NativeSo, there is no error in Catalina.out. However,
there is no channelUnix either.

If I put apr.nativeSo, I got that error.

Regards,
 
 
PQ
 
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing

-Original Message-
From: liug [mailto:[EMAIL PROTECTED]] 
Sent: February 12, 2003 2:17 PM
To: [EMAIL PROTECTED]
Subject: Re: Connector issues - jk2, 4.1.18, 2.0.44

Eric L. Wittle [EMAIL PROTECTED] wrote:
 # Map the Tomcat examples webapp to the Web server uri space
 [uri:/examples/*]
 info=Map the whole webapp

 In my Tomcat 4.1.18 conf directory, my jk2.properties files contains the
 folloing:

 handler.list=apr,channelSocket,request
 channelSocket.port=8009

 Hope this works for you...

 -Eric

with the jk2.properties you have, when you startup tomcat 4.1.18, do you
see the following errors in your catalina.out file?

Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
Feb 12, 2003 11:02:33 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Feb 12, 2003 11:02:33 AM org.apache.jk.server.JkMain newHandler
SEVERE: Can't create apr
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.jk.apr.AprImpl.clinit(AprImpl.java:340)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.jk.server.JkMain.newHandler(JkMain.java:556)
at org.apache.jk.server.JkMain.start(JkMain.java:341)
at
org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
..




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



Re: Connector issues - jk2, 4.1.18, 2.0.44

2003-02-12 Thread liug
Not sure what you are talking about. 
If you scroll down and read the posted jk2.properites, 
you will see channelUnix is NOT being used. It is only for
channelSocket.

Frank

[EMAIL PROTECTED] wrote:
 apr.NativeSo has to be placed in jk2.properties in order for channelUnix to
 work.

 If I don't put apr.NativeSo, there is no error in Catalina.out. However,
 there is no channelUnix either.

 If I put apr.nativeSo, I got that error.

 Regards,
  
  
 PQ
  
 This Guy Thinks He Knows Everything
 This Guy Thinks He Knows What He Is Doing

 -Original Message-
 From: liug [mailto:[EMAIL PROTECTED]] 
 Sent: February 12, 2003 2:17 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Connector issues - jk2, 4.1.18, 2.0.44

 Eric L. Wittle [EMAIL PROTECTED] wrote:
 # Map the Tomcat examples webapp to the Web server uri space
 [uri:/examples/*]
 info=Map the whole webapp

 In my Tomcat 4.1.18 conf directory, my jk2.properties files contains the
 folloing:

 handler.list=apr,channelSocket,request
 channelSocket.port=8009

 Hope this works for you...

 -Eric

 with the jk2.properties you have, when you startup tomcat 4.1.18, do you
 see the following errors in your catalina.out file?

 Starting service Tomcat-Standalone
 Apache Tomcat/4.1.18
 Feb 12, 2003 11:02:33 AM org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on port 8080
 Feb 12, 2003 11:02:33 AM org.apache.jk.server.JkMain newHandler
 SEVERE: Can't create apr
 java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
 at org.apache.jk.apr.AprImpl.clinit(AprImpl.java:340)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:140)
 at org.apache.jk.server.JkMain.newHandler(JkMain.java:556)
 at org.apache.jk.server.JkMain.start(JkMain.java:341)
 at
 org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
 ..




 -
 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: Connector issues - jk2, 4.1.18, 2.0.44

2003-02-12 Thread liug
[EMAIL PROTECTED] wrote:
 apr.NativeSo has to be placed in jk2.properties in order for channelUnix to
 work.
 If I don't put apr.NativeSo, there is no error in Catalina.out. However,
 there is no channelUnix either.
 If I put apr.nativeSo, I got that error.

I see what you mean:
you get the APR error for the channelUnix.
We get the same apr error for the channelSocket.
JNI doesn't work (at least on unix).
oh well, mod_jk2 is REALLY not ready :(

Frank

 Regards,
  
  
 PQ
  
 This Guy Thinks He Knows Everything
 This Guy Thinks He Knows What He Is Doing

 -Original Message-
 From: liug [mailto:[EMAIL PROTECTED]] 
 Sent: February 12, 2003 2:17 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Connector issues - jk2, 4.1.18, 2.0.44

 Eric L. Wittle [EMAIL PROTECTED] wrote:
 # Map the Tomcat examples webapp to the Web server uri space
 [uri:/examples/*]
 info=Map the whole webapp

 In my Tomcat 4.1.18 conf directory, my jk2.properties files contains the
 folloing:

 handler.list=apr,channelSocket,request
 channelSocket.port=8009

 Hope this works for you...

 -Eric

 with the jk2.properties you have, when you startup tomcat 4.1.18, do you
 see the following errors in your catalina.out file?

 Starting service Tomcat-Standalone
 Apache Tomcat/4.1.18
 Feb 12, 2003 11:02:33 AM org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on port 8080
 Feb 12, 2003 11:02:33 AM org.apache.jk.server.JkMain newHandler
 SEVERE: Can't create apr
 java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
 at org.apache.jk.apr.AprImpl.clinit(AprImpl.java:340)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:140)
 at org.apache.jk.server.JkMain.newHandler(JkMain.java:556)
 at org.apache.jk.server.JkMain.start(JkMain.java:341)
 at
 org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)
 ..




 -
 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: Connector issues - jk2, 4.1.18, 2.0.44

2003-02-11 Thread Turner, John

Current versions of JK and JK2 are fully compatible with Apache 2.0.43 and
2.0.44.

First, are you sure you compiled the connector against the Apache 2.0.44
source?  RH 8 comes with a munged Apache 2.0.40 if you took the defaults.
Is it possible that, while building the connectors, the APXS for that older
version of Apache was pulled in somehow?

Second, I would use the source packages in
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/ instead of the
package you used.  Or better yet, download a binary.

If you need a binary of mod_jk2 compiled against Apache 2.0.44 (on RH 7.2
but it shouldn't matter), check here:  http://www.johnturner.com/howto
NOTE:  I don't use JK2, I built that one for someone else who was having
problems building one and decided to post it to the website, since there
isn't one available from the Jakarta site that's built with the latest
source.  So, on the JK2 binary, YMMV.

HTH

John


 -Original Message-
 From: Jake Robb [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 11, 2003 3:08 PM
 To: [EMAIL PROTECTED]
 Subject: Connector issues - jk2, 4.1.18, 2.0.44
 
 
 I am running RedHat Linux 8.0.
 
 I have Tomcat 4.1.18 installed from an RPM, and responding 
 properly on port
 8080.
 I have Apache 2.0.44 installed from source, and responding 
 properly on port
 80.
 
 I downloaded the jakarta-tomcat-connectors-4.1.18 source 
 package, followed
 my instructions (specifically, I was using Wrox Press's 
 Professional Apache
 Tomcat, but the directions match those on apache.org) to 
 build mod_jk2 for
 Apache 2.  Copied the newly-generated mod_jk2.so to
 /usr/local/apache2/modules/.
 
 Then, I put the LoadModule command and the other config 
 directives for jk2
 in my httpd.conf file.  Doing a syntax check returns the 
 following message:
 
 httpd: module ../../server/apache2/mod_jk2.c is not 
 compatible with this
 version of Apache.
 Please contact the vendor for the correct version.
 
 
 So then I tried doing the same thing, but following the 
 mod_jk instructions
 instead.  I get basically the same message:
 
 httpd: module ../../server/apache2/mod_jk.c is not 
 compatible with this
 version of Apache.
 Please contact the vendor for the correct version.
 
 
 So apparently, the latest versions of both mod_jk and mod_jk2 are
 incompatible with Apache 2.0.44.  Is this true?  I've been 
 unable to confirm
 that anywhere.
 
 Should I remove Apache and go back to 2.0.40 or something, or 
 am I just
 doing something wrong?  Maybe I need to build in a special 
 module in Apache?
 
 Any help is appreciated!
 
 Thanks,
 Jake Robb
 
 
 -
 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: Connector issues - jk2, 4.1.18, 2.0.44

2003-02-11 Thread Jake Robb
I did a pretty thorough cleansing of the bundled 2.0.40 before I built, but
it's possible that I didn't get the old APXS out.  I'll take a few steps
back and try again.

The address you gave is where I got the connector source files.

Thanks,

-Jake

- Original Message -
From: Turner, John [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 3:23 PM
Subject: RE: Connector issues - jk2, 4.1.18, 2.0.44



 Current versions of JK and JK2 are fully compatible with Apache 2.0.43 and
 2.0.44.

 First, are you sure you compiled the connector against the Apache 2.0.44
 source?  RH 8 comes with a munged Apache 2.0.40 if you took the defaults.
 Is it possible that, while building the connectors, the APXS for that
older
 version of Apache was pulled in somehow?

 Second, I would use the source packages in
 http://jakarta.apache.org/builds/jakarta-tomcat-connectors/ instead of the
 package you used.  Or better yet, download a binary.

 If you need a binary of mod_jk2 compiled against Apache 2.0.44 (on RH 7.2
 but it shouldn't matter), check here:  http://www.johnturner.com/howto
 NOTE:  I don't use JK2, I built that one for someone else who was having
 problems building one and decided to post it to the website, since there
 isn't one available from the Jakarta site that's built with the latest
 source.  So, on the JK2 binary, YMMV.

 HTH

 John


  -Original Message-
  From: Jake Robb [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, February 11, 2003 3:08 PM
  To: [EMAIL PROTECTED]
  Subject: Connector issues - jk2, 4.1.18, 2.0.44
 
 
  I am running RedHat Linux 8.0.
 
  I have Tomcat 4.1.18 installed from an RPM, and responding
  properly on port
  8080.
  I have Apache 2.0.44 installed from source, and responding
  properly on port
  80.
 
  I downloaded the jakarta-tomcat-connectors-4.1.18 source
  package, followed
  my instructions (specifically, I was using Wrox Press's
  Professional Apache
  Tomcat, but the directions match those on apache.org) to
  build mod_jk2 for
  Apache 2.  Copied the newly-generated mod_jk2.so to
  /usr/local/apache2/modules/.
 
  Then, I put the LoadModule command and the other config
  directives for jk2
  in my httpd.conf file.  Doing a syntax check returns the
  following message:
 
  httpd: module ../../server/apache2/mod_jk2.c is not
  compatible with this
  version of Apache.
  Please contact the vendor for the correct version.
 
 
  So then I tried doing the same thing, but following the
  mod_jk instructions
  instead.  I get basically the same message:
 
  httpd: module ../../server/apache2/mod_jk.c is not
  compatible with this
  version of Apache.
  Please contact the vendor for the correct version.
 
 
  So apparently, the latest versions of both mod_jk and mod_jk2 are
  incompatible with Apache 2.0.44.  Is this true?  I've been
  unable to confirm
  that anywhere.
 
  Should I remove Apache and go back to 2.0.40 or something, or
  am I just
  doing something wrong?  Maybe I need to build in a special
  module in Apache?
 
  Any help is appreciated!
 
  Thanks,
  Jake Robb
 
 
  -
  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: Connector Problem, has anyone seen this behavior?

2003-01-02 Thread Bill Barker
The mod_jk (V1.0) for 3.2.x doesn't have the re-try connection logic that
the later versions have.  You should upgrade to at least V1.1 (ships with TC
3.3), or, better 1.2.x (current stable release).

Brandon Cruz [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Every once in a while, we get a strange error from tomcat when using
apache
 1.3, tomcat 4.1.18, and mod_jk(which was compiled for tomcat 3.2.4
 initially)...

 [INFO] ChannelSocket - -server has been restarted or reset this connection

 Whenever this error shows up, the browser returns a cannot find server.

 Has anyone seen this happen to them?  I will try compiling a new connector
 module, but figured I would take a chance and see if anyone else has
 experienced this same behavior.

 Brandon





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




RE: Connector

2002-12-16 Thread Turner, John

The CoyoteConnector is enabled by default in Tomcat 4.1.12.  The
CoyoteConnector handles multiple protocols, including JK, JK2, and HTTP.  It
depends on what you send it, and what port its listening on.

John


 -Original Message-
 From: response [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, December 14, 2002 10:49 AM
 To: Tomcat Users List
 Subject: Connector
 
 
 Hello.
 
 Is the following true for Tomcat 4.1?
 
 mod_jk2 ajp1.3/ajp1.4 CoyoteConnector+JkCoyoteHandler Current 
 developpements. Enabled by default in 4.1; works in 4.0. mod_jk2 
 supports in-process JVM and load balancing. See Coyote JK 2 
 http://192.168.1.3:8080/tomcat-docs/config/jk2.html
 
  
 Thank-you for your time.
 
 Sean.
 
 
 
 
 
 

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




Re: connector and tomcat 4.1.12 !!

2002-10-25 Thread Max
Thanks.

But i don't understand why tomcat need to get its classpath in apache
configuration file
and how specifie in tomcat where is this file ...

Where can i find documentation on this subject ?
there is few documentation on
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2 but very light ...
or a book ?

- Original Message -
From: Robert L Sowders [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, October 24, 2002 7:32 PM
Subject: Re: connector and tomcat 4.1.12 !!


 Looks like you are having problems with your class path.  Guess you didn't
 update the workers2.properties file when you updated to 4.1.12.

 In the [VM] section of workers2.properties, try replacing the line:

 OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar

 with the following


OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar;${TOMCAT_HOME}/serve
r/lib/commons-logging.jar

 Not sure but I think at some point the OPT lines will be replaced with
 simple class path lines.

 rls





 Max [EMAIL PROTECTED]
 10/24/2002 02:39 PM
 Please respond to Tomcat Users List


 To: Tomcat Users List [EMAIL PROTECTED]
 cc:
 Subject:connector and  tomcat 4.1.12 !!

 Hi

 I have a tomcat 4.1.12, an apache 2.0.40 and mod_jk2
 (tomcat-connectors-4.1.12)

 since i put this simple jk2.properties in my $CATALINA/conf dir :
 #
 handler.list=apr,channelUnix,request
 channelUnix.file=${jkHome}/work/jk2.socket
 apr.NativeSo=${jkHome}/lib/libjkjni.so

 (it works great with a tomcat 4.1.10)
 tomcat doesn't start and my catalina.out looks like this :

 Starting service Tomcat-Standalone
 Apache Tomcat/4.1.12-LE-jdk14
 24 oct. 2002 17:26:38 org.apache.jk.server.JkMain newHandler
 GRAVE: Can't create apr
 java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
 at org.apache.jk.apr.AprImpl.clinit(AprImpl.java:340)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:130)
 at org.apache.jk.server.JkMain.newHandler(JkMain.java:494)

 and the socket file is not created .

 Can you help me ?

 THANKS !

 my server.xml :

 Server port=8005 shutdown=SHUTDOWN debug=0
   Service name=Tomcat-Standalone

  Connector className=org.apache.coyote.tomcat4.CoyoteConnector
 port=8009 minProcessors=5 maxProcessors=75
 enableLookups=true redirectPort=8443
 acceptCount=10 debug=0 connectionTimeout=2
  protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

 Engine name=Standalone defaultHost=phobos debug=0

 Host name=phobos debug=0 appBase=webapps
 unpackWARs=true

 [...]

 /Host

 /Engine

   /Service

 /Server





 --
 To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: connector and tomcat 4.1.12 !!

2002-10-25 Thread Robert L Sowders
The workers2.properties file is not an Apache config file, it is a mod_jk2 
config file, that resides in the Apache/conf directory.

Apache itself knows nothing about Tomcat or classpaths.  Mod_jk or mod_jk2 
connects them together and passes requests between them.  That's why they 
call it a connector.

Jk itself requires config files, one for the Apache side 
(workers2.properties for Jk2), and one for the java or Tomcat side, 
(jk2.properties).  One is in the Apache/conf directory and the other is in 
the Tomcat/conf directory.

For example, you could add more Tomcat instances with each listening on 
different ports.  Jk needs to know what port that Tomcat is listening on 
for any given request so when it gets a request from Apache it will know 
where to send the request. 

For your problem, jk2 can't find something it's looking for in Tomcat, 
hence your error.  I'm guessing that it can't locate the classes in the 
commons-logging.jar file because this was something that came up earlier 
and the fix was to add the class path in the workers2.properties file. Now 
all the examples of workers2.properties files all have the extra classpath 
for commons-logging.jar.

rls






Max [EMAIL PROTECTED]
10/25/2002 06:10 AM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:Re: connector and  tomcat 4.1.12 !!

Thanks.

But i don't understand why tomcat need to get its classpath in apache
configuration file
and how specifie in tomcat where is this file ...

Where can i find documentation on this subject ?
there is few documentation on
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2 but very light ...
or a book ?

- Original Message -
From: Robert L Sowders [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, October 24, 2002 7:32 PM
Subject: Re: connector and tomcat 4.1.12 !!


 Looks like you are having problems with your class path.  Guess you 
didn't
 update the workers2.properties file when you updated to 4.1.12.

 In the [VM] section of workers2.properties, try replacing the line:

 OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar

 with the following


OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar;${TOMCAT_HOME}/serve
r/lib/commons-logging.jar

 Not sure but I think at some point the OPT lines will be replaced with
 simple class path lines.

 rls





 Max [EMAIL PROTECTED]
 10/24/2002 02:39 PM
 Please respond to Tomcat Users List


 To: Tomcat Users List [EMAIL PROTECTED]
 cc:
 Subject:connector and  tomcat 4.1.12 !!

 Hi

 I have a tomcat 4.1.12, an apache 2.0.40 and mod_jk2
 (tomcat-connectors-4.1.12)

 since i put this simple jk2.properties in my $CATALINA/conf dir :
 #
 handler.list=apr,channelUnix,request
 channelUnix.file=${jkHome}/work/jk2.socket
 apr.NativeSo=${jkHome}/lib/libjkjni.so

 (it works great with a tomcat 4.1.10)
 tomcat doesn't start and my catalina.out looks like this :

 Starting service Tomcat-Standalone
 Apache Tomcat/4.1.12-LE-jdk14
 24 oct. 2002 17:26:38 org.apache.jk.server.JkMain newHandler
 GRAVE: Can't create apr
 java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
 at org.apache.jk.apr.AprImpl.clinit(AprImpl.java:340)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:130)
 at org.apache.jk.server.JkMain.newHandler(JkMain.java:494)

 and the socket file is not created .

 Can you help me ?

 THANKS !

 my server.xml :

 Server port=8005 shutdown=SHUTDOWN debug=0
   Service name=Tomcat-Standalone

  Connector 
className=org.apache.coyote.tomcat4.CoyoteConnector
 port=8009 minProcessors=5 maxProcessors=75
 enableLookups=true redirectPort=8443
 acceptCount=10 debug=0 connectionTimeout=2
  protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

 Engine name=Standalone defaultHost=phobos debug=0

 Host name=phobos debug=0 appBase=webapps
 unpackWARs=true

 [...]

 /Host

 /Engine

   /Service

 /Server





 --
 To unsubscribe, e-mail:
mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org





--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: connector and tomcat 4.1.12 !!

2002-10-24 Thread Robert L Sowders
Looks like you are having problems with your class path.  Guess you didn't 
update the workers2.properties file when you updated to 4.1.12.

In the [VM] section of workers2.properties, try replacing the line: 

OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar

with the following

OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar;${TOMCAT_HOME}/server/lib/commons-logging.jar

Not sure but I think at some point the OPT lines will be replaced with 
simple class path lines.

rls





Max [EMAIL PROTECTED]
10/24/2002 02:39 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:connector and  tomcat 4.1.12 !!

Hi

I have a tomcat 4.1.12, an apache 2.0.40 and mod_jk2 
(tomcat-connectors-4.1.12)

since i put this simple jk2.properties in my $CATALINA/conf dir :
#
handler.list=apr,channelUnix,request
channelUnix.file=${jkHome}/work/jk2.socket
apr.NativeSo=${jkHome}/lib/libjkjni.so

(it works great with a tomcat 4.1.10)
tomcat doesn't start and my catalina.out looks like this :

Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
24 oct. 2002 17:26:38 org.apache.jk.server.JkMain newHandler
GRAVE: Can't create apr
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.jk.apr.AprImpl.clinit(AprImpl.java:340)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at org.apache.jk.server.JkMain.newHandler(JkMain.java:494)

and the socket file is not created .

Can you help me ?

THANKS !

my server.xml :

Server port=8005 shutdown=SHUTDOWN debug=0
  Service name=Tomcat-Standalone

 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8009 minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443
acceptCount=10 debug=0 connectionTimeout=2
 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

Engine name=Standalone defaultHost=phobos debug=0

Host name=phobos debug=0 appBase=webapps 
unpackWARs=true

[...]

/Host

/Engine

  /Service

/Server





--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: connector between tomcat apache

2002-10-11 Thread unplug

Thanks for your example.  But I am still confused to set it up.  I think
it is better to do a setup comparison with tomcat3.3+apache1.3+mod_jk.

tomcat3.3+apache1.3+mod_jk:
It needs a configuration file called mod_jk.conf and include it in
httpd.conf.

tomcat4.1+apache1.3+mod_jk2:
Where is the configuration file?  What should I include in httpd.conf? 
Moreover, the document mentions a worker file called
worker2.properties.  Where does it located?


Robert L Sowders wrote:
 
 Here is an example, modify to suit your needs.  Disable JNI if you don't
 use it.  Change Disable=0 to Disable=1 in the appropriate places.
 
 [logger]
 level=DEBUG
 
 [config:]
 #file=${serverRoot}/conf/workers2.properties
 file=c:/Apache2/conf/workers2.properties
 debug=0
 debugEnv=0
 
 [uriMap:]
 info=Maps the requests. Options: debug
 debug=0
 
 # Alternate file logger
 #[logger.file:0]
 #level=DEBUG
 #file=${serverRoot}/logs/jk2.log
 
 [shm:]
 info=Scoreboard. Required for reconfiguration and status with multiprocess
 servers
 file=${serverRoot}/logs/jk2.shm
 size=100
 debug=0
 disabled=0
 
 [workerEnv:]
 info=Global server options
 timing=1
 debug=0
 # Default Native Logger (apache2 or win32 )
 # can be overriden to a file logger, useful
 # when tracing win32 related issues
 #logger=logger.file:0
 
 [lb:lb]
 info=Default load balancer.
 debug=0
 
 #[lb:lb_1]
 #info=A second load balancer.
 #debug=0
 
 [channel.socket:localhost:8009]
 info=Ajp13 forwarding over socket
 debug=0
 tomcatId=localhost:8009
 
 #[channel.socket:localhost:8019]
 #info=A second tomcat instance.
 #debug=0
 #tomcatId=localhost:8019
 #lb_factor=1
 #group=lb
 #group=lb_1
 #disabled=0
 
 #[channel.un:/opt/33/work/jk2.socket]
 #info=A second channel connecting to localhost:8019 via unix socket
 #tomcatId=localhost:8019
 #lb_factor=1
 #debug=0
 
 [channel.jni:jni]
 info=The jni channel, used if tomcat is started inprocess
 
 [status:]
 info=Status worker, displays runtime informations
 
 [vm:]
 info=Parameters used to load a JVM in the server process
 #JVM=C:\Program Files\Java\j2re1.4.0_01\bin\client\jvm.dll (Read from
 registry)
 OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar
 OPT=-Dtomcat.home=c:/Tomcat
 OPT=-Dcatalina.home=c:/Tomcat
 OPT=-Xmx128M
 #OPT=-Djava.compiler=NONE
 disabled=0
 
 [worker.jni:onStartup]
 info=Command to be executed by the VM on startup. This one will start
 tomcat.
 class=org/apache/jk/apr/TomcatStarter
 ARG=start
 disabled=0
 stdout=c:/Apache2/logs/stdout.log
 stderr=c:/Apache2/logs/stderr.log
 
 [worker.jni:onShutdown]
 info=Command to be executed by the VM on shutdown. This one will stop
 tomcat.
 class=org/apache/jk/apr/TomcatStarter
 ARG=stop
 disabled=0
 
 [uri:/jkstatus/*]
 info=Display status information and checks the config file for changes.
 group=status:
 
 #[uri:127.0.0.1:8003]
 #info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to
 test it
 #alias=myVirtualHost:8003
 
 #[uri:127.0.0.1:8003/ex]
 #info=Example webapp in the virtual host. It'll go to lb_1 ( i.e.
 localhost:8019 )
 #context=/ex
 #group=lb_1
 
 [uri:/examples]
 info=Example webapp in the default context.
 context=/examples
 debug=0
 
 #[uri:/examples1/*]
 #info=A second webapp, this time going to the second tomcat only.
 #group=lb_1
 #debug=0
 
 [uri:/examples/servlets/*]
 info=Prefix mapping
 
 [uri:/examples/*.jsp]
 info=Extension mapping
 
 [uri:/examples/*]
 info=Map the whole webapp
 
 [uri:/examples/servlets/HelloW]
 info=Exampel with debug enabled.
 debug=10
 
 unplug [EMAIL PROTECTED]
 10/09/2002 07:05 PM
 Please respond to Tomcat Users List
 
 
 To: Tomcat Users List [EMAIL PROTECTED]
 cc:
 Subject:Re: connector between tomcat  apache
 
 Any example for using mod_jk2 with apache1.3+tomcat4.1?  I follow the
 instruction from the document to download the mod_jk2.  Then I put it
 under apache_home/modules.  Then I add LoadModule  AddModule of mod_jk2
 in httpd.conf.  After that, the document said there is a file called
 worker2.properties which is used by apache.  I can't found that file in
 tomcat.  Moreover, I doubt what setting should I add in httpd.conf.
 
 unplug
 
 Turner, John wrote:
 
  Mod_jk (AJP13).  Don't use WARP/mod_webapp.
 
  Mod_jk2 is beta, workable, but use at your own risk.  Mod_jk is stable
 and
  well-supported at this time.
 
  John
 
   -Original Message-
   From: unplug [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, October 08, 2002 10:09 PM
   To: tomcat-user
   Subject: connector between tomcat  apache
  
  
   Hi all,
  
 I want to confirm the following.
   I have read the document about the connector between tomcat  apache.
   But I am confused what connector to use.  As document said, we can use
   mod_jk2 for apache2.0+tomcat4.  How about apache1.3+tomcat4?  The
   document doesn't mention about it.  Is mod_webapp the only way to be a
   connector between them?
  

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

RE: connector between tomcat apache

2002-10-11 Thread Turner, John


JK2 is in-process.  There is no mod_jk.conf. 

All due respect, but the answers to your questions (so far) are all in the
docs:

There are two files: workers2.properties, and jk2.properties.  One is
Apache-side (workers2.properties), the other is Tomcat side
(jk2.properties).

From the docs at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html:

Tomcat side:
This document describes the configuration file used by mod_jk2 on the
Tomcat site. Its default name is ${jkHome}/conf/jk2.properties, where
${jkHome} is the well known ${catalina.base} property.

Apache side:
Jk2 uses a config file ( workers2.properties ) in the style of a
.properties or ini file. It can be configured to use any other backend that
provides similar capabilities. 

This document describes the format of this configuration file. Its default
name is ${serverRoot}/conf/workers2.properties, where ${serverRoot} is
something like /opt/apache.

Robert Sowders has already provided an example workers2.properties file.

John


 -Original Message-
 From: unplug [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 11, 2002 5:41 AM
 To: Tomcat Users List
 Subject: Re: connector between tomcat  apache
 
 
 Thanks for your example.  But I am still confused to set it 
 up.  I think
 it is better to do a setup comparison with tomcat3.3+apache1.3+mod_jk.
 
 tomcat3.3+apache1.3+mod_jk:
 It needs a configuration file called mod_jk.conf and include it in
 httpd.conf.
 
 tomcat4.1+apache1.3+mod_jk2:
 Where is the configuration file?  What should I include in 
 httpd.conf? 
 Moreover, the document mentions a worker file called
 worker2.properties.  Where does it located?
 
 

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




Re: connector between tomcat apache

2002-10-11 Thread sonam singh


u have to use include
/usr/local/apache/conf/mod_jk.conf in the end of
httpd.conf here is example of mod_jk.conf

LoadModule jk_module modules/mod_jk.so
JkWorkersFile
/usr/local/apache2/conf/workers.properties
JkLogFile  /usr/local/apache2/logs/jk.log
JkLogLevel info
JkMount /u'r context/* ajp13

regards
Sonam Singh



--- unplug [EMAIL PROTECTED] wrote:
 Thanks for your example.  But I am still confused to
 set it up.  I think
 it is better to do a setup comparison with
 tomcat3.3+apache1.3+mod_jk.
 
 tomcat3.3+apache1.3+mod_jk:
 It needs a configuration file called mod_jk.conf and
 include it in
 httpd.conf.
 
 tomcat4.1+apache1.3+mod_jk2:
 Where is the configuration file?  What should I
 include in httpd.conf? 
 Moreover, the document mentions a worker file called
 worker2.properties.  Where does it located?
 
 
 Robert L Sowders wrote:
  
  Here is an example, modify to suit your needs. 
 Disable JNI if you don't
  use it.  Change Disable=0 to Disable=1 in the
 appropriate places.
  
  [logger]
  level=DEBUG
  
  [config:]
  #file=${serverRoot}/conf/workers2.properties
  file=c:/Apache2/conf/workers2.properties
  debug=0
  debugEnv=0
  
  [uriMap:]
  info=Maps the requests. Options: debug
  debug=0
  
  # Alternate file logger
  #[logger.file:0]
  #level=DEBUG
  #file=${serverRoot}/logs/jk2.log
  
  [shm:]
  info=Scoreboard. Required for reconfiguration and
 status with multiprocess
  servers
  file=${serverRoot}/logs/jk2.shm
  size=100
  debug=0
  disabled=0
  
  [workerEnv:]
  info=Global server options
  timing=1
  debug=0
  # Default Native Logger (apache2 or win32 )
  # can be overriden to a file logger, useful
  # when tracing win32 related issues
  #logger=logger.file:0
  
  [lb:lb]
  info=Default load balancer.
  debug=0
  
  #[lb:lb_1]
  #info=A second load balancer.
  #debug=0
  
  [channel.socket:localhost:8009]
  info=Ajp13 forwarding over socket
  debug=0
  tomcatId=localhost:8009
  
  #[channel.socket:localhost:8019]
  #info=A second tomcat instance.
  #debug=0
  #tomcatId=localhost:8019
  #lb_factor=1
  #group=lb
  #group=lb_1
  #disabled=0
  
  #[channel.un:/opt/33/work/jk2.socket]
  #info=A second channel connecting to
 localhost:8019 via unix socket
  #tomcatId=localhost:8019
  #lb_factor=1
  #debug=0
  
  [channel.jni:jni]
  info=The jni channel, used if tomcat is started
 inprocess
  
  [status:]
  info=Status worker, displays runtime informations
  
  [vm:]
  info=Parameters used to load a JVM in the server
 process
  #JVM=C:\Program
 Files\Java\j2re1.4.0_01\bin\client\jvm.dll (Read
 from
  registry)
  OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar
  OPT=-Dtomcat.home=c:/Tomcat
  OPT=-Dcatalina.home=c:/Tomcat
  OPT=-Xmx128M
  #OPT=-Djava.compiler=NONE
  disabled=0
  
  [worker.jni:onStartup]
  info=Command to be executed by the VM on startup.
 This one will start
  tomcat.
  class=org/apache/jk/apr/TomcatStarter
  ARG=start
  disabled=0
  stdout=c:/Apache2/logs/stdout.log
  stderr=c:/Apache2/logs/stderr.log
  
  [worker.jni:onShutdown]
  info=Command to be executed by the VM on shutdown.
 This one will stop
  tomcat.
  class=org/apache/jk/apr/TomcatStarter
  ARG=stop
  disabled=0
  
  [uri:/jkstatus/*]
  info=Display status information and checks the
 config file for changes.
  group=status:
  
  #[uri:127.0.0.1:8003]
  #info=Example virtual host. Make sure
 myVirtualHost is in /etc/hosts to
  test it
  #alias=myVirtualHost:8003
  
  #[uri:127.0.0.1:8003/ex]
  #info=Example webapp in the virtual host. It'll go
 to lb_1 ( i.e.
  localhost:8019 )
  #context=/ex
  #group=lb_1
  
  [uri:/examples]
  info=Example webapp in the default context.
  context=/examples
  debug=0
  
  #[uri:/examples1/*]
  #info=A second webapp, this time going to the
 second tomcat only.
  #group=lb_1
  #debug=0
  
  [uri:/examples/servlets/*]
  info=Prefix mapping
  
  [uri:/examples/*.jsp]
  info=Extension mapping
  
  [uri:/examples/*]
  info=Map the whole webapp
  
  [uri:/examples/servlets/HelloW]
  info=Exampel with debug enabled.
  debug=10
  
  unplug [EMAIL PROTECTED]
  10/09/2002 07:05 PM
  Please respond to Tomcat Users List
  
  
  To: Tomcat Users List
 [EMAIL PROTECTED]
  cc:
  Subject:Re: connector between
 tomcat  apache
  
  Any example for using mod_jk2 with
 apache1.3+tomcat4.1?  I follow the
  instruction from the document to download the
 mod_jk2.  Then I put it
  under apache_home/modules.  Then I add LoadModule
  AddModule of mod_jk2
  in httpd.conf.  After that, the document said
 there is a file called
  worker2.properties which is used by apache.  I
 can't found that file in
  tomcat.  Moreover, I doubt what setting should I
 add in httpd.conf.
  
  unplug
  
  Turner, John wrote:
  
   Mod_jk (AJP13).  Don't use WARP/mod_webapp.
  
   Mod_jk2 is beta, workable, but use at your own
 risk. 
=== message truncated ===


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http

Re: connector between tomcat apache

2002-10-11 Thread sonam singh

use mount_msdos /dev/fd0 /mnt
regards
Sonam Singh


--- unplug [EMAIL PROTECTED] wrote:
 Thanks for your example.  But I am still confused to
 set it up.  I think
 it is better to do a setup comparison with
 tomcat3.3+apache1.3+mod_jk.
 
 tomcat3.3+apache1.3+mod_jk:
 It needs a configuration file called mod_jk.conf and
 include it in
 httpd.conf.
 
 tomcat4.1+apache1.3+mod_jk2:
 Where is the configuration file?  What should I
 include in httpd.conf? 
 Moreover, the document mentions a worker file called
 worker2.properties.  Where does it located?
 
 
 Robert L Sowders wrote:
  
  Here is an example, modify to suit your needs. 
 Disable JNI if you don't
  use it.  Change Disable=0 to Disable=1 in the
 appropriate places.
  
  [logger]
  level=DEBUG
  
  [config:]
  #file=${serverRoot}/conf/workers2.properties
  file=c:/Apache2/conf/workers2.properties
  debug=0
  debugEnv=0
  
  [uriMap:]
  info=Maps the requests. Options: debug
  debug=0
  
  # Alternate file logger
  #[logger.file:0]
  #level=DEBUG
  #file=${serverRoot}/logs/jk2.log
  
  [shm:]
  info=Scoreboard. Required for reconfiguration and
 status with multiprocess
  servers
  file=${serverRoot}/logs/jk2.shm
  size=100
  debug=0
  disabled=0
  
  [workerEnv:]
  info=Global server options
  timing=1
  debug=0
  # Default Native Logger (apache2 or win32 )
  # can be overriden to a file logger, useful
  # when tracing win32 related issues
  #logger=logger.file:0
  
  [lb:lb]
  info=Default load balancer.
  debug=0
  
  #[lb:lb_1]
  #info=A second load balancer.
  #debug=0
  
  [channel.socket:localhost:8009]
  info=Ajp13 forwarding over socket
  debug=0
  tomcatId=localhost:8009
  
  #[channel.socket:localhost:8019]
  #info=A second tomcat instance.
  #debug=0
  #tomcatId=localhost:8019
  #lb_factor=1
  #group=lb
  #group=lb_1
  #disabled=0
  
  #[channel.un:/opt/33/work/jk2.socket]
  #info=A second channel connecting to
 localhost:8019 via unix socket
  #tomcatId=localhost:8019
  #lb_factor=1
  #debug=0
  
  [channel.jni:jni]
  info=The jni channel, used if tomcat is started
 inprocess
  
  [status:]
  info=Status worker, displays runtime informations
  
  [vm:]
  info=Parameters used to load a JVM in the server
 process
  #JVM=C:\Program
 Files\Java\j2re1.4.0_01\bin\client\jvm.dll (Read
 from
  registry)
  OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar
  OPT=-Dtomcat.home=c:/Tomcat
  OPT=-Dcatalina.home=c:/Tomcat
  OPT=-Xmx128M
  #OPT=-Djava.compiler=NONE
  disabled=0
  
  [worker.jni:onStartup]
  info=Command to be executed by the VM on startup.
 This one will start
  tomcat.
  class=org/apache/jk/apr/TomcatStarter
  ARG=start
  disabled=0
  stdout=c:/Apache2/logs/stdout.log
  stderr=c:/Apache2/logs/stderr.log
  
  [worker.jni:onShutdown]
  info=Command to be executed by the VM on shutdown.
 This one will stop
  tomcat.
  class=org/apache/jk/apr/TomcatStarter
  ARG=stop
  disabled=0
  
  [uri:/jkstatus/*]
  info=Display status information and checks the
 config file for changes.
  group=status:
  
  #[uri:127.0.0.1:8003]
  #info=Example virtual host. Make sure
 myVirtualHost is in /etc/hosts to
  test it
  #alias=myVirtualHost:8003
  
  #[uri:127.0.0.1:8003/ex]
  #info=Example webapp in the virtual host. It'll go
 to lb_1 ( i.e.
  localhost:8019 )
  #context=/ex
  #group=lb_1
  
  [uri:/examples]
  info=Example webapp in the default context.
  context=/examples
  debug=0
  
  #[uri:/examples1/*]
  #info=A second webapp, this time going to the
 second tomcat only.
  #group=lb_1
  #debug=0
  
  [uri:/examples/servlets/*]
  info=Prefix mapping
  
  [uri:/examples/*.jsp]
  info=Extension mapping
  
  [uri:/examples/*]
  info=Map the whole webapp
  
  [uri:/examples/servlets/HelloW]
  info=Exampel with debug enabled.
  debug=10
  
  unplug [EMAIL PROTECTED]
  10/09/2002 07:05 PM
  Please respond to Tomcat Users List
  
  
  To: Tomcat Users List
 [EMAIL PROTECTED]
  cc:
  Subject:Re: connector between
 tomcat  apache
  
  Any example for using mod_jk2 with
 apache1.3+tomcat4.1?  I follow the
  instruction from the document to download the
 mod_jk2.  Then I put it
  under apache_home/modules.  Then I add LoadModule
  AddModule of mod_jk2
  in httpd.conf.  After that, the document said
 there is a file called
  worker2.properties which is used by apache.  I
 can't found that file in
  tomcat.  Moreover, I doubt what setting should I
 add in httpd.conf.
  
  unplug
  
  Turner, John wrote:
  
   Mod_jk (AJP13).  Don't use WARP/mod_webapp.
  
   Mod_jk2 is beta, workable, but use at your own
 risk. 
=== message truncated ===


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

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




Re: connector between tomcat apache

2002-10-11 Thread Raj Saini

What does this mean sonam?

Raj

sonam singh wrote:
 use mount_msdos /dev/fd0 /mnt
 regards
 Sonam Singh
 
 
 --- unplug [EMAIL PROTECTED] wrote:
 
Thanks for your example.  But I am still confused to
set it up.  I think
it is better to do a setup comparison with
tomcat3.3+apache1.3+mod_jk.

tomcat3.3+apache1.3+mod_jk:
It needs a configuration file called mod_jk.conf and
include it in
httpd.conf.

tomcat4.1+apache1.3+mod_jk2:
Where is the configuration file?  What should I
include in httpd.conf? 
Moreover, the document mentions a worker file called
worker2.properties.  Where does it located?


Robert L Sowders wrote:

Here is an example, modify to suit your needs. 

Disable JNI if you don't

use it.  Change Disable=0 to Disable=1 in the

appropriate places.

[logger]
level=DEBUG

[config:]
#file=${serverRoot}/conf/workers2.properties
file=c:/Apache2/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=0

# Alternate file logger
#[logger.file:0]
#level=DEBUG
#file=${serverRoot}/logs/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and

status with multiprocess

servers
file=${serverRoot}/logs/jk2.shm
size=100
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=0
# Default Native Logger (apache2 or win32 )
# can be overriden to a file logger, useful
# when tracing win32 related issues
#logger=logger.file:0

[lb:lb]
info=Default load balancer.
debug=0

#[lb:lb_1]
#info=A second load balancer.
#debug=0

[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009

#[channel.socket:localhost:8019]
#info=A second tomcat instance.
#debug=0
#tomcatId=localhost:8019
#lb_factor=1
#group=lb
#group=lb_1
#disabled=0

#[channel.un:/opt/33/work/jk2.socket]
#info=A second channel connecting to

localhost:8019 via unix socket

#tomcatId=localhost:8019
#lb_factor=1
#debug=0

[channel.jni:jni]
info=The jni channel, used if tomcat is started

inprocess

[status:]
info=Status worker, displays runtime informations

[vm:]
info=Parameters used to load a JVM in the server

process

#JVM=C:\Program

Files\Java\j2re1.4.0_01\bin\client\jvm.dll (Read
from

registry)
OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar
OPT=-Dtomcat.home=c:/Tomcat
OPT=-Dcatalina.home=c:/Tomcat
OPT=-Xmx128M
#OPT=-Djava.compiler=NONE
disabled=0

[worker.jni:onStartup]
info=Command to be executed by the VM on startup.

This one will start

tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
disabled=0
stdout=c:/Apache2/logs/stdout.log
stderr=c:/Apache2/logs/stderr.log

[worker.jni:onShutdown]
info=Command to be executed by the VM on shutdown.

This one will stop

tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=stop
disabled=0

[uri:/jkstatus/*]
info=Display status information and checks the

config file for changes.

group=status:

#[uri:127.0.0.1:8003]
#info=Example virtual host. Make sure

myVirtualHost is in /etc/hosts to

test it
#alias=myVirtualHost:8003

#[uri:127.0.0.1:8003/ex]
#info=Example webapp in the virtual host. It'll go

to lb_1 ( i.e.

localhost:8019 )
#context=/ex
#group=lb_1

[uri:/examples]
info=Example webapp in the default context.
context=/examples
debug=0

#[uri:/examples1/*]
#info=A second webapp, this time going to the

second tomcat only.

#group=lb_1
#debug=0

[uri:/examples/servlets/*]
info=Prefix mapping

[uri:/examples/*.jsp]
info=Extension mapping

[uri:/examples/*]
info=Map the whole webapp

[uri:/examples/servlets/HelloW]
info=Exampel with debug enabled.
debug=10

unplug [EMAIL PROTECTED]
10/09/2002 07:05 PM
Please respond to Tomcat Users List


To: Tomcat Users List

[EMAIL PROTECTED]

cc:
Subject:Re: connector between

tomcat  apache

Any example for using mod_jk2 with

apache1.3+tomcat4.1?  I follow the

instruction from the document to download the

mod_jk2.  Then I put it

under apache_home/modules.  Then I add LoadModule

 AddModule of mod_jk2

in httpd.conf.  After that, the document said

there is a file called

worker2.properties which is used by apache.  I

can't found that file in

tomcat.  Moreover, I doubt what setting should I

add in httpd.conf.

unplug

Turner, John wrote:

Mod_jk (AJP13).  Don't use WARP/mod_webapp.

Mod_jk2 is beta, workable, but use at your own

risk. 
 
 === message truncated ===
 
 
 __
 Do you Yahoo!?
 Faith Hill - Exclusive Performances, Videos  More
 http://faith.yahoo.com
 
 --
 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: connector between tomcat apache

2002-10-10 Thread Robert L Sowders

Here is an example, modify to suit your needs.  Disable JNI if you don't 
use it.  Change Disable=0 to Disable=1 in the appropriate places.

[logger]
level=DEBUG

[config:]
#file=${serverRoot}/conf/workers2.properties
file=c:/Apache2/conf/workers2.properties
debug=0
debugEnv=0

[uriMap:]
info=Maps the requests. Options: debug
debug=0

# Alternate file logger
#[logger.file:0]
#level=DEBUG
#file=${serverRoot}/logs/jk2.log

[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess 
servers
file=${serverRoot}/logs/jk2.shm
size=100
debug=0
disabled=0

[workerEnv:]
info=Global server options
timing=1
debug=0
# Default Native Logger (apache2 or win32 ) 
# can be overriden to a file logger, useful 
# when tracing win32 related issues
#logger=logger.file:0

[lb:lb]
info=Default load balancer.
debug=0

#[lb:lb_1]
#info=A second load balancer.
#debug=0

[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009

#[channel.socket:localhost:8019]
#info=A second tomcat instance. 
#debug=0
#tomcatId=localhost:8019
#lb_factor=1
#group=lb
#group=lb_1
#disabled=0

#[channel.un:/opt/33/work/jk2.socket]
#info=A second channel connecting to localhost:8019 via unix socket
#tomcatId=localhost:8019
#lb_factor=1
#debug=0

[channel.jni:jni]
info=The jni channel, used if tomcat is started inprocess

[status:]
info=Status worker, displays runtime informations

[vm:]
info=Parameters used to load a JVM in the server process
#JVM=C:\Program Files\Java\j2re1.4.0_01\bin\client\jvm.dll (Read from 
registry)
OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar
OPT=-Dtomcat.home=c:/Tomcat
OPT=-Dcatalina.home=c:/Tomcat
OPT=-Xmx128M
#OPT=-Djava.compiler=NONE
disabled=0

[worker.jni:onStartup]
info=Command to be executed by the VM on startup. This one will start 
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=start
disabled=0
stdout=c:/Apache2/logs/stdout.log
stderr=c:/Apache2/logs/stderr.log

[worker.jni:onShutdown]
info=Command to be executed by the VM on shutdown. This one will stop 
tomcat.
class=org/apache/jk/apr/TomcatStarter
ARG=stop
disabled=0

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:

#[uri:127.0.0.1:8003]
#info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to 
test it
#alias=myVirtualHost:8003

#[uri:127.0.0.1:8003/ex]
#info=Example webapp in the virtual host. It'll go to lb_1 ( i.e. 
localhost:8019 )
#context=/ex
#group=lb_1

[uri:/examples]
info=Example webapp in the default context. 
context=/examples
debug=0

#[uri:/examples1/*]
#info=A second webapp, this time going to the second tomcat only.
#group=lb_1
#debug=0

[uri:/examples/servlets/*]
info=Prefix mapping

[uri:/examples/*.jsp]
info=Extension mapping

[uri:/examples/*]
info=Map the whole webapp

[uri:/examples/servlets/HelloW]
info=Exampel with debug enabled.
debug=10





unplug [EMAIL PROTECTED]
10/09/2002 07:05 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:Re: connector between tomcat  apache

Any example for using mod_jk2 with apache1.3+tomcat4.1?  I follow the
instruction from the document to download the mod_jk2.  Then I put it
under apache_home/modules.  Then I add LoadModule  AddModule of mod_jk2
in httpd.conf.  After that, the document said there is a file called
worker2.properties which is used by apache.  I can't found that file in
tomcat.  Moreover, I doubt what setting should I add in httpd.conf.

unplug


Turner, John wrote:
 
 Mod_jk (AJP13).  Don't use WARP/mod_webapp.
 
 Mod_jk2 is beta, workable, but use at your own risk.  Mod_jk is stable 
and
 well-supported at this time.
 
 John
 
  -Original Message-
  From: unplug [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, October 08, 2002 10:09 PM
  To: tomcat-user
  Subject: connector between tomcat  apache
 
 
  Hi all,
 
I want to confirm the following.
  I have read the document about the connector between tomcat  apache.
  But I am confused what connector to use.  As document said, we can use
  mod_jk2 for apache2.0+tomcat4.  How about apache1.3+tomcat4?  The
  document doesn't mention about it.  Is mod_webapp the only way to be a
  connector between them?
 
  Thanks,
  unplug
 
 
  --
 
  --
  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: connector between tomcat apache

2002-10-09 Thread Raj Saini

You can use use the ajp13 with tomcat. (mod_jk at apache end). Warp 
connecter is not reliable and what I learnt is no more actively 
developed. There are loadbalancing and fault tolerance features in ajp 
which are not in warp (mod_webapp)

Raj
unplug wrote:
 Hi all,
 
   I want to confirm the following.
 I have read the document about the connector between tomcat  apache. 
 But I am confused what connector to use.  As document said, we can use
 mod_jk2 for apache2.0+tomcat4.  How about apache1.3+tomcat4?  The
 document doesn't mention about it.  Is mod_webapp the only way to be a
 connector between them?
 
 Thanks,
 unplug
 
 
 --
 
 --
 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: connector between tomcat apache

2002-10-09 Thread sonam singh

use mod_jk to load balncing it is more reliable 
regards
Sonam Singh


--- Raj Saini [EMAIL PROTECTED] wrotsue e:
 You can use use the ajp13 with tomcat. (mod_jk at
 apache end). Warp 
 connecter is not reliable and what I learnt is no
 more actively 
 developed. There are loadbalancing and fault
 tolerance features in ajp 
 which are not in warp (mod_webapp)
 
 Raj
 unplug wrote:
  Hi all,
  
I want to confirm the following.
  I have read the document about the connector
 between tomcat  apache. 
  But I am confused what connector to use.  As
 document said, we can use
  mod_jk2 for apache2.0+tomcat4.  How about
 apache1.3+tomcat4?  The
  document doesn't mention about it.  Is mod_webapp
 the only way to be a
  connector between them?
  
  Thanks,
  unplug
  
  
  --
  
  --
  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]
 


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

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




RE: connector between tomcat apache

2002-10-09 Thread Turner, John


Mod_jk (AJP13).  Don't use WARP/mod_webapp.

Mod_jk2 is beta, workable, but use at your own risk.  Mod_jk is stable and
well-supported at this time.

John

 -Original Message-
 From: unplug [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 08, 2002 10:09 PM
 To: tomcat-user
 Subject: connector between tomcat  apache
 
 
 Hi all,
 
   I want to confirm the following.
 I have read the document about the connector between tomcat  apache. 
 But I am confused what connector to use.  As document said, we can use
 mod_jk2 for apache2.0+tomcat4.  How about apache1.3+tomcat4?  The
 document doesn't mention about it.  Is mod_webapp the only way to be a
 connector between them?
 
 Thanks,
 unplug
 
 
 --
 
 --
 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: connector between tomcat apache

2002-10-09 Thread unplug

Any example for using mod_jk2 with apache1.3+tomcat4.1?  I follow the
instruction from the document to download the mod_jk2.  Then I put it
under apache_home/modules.  Then I add LoadModule  AddModule of mod_jk2
in httpd.conf.  After that, the document said there is a file called
worker2.properties which is used by apache.  I can't found that file in
tomcat.  Moreover, I doubt what setting should I add in httpd.conf.

unplug


Turner, John wrote:
 
 Mod_jk (AJP13).  Don't use WARP/mod_webapp.
 
 Mod_jk2 is beta, workable, but use at your own risk.  Mod_jk is stable and
 well-supported at this time.
 
 John
 
  -Original Message-
  From: unplug [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, October 08, 2002 10:09 PM
  To: tomcat-user
  Subject: connector between tomcat  apache
 
 
  Hi all,
 
I want to confirm the following.
  I have read the document about the connector between tomcat  apache.
  But I am confused what connector to use.  As document said, we can use
  mod_jk2 for apache2.0+tomcat4.  How about apache1.3+tomcat4?  The
  document doesn't mention about it.  Is mod_webapp the only way to be a
  connector between them?
 
  Thanks,
  unplug
 
 
  --
 
  --
  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: Connector examples?

2002-08-30 Thread Turner, John


For the auto conf files to be generated, you need to add Listener directives
to server.xml and restart tomcat.  

See step #10 in my HOWTO:
http://www.johnturner.com/howto/apache-tomcat-howto.html  Even though it is
for RedHat, the tomcat configuration is the same.

No, tomcat doesn't integrate with PWS, as far as I know.

John Turner
[EMAIL PROTECTED]

 -Original Message-
 From: James [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 30, 2002 1:01 PM
 To: Tomcat List
 Subject: Connector examples?
 
 
 The Tomcat 4.0.4 docs say that a sample apache configuration 
 file will be
 written to tomcat-dir/conf/auto and also for IIS4/5. But these are not
 there... how do I get them?
 
 Also, is it possible to connect Tomcat and PWS4 on Win98? It 
 doesn't have
 the configuration thingies of IIS, so can it still be done?
 
 Thanks,
 James
 
 
 
 --
 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: connector issues: mod_webapp and mod_jk

2002-05-11 Thread Lars Nielsen Lind

I have been using Apache 1.3.24 and Jakarta-Tomcat 4.0.3 with OpenSSL 0.9.6c
and mod_ssl 2.8.8-1.3.24 and I have observed some troubles too.

I have made a SELECT/ with list-data. When the page loads it works fine -
but ocassionally the user gets a nullpointer exception when pressing the
Next button that sends the selected data from the list to another JSP page.
If the user keeps refreshing (F5) several times then the nullpointer
exception disappears and the list-data er sent correct and the JSP page are
shown correct.

I have used the Jakarta-Tomcat mod_webapp connector 4.0.2.

I would also like to hear from users that have experienced the problem an
have solved it.

Best regards,

Lars Nielsen Lind

- Original Message -
From: corey [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, May 11, 2002 8:43 AM
Subject: connector issues: mod_webapp and mod_jk


 Tried:

 1)
Tomcat 4.0.3
Apache 1.3.24 with mod_ssl
mod_webapp (newest binary and from cvs)
on Redhat 7.2

 I got everything working fine. Seemed to do well.

 Then, certain requests caused Premature packet header end. I did quite a
 bit of tweaking and debugging. Through that, I concluded that,
occasionally,
 extraneous threads seem to be hanging around until, finally (after 2 to 15
 seconds?!), they throw the exception. This seems to be a widespread issue,
 prevalent in postings and in bugzilla. I'll come back to it, but need to
get
 the app up. So...



 2)
 Tomcat 3.3.1
 mod_jk
 Apache 1.3.24 on Redhat 7.2
 and 1.3.12 and 6.2 (?)
 both with mod_ssl

 Again, got everything working fine and looking good... for about 30
minutes.
 Then the number of Apache and Tomcat processes start to climb rapidly.
 Eventually everything locks up and only a restart of both fixes it.



 3)
 Woefully reverted to JRun (blech!) for that environment until I can
 resolve one of these.


 Input on either or both issues would be greatly appreciated.
 -corey


 --
 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: Connector

2001-05-30 Thread Andrea Mari

Thanks to all!





RE: Connector

2001-05-28 Thread GASNIER Lise

Yes The HTTPConnectionHandler on port 8080 is used by TOMCAT running in
standalone mode

 -Message d'origine-
 De:   Andrea Mari [SMTP:[EMAIL PROTECTED]]
 Date: lundi 28 mai 2001 14:44
 À:[EMAIL PROTECTED]
 Objet:Connector
 
 Hi,
 
 I've a simple question. If I use Tomcat 3.2.1 with Apache, can I disable
 the
 http connector on port 8080 without any problems?
 
 I'm not sure.
 
 Thanks
 Andrea



Re: Connector

2001-05-28 Thread Wolle

hello Andrea,
yes you could do this,
it's only neccesary when you use tomcat as stand alone web server,
when you use it with apache or so, it communicates over ajp12 or ajp13 (Port
8007 /Port 8009)
the only thing you don't do disable is the ajp12, when you use the ajp13,
because it is needed to shutdown tomcat.

Greetings,
Michael

Andrea Mari wrote:

 Hi,

 I've a simple question. If I use Tomcat 3.2.1 with Apache, can I disable the
 http connector on port 8080 without any problems?

 I'm not sure.

 Thanks
 Andrea

--
__




Re: Connector

2001-05-28 Thread Jeff Waugh

Yes.

- Original Message -
From: Andrea Mari [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 28, 2001 8:44 AM
Subject: Connector


 Hi,

 I've a simple question. If I use Tomcat 3.2.1 with Apache, can I disable
the
 http connector on port 8080 without any problems?

 I'm not sure.

 Thanks
 Andrea