RE: Multiple IP addresses

2005-09-05 Thread Barnett, Brian W.
Thanks Peter. I did what you suggested, and I think it is *almost* working.

I have one NIC in my server and I added a second IP address on it. I tested
it out, and I was able by ping both IP addresses.

I then modified the server.xml file to have two service elements here they
are:

Service name=WSSService 
Connector port=80 
maxThreads=150 minSpareThreads=25 maxSpareThreads=75 
enableLookups=false redirectPort=443 acceptCount=100 
debug=0 connectionTimeout=2 
disableUploadTimeout=true 
address=166.70.163.138 / 
Connector port=443 
maxThreads=150 minSpareThreads=25 maxSpareThreads=75 
enableLookups=false disableUploadTimeout=true 
acceptCount=100 debug=0 scheme=https secure=true 
clientAuth=false sslProtocol=TLS 
address=166.70.163.138 / 
Connector port=8009 
enableLookups=false redirectPort=443 debug=0 
protocol=AJP/1.3 
address=166.70.163.138 / 
!-- Put context.xml files in ../conf/[enginename]/[hostname]
../conf/Catalina/wss -- 
Engine name=Catalina defaultHost=wss debug=0 
Logger className=org.apache.catalina.logger.FileLogger 
prefix=catalina_log. suffix=.txt 
timestamp=true/ 
Realm
className=org.apache.catalina.realm.UserDatabaseRealm 
debug=0 resourceName=UserDatabase/ 
Host name=wss debug=0 appBase=wss-webapps 
unpackWARs=true autoDeploy=true 
xmlValidation=false xmlNamespaceAware=false 
Logger
className=org.apache.catalina.logger.FileLogger 
directory=logs prefix=wss_log.
suffix=.txt 
timestamp=true/ 
/Host 
/Engine 
/Service 

Service name=ScrumService 
Connector port=80 
maxThreads=150 minSpareThreads=25 maxSpareThreads=75 
enableLookups=false redirectPort=443 acceptCount=100 
debug=0 connectionTimeout=2 
disableUploadTimeout=true 
address=166.70.163.140 / 
Connector port=443 
maxThreads=150 minSpareThreads=25 maxSpareThreads=75 
enableLookups=false disableUploadTimeout=true 
acceptCount=100 debug=0 scheme=https secure=true 
clientAuth=false sslProtocol=TLS 
address=166.70.163.140 / 
Connector port=8009 
enableLookups=false redirectPort=443 debug=0 
protocol=AJP/1.3 
address=166.70.163.140 / 
!-- Put context.xml files in ../conf/[enginename]/[hostname]
../conf/Catalina/scrum -- 
Engine name=Catalina defaultHost=scrum debug=0 
Logger className=org.apache.catalina.logger.FileLogger 
prefix=catalina_log. suffix=.txt 
timestamp=true/ 
Realm
className=org.apache.catalina.realm.UserDatabaseRealm 
debug=0 resourceName=UserDatabase/ 
Host name=scrum debug=0 appBase=scrum-webapps 
unpackWARs=true autoDeploy=true 
xmlValidation=false xmlNamespaceAware=false 
Logger
className=org.apache.catalina.logger.FileLogger 
directory=logs prefix=scrum_log.
suffix=.txt 
timestamp=true/ 
/Host 
/Engine 
/Service 

I can successfully hit all the web apps on 166.70.163.138, the first
service listed, but I'm not getting anything on the second one. I've
commented out the first one and restarted Tomcat, but still can't get
anything on 166.70.163.140.

I put the Tomcat manager web app in both web app folders but only can hit it
in one. Anybody have any suggestions on how to troubleshoot this?

TIA,
Brian Barnett

-Original Message-
From: Peter Crowther
To: Tomcat Users List
Sent: 9/2/2005 4:27 AM
Subject: RE: Multiple IP addresses

 From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] 
 I seem to remember when I was working with IIS some years 
 ago, I could map
 multiple IP addresses to one instance of IIS, i.e., IIS could service
 multiple web sites for me, each web site having it's own, 
 unique IP address.
 Is there a way to do this with Tomcat stand alone or is 
 Apache Web Server or
 IIS required?

Works fine with Tomcat.  Modify your server.xml to have multiple
Services, each with its own set of innards like Connectors and Hosts,
and each with its own appbase.  Then use

address=numeric.ip.address.required

in each of the connector attributes to force a bind to just that IP
address for that connector.

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config

Re: Multiple IP addresses

2005-09-03 Thread Luis Torres
If you are using a security certificate it willl certainly complain if 
the IP or hostname of the server is changed.


Regards,

Luis

Fadil wrote:


this is a good idea, and I try these multiples, I get two IP, like this :
   



 


IPA:80 = IPServer:80 (IIS server)
IPB:80 = IPServer:8443(Tomcat Server but SSL port)
   



 


So I tried to setup tomcat, by add IPB in all connector and in host.
   



I changed config in server.xml by adding IPServer and not the IPB, it stay 
to me only (I think a keystore pb) :


GRAVE: Erreur au dÚmarrage du point de contact
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:765)
at java.security.KeyStore.load(KeyStore.java:652)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(
JSSESocketFactory.java:278)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(
JSSESocketFactory.java:220)
at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers(
JSSE14SocketFactory.java:143)
at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(
JSSE14SocketFactory.java:109)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(
JSSESocketFactory.java:98)
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(
PoolTcpEndpoint.java:261)
at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(
PoolTcpEndpoint.java:281)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:171)
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java
:1527)
at org.apache.catalina.core.StandardService.start(StandardService.java:489)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2 sept. 2005 18:45:56 org.apache.catalina.startup.Catalina start
GRAVE: Catalina.start:
LifecycleException: Le dÚmarrage du gestionnaire de protocole a ÚchouÚ: 
java.io.IOException: Keystore was tampered with, or password was incorrect

at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java
:1529)
at org.apache.catalina.core.StandardService.start(StandardService.java:489)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2 sept. 2005 18:45:56 org.apache.catalina.startup.Catalina start

What password expect tomcat if we don't specify it in server.xml ?

 



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



RE: Multiple IP addresses

2005-09-02 Thread Peter Crowther
 From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] 
 I seem to remember when I was working with IIS some years 
 ago, I could map
 multiple IP addresses to one instance of IIS, i.e., IIS could service
 multiple web sites for me, each web site having it's own, 
 unique IP address.
 Is there a way to do this with Tomcat stand alone or is 
 Apache Web Server or
 IIS required?

Works fine with Tomcat.  Modify your server.xml to have multiple
Services, each with its own set of innards like Connectors and Hosts,
and each with its own appbase.  Then use

address=numeric.ip.address.required

in each of the connector attributes to force a bind to just that IP
address for that connector.

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html for the
details on Connector.

- Peter

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



Re: Multiple IP addresses

2005-09-02 Thread Fadil
I do not understand very well, if we did this configuration, (with a new IP 
for tomcat and one for IIS web app on the same server) :

we don't have to specify port number for IIS or Tomcat ?

Can we fix tomcat's with by default 80 ? this configuration doesn't mess if 
we want to use ldap or ssl ?

Is this kind of installation is best than only one ip, IIS on 80, tomcat on 
8080 and isapi redirector 1.14 ?

any helps welcome.

On 9/2/05, Peter Crowther [EMAIL PROTECTED] wrote:
 
  From: Barnett, Brian W. [mailto:[EMAIL PROTECTED]
  I seem to remember when I was working with IIS some years
  ago, I could map
  multiple IP addresses to one instance of IIS, i.e., IIS could service
  multiple web sites for me, each web site having it's own,
  unique IP address.
  Is there a way to do this with Tomcat stand alone or is
  Apache Web Server or
  IIS required?
 
 Works fine with Tomcat. Modify your server.xml to have multiple
 Services, each with its own set of innards like Connectors and Hosts,
 and each with its own appbase. Then use
 
 address=numeric.ip.address.required
 
 in each of the connector attributes to force a bind to just that IP
 address for that connector.
 
 http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html for the
 details on Connector.
 
 - Peter
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



RE: Multiple IP addresses

2005-09-02 Thread Peter Crowther
 From: Fadil [mailto:[EMAIL PROTECTED] 
 I do not understand very well, if we did this configuration, 
 (with a new IP 
 for tomcat and one for IIS web app on the same server) :
 
 we don't have to specify port number for IIS or Tomcat ?

Each would bind to port 80, each on its own IP address on the Web
server.  Port 80 is the default port for HTTP, so none of your URLs
would need a ':8080' or similar suffix.

 Can we fix tomcat's with by default 80 ? this configuration 
 doesn't mess if we want to use ldap or ssl?

If you have a separate IP address for Tomcat from the one you are using
for IIS, then you can also bind any other ports you need for Tomcat on
that separate IP address.  So Tomcat's SSL would be on tomcat's IP
address:443, IIS's SSL on IIS's IP address:443.

 Is this kind of installation is best than only one ip, IIS on 
 80, tomcat on 8080 and isapi redirector 1.14 ?

That depends on your specific requirements, I cannot give a general
answer.

- Peter

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



Re: Multiple IP addresses

2005-09-02 Thread Fadil
Thx a lot for the answer !

Maybe I'll switch to multiple IP for same server, what do you thinks about 
my configuration :

I've Windows Server2003, with:
- an appli asp on IIS 6.0
- and an another on Tomcat 5.0.28

only tomcat need ssl and ldap.

I mean it's more simple to use multiple than isapi ? for maintenance,...
what do you think about that ?

On 9/2/05, Peter Crowther [EMAIL PROTECTED] wrote:
 
  From: Fadil [mailto:[EMAIL PROTECTED]
  I do not understand very well, if we did this configuration,
  (with a new IP
  for tomcat and one for IIS web app on the same server) :
 
  we don't have to specify port number for IIS or Tomcat ?
 
 Each would bind to port 80, each on its own IP address on the Web
 server. Port 80 is the default port for HTTP, so none of your URLs
 would need a ':8080' or similar suffix.
 
  Can we fix tomcat's with by default 80 ? this configuration
  doesn't mess if we want to use ldap or ssl?
 
 If you have a separate IP address for Tomcat from the one you are using
 for IIS, then you can also bind any other ports you need for Tomcat on
 that separate IP address. So Tomcat's SSL would be on tomcat's IP
 address:443, IIS's SSL on IIS's IP address:443.
 
  Is this kind of installation is best than only one ip, IIS on
  80, tomcat on 8080 and isapi redirector 1.14 ?
 
 That depends on your specific requirements, I cannot give a general
 answer.
 
 - Peter



Re: Multiple IP addresses

2005-09-02 Thread Fadil
this is a good idea, and I try these multiples, I get two IP, like this :

IPA:80 = IPServer:80 (IIS server)
IPB:80 = IPServer:8443(Tomcat Server but SSL port)

So I tried to setup tomcat, by add IPB in all connector and in host.
But it doesn't work...

Can this work's ?
The real question is : IPB must point on SSL(8443) or on 8080 ?
If I want my user only to authentifiate by https and navigate with http?

any helps welcome.


On 9/2/05, Fadil [EMAIL PROTECTED] wrote:
 
 Thx a lot for the answer !
 
 Maybe I'll switch to multiple IP for same server, what do you thinks about 
 my configuration :
 
 I've Windows Server2003, with:
 - an appli asp on IIS 6.0
 - and an another on Tomcat 5.0.28
 
 only tomcat need ssl and ldap.
 
 I mean it's more simple to use multiple than isapi ? for maintenance,...
 what do you think about that ?
 
 On 9/2/05, Peter Crowther [EMAIL PROTECTED] wrote: 
  
   From: Fadil [mailto:[EMAIL PROTECTED]
   I do not understand very well, if we did this configuration,
   (with a new IP
   for tomcat and one for IIS web app on the same server) :
  
   we don't have to specify port number for IIS or Tomcat ? 
  
  Each would bind to port 80, each on its own IP address on the Web
  server. Port 80 is the default port for HTTP, so none of your URLs
  would need a ':8080' or similar suffix.
  
   Can we fix tomcat's with by default 80 ? this configuration 
   doesn't mess if we want to use ldap or ssl?
  
  If you have a separate IP address for Tomcat from the one you are using
  for IIS, then you can also bind any other ports you need for Tomcat on
  that separate IP address. So Tomcat's SSL would be on tomcat's IP 
  address:443, IIS's SSL on IIS's IP address:443.
  
   Is this kind of installation is best than only one ip, IIS on
   80, tomcat on 8080 and isapi redirector 1.14 ?
  
  That depends on your specific requirements, I cannot give a general 
  answer.
  
  - Peter
  
 



RE: Multiple IP addresses

2005-09-02 Thread Peter Crowther
 From: Fadil [mailto:[EMAIL PROTECTED] 
 But it doesn't work...

What error are you getting, from what?

- Peter

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



Re: Multiple IP addresses

2005-09-02 Thread Fadil
Hum :
2 sept. 2005 18:38:43 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
2 sept. 2005 18:38:43 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de dÚmarrage du contexte suite aux erreurs prÚcÚdentes
[xl4web] WARN [main] CacheManager.shutdown(373) | CacheManager already 
shutdown
2 sept. 2005 18:38:44 org.apache.coyote.http11.Http11Protocol start
INFO: DÚmarrage de Coyote HTTP/1.1 sur http-139.54.202.142-8080
2 sept. 2005 18:38:44 org.apache.coyote.tomcat5.MapperListenerregisterEngine
ATTENTION: Unknown default host: localhost
2 sept. 2005 18:38:44 org.apache.coyote.http11.Http11Protocol start
GRAVE: Erreur au dÚmarrage du point de contact
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:765)
at java.security.KeyStore.load(KeyStore.java:652)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(
JSSESocketFactory.java:278)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(
JSSESocketFactory.java:220)
at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers(
JSSE14SocketFactory.java:143)
at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(
JSSE14SocketFactory.java:109)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(
JSSESocketFactory.java:98)
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(
PoolTcpEndpoint.java:261)
at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(
PoolTcpEndpoint.java:281)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:171)
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java
:1527)
at org.apache.catalina.core.StandardService.start(StandardService.java:489)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2 sept. 2005 18:38:44 org.apache.catalina.startup.Catalina start
GRAVE: Catalina.start:
LifecycleException: Le dÚmarrage du gestionnaire de protocole a ÚchouÚ: 
java.io.IOException: Keystore was tampered with, or password was incorrect
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java
:1529)
at org.apache.catalina.core.StandardService.start(StandardService.java:489)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2 sept. 2005 18:38:44 org.apache.catalina.startup.Catalina start

- I think have a lot of pb !

On 9/2/05, Peter Crowther [EMAIL PROTECTED] wrote:
 
  From: Fadil [mailto:[EMAIL PROTECTED]
  But it doesn't work...
 
 What error are you getting, from what?
 
 - Peter
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



Re: Multiple IP addresses

2005-09-02 Thread Fadil
this is a good idea, and I try these multiples, I get two IP, like this :

IPA:80 = IPServer:80 (IIS server)
IPB:80 = IPServer:8443(Tomcat Server but SSL port)

So I tried to setup tomcat, by add IPB in all connector and in host.

I changed config in server.xml by adding IPServer and not the IPB, it stay 
to me only (I think a keystore pb) :

GRAVE: Erreur au dÚmarrage du point de contact
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:765)
at java.security.KeyStore.load(KeyStore.java:652)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(
JSSESocketFactory.java:278)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(
JSSESocketFactory.java:220)
at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers(
JSSE14SocketFactory.java:143)
at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(
JSSE14SocketFactory.java:109)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(
JSSESocketFactory.java:98)
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(
PoolTcpEndpoint.java:261)
at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(
PoolTcpEndpoint.java:281)
at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:171)
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java
:1527)
at org.apache.catalina.core.StandardService.start(StandardService.java:489)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2 sept. 2005 18:45:56 org.apache.catalina.startup.Catalina start
GRAVE: Catalina.start:
LifecycleException: Le dÚmarrage du gestionnaire de protocole a ÚchouÚ: 
java.io.IOException: Keystore was tampered with, or password was incorrect
at org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java
:1529)
at org.apache.catalina.core.StandardService.start(StandardService.java:489)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2 sept. 2005 18:45:56 org.apache.catalina.startup.Catalina start

What password expect tomcat if we don't specify it in server.xml ?


Multiple IP addresses

2005-09-01 Thread Barnett, Brian W.
I seem to remember when I was working with IIS some years ago, I could map
multiple IP addresses to one instance of IIS, i.e., IIS could service
multiple web sites for me, each web site having it's own, unique IP address.
Is there a way to do this with Tomcat stand alone or is Apache Web Server or
IIS required?

TIA,
Brian Barnett

 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 


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



RE: Multiple IP addresses

2005-09-01 Thread 'Jason Bell'
Hi Brian

There is a useful Tomcat page on the Jakarta site which covers virtual 
servers/hosts,
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/host.html

That page covers version 4.0, for version 5 it's at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html

I hope this helps.

Kind regards
Jason Bell

 Is there a way to do this with Tomcat stand alone or is Apache Web Server or
 IIS required?

--
Jason Bell
Lead Architect, SpikeSource Europe
e: [EMAIL PROTECTED]
w: http://www.spikesource.com
b: http://jasonbell.blog-city.com
m: +44 (0)787 529 2693

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



RE: How to bind to multiple IP addresses?

2003-12-12 Thread Ralph Einfeldt

IIS bind per default to all interfaces.

http://support.microsoft.com:/support/kb/articles/Q238/1/31.ASP

 -Original Message-
 From: Ryan Golhar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 11, 2003 4:02 AM
 To: 'Tomcat Users List'
 Subject: RE: How to bind to multiple IP addresses?
 
 
 I managed to get Tomcat to listen on 2 (out of 3) IP address.  
 
 When I try to start IIS on the third IP address, it says its 
 already in use, but I don't think it is. 
 Has anyone ever run into this?  
 
 I have one web app developed using Tomcat for JSP pages and 
 recently am
 forced to put another web site on the same machine using IIS.  I'm
 wondering if it would be better to use a connector for my 
 Tomcat webapp and run both sites under IIS.  Any thoughts?
 
 Ryan
 
 -Original Message-
 From: Tim Funk [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, December 10, 2003 12:21 PM
 To: Tomcat Users List
 Subject: Re: How to bind to multiple IP addresses?
 
 
 You *should* (not that i've tried) be able to use multiple connectors.
 For 
 example, binding to 3 different rfc1918 addresses:
 
  Connector className=org.apache.coyote.tomcat4.CoyoteConnector
 port=8080 minProcessors=5 maxProcessors=75
 enableLookups=true redirectPort=8443
 acceptCount=100 debug=0 connectionTimeout=2
  address='192.168.0.1'
 useURIValidationHack=false 
 disableUploadTimeout=true
 /
  Connector className=org.apache.coyote.tomcat4.CoyoteConnector
 port=8080 minProcessors=5 maxProcessors=75
 enableLookups=true redirectPort=8443
 acceptCount=100 debug=0 connectionTimeout=2
  address='10.0.2.2'
 useURIValidationHack=false 
 disableUploadTimeout=true
 /
 
  Connector className=org.apache.coyote.tomcat4.CoyoteConnector
 port=8080 minProcessors=5 maxProcessors=75
 enableLookups=true redirectPort=8443
 acceptCount=100 debug=0 connectionTimeout=2
  address='172.16.24.22'
 useURIValidationHack=false 
 disableUploadTimeout=true
 /
 
 
 -Tim
 
 Ryan Golhar wrote:
 
  If been searching around for this and can't seem to find 
 the answer.  
  I know the Coyote connecter can bind to a particular 
 address, but if I
 
  need it to bind to more than one IP address (but not all), 
 how can I 
  specify multiple IP addresses?  I tried adding multiple connectors, 
  but that didn't work.  I also tried adding multiple IP addresses in 
  address=.. and that didn't work either, or I'm formatting it 
  incorrectly.  Does anyone have any ideas?  Thanks,
   
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

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



How to bind to multiple IP addresses?

2003-12-10 Thread Ryan Golhar
If been searching around for this and can't seem to find the answer.  I
know the Coyote connecter can bind to a particular address, but if I
need it to bind to more than one IP address (but not all), how can I
specify multiple IP addresses?  I tried adding multiple connectors, but
that didn't work.  I also tried adding multiple IP addresses in
address=.. and that didn't work either, or I'm formatting it
incorrectly.  Does anyone have any ideas?  Thanks,

Ryan


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



Re: How to bind to multiple IP addresses?

2003-12-10 Thread Tim Funk
You *should* (not that i've tried) be able to use multiple connectors. For 
example, binding to 3 different rfc1918 addresses:

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8080 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=100 debug=0 connectionTimeout=2
   address='192.168.0.1'
   useURIValidationHack=false disableUploadTimeout=true /
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8080 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=100 debug=0 connectionTimeout=2
   address='10.0.2.2'
   useURIValidationHack=false disableUploadTimeout=true /
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8080 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=100 debug=0 connectionTimeout=2
   address='172.16.24.22'
   useURIValidationHack=false disableUploadTimeout=true /
-Tim

Ryan Golhar wrote:

If been searching around for this and can't seem to find the answer.  I
know the Coyote connecter can bind to a particular address, but if I
need it to bind to more than one IP address (but not all), how can I
specify multiple IP addresses?  I tried adding multiple connectors, but
that didn't work.  I also tried adding multiple IP addresses in
address=.. and that didn't work either, or I'm formatting it
incorrectly.  Does anyone have any ideas?  Thanks,
 


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


RE: How to bind to multiple IP addresses?

2003-12-10 Thread Ryan Golhar
I managed to get Tomcat to listen on 2 (out of 3) IP address.  

When I try to start IIS on the third IP address, it says its already in
use, but I don't think it is.  Has anyone ever run into this?  

I have one web app developed using Tomcat for JSP pages and recently am
forced to put another web site on the same machine using IIS.  I'm
wondering if it would be better to use a connector for my Tomcat webapp
and run both sites under IIS.  Any thoughts?

Ryan

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 10, 2003 12:21 PM
To: Tomcat Users List
Subject: Re: How to bind to multiple IP addresses?


You *should* (not that i've tried) be able to use multiple connectors.
For 
example, binding to 3 different rfc1918 addresses:

 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8080 minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443
acceptCount=100 debug=0 connectionTimeout=2
   address='192.168.0.1'
useURIValidationHack=false disableUploadTimeout=true
/
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8080 minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443
acceptCount=100 debug=0 connectionTimeout=2
   address='10.0.2.2'
useURIValidationHack=false disableUploadTimeout=true
/

 Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=8080 minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443
acceptCount=100 debug=0 connectionTimeout=2
   address='172.16.24.22'
useURIValidationHack=false disableUploadTimeout=true
/


-Tim

Ryan Golhar wrote:

 If been searching around for this and can't seem to find the answer.  
 I know the Coyote connecter can bind to a particular address, but if I

 need it to bind to more than one IP address (but not all), how can I 
 specify multiple IP addresses?  I tried adding multiple connectors, 
 but that didn't work.  I also tried adding multiple IP addresses in 
 address=.. and that didn't work either, or I'm formatting it 
 incorrectly.  Does anyone have any ideas?  Thanks,
  


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


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



Tomcat binding to multiple IP addresses

2002-06-16 Thread S W

Hi Everyone,

My original installation of Tomcat was installed on a
computer with multiple IP addresses.

Now my problem is that Tomcat tries to bind itself
with all the IP addresses when I try starting it up.
How do I change it so that it only binds to 1 IP
address. I've already tried changing this in the
server.xml file.

My environment:
Windows 2000 SP2
TOmcat 4.0.3

Any help on resolving this matter, would be greatly
appreciated!!!

Thank you

Here is the error message I receive when starting up
Tomcat from a DOS prompt:

Catalina.start: LifecycleException:  null.open: 
java.net.BindException: Address
 already in use: JVM_Bind:8080
LifecycleException:  null.open: 
java.net.BindException: Address already in use:
 JVM_Bind:8080
at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1130)

I know this is the issue because when I tested
installing Tomcat on a machine with a single IP
address and then adding more IP addresses to it, it
would only bind itself to 1 IP address.

Here is what my log file shows.
-
2002-06-16 00:12:29 HttpConnector Opening server
socket on all host IP addresses



__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




Multiple IP addresses

2002-06-13 Thread Matthew Oatham

Hi,

I am running Tomcat on a machine with multiple IP addresses, how do I tell
Tomcat which of these addresses it should be running on? Do I add the IP
address to the connector tag in server.xml? i.e.:

Connector className=org.apache.catalina.connector.http.HttpConnector
   port=8080 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=6
address=ip address/ 

Many thanks.

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




AW: Multiple IP addresses

2002-06-13 Thread Sven Woltmann

Yes, that's exactly what to do.  You can also configure different Tomcat
services on different IP addresses if you want.

Sven


 -Ursprüngliche Nachricht-
 Von: Matthew Oatham [mailto:[EMAIL PROTECTED]]
 Gesendet: Donnerstag, 13. Juni 2002 09:13
 An: '[EMAIL PROTECTED]'
 Betreff: Multiple IP addresses
 
 
 Hi,
 
 I am running Tomcat on a machine with multiple IP addresses, 
 how do I tell
 Tomcat which of these addresses it should be running on? Do I 
 add the IP
 address to the connector tag in server.xml? i.e.:
 
 Connector 
 className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443
acceptCount=10 debug=0 connectionTimeout=6
 address=ip address/ 
 
 Many thanks.
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

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




IIS5, Tomcat4, multiple IP addresses, same port numbers, and problems (still a bit stuck)

2002-01-11 Thread chris brown

It seems that IIS 5.0 is greedy with respect to available IP addresses.
Even if you specify that it should only listen on particular IP addresses,
if you specify a port with one IP address, it listens for requests on other
other IP addresses with the same port number.  This seems to prevent Tomcat
binding to the address (although, confusingly, Inktomi Search managed to
bind successfully to an address that IIS had claimed as its own...).

So it seems that I'm obliged to install Tomcat as an in-process ISAPI
extension for IIS (as I can't insist that our customer switch to Apache or
uses another port, due to their firewall and legacy webapps)...

Tom Drake had suggested a HOWTO link, but it relates to Tomcat 3.3.  How can
I use Tomcat 4.0.1 (and/or the upcoming 4.0.2) with IIS ?

Thanks,
Chris Brown



PS: if you're wondering how I came to this conclusion, I disabled Inktomi
and Tomcat, and started up IIS.  Then, using Telnet, I connected to port 80
on each bound IP address.  In *all* cases, I didn't host not found: I got
a standard response from IIS:

-- 8  8  8  8 --

GET / HTTP/1.1

HTTP/1.1 404 Object Not Found
Server: Microsoft-IIS/5.0
Date: Fri, 11 Jan 2002 16:31:07 GMT
Connection: close
Content-Type: text/html
Content-Length: 111

htmlheadtitleSite Not Found/title/head
bodyNo web site is configured at this address./body/html

Connection to host lost.

-- 8  8  8  8 --

This was from all addresses, even though IIS should not have bound to them.
If I then stopped IIS, and started up Tomcat, all went ok: Tomcat only bound
to the specified address.  However, restarting IIS didn't go so well: no
sites would bind anymore, complaining that the address was already in use,
which was not the case according to telnet, my browser, and my network admin
tools.  I also tried using host names instead of IP addresses, but this
didn't change anything.



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]