Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

weblogic 10.3.3 throwing java.sql.SQLException: Closed Statement: next exception

 
vivek behal
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi techies,

I was using weblogic 10.0 and my code was working fine. The moment I shifted to weblogic 10.3.3 (i.e. 11gR1) I got my first problem in terms of sql exception. I am getting a resultset and then closing the opened database connection. The moment I tried to use the resuset I got the exception

java.sql.SQLException: Closed Statement: next

The same code was working fine with earlier version of weblogic. I am using jdk1.4.2 in code. The only change was done to upgrade weblogic to 10.3.3.

Can any one throw light on the solution of this problem. It will really be apprecaited.

Thanks in advance

Vivek.
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure what you mean by
I am using jdk1.4.2 in code.


Looks like the server must be run on jdk 6,
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/notes/new.html#wp1090981

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic