hi every one,
Is there nobody in all this forum have ever encountered this problem or never removed any entity bean.
I have tried a very simple removel i.e inserted a record in database and tried to remove it with remote object remove method after finding it with findByPrimaryKey method. It thorws exception on removel the exception message is,
Load failed; nested exception is: java.lang.IllegalArgumentException; nested exception is: java.rmi.ServerException: Load failed; nested exception is: java.lang.IllegalArgumentException
every kind of suggestion and help regarding it will be appreciated.
well okay, removing entity beans should not have any problems at all.
Is your method declaration in your bean something like
public void ejbRemove()
throws RemoveException, EJBException, RemoteException
This attacking tone won't get you far here.
There are many testcases in the JBoss Testsuite which add and remove entities. My guess is the entit is miscoded or misconfigured. What is the actual exception on the serverside (check the server.log file).