Win a copy of Murach's Python Programming this week in the Jython/Python 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!