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 When set jar run on scheduled time, jar failed to connect Oracle 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 "When set jar run on scheduled time, jar failed to connect Oracle" Watch "When set jar run on scheduled time, jar failed to connect Oracle" New topic
Author

When set jar run on scheduled time, jar failed to connect Oracle

soonlai chow
Greenhorn

Joined: Mar 13, 2013
Posts: 1
When set jar run on scheduled time, jar failed to connect Oracle,
or when program start running, and when I returned to my PC, sometime will drop connection and this error message come out.
but it is success when run jar manually.
Is it this is due to Oracle setting issue?

Oracle 11.2.0.2
Java: ojdbc6.jar

connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource.
java.sql.SQLException: The Network Adapter could not establish the connection

Thanks and need your advise~
 
Have you checked out Aspose?
 
subject: When set jar run on scheduled time, jar failed to connect Oracle
 
jQuery in Action, 3rd edition