If your JK connector port in server.xml is 8009, then that is the port you should use in your properties files.


Please understand that Tomcat works with JK and JK2 by default. Right "out of the box", with no changes whatsoever to server.xml. You don't "need" to change anything until you are ready to do so. Don't change something because it "looks wrong".

John

vikas jain wrote:

I'm sorry about not telling you whole thing. But I was not aware of that.
I looked into my server.xml and it says JK2 port is 8009. It's something like this:


<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
   <Connector port="8009"
              enableLookups="false" redirectPort="8443" debug="0"
              protocol="AJP/1.3" />

But should I change the port to 8443 in properties file as it is saying redirectport = 8443.

Thanks,




From: John Turner <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: Tomcat 5.0.2 and IIS
Date: Thu, 07 Aug 2003 12:08:57 -0400


Let's step back a little:


CoyoteConnector is the default class that handled connections to Tomcat.

By default, there are two connectors configured in server.xml. Both use CoyoteConnector. One is for HTTP and is on port 8080 by default. The other is for JK/JK2 and is on port 8009 by default.

To use a web server redirector, you need a JK/JK2 connector configured in server.xml, and you need your .properties files to use the correct port number. Otherwise, nothing you do has a chance of working.

Perhaps if you told us what you wanted to do, and what you have done (changed from the default) we could be of more help, but right now you are only giving us little tidbits of info in each post, making it pretty difficult to help you quickly.

John




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



Reply via email to