-
1. Re: ejbRemove throws IllegalArgumentException
nayyerkamran Jul 13, 2002 10:08 AM (in response to nayyerkamran)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.
Thanks,
Nayyer Kamran -
2. Re: ejbRemove throws IllegalArgumentException
joelvogt Jul 14, 2002 8:16 PM (in response to nayyerkamran)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
{
}
? -
3. Re: ejbRemove throws IllegalArgumentException
dsundstrom Jul 15, 2002 3:32 PM (in response to nayyerkamran)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).