-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate/Oracle App Server 10.1.2 issue- TransactionManager
PostPosted: Thu Mar 13, 2008 9:34 am 
Newbie

Joined: Thu Feb 28, 2008 10:48 am
Posts: 7
Hi,

i am uisng Hibernate in my application which is running in Oracle App Server 10.1.2 middle tier.

i am struck up with this issue for last one week. the problem is i am having the following lines in my hibernate.cfg.xml for JTA Transactions


<property name="transaction.manager_lookup_class">org.hibernate.transaction.OC4JTransactionManagerLookup</property>
<property name="transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>

this is not wokring out for me. it is giving me the folloiwng execption

org.hibernate.HibernateException: Could not locate TransactionManager

at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:26)

Caused by: javax.naming.NameNotFoundException: No object bound for java:comp/pm/TransactionManager

as OC4JTransactionManagerLookUp is returning transcationmanager name as "java:comp/pm/TransactionManager".

my jndi properties are

<property name="jndi.url">opmn:ormi://localhost:80/RM_Application</property>
<property name="jndi.class">com.evermind.server.rmi.RMIInitialContextFactory</property>
<property name="jndi.security.principal">jazn.com/admin</property>
<property name="jndi.security.credentials">password1</property>
<property name="dedicated.rmicontext">true</property>
<property name="dedicated.connection">true</property>

any ideas? I feel there should be some fix for this. Please let me know your ideas.

Thanks in advance....

Purandhar


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.