This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 18550
    
  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: 18550
    
  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: 19656
    
  18

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: IOException while trying to connect to the DB
 
Similar Threads
how to connect to SQL server 2000 in WSAD 5.1
whether the server should accept client requests with different database name
exception
Passed with 149/155. :)
IOException while trying to connect to DB