• Post Reply Bookmark Topic Watch Topic
  • New Topic

bea weblogic: java.sql.SQLException: Stream has already been closed  RSS feed

 
sudheshna Iyer
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a bean with CMP. I have a clob column in the database. I am using weblogic 8.1 sp3.
I have added the following to weblogic-cmp-rdbms-jar.
<field-map>
<cmp-field>techClob</cmp-field>
<dbms-column>TECH_CLOB</dbms-column>
<dbms-column-type>OracleClob</dbms-column-type>
</field-map>

When I tried to access the bean thru findByPrimaryKey, I am getting the following exception:

javax.ejb.FinderException: Exception raised in findByPrimaryKey
java.sql.SQLException: Stream has already been closed
java.sql.SQLException: Stream has already been closed
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)

The same thing is happening by using Blobs too.

Can anybody help?

Thank you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!