Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

[RE] BMP run happen error after ejbCreate

843833May 20 2002 — edited May 20 2002
when 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>>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2002
Added on May 20 2002
3 comments
75 views