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: Tomcat 5 and oracle

2003-12-10 Thread Ryan Golhar
You shouldn't have to rename it.  There is a classes12.jar file in
\oracle\ora92\jdbc\lib

Make sure you have a resource link and environment entry set up
correctly...that's where I had the most trouble...

Ryan

-Original Message-
From: Jonathan Drnek [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 10, 2003 1:11 PM
To: Tomcat Users List
Subject: RE: Tomcat 5 and oracle


Classes12.zip didn't work either, even after I renamed it to
classes12.jar 

Actually, 

DataSource ds = (DataSource)envContext.lookup(jdbc/ordt);
Connection conn = ds.getConnection();

Still didn't work and 

DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn =
DriverManager.getConnection(jdbc:oracle:thin:@holl302h:1521:ORDT,ordl
ine,junk);

still did work.


I am going to try and download a copy of the 1.2 jdk since that is what
classes12 said it needed and try that.  

Any other suggestions?

Jon
-Original Message-
From: Koes, Derrick [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 10, 2003 12:45 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 5 and oracle


I'm not 100% certain, but does Oracle even offer an 8.1.7/JDK 1.4
ojdbc14.jar file?  I think it is only offered for 9.2.  You are stuck
with classes12.zip.  I would try that.  The common/lib directory is the
correct place.

http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/jdbc817.html




-
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]



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]