This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

StaleConnectionException  RSS feed

 
Bruce Jake
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am executing a java class in a .bat file. The class accesses DB2 tables. I am using DB2CMD -c -w -i DB2 "Connect To PLCAPRPS user db2prpp using db2prpp" to connect to the database and this works fine. After the connection the program starts up and I get a StaleConnectionException. When I run this class as a bean it works fine. I only have this problem running it as a bat file. Any help would be very appreciated.
Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!