RE: JDBC Connection over VPN

2012-05-07 Thread Propes, Barry L
Could the VPN connection be utlizing the same port Tomcat or Oracle usually 
does? Like something at 8080?

Not sure if that's the case; or conversely, does going into VPN block those 
ports?


-Original Message-
From: Sanjeev Sharma [mailto:sanjeev.sha...@buchanan-edwards.com]
Sent: Monday, May 07, 2012 2:36 PM
To: Tomcat Users List
Subject: JDBC Connection over VPN

Hi,

Not sure if this is a Tomcat issue.  When I connect directly to a network and 
startup my tomcat 7, my JDBC connection to an Oracle 11g network works just 
fine, but if I tunnel into the same network, JDBC fails to connect to the 
database.  At the same time I'm able to make a connection to the same database 
using SQL Developer/SQL Plus.  My network people tell me that all ports are 
open to me and when they try to capture packets coming from me, they see 
nothing if I'm starting up my tomcat.  I'm not a Network or VPN expert, but as 
far as I know, at the application level it should behave just as if I'm 
connected directly to the network and shouldn't have to worry about which 
network adapter to use (built in or VPN), and shouldn't have to worry about 
routing.  I'm at a complete loss, so I'm just hoping there is magical tomcat 
setting which will fix my problem.  Any help would be appreciated .

Thanks.

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



RE: JDBC Connection over VPN

2012-05-07 Thread Sanjeev Sharma
Using port 1521 in both cases, but it only fails for JDBC.

-Original Message-
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] 
Sent: Monday, May 07, 2012 3:43 PM
To: 'Tomcat Users List'
Subject: RE: JDBC Connection over VPN

Could the VPN connection be utlizing the same port Tomcat or Oracle usually 
does? Like something at 8080?

Not sure if that's the case; or conversely, does going into VPN block those 
ports?


-Original Message-
From: Sanjeev Sharma [mailto:sanjeev.sha...@buchanan-edwards.com]
Sent: Monday, May 07, 2012 2:36 PM
To: Tomcat Users List
Subject: JDBC Connection over VPN

Hi,

Not sure if this is a Tomcat issue.  When I connect directly to a network and 
startup my tomcat 7, my JDBC connection to an Oracle 11g network works just 
fine, but if I tunnel into the same network, JDBC fails to connect to the 
database.  At the same time I'm able to make a connection to the same database 
using SQL Developer/SQL Plus.  My network people tell me that all ports are 
open to me and when they try to capture packets coming from me, they see 
nothing if I'm starting up my tomcat.  I'm not a Network or VPN expert, but as 
far as I know, at the application level it should behave just as if I'm 
connected directly to the network and shouldn't have to worry about which 
network adapter to use (built in or VPN), and shouldn't have to worry about 
routing.  I'm at a complete loss, so I'm just hoping there is magical tomcat 
setting which will fix my problem.  Any help would be appreciated .

Thanks.

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




Re: JDBC Connection over VPN

2012-05-07 Thread Saurabh Makol
Can you run

telnet DatahbaseIpaddress 1521 from command prompt when you VPN into your
network?

On Mon, May 7, 2012 at 3:46 PM, Sanjeev Sharma 
sanjeev.sha...@buchanan-edwards.com wrote:

 Using port 1521 in both cases, but it only fails for JDBC.

 -Original Message-
 From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
 Sent: Monday, May 07, 2012 3:43 PM
 To: 'Tomcat Users List'
 Subject: RE: JDBC Connection over VPN

 Could the VPN connection be utlizing the same port Tomcat or Oracle
 usually does? Like something at 8080?

 Not sure if that's the case; or conversely, does going into VPN block
 those ports?


 -Original Message-
 From: Sanjeev Sharma [mailto:sanjeev.sha...@buchanan-edwards.com]
 Sent: Monday, May 07, 2012 2:36 PM
 To: Tomcat Users List
 Subject: JDBC Connection over VPN

 Hi,

 Not sure if this is a Tomcat issue.  When I connect directly to a network
 and startup my tomcat 7, my JDBC connection to an Oracle 11g network works
 just fine, but if I tunnel into the same network, JDBC fails to connect to
 the database.  At the same time I'm able to make a connection to the same
 database using SQL Developer/SQL Plus.  My network people tell me that all
 ports are open to me and when they try to capture packets coming from me,
 they see nothing if I'm starting up my tomcat.  I'm not a Network or VPN
 expert, but as far as I know, at the application level it should behave
 just as if I'm connected directly to the network and shouldn't have to
 worry about which network adapter to use (built in or VPN), and shouldn't
 have to worry about routing.  I'm at a complete loss, so I'm just hoping
 there is magical tomcat setting which will fix my problem.  Any help would
 be appreciated .

 Thanks.

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





RE: JDBC Connection over VPN

2012-05-07 Thread Sanjeev Sharma
Telnet seems to connect.

-Original Message-
From: Saurabh Makol [mailto:saurabh.ma...@gmail.com] 
Sent: Monday, May 07, 2012 3:50 PM
To: Tomcat Users List
Subject: Re: JDBC Connection over VPN

Can you run

telnet DatahbaseIpaddress 1521 from command prompt when you VPN into your 
network?

On Mon, May 7, 2012 at 3:46 PM, Sanjeev Sharma  
sanjeev.sha...@buchanan-edwards.com wrote:

 Using port 1521 in both cases, but it only fails for JDBC.

 -Original Message-
 From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
 Sent: Monday, May 07, 2012 3:43 PM
 To: 'Tomcat Users List'
 Subject: RE: JDBC Connection over VPN

 Could the VPN connection be utlizing the same port Tomcat or Oracle 
 usually does? Like something at 8080?

 Not sure if that's the case; or conversely, does going into VPN block 
 those ports?


 -Original Message-
 From: Sanjeev Sharma [mailto:sanjeev.sha...@buchanan-edwards.com]
 Sent: Monday, May 07, 2012 2:36 PM
 To: Tomcat Users List
 Subject: JDBC Connection over VPN

 Hi,

 Not sure if this is a Tomcat issue.  When I connect directly to a 
 network and startup my tomcat 7, my JDBC connection to an Oracle 11g 
 network works just fine, but if I tunnel into the same network, JDBC 
 fails to connect to the database.  At the same time I'm able to make a 
 connection to the same database using SQL Developer/SQL Plus.  My 
 network people tell me that all ports are open to me and when they try 
 to capture packets coming from me, they see nothing if I'm starting up 
 my tomcat.  I'm not a Network or VPN expert, but as far as I know, at 
 the application level it should behave just as if I'm connected 
 directly to the network and shouldn't have to worry about which 
 network adapter to use (built in or VPN), and shouldn't have to worry 
 about routing.  I'm at a complete loss, so I'm just hoping there is 
 magical tomcat setting which will fix my problem.  Any help would be 
 appreciated .

 Thanks.

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





RE: JDBC Connection over VPN

2012-05-07 Thread Sanjeev Sharma
Found a solutions for this.  Apparently Java 7 wraps IPV4 addresses as IPV6, 
which is not supported by Cisco Anyconnect.  Turning of IPV6 on the Cisco VPN 
adapter (Control Panel\Network and Internet\Network Connections) fixed the 
problem.

-Original Message-
From: Sanjeev Sharma [mailto:sanjeev.sha...@buchanan-edwards.com] 
Sent: Monday, May 07, 2012 4:04 PM
To: Tomcat Users List
Subject: RE: JDBC Connection over VPN

Telnet seems to connect.

-Original Message-
From: Saurabh Makol [mailto:saurabh.ma...@gmail.com]
Sent: Monday, May 07, 2012 3:50 PM
To: Tomcat Users List
Subject: Re: JDBC Connection over VPN

Can you run

telnet DatahbaseIpaddress 1521 from command prompt when you VPN into your 
network?

On Mon, May 7, 2012 at 3:46 PM, Sanjeev Sharma  
sanjeev.sha...@buchanan-edwards.com wrote:

 Using port 1521 in both cases, but it only fails for JDBC.

 -Original Message-
 From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
 Sent: Monday, May 07, 2012 3:43 PM
 To: 'Tomcat Users List'
 Subject: RE: JDBC Connection over VPN

 Could the VPN connection be utlizing the same port Tomcat or Oracle 
 usually does? Like something at 8080?

 Not sure if that's the case; or conversely, does going into VPN block 
 those ports?


 -Original Message-
 From: Sanjeev Sharma [mailto:sanjeev.sha...@buchanan-edwards.com]
 Sent: Monday, May 07, 2012 2:36 PM
 To: Tomcat Users List
 Subject: JDBC Connection over VPN

 Hi,

 Not sure if this is a Tomcat issue.  When I connect directly to a 
 network and startup my tomcat 7, my JDBC connection to an Oracle 11g 
 network works just fine, but if I tunnel into the same network, JDBC 
 fails to connect to the database.  At the same time I'm able to make a 
 connection to the same database using SQL Developer/SQL Plus.  My 
 network people tell me that all ports are open to me and when they try 
 to capture packets coming from me, they see nothing if I'm starting up 
 my tomcat.  I'm not a Network or VPN expert, but as far as I know, at 
 the application level it should behave just as if I'm connected 
 directly to the network and shouldn't have to worry about which 
 network adapter to use (built in or VPN), and shouldn't have to worry 
 about routing.  I'm at a complete loss, so I'm just hoping there is 
 magical tomcat setting which will fix my problem.  Any help would be 
 appreciated .

 Thanks.

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



B?CB??[??XX?KK[XZ[
?\?\??][??XX?P?X?]
?\X?KBY][??[??[X[??K[XZ[
?\?\??Z[?X?]
?\X?KB?