GeeCON Prague 2014*
The moose likes JDBC and the fly likes IOException while trying to connect to the DB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "IOException while trying to connect to the DB " Watch "IOException while trying to connect to the DB " New topic
Author

IOException while trying to connect to the DB

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234


I don't know where to post this query so posted here " My apologizes if its not the correct post"

This was a question posted on javaRanch sometime earlier.

I'm getting the following IOException while trying to connect to the DB from my web application using connection pooling.
Io exception: The Network Adapter could not establish the connection


The response which he had got is :


Check whether the Database server is not running on MTS Mode. If yes,then you have to pass the jdbc URL to use dedicated connection explicitly .

Can anybody please tell me what is MTS Mode ??



Save India From Corruption - Anna Hazare.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18876
    
  40

This was a question posted on javaRanch sometime earlier.


Maybe it would be a good idea to post a link to the question -- so that we can have the full context of what you are asking about?

As for which forum to post... posting it in the same forum as the other topic may be a good idea too.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18876
    
  40

Found the link for you...

http://www.coderanch.com/t/306603/JDBC/java/IOException-while-trying-connect-DB

In this topic, MTS mode is a mode of the Oracle server. It basically means "multithreaded server".

Personally, I have never configured Oracle MTS, so can't give you any more information on that topic.

Henry
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

I think the JDBC forum will be a better place for this thread. Moving.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
Don't get me started about those stupid light bulbs.
 
subject: IOException while trying to connect to the DB