Has anyone encountered the following error:

java.sql.SQLException: Message file 'oracle.jdbc.dbaccess.Messages' is
missing.
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
 at oracle.jdbc.driver.OracleConnection.close(OracleConnection.java:1442)
 at
com.mchange.v2.c3p0.impl.C3P0PooledConnection.close(C3P0PooledConnection.jav
a:215)
 at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.destroyResource(C3P0Pool
edConnectionPool.java:149)
 at
com.mchange.v2.resourcepool.BasicResourcePool$5.run(BasicResourcePool.java:4
80)
 at
com.mchange.v2.async.CarefulRunnableQueue$TaskThread.run(CarefulRunnableQueu
e.java:145)
Failed to destroy resource:
[EMAIL PROTECTED]
java.sql.SQLException: At least one error occurred while attempting to
close() the PooledConnection: java.sql.SQLException: Message file
'oracle.jdbc.dbaccess.Messages' is missing.
 at
com.mchange.v2.c3p0.impl.C3P0PooledConnection.close(C3P0PooledConnection.jav
a:223)
 at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.destroyResource(C3P0Pool
edConnectionPool.java:149)
 at
com.mchange.v2.resourcepool.BasicResourcePool$5.run(BasicResourcePool.java:4
80)
 at
com.mchange.v2.async.CarefulRunnableQueue$TaskThread.run(CarefulRunnableQueu
e.java:145)
java.sql.SQLException: Message file 'oracle.jdbc.dbaccess.Messages' is
missing.
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
 at oracle.jdbc.driver.OracleConnection.close(OracleConnection.java:1442)
 at
com.mchange.v2.c3p0.impl.C3P0PooledConnection.close(C3P0PooledConnection.jav
a:215)
 at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.destroyResource(C3P0Pool
edConnectionPool.java:149)
 at
com.mchange.v2.resourcepool.BasicResourcePool$5.run(BasicResourcePool.java:4
80)
 at
com.mchange.v2.async.CarefulRunnableQueue$TaskThread.run(CarefulRunnableQueu
e.java:145)

I have tried both OracleDialect and Oracle9Dialect as well as adjusting the
"hibernate.connection.provider_class" with no change.
The error doesn't seem to affect the the data in any way.  But I would like
to understand what it is.


I am using Oracle 9 and running the beta 5 version of Hibernate.

<session-factory>
        <property
name="connection.url">jdbc:oracle:thin:@localhost:1521:DEV</property>
        <property
name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
        <property name="connection.username">username</property>
        <property name="connection.password">password</property>
        <property name="show_sql">false</property>
        <property
name="dialect">net.sf.hibernate.dialect.Oracle9Dialect</property>

        <property name="hibernate.jdbc.batch_size">25</property>
        <property name="hibernate.use_outer_join">true</property>
        <property
name="hibernate.connection.provider_class">net.sf.hibernate.connection.C3P0C
onnectionProvider</property>
        <property
name="hibernate.transaction.factory_class">net.sf.hibernate.transaction.JDBC
TransactionFactory</property>
        <!-- net.sf.hibernate.transaction.JTATransactionFactory -->

        <property name="hibernate.c3p0.max_size">8</property>
        <property name="hibernate.c3p0.min_size">2</property>
        <property name="hibernate.c3p0.timeout">5000</property>
        <property name="hibernate.c3p0.validate">false</property>


        <mapping resource="com/shopbotz/db/DbInventory.hbm.xml"/>
        <mapping resource="com/shopbotz/db/DbInventoryCsv.hbm.xml"/>
    </session-factory>


Also, anyone know why the following property won't work:         <!-- 
<property name="hibernate.c3p0.max_statements">250</property> -->
It just complains about not being able to compile the statement or
something. Anyway just an aside! :)

Troy


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to