This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat server over VPN

 
Nila dhan
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In your browser settings, try bypassing the proxy for local addresses.
This might work.
 
Nila dhan
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.. I could connect to the Database using the Squirrel DB client, with the VPN connected.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got the issue resolved. The problem is that I didnt have the database driver placed in the build path.

Thanks guys, for your help.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic