Problem:
When i use the hibernate 3.0.5 on websphere 5.0.2.12 the server hangs when creating the session factory, in websphere 5.0.2.11 the application runs normally, do you know any way to fix this problem??
below is listed the output of the application server and the hibernate configuration used
Thanks in advance
Manuel
Hibernate version:
3.0.5
Application Server: Websphere Application Server 5.0.2.12
Mapping documents:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.default_schema">schema</property>
<property name="hibernate.dialect">org.hibernate.dialect.DB2Dialect</property>
<property name="hibernate.connection.datasource">jdbc/dsDB</property>
<property name="hibernate.show_sql">true</property>
<property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
<property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.WebSphereTransactionManagerLookup</property>
<property name="hibernate.cglib.use_reflection_optimizer">true</property>
<mapping resource="app/table1.hbm.xml" />
<mapping resource="app/table2.hbm.xml" />
<mapping resource="app/table3.hbm.xml" />
<mapping resource="app/table4.hbm.xml" />
</session-factory>
</hibernate-configuration>
Name and version of the database you are using: DB2 8.2.1
Debug level Hibernate log excerpt:
This is the output
Quote:
[9/9/05 12:00:56:511 COT] 78c410e5 Environment I org.hibernate.cfg.Environment Hibernate 3.0.5
[9/9/05 12:00:56:527 COT] 78c410e5 Environment I org.hibernate.cfg.Environment hibernate.properties not found
[9/9/05 12:00:56:527 COT] 78c410e5 Environment I org.hibernate.cfg.Environment using CGLIB reflection optimizer
[9/9/05 12:00:56:527 COT] 78c410e5 Environment I org.hibernate.cfg.Environment JVM does not support Statement.getGeneratedKeys()
[9/9/05 12:00:56:527 COT] 78c410e5 Environment I org.hibernate.cfg.Environment JVM does not support LinkedHasMap, LinkedHashSet - ordered maps and sets disabled
[9/9/05 12:00:56:527 COT] 78c410e5 Environment I org.hibernate.cfg.Environment using workaround for JVM bug in java.sql.Timestamp
[9/9/05 12:00:56:527 COT] 78c410e5 Environment I org.hibernate.cfg.Environment using pre JDK 1.4 java.sql.Timestamp handling
[9/9/05 12:00:56:824 COT] 78c410e5 Configuration I org.hibernate.cfg.Configuration configuring from resource: /hibernate.cfg.xml
[9/9/05 12:00:56:824 COT] 78c410e5 Configuration I org.hibernate.cfg.Configuration Configuration resource: /hibernate.cfg.xml
[9/9/05 12:00:57:042 COT] 78c410e5 Configuration I org.hibernate.cfg.Configuration Mapping resource:
.... loading mapping resources
[9/9/05 12:00:58:558 COT] 78c410e5 Configuration I org.hibernate.cfg.Configuration processing association property references
[9/9/05 12:00:58:558 COT] 78c410e5 Configuration I org.hibernate.cfg.Configuration processing foreign key constraints
.. here the Webpshere hangs