This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 and Relational Databases
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: 20029
    
  44

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: 20029
    
  44

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: 20077
    
  30

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


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: IOException while trying to connect to the DB
 
It's not a secret anymore!