Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?=
key=3DHB-210
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-210
Summary: JTA with Websphere 5.0 in WASD 5.0 environment
Type: Bug
Status: Unassigned
Priority: Major
Project: Hibernate2
Components:=20
core
Versions:
2.0.1
Assignee:=20
Reporter: gilles courtial
Created: Wed, 23 Jul 2003 2:55 AM
Updated: Wed, 23 Jul 2003 2:55 AM
Environment: ide: WSAD 5.0 os: win2000 bd: Oracle 9.2i
Description:
I try to use JTA transaction in websphere environment.=20
My Hibernate.cfg.xml is:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=09<property name=3D"show_sql">true</property>
=09<property name=3D"use_outer_join">true</property>
=09<property name=3D"jdbc.batch_size">0</property>
=09<property name=3D"query.substitutions">true 1, false 0, yes 'Y', no 'N'<=
/property>
=09<property name=3D"jndi.class">com.ibm.websphere.naming.WsnInitialContext=
Factory</property>
=09=09=09
=09<property name=3D"jndi.url">iiop://localhost:2809/</property>
=09<property name=3D"connection.datasource">jdbc/OracleDS</property>
=09<property name=3D"connection.username">easyejb</property>
=09<property name=3D"connection.password">easyejb</property>
=09<property name=3D"connection.provider_class">net.sf.hibernate.connection=
.DatasourceConnectionProvider</property>
=09<property name=3D"jdbc.use_streams_for_binary">true</property>
=09<property name=3D"dialect">net.sf.hibernate.dialect.OracleDialect</prope=
rty>
=09<property name=3D"transaction.factory_class">net.sf.hibernate.transactio=
n.JTATransactionFactory</property>
=09<property name=3D"transaction.manager_lookup_class">net.sf.hibernate.tra=
nsaction.WebSphereTransactionManagerLookup</property>
=09
=09
My trace:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[22/07/03 18:11:59:188 CEST] 415086d4 DatasourceCon I net.sf.hibernate.conn=
ection.DatasourceConnectionProvider Using datasource: jdbc/OracleDS
[22/07/03 18:11:59:188 CEST] 415086d4 SessionFactor I net.sf.hibernate.impl=
.SessionFactoryImpl Use outer join fetching: true
[22/07/03 18:11:59:409 CEST] 415086d4 SessionFactor I net.sf.hibernate.impl=
.SessionFactoryImpl Use scrollable result sets: true
[22/07/03 18:11:59:409 CEST] 415086d4 SessionFactor I net.sf.hibernate.impl=
.SessionFactoryImpl Transaction strategy: net.sf.hibernate.transaction.JTA=
TransactionFactory
[22/07/03 18:11:59:419 CEST] 415086d4 NamingHelper I net.sf.hibernate.util=
.NamingHelper JNDI InitialContext properties:{java.naming.provider.url=3Di=
iop://localhost:2809/, java.naming.factory.initial=3Dcom.ibm.websphere.nami=
ng.WsnInitialContextFactory}
[22/07/03 18:11:59:429 CEST] 415086d4 JTATransactio I net.sf.hibernate.tran=
saction.JTATransactionFactory Locating TransactionManager using: net.sf.hi=
bernate.transaction.WebSphereTransactionManagerLookup
[22/07/03 18:11:59:439 CEST] 415086d4 WebSphereTran I net.sf.hibernate.tran=
saction.WebSphereTransactionManagerLookup getTransactionManager
[22/07/03 18:11:59:439 CEST] 415086d4 WebSphereTran I net.sf.hibernate.tran=
saction.WebSphereTransactionManagerLookup WebSphere 5
18:11:59,459 3706 FATAL FwormDaoException (<init>, 27 ) - =09=
- Dao - La cr=C3=A9ation du mapping pour hibernate a =C3=A9chou=C3=A9
18:11:59,469 3716 DEBUG FwormDaoException (<init>, 28 ) - net=
.sf.hibernate.HibernateException: Could not obtain WebSphere JTSXA instance=
: getTransactionManager
=3D> I don't find the com.ibm.ejcs.jts.jta.JTSXA class in WSAD 5.0. In fact=
i have only com.ibm.ejs.jts.jta.JTSXA in txPrivate.jar.=20
Do you have an idea of this problem ?
thanks
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators=
.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|