GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes getting ejbPersistence exception while running CMP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "getting ejbPersistence exception while running CMP" Watch "getting ejbPersistence exception while running CMP" New topic
Author

getting ejbPersistence exception while running CMP

Arun Chinnaraju
Greenhorn

Joined: Feb 07, 2005
Posts: 5
Hi,
After my deployment of CMP, i tried to run the client which is servlet. But while calling the component interface stub ie. EJBHome.create() on CMP bean i'm getting the following exception:
Database: DB2 7.1 ver
server+IDE: WASD 5.1

******************************************************************************
[10/5/05 10:01:15:728 IST] 12a212a2 SystemErr R java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: ; nested exception is:
javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR6022E: Error using adapter to create or execute an Interaction. com.ibm.ws.rsadapter.cci.WSInteractionImpl@28c628c6
[10/5/05 10:01:15:728 IST] 12a212a2 SystemErr R java.rmi.RemoteException: ; nested exception is:
javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR6022E: Error using adapter to create or execute an Interaction. com.ibm.ws.rsadapter.cci.WSInteractionImpl@28c628c6
[10/5/05 10:01:15:728 IST] 12a212a2 SystemErr R javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR6022E: Error using adapter to create or execute an Interaction. com.ibm.ws.rsadapter.cci.WSInteractionImpl@28c628c6
[10/5/05 10:01:15:728 IST] 12a212a2 SystemErr R com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR6022E: Error using adapter to create or execute an Interaction. com.ibm.ws.rsadapter.cci.WSInteractionImpl@28c628c6
[10/5/05 10:01:15:728 IST] 12a212a2 SystemErr R ---- Begin backtrace for nested exception
[10/5/05 10:01:15:728 IST] 12a212a2 SystemErr R COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0407N Assignment of a NULL value to a NOT NULL column "TBSPACEID=2, TABLEID=9, COLNO=14" is not allowed. SQLSTATE=23502

[10/5/05 10:01:15:728 IST] 12a212a2 SystemErr R javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR6022E: Error using adapter to create or execute an Interaction. com.ibm.ws.rsadapter.cci.WSInteractionImpl@28c628c6

****************************************************************************

Please help me out in this issue.

Thanks,
Arun
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: getting ejbPersistence exception while running CMP