[RE] BMP run happen error after ejbCreate
843833May 20 2002 — edited May 20 2002when i call a BMP in client,i met the following error:
this happened when after ejbCreat(), when return a PK class, it poped up this error:
when can help me have a look,thx~!
-source of ejbCreate---------------------------------------------------------------------
pstmt = conn.prepareStatement("insert into accounts (id, ownerName, balance) values (?, ?, ?)");
pstmt.setString(1, accountID);
pstmt.setString(2, ownerName);
pstmt.setDouble(3, balance);
pstmt.executeUpdate();
System.out.println("after insert in bean!");
/*
* Generate the Primary Key and return it
*/
return new AccountPK(accountID);
-errors----------------------------------------------------------------------
java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
java.rmi.RemoteException: nested exception is: java.lang.RuntimeExceptio
n: Unable to create reference org.omg.CORBA.OBJ_ADAPTER: minor code: 139808050
3 completed: No; nested exception is:
java.lang.RuntimeException: Unable to create reference org.omg.CORBA.OBJ
_ADAPTER: minor code: 1398080503 completed: No
java.rmi.RemoteException: nested exception is: java.lang.RuntimeException: Unabl
e to create reference org.omg.CORBA.OBJ_ADAPTER: minor code: 1398080503 compl
eted: No; nested exception is:
java.lang.RuntimeException: Unable to create reference org.omg.CORBA.OBJ
_ADAPTER: minor code: 1398080503 completed: No
java.lang.RuntimeException: Unable to create reference org.omg.CORBA.OBJ_ADAPTER
: minor code: 1398080503 completed: No
<<no stack trace available>>