Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Switch gateway servers for connection

 
Maria Smith
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Tomcat connection Pooling to get the database connection.
Before we used to use Single gateway servers to get the DB2 Connection.
About few days back they changed to 3 gateway servers from 1 for back up purpose.

Right now my code handles to get the connection from one gateway server through
Connection Pooling.
Can you please advise or show me a code sample how to switch between gateway
servers to get the connection in case of connection problem in one of the servers

Thanks in advance
Maria
[ May 25, 2004: Message edited by: Maria Smith ]
 
Maria Smith
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry I misspelled �switch� as �swich�
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64623
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hint, hint: you can edit your post and fix the spelling.
 
Maria Smith
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,
Maria
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic