Coyote/JK2 AJP 1.3 Connector

2004-02-23 Thread Rommel Sharma
Dear Tomcat Gurus,

What is the use of Coyote/JK2 AJP 1.3 Connector on port 8009 in server.xml.

If I have two different tomcats running, and I have already changed the http
and https ports for them, do I have to change the 8009 port in one of them
to avoid conflict?

Thanks,
Rommel Sharma.

FYR: [in server.xml]
..
..
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=2
   useURIValidationHack=false

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
..
..

*
Disclaimer

This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*
Visit us at http://www.mahindrabt.com




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



Re: Coyote/JK2 AJP 1.3 Connector

2004-02-23 Thread Antonio Fiol Bonnín
Simply comment out the connector. You are not using it, so you don't 
need it there.

Antonio Fiol

Rommel Sharma wrote:

Dear Tomcat Gurus,

What is the use of Coyote/JK2 AJP 1.3 Connector on port 8009 in server.xml.

If I have two different tomcats running, and I have already changed the http
and https ports for them, do I have to change the 8009 port in one of them
to avoid conflict?
Thanks,
Rommel Sharma.
FYR: [in server.xml]
..
..
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
   Connector className=org.apache.coyote.tomcat4.CoyoteConnector
  port=8009 minProcessors=5 maxProcessors=75
  enableLookups=true redirectPort=8443
  acceptCount=10 debug=0 connectionTimeout=2
  useURIValidationHack=false
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/
..
..
*
Disclaimer
This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*
Visit us at http://www.mahindrabt.com


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




smime.p7s
Description: S/MIME Cryptographic Signature


Restrict Coyote/JK2 AJP 1.3 connector to local loopback interface

2003-10-21 Thread Sascha Hess
Hi there!
I couldn't figure out how to restrict Coyote/JK2 AJP 1.3 connector to
the local loopback interface.
Actually, I would expect the default settings in workers.properties
(worker.ajp13.host=localhost) to only bind to the local loopback device,
but a netstat -an indicates:

Proto Recv-Q Send-Q Local Address   Foreign Address
State  
tcp0  0 0.0.0.0:80000.0.0.0:*  
LISTEN  
tcp0  0 127.0.0.1:8005  0.0.0.0:*  
LISTEN  
tcp0  0 0.0.0.0:80090.0.0.0:*  
LISTEN  
[...]
(shutdown port 8005 ist doing a great job...)

Hmm, any suggestions?
Thanks,
-sascha


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



RE: Restrict Coyote/JK2 AJP 1.3 connector to local loopbackinterface

2003-10-21 Thread Francois JEANMOUGIN


 I couldn't figure out how to restrict Coyote/JK2 AJP 1.3 connector to
 the local loopback interface.
 Actually, I would expect the default settings in workers.properties
 (worker.ajp13.host=localhost) to only bind to the local loopback
 device,

You should try the address attribute under the Connector section dedicated to your 
connector in the conf/server.xml file.

François


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



Coyote/JK2 AJP 1.3 Connector stays on 8009 ? Possible bug ?

2002-11-04 Thread Aurelien Pernoud

Hi there,

I'm using tomcat 4.1.12 and I found something strange : I'm trying to change
the default port for Coyote/JK2 AJP 1.3 Connector, to be able to run
multiple instances of Tomcat.

So I edit the server.xml and modified port=8009 to port=8109 for
instance :

!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8109 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=2
   useURIValidationHack=false

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

It works well for all the other ports (Shutdown, HTTP1.1), but this one
never get changed, so I get errors with other tomcats (VBM address in use
...).

In server.xml, the other line for !-- Define an AJP 1.3 Connector on port
8009 -- is commented, so it's not this...

I looked into the bug report and mail-archive but didn't find anything about
it. Am I doing something wrong ?

As I'm not on this mailing-list (too much traffic sorry), could you please
copy me if you find something.

I first posted on tomcat-dev but seems it wasn't the good place...

Thanks,
Aurélien Pernoud
Sopra Group


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




RE: Coyote/JK2 AJP 1.3 Connector stays on 8009 ? Possible bug ?

2002-11-04 Thread Christopher Watson
Aurelien,

I had this too.

The config for the org.apache.coyote.tomcat4.CoyoteConnector seems to be
determined by what is in
conf/jk2.properties, in particular the lines

# Override the default port for the socketChannel
# channelSocket.port=8009

I don't know where it gets the default of 8009,
obviously not server.xml, and not this commented line,
but changing the above line does work, so you could change it to

# Override the default port for the socketChannel
channelSocket.port=8019

The jk2.properties also says ...

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.
which I guess means
http://localhost:8080/tomcat-docs/jk2/jk2/configtc.html
assuming you've got a default installation of tomcat complete with its
tomcat-docs webapp

Hope this helps you forward.
I'm copying it to your personal email address to as requested.

Christopher

 -Original Message-
 From: Aurelien Pernoud [mailto:apernoud;sopragroup.com]
 Sent: 04 November 2002 14:14
 To: [EMAIL PROTECTED]
 Subject: Coyote/JK2 AJP 1.3 Connector stays on 8009 ? Possible bug ?



 Hi there,

 I'm using tomcat 4.1.12 and I found something strange : I'm
 trying to change
 the default port for Coyote/JK2 AJP 1.3 Connector, to be able to run
 multiple instances of Tomcat.

 So I edit the server.xml and modified port=8009 to port=8109 for
 instance :

 !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --

 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8109 minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443
acceptCount=10 debug=0 connectionTimeout=2
useURIValidationHack=false

 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

 It works well for all the other ports (Shutdown, HTTP1.1), but this one
 never get changed, so I get errors with other tomcats (VBM address in use
 ...).

 In server.xml, the other line for !-- Define an AJP 1.3 Connector on port
 8009 -- is commented, so it's not this...

 I looked into the bug report and mail-archive but didn't find
 anything about
 it. Am I doing something wrong ?

 As I'm not on this mailing-list (too much traffic sorry), could you please
 copy me if you find something.

 I first posted on tomcat-dev but seems it wasn't the good place...

 Thanks,
 Aurélien Pernoud
 Sopra Group


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