cancel
Showing results for 
Search instead for 
Did you mean: 

Exception in EJB create method

Former Member
0 Kudos

Hi all,

I am working on the migration of an application from J2EE to SAP WAS.

Presently i am facing some problem with an entity ejb.

I have linked that EJB with a table in the database.

Whenever i am running the application the following exception comes up :

com.sap.engine.services.ejb.exceptions.BaseEJBException: Transaction system failure in method com.sun.j2ee.blueprints.address.ejb.AddressLocalHomeImpl0.create

Please if any body can help me out

Regards,

Neetu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Neetu,

Can you check whether your EJB has the create() method like this??

public void ejbCreate() {
	}

Regards,

Ananth

Former Member
0 Kudos

Hi,

If your client is remote, try getting the AddressHome interface object ( not LocalHome ) from the lookup and use

AddressRemote ar = addressHomeObj.create();

Hope this helps.

Regards,

Uma

Former Member
0 Kudos

Hi Neetu,

Could you possibly copy the full stack trace of the exception? What is the transactional attribute of the create method that fails?

Reagrds, Victoria

Former Member
0 Kudos

Hi Victoria,

I am deploying the application on SAP WAS.

I have started working on it very recently and i dont know how to view the log file on which the Stack trace gets printed.

If u can please tell me how to view the log file as well as how to configure it then it will be very helpful for me.

Regards Neetu