You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Nagulapalli, Srinivas" <Sr...@starwoodvo.com> on 2009/09/17 16:57:31 UTC
Configuring second tomcat instance on same box
I am trying to create second Tomcat instance on same machine.
Installed Tomcat into separate folder say c:\tomcat2 and changed
the conf/server.xml port numbers to different values.
Basically I bumped the Server port from 8005 to 8006,
connector port to 8081 from 8080 and redirectPort to 8444 (from 8443).
Changes are like below.
Still, when I start this second instance, I get the error saying:
"Several ports (8005,8009) required by Tomcat at localhost are already
in use."
True, they are in use as my original Tomcat instance is running on them.
But I changed those port numbers for this instance in server.xml file.
Do I have to change else where? Thanks much for insights and pointers.
Best
Srini
==Snippets from TOMCAT2_HOME\conf\server.xml============
<?xml version='1.0' encoding='utf-8'?>
<Server port="8006" shutdown="SHUTDOWN"> <!-- was 8005 originally -->
.....
<!-- was originally at 8080, 8443 -->
<Connector port="8081" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8444" />
<!-- Define an AJP 1.3 Connector on port 8010(was 8009!) -->
<Connector port="8010" protocol="AJP/1.3" redirectPort="8444" />
<!-- In above ports were 8009 and 8443 respectively, originally! -->
.....
</Host>
</Engine>
</Service>
</Server>
This electronic message transmission contains information from the Company that may be proprietary, confidential and/or privileged.
The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be
aware that any disclosure, copying or distribution or use of the contents of this information is prohibited. If you have received
this electronic transmission in error, please notify the sender immediately by replying to the address listed in the "From:" field.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Configuring second tomcat instance on same box
Posted by Mike Baranski <li...@secmgmt.com>.
http://www.urbandictionary.com/define.php?term=thread+hijacking
>-----Original Message-----
>From: Nagulapalli, Srinivas [mailto:Srinivas.Nagulapalli@starwoodvo.com]
>Sent: Thursday, September 17, 2009 11:30 AM
>To: Tomcat Users List
>Subject: RE: Configuring second tomcat instance on same box
>
>
>This is my first post after joining the list yesterday. Please clue me
>in as to what the error is.
>
>Best
>Srini
>
>-----Original Message-----
>From: Mark Thomas [mailto:markt@apache.org]
>
>Please don't hijack threads.
>
>Mark
>
>
>This electronic message transmission contains information from the
>Company that may be proprietary, confidential and/or privileged.
>The information is intended only for the use of the individual(s) or
>entity named above. If you are not the intended recipient, be
>aware that any disclosure, copying or distribution or use of the
>contents of this information is prohibited. If you have received
>this electronic transmission in error, please notify the sender
>immediately by replying to the address listed in the "From:" field.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Configuring second tomcat instance on same box
Posted by "Nagulapalli, Srinivas" <Sr...@starwoodvo.com>.
> From: Pid [mailto:pid@pidster.com]
> Perhaps you weren't aware that some mail readers track additional
> headers in the email, (as previously mentioned), to determine which
> replies refer to which other emails in the thread.
>
> It is a tree structure so one needs to monitor the branching to see
> where new additions should fit.
>
> Simply changing the subject line doesn't erase the headers (which you
> don't usually see), so your message appears abruptly in the middle of
> the tree.
Thanks for patiently explaining.
So much thought put in to figure branching using additional headers, but
no
thought for displaying in obvious manner same headers that make it
possible!
This is not lambasting inner workings of email or effort in RFC. Far
from it. Tool is only as good as we made it to be. Hoping some
compassion and
thought to user experience!
PS: Also, it turned out I had all along a successfully configured
second
tomcat instance (by changing port numbers in server.xml). I was
starting Tomcat from Eclipse using Sysdeo plugin. And the problem
seems
Eclipse was somehow using previous settings inspite of changing and
refreshing! Deleting server config, recreating and restarting
worked.
Thanks
Srini
This electronic message transmission contains information from the Company that may be proprietary, confidential and/or privileged.
The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be
aware that any disclosure, copying or distribution or use of the contents of this information is prohibited. If you have received
this electronic transmission in error, please notify the sender immediately by replying to the address listed in the "From:" field.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Configuring second tomcat instance on same box
Posted by Pid <pi...@pidster.com>.
On 17/09/2009 17:39, Nagulapalli, Srinivas wrote:
>
>> From: Mark Thomas [mailto:markt@apache.org]
>
>> http://markmail.org/message/rz3rii2w4bdtines
>> http://www.google.co.uk/#q=How+to+view+email+headers
>
> Thanks for the links.
>
> Beats me why changing subject is linked to original mail, when user
> intent
> is so clear! Clicking "Reply" is to same target, and changing the darn
> subject makes/looks it entirely different. How reasonable, and how
> wrong!
Perhaps you weren't aware that some mail readers track additional
headers in the email, (as previously mentioned), to determine which
replies refer to which other emails in the thread.
It is a tree structure so one needs to monitor the branching to see
where new additions should fit.
Simply changing the subject line doesn't erase the headers (which you
don't usually see), so your message appears abruptly in the middle of
the tree.
p
> Those who makes such decisions about user experience must be put on
> polls for getting raises:-)
>
>
> This electronic message transmission contains information from the Company that may be proprietary, confidential and/or privileged.
> The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be
> aware that any disclosure, copying or distribution or use of the contents of this information is prohibited. If you have received
> this electronic transmission in error, please notify the sender immediately by replying to the address listed in the "From:" field.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Configuring second tomcat instance on same box
Posted by "Nagulapalli, Srinivas" <Sr...@starwoodvo.com>.
> From: Mark Thomas [mailto:markt@apache.org]
> http://markmail.org/message/rz3rii2w4bdtines
> http://www.google.co.uk/#q=How+to+view+email+headers
Thanks for the links.
Beats me why changing subject is linked to original mail, when user
intent
is so clear! Clicking "Reply" is to same target, and changing the darn
subject makes/looks it entirely different. How reasonable, and how
wrong!
Those who makes such decisions about user experience must be put on
polls
for getting raises:-)
This electronic message transmission contains information from the Company that may be proprietary, confidential and/or privileged.
The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be
aware that any disclosure, copying or distribution or use of the contents of this information is prohibited. If you have received
this electronic transmission in error, please notify the sender immediately by replying to the address listed in the "From:" field.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Configuring second tomcat instance on same box
Posted by Mark Thomas <ma...@apache.org>.
Nagulapalli, Srinivas wrote:
>
>> From: Ken Bowen [mailto:kbowen@als.com]
>
>> It sounds like to took an existing message your received, changed the
>
>> subject line, and sent it.
>> That re-use of an existing message is hijacking.
>> When you start a new subject, you must start a fresh email to
>> users@tomcat.apache.org
>
> Re-use was not of existing message, but only of target to avoid
> mistyping any of users@tomcat.apache.org ! Only visible aspect,
> "subject" was changed.
http://markmail.org/message/rz3rii2w4bdtines
> And invisible (to me!) RequestHeader? part, if only can seen in MS
> Outlook,
> its big help. Even in web-mail-Yahoo Email, gmail etc. don't recall
> seeing RequestHeaders. What kind of email-clients are these that hide
> what hurts?!
http://www.google.co.uk/#q=How+to+view+email+headers
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Configuring second tomcat instance on same box
Posted by "Nagulapalli, Srinivas" <Sr...@starwoodvo.com>.
> From: Ken Bowen [mailto:kbowen@als.com]
> It sounds like to took an existing message your received, changed the
> subject line, and sent it.
> That re-use of an existing message is hijacking.
> When you start a new subject, you must start a fresh email to
> users@tomcat.apache.org
Re-use was not of existing message, but only of target to avoid
mistyping any of users@tomcat.apache.org ! Only visible aspect,
"subject" was changed.
And invisible (to me!) RequestHeader? part, if only can seen in MS
Outlook,
its big help. Even in web-mail-Yahoo Email, gmail etc. don't recall
seeing RequestHeaders. What kind of email-clients are these that hide
what hurts?!
This electronic message transmission contains information from the Company that may be proprietary, confidential and/or privileged.
The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be
aware that any disclosure, copying or distribution or use of the contents of this information is prohibited. If you have received
this electronic transmission in error, please notify the sender immediately by replying to the address listed in the "From:" field.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Configuring second tomcat instance on same box
Posted by Ken Bowen <kb...@als.com>.
On Sep 17, 2009, at 11:53 AM, Nagulapalli, Srinivas wrote:
>> From: Mark Thomas [mailto:markt@apache.org]
>
>> Look at the headers. Specifically:
>> In-Reply-To: <4A...@kippdata.de>
>
> Please - how to see that in MS outlook, and what to do to prevent it?
> I used MS Outlook to post, had specifically new subject line, not a
> word
> from any other post. No attempt to hijack any thing to my best
> knowledge.
It sounds like to took an existing message your received, changed the
subject line, and sent it.
That re-use of an existing message is hijacking.
When you start a new subject, you must start a fresh email to users@tomcat.apache.org
>
> Even so, my apology for something I am more clueless about its how/
> why.
>
> Unwittingly and ironically, this seems to have hijacked my post in
> turn,
> shifting focus from my original question!
>
> Best
> Srini
>
> This electronic message transmission contains information from the
> Company that may be proprietary, confidential and/or privileged.
> The information is intended only for the use of the individual(s) or
> entity named above. If you are not the intended recipient, be
> aware that any disclosure, copying or distribution or use of the
> contents of this information is prohibited. If you have received
> this electronic transmission in error, please notify the sender
> immediately by replying to the address listed in the "From:" field.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Configuring second tomcat instance on same box
Posted by "Nagulapalli, Srinivas" <Sr...@starwoodvo.com>.
> From: Mark Thomas [mailto:markt@apache.org]
> Look at the headers. Specifically:
> In-Reply-To: <4A...@kippdata.de>
Please - how to see that in MS outlook, and what to do to prevent it?
I used MS Outlook to post, had specifically new subject line, not a word
from any other post. No attempt to hijack any thing to my best
knowledge.
Even so, my apology for something I am more clueless about its how/why.
Unwittingly and ironically, this seems to have hijacked my post in turn,
shifting focus from my original question!
Best
Srini
This electronic message transmission contains information from the Company that may be proprietary, confidential and/or privileged.
The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be
aware that any disclosure, copying or distribution or use of the contents of this information is prohibited. If you have received
this electronic transmission in error, please notify the sender immediately by replying to the address listed in the "From:" field.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Configuring second tomcat instance on same box
Posted by Mark Thomas <ma...@apache.org>.
David kerber wrote:
> Mark Thomas wrote:
>> Please don't hijack threads.
>>
>> Mark
>
> I don't see a thread hijack here; it came through as a new post on my
> installation of Thunderbird.
Look at the headers. Specifically:
In-Reply-To: <4A...@kippdata.de>
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Configuring second tomcat instance on same box
Posted by David kerber <dc...@verizon.net>.
Mark Thomas wrote:
> Please don't hijack threads.
>
> Mark
I don't see a thread hijack here; it came through as a new post on my
installation of Thunderbird.
D
>
> Nagulapalli, Srinivas wrote:
>> I am trying to create second Tomcat instance on same machine.
>> Installed Tomcat into separate folder say c:\tomcat2 and changed
>> the conf/server.xml port numbers to different values.
>> Basically I bumped the Server port from 8005 to 8006,
>> connector port to 8081 from 8080 and redirectPort to 8444 (from 8443).
>> Changes are like below.
....
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Configuring second tomcat instance on same box
Posted by "Nagulapalli, Srinivas" <Sr...@starwoodvo.com>.
This is my first post after joining the list yesterday. Please clue me
in as to what the error is.
Best
Srini
-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org]
Please don't hijack threads.
Mark
This electronic message transmission contains information from the Company that may be proprietary, confidential and/or privileged.
The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be
aware that any disclosure, copying or distribution or use of the contents of this information is prohibited. If you have received
this electronic transmission in error, please notify the sender immediately by replying to the address listed in the "From:" field.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Configuring second tomcat instance on same box
Posted by Mark Thomas <ma...@apache.org>.
Please don't hijack threads.
Mark
Nagulapalli, Srinivas wrote:
> I am trying to create second Tomcat instance on same machine.
> Installed Tomcat into separate folder say c:\tomcat2 and changed
> the conf/server.xml port numbers to different values.
> Basically I bumped the Server port from 8005 to 8006,
> connector port to 8081 from 8080 and redirectPort to 8444 (from 8443).
> Changes are like below.
>
> Still, when I start this second instance, I get the error saying:
> "Several ports (8005,8009) required by Tomcat at localhost are already
> in use."
>
> True, they are in use as my original Tomcat instance is running on them.
> But I changed those port numbers for this instance in server.xml file.
> Do I have to change else where? Thanks much for insights and pointers.
>
> Best
> Srini
>
> ==Snippets from TOMCAT2_HOME\conf\server.xml============
>
> <?xml version='1.0' encoding='utf-8'?>
> <Server port="8006" shutdown="SHUTDOWN"> <!-- was 8005 originally -->
> .....
> <!-- was originally at 8080, 8443 -->
> <Connector port="8081" protocol="HTTP/1.1"
> connectionTimeout="20000"
> redirectPort="8444" />
>
> <!-- Define an AJP 1.3 Connector on port 8010(was 8009!) -->
> <Connector port="8010" protocol="AJP/1.3" redirectPort="8444" />
> <!-- In above ports were 8009 and 8443 respectively, originally! -->
> .....
> </Host>
> </Engine>
> </Service>
> </Server>
>
> This electronic message transmission contains information from the Company that may be proprietary, confidential and/or privileged.
> The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be
> aware that any disclosure, copying or distribution or use of the contents of this information is prohibited. If you have received
> this electronic transmission in error, please notify the sender immediately by replying to the address listed in the "From:" field.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Configuring second tomcat instance on same box
Posted by "Nagulapalli, Srinivas" <Sr...@starwoodvo.com>.
> From: David kerber [mailto:dckerber@verizon.net]
> It looks like you may have missed the shutdown port.
Thanks David. I changed this line from server.xml where initially port
was 8005 and I bumped it to 8006. I hope I am looking at the right
thing.
_________________________________________________________________
<Server port="8006" shutdown="SHUTDOWN"> <!-- 8005 originally1 -->
_________________________________________________________________
This electronic message transmission contains information from the Company that may be proprietary, confidential and/or privileged.
The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be
aware that any disclosure, copying or distribution or use of the contents of this information is prohibited. If you have received
this electronic transmission in error, please notify the sender immediately by replying to the address listed in the "From:" field.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Configuring second tomcat instance on same box
Posted by David kerber <dc...@verizon.net>.
It looks like you may have missed the shutdown port.
Nagulapalli, Srinivas wrote:
> I am trying to create second Tomcat instance on same machine.
> Installed Tomcat into separate folder say c:\tomcat2 and changed
> the conf/server.xml port numbers to different values.
> Basically I bumped the Server port from 8005 to 8006,
> connector port to 8081 from 8080 and redirectPort to 8444 (from 8443).
> Changes are like below.
>
> Still, when I start this second instance, I get the error saying:
> "Several ports (8005,8009) required by Tomcat at localhost are already
> in use."
>
> True, they are in use as my original Tomcat instance is running on them.
> But I changed those port numbers for this instance in server.xml file.
> Do I have to change else where? Thanks much for insights and pointers.
>
> Best
> Srini
>
> ==Snippets from TOMCAT2_HOME\conf\server.xml============
>
> <?xml version='1.0' encoding='utf-8'?>
> <Server port="8006" shutdown="SHUTDOWN"> <!-- was 8005 originally -->
> .....
> <!-- was originally at 8080, 8443 -->
> <Connector port="8081" protocol="HTTP/1.1"
> connectionTimeout="20000"
> redirectPort="8444" />
>
> <!-- Define an AJP 1.3 Connector on port 8010(was 8009!) -->
> <Connector port="8010" protocol="AJP/1.3" redirectPort="8444" />
> <!-- In above ports were 8009 and 8443 respectively, originally! -->
> .....
> </Host>
> </Engine>
> </Service>
> </Server>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org