Hi -

I'm a bit of a hacker with server.xml, but your problem is with duplicate ports so look at ALL port usage in both server.xml files.

Maybe you should try changing the redirect port for TC2 to 8444.

There should not be a redirect port for AJP/1.3

Do you define an HTTPS connector? If not, then I think you should leave out the redirectPort for "HTTP/1.1" (I may be wrong here and you need it to avoid defaults.)

Do you define the shutdown port? That must also be unique.

Regards,
Dave

On May 29, 2008, at 11:27 AM, karthikn wrote:

Hi

>>Using this configuration, TOMCAT2 will never start up.

I am confused ....

TC1

<Connector port="8081" protocol="HTTP/1.1" connectionTimeout="20000"> redirectPort="8443" />
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />



TC2

<Connector port="8082" protocol="HTTP/1.1" connectionTimeout="20000"> redirectPort="8443" />
<Connector port="8010" protocol="AJP/1.3" redirectPort="8443" />




Yes I am able to start both TOMCATS on Ports 8081 /8082 configurations in server.xml

am i still missing anything in here.....


with regards
karthik


Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Karthik,

karthikn wrote:
| Tomcat 1 is on c:/TOMCAT1   on startup port - 8081
| <Connector port="8081" protocol="HTTP/1.1" connectionTimeout="20000"
| redirectPort="8443" />
|
| Tomcat 2 is on d:/TOMCAT2  on startup port -  8082
| <Connector port="8082" protocol="HTTP/1.1" connectionTimeout="20000"
| redirectPort="8443" />

Are you sure?

| TOMCAT1 >> .server.xml is as follows
|
| <Connector port="8081" protocol="HTTP/1.1" connectionTimeout="20000">
| redirectPort="8443" />
| <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
| <Engine name="Catalina" defaultHost="localhost" jvmRoute="node01">

This configuration looks good, although you probably don't need the
HTTP/1.1 connector at all, unless you want to be able to contact each
Tomcat individually.

| TOMCAT2 >> .server.xml is as follows
|
| <Connector port="8081" protocol="HTTP/1.1" connectionTimeout="20000">
| redirectPort="8443" />
| <Connector port="8010" protocol="AJP/1.3" redirectPort="8443" />
| <Engine name="Catalina" defaultHost="localhost" jvmRoute="node02">

You have a port conflict with your HTTP/1.1 connector between the two
Tomcats. It doesn't matter what service you're trying to run: you cannot
have two things listening on the same port at the same time.

Using this configuration, TOMCAT2 will never start up.

You also need to re-port your workers.properties file.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkg+yYEACgkQ9CaO5/Lv0PBLuQCgrHgsprXjv5zXkyXO4gQiktLf
1QMAn08pl4PyOXOvk2DjgaAMqRJwbRjX
=mReW
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to