I have installed the newest CVS version of JForum with Oracle Support and compiled it. I have
Tomcat 4.1, JSDK 1.4.2 and Oracle 9i. When creating a new topic the above error occurs:
Caused by: java.lang.ClassCastException
at net.jforum.dao.oracle.OracleUtils.writeBlobUTF16BinaryStream(OracleUtils.java:111)
at net.jforum.dao.oracle.OraclePostDAO.addNewPostText(OraclePostDAO.java:70)
at net.jforum.dao.generic.GenericPostDAO.addNew(GenericPostDAO.java:235)
at net.jforum.view.forum.PostAction.insertSave(PostAction.java:1074)
It occurs in the method OracleUtils.writeBlobUTF16BinaryStream(), in line:
OutputStream blobWriter = ((oracle.sql.BLOB)postText).getBinaryOutputStream();
Does anyone have an idea? I used classes12.zip and ojdbc14.jar and the erros persists.
Regards,
Andr̩ Lu�?s Dantas
[originally posted on jforum.net by aldantas]