This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
soonlai chow
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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~
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic