Tomcat 6 and IIS 7

2009-12-10 Thread Tuan Quan
Hi all,
I have a problem getting both Tomcat 6 (running on port 80) and IIS 7 (also, on 
port 80 - But different IP address)
The server has two IP addresses.
and I'd like to dedicate each IP to Tomcat and IIS.
I'm able to assign Tomcat to only ONE IP address.
Then went to IIS 7 to bind it to the other IP address - however, once Tomcat 
started, IIS 7 does not work - even though I specifically set it to listen to a 
different IP than the Tomcat.
Any idea would be very appreciated.

Thanks.
Tuan


Re: Tomcat 6 and IIS 7

2009-12-10 Thread Peter Crowther
Stop both, netstat -an - is there anything active on port 80?  If so, find
it and terminate with extreme prejudice ;-).

Start Tomcat.  netstat -an - what address(es) does it report Tomcat as being
bound to?  Are they what you expect?

Stop Tomcat, start IIS7, netstat -an again - what address(es) does it report
IIS as being bound to?  Are they what you expect?

If all of those are what you expect, please come back to the list and I'll
have another think!

- Peter

2009/12/10 Tuan Quan 

> Hi all,
> I have a problem getting both Tomcat 6 (running on port 80) and IIS 7
> (also, on port 80 - But different IP address)
> The server has two IP addresses.
> and I'd like to dedicate each IP to Tomcat and IIS.
> I'm able to assign Tomcat to only ONE IP address.
> Then went to IIS 7 to bind it to the other IP address - however, once
> Tomcat started, IIS 7 does not work - even though I specifically set it to
> listen to a different IP than the Tomcat.
> Any idea would be very appreciated.
>
> Thanks.
> Tuan
>


Re: Tomcat 6 and IIS 7

2009-12-15 Thread Tuan Quan
Hi Peter;
no other service listens to port 80, except Tomcat and IIS.
When IIS stops and Tomcat start, running netstat -an returns what I expected.
However, then Tomcat stop, and IIS start, running netstat -an got below:
TCP    [::]:80    [::]:0 LISTENING

Even though, I set IIS to bind to one IP, run IE on the machine to both IP 
addresses gave me IIS page.

Thanks.
Tuan.

 




From: Peter Crowther 
To: Tomcat Users List 
Sent: Thu, December 10, 2009 3:54:58 PM
Subject: Re: Tomcat 6 and IIS 7

Stop both, netstat -an - is there anything active on port 80?  If so, find
it and terminate with extreme prejudice ;-).

Start Tomcat.  netstat -an - what address(es) does it report Tomcat as being
bound to?  Are they what you expect?

Stop Tomcat, start IIS7, netstat -an again - what address(es) does it report
IIS as being bound to?  Are they what you expect?

If all of those are what you expect, please come back to the list and I'll
have another think!

- Peter

2009/12/10 Tuan Quan 

> Hi all,
> I have a problem getting both Tomcat 6 (running on port 80) and IIS 7
> (also, on port 80 - But different IP address)
> The server has two IP addresses.
> and I'd like to dedicate each IP to Tomcat and IIS.
> I'm able to assign Tomcat to only ONE IP address.
> Then went to IIS 7 to bind it to the other IP address - however, once
> Tomcat started, IIS 7 does not work - even though I specifically set it to
> listen to a different IP than the Tomcat.
> Any idea would be very appreciated.
>
> Thanks.
> Tuan
>


Re: Tomcat 6 and IIS 7

2009-12-16 Thread Peter Crowther
2009/12/15 Tuan Quan 

> However, then Tomcat stop, and IIS start, running netstat -an got below:
> TCP[::]:80[::]:0 LISTENING
>
> Even though, I set IIS to bind to one IP, run IE on the machine to both IP
> addresses gave me IIS page.
>
> OK, there's your problem.  I don't know IIS7 very well, but I would expect
a solution to exist for that issue.  It's an IIS issue, so I suspect this
list won't be much more help to you.

If you have more than one site on IIS7, I'd check them all just to make sure
you don't have one bound to all IPs.  However, I suspect you've already done
that!

- Peter


RE: Tomcat 6 and IIS 7

2009-12-16 Thread Jeffrey Janner
Tuan -
What where your expected results on the netstats?
Please post the results of each (all port 80 lines).
The one you list below is the "any address" bind for IPv6.  You may only be 
forcing config on IPv4, and that is causing the issue.
I don't run an IIS7 here, so I can't tell how to force an IPv6 address along 
with an IPv4 address, but that might be what you are looking for.
Also, check to be sure that Tomcat isn't binding to the "any" IPv6 address.  
Any  without an address parameter will bind to the "any" address.
Jeff

-Original Message-
From: Tuan Quan [mailto:tuan_q...@yahoo.com] 
Sent: Tuesday, December 15, 2009 1:45 PM
To: Tomcat Users List
Subject: Re: Tomcat 6 and IIS 7

Hi Peter;
no other service listens to port 80, except Tomcat and IIS.
When IIS stops and Tomcat start, running netstat -an returns what I expected.
However, then Tomcat stop, and IIS start, running netstat -an got below:
TCP    [::]:80    [::]:0 LISTENING

Even though, I set IIS to bind to one IP, run IE on the machine to both IP 
addresses gave me IIS page.

Thanks.
Tuan.

 




From: Peter Crowther 
To: Tomcat Users List 
Sent: Thu, December 10, 2009 3:54:58 PM
Subject: Re: Tomcat 6 and IIS 7

Stop both, netstat -an - is there anything active on port 80?  If so, find
it and terminate with extreme prejudice ;-).

Start Tomcat.  netstat -an - what address(es) does it report Tomcat as being
bound to?  Are they what you expect?

Stop Tomcat, start IIS7, netstat -an again - what address(es) does it report
IIS as being bound to?  Are they what you expect?

If all of those are what you expect, please come back to the list and I'll
have another think!

- Peter

2009/12/10 Tuan Quan 

> Hi all,
> I have a problem getting both Tomcat 6 (running on port 80) and IIS 7
> (also, on port 80 - But different IP address)
> The server has two IP addresses.
> and I'd like to dedicate each IP to Tomcat and IIS.
> I'm able to assign Tomcat to only ONE IP address.
> Then went to IIS 7 to bind it to the other IP address - however, once
> Tomcat started, IIS 7 does not work - even though I specifically set it to
> listen to a different IP than the Tomcat.
> Any idea would be very appreciated.
>
> Thanks.
> Tuan
>

***  NOTICE  *
This message is intended for the use of the individual or entity to which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution, or copying 
of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org