This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

StaleConnectionException

 
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
 
Hug your destiny! And hug this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!