aspose file tools*
The moose likes Tomcat and the fly likes Tomcat server over VPN Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat server over VPN" Watch "Tomcat server over VPN" New topic
Author

Tomcat server over VPN

Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 160
I have the tomcat integrated Eclipse IDE in my local machine.

The DB connections should be accessed from the clients network and I am trying to connect to the Database via VPN.

When I start the tomcat server from my local machine and try to launch the tomcat default home pagewith the VPN connected, I get a "The requested URL could not be retrieved" , "Connection refused" error.

If the VPN is not connected, I could successfully launch the tomcat default home page.

Please guide me / suggest in fixing this issue.

Thanks in Advance
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

In your browser settings, try bypassing the proxy for local addresses.
This might work.


SCJP, SCWCD.
|Asking Good Questions|
Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 160
I tried it. I could launch the page, but while making the Database connection, I am getting the error.

Is there anything that should be done to connect to the Client DB over the VPN ?
[ October 24, 2008: Message edited by: Nila dhan ]
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

So there is no issue with the Tomcat server. The problem is with the database right.
If yes then have you checked the connection string and the port number?
Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 160
Yes.. I could connect to the Database using the Squirrel DB client, with the VPN connected.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Do you have anyone there with experience with networking? From experience, the problem with VPNs is usually due to the routing rules, but you would need to get someone to look at your issue specifically.
Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 160
Got the issue resolved. The problem is that I didnt have the database driver placed in the build path.

Thanks guys, for your help.....
 
Consider Paul's rocket mass heater.
 
subject: Tomcat server over VPN