Hi there,
My current application is using struts and hibernate. I'm using the ThreadLocal for managing my session. This apps is deployed in iPlanet Application Server 6.0 sp2.
The problem with it is I'm getting this error :
Quote:
[WARN] JDBCExceptionReporter - -SQL Error: 0, SQLState: null
[ERROR] JDBCExceptionReporter - -prepStmt(): unable to prepare an internal statement object
[ERROR] JDBCExceptionReporter - -Could not execute query <java.sql.SQLException: prepStmt(): unable to prepare an internal statement object>java.sql.SQLException: prepStmt(): unable to prepare an internal statement object
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:82)
at com.netscape.server.jdbc.Connection.prepareStatement(Compiled Code)
at net.sf.hibernate.impl.SessionFactoryImpl.getPreparedStatement(Compiled Code)
at net.sf.hibernate.impl.BatcherImpl.prepareQueryStatement(Compiled Code)
at net.sf.hibernate.loader.Loader.prepareQueryStatement(Compiled Code)
at net.sf.hibernate.loader.Loader.doFind(Compiled Code)
at net.sf.hibernate.loader.Loader.find(Compiled Code)
at net.sf.hibernate.hql.QueryTranslator.find(Compiled Code)
at net.sf.hibernate.impl.SessionImpl.find(Compiled Code)
at net.sf.hibernate.impl.SessionImpl.find(Compiled Code)
at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1318)
at voiss.persistence.HibernateDM.query(Unknown Source)
HibernateDM is class that hold session in ThreadLocal. I'm using iPlanet datasource for connection. Database is oracle9i and I'm using 9i specific dialect.
Did somebody successfully run Hibernate in iPlanet? If so, how to do it?
Thanks.
- cairo fivez -