Hi all,
I got this exception : Unable to copy listeners.
I found the hibernate code here
http://www.spikesource.com/spikewatch.logs/fedora-3-i386/1343/hibernate/reports/clover/org/hibernate/util/Cloneable.html
line 62.
My application also use spring.
It works fine with tomcat local, websphere local, but when I pakage it on the ear file and deploy on the websphere unix environment it crashes on LocalSessionFactoryBean.
I already spent 3 days on this issue and really no clue !
Please help me
Here is my code
Code:
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<property name="dataSource">
<ref local="dataSource" />
</property>
<property name="lobHandler">
<ref local="oracleLobHandler" />
</property>
<property name="mappingResources">
<list>
<value>com/ing/ebusiness/spg/domain/Issue.hbm.xml</value>
<value>com/ing/ebusiness/spg/ext/vo/File.hbm.xml</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.OracleDialect</prop>
<!-- Echo all executed SQL to stdout -->
<prop key="show_sql">true</prop>
<prop key="cache.use_query_cache">true</prop>
<!-- Force to flush() after changes ?
<prop key="transaction.auto_close_session">false</prop> -->
<!-- Disable the second-level cache-->
<prop key="hibernate.cache.use_second_level_cache">false</prop>
<!-- Enable Hibernate's automatic session context management
<prop key="current_session_context_class">thread</prop>-->
<!-- JDBC connection pool (use the built-in)
<prop key="connection.pool_size">1</prop> -->
</props>
</property>
</bean>
hibernate version 3-3.1.3
WAS 5.1
septentryon