wood burning stoves 2.0*
The moose likes Websphere and the fly likes WAS 6.1 JTA Transaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS 6.1 JTA Transaction" Watch "WAS 6.1 JTA Transaction" New topic
Author

WAS 6.1 JTA Transaction

deenbandhu prasad
Greenhorn

Joined: Feb 21, 2008
Posts: 9
I m getting following error in when running normal add transaction to the database

Exception in thread "P=83250 =0:CT" java.lang.NoClassDefFoundError: com/ibm/ws/Transaction/JTA/TransactionImpl
at com.ibm.ws.Transaction.JTA.UserTransactionImpl.commit(UserTransactionImpl.java:242)

I suspect its something to do with the configuration.

Please suggest how to fix this problem .

Thanks
Deenbandhu
SCJP -98%
Romeo Kienzler
Greenhorn

Joined: Aug 15, 2007
Posts: 14
Hi!

Try to add the following two jars to the classpath of your client application:

c/Program Files/IBM/SDP70/runtimes/base_v6/lib/jtaPrivate.jar
c/Program Files/IBM/SDP70/runtimes/base_v6/lib/jtsPrivate.jar

That should help!

Regards

Romeo
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: WAS 6.1 JTA Transaction
 
Similar Threads
how to rollback in java
Correct JDBC Driver for Sybase 12.x in Websphere 6.1
Difference between JTA and JTS
EntityTransaction javax.persistence.EntityManager.getTransaction() cannot be invoked in the context
how can i integrates jta with hibernate?