Could not locate TransactionManager

Hi I am new to the JPA & J2EE. I want to implement JTA transaction for the API test framework. I have done most of the things but here I am
getting the saying: Could not locate TransactionManager:
Let me know if anyone of you need more information.

Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

Here is the reason...

harshall patil
Greenhorn

Joined: May 29, 2012
Posts: 2

posted May 31, 2012 01:31:47

0

Anurag Verma wrote:

Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

Here is the reason...

Can you tell me more detail about what I need to do here.
I am running test for business API which are hosted on server. So I have to use standalone JTATransactionManager strictly.