[EMAIL PROTECTED] wrote:
>
> When I try to execute following code, occures error message.
> Do you support EJB Spec 1.1 ?
> My development env. is JOnAS 1.4, EJB1.1
>
> Client partial source code :
> ...
> CabinHome c_home = (CabinHome)jndiContext.lookup("CabinHome");
> CabinPK pk = new CabinPK();
> pk.id = 30;
> c_home.remove(pk);
> ...
> error message :
> javax.ejb.RemoveException: ObjectNotFound
> at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFrom
> Server(Compiled Code)
> at sun.rmi.transport.StreamRemoteCall.executeCall(Compiled
> Code)
> at sun.rmi.server.UnicastRef.invoke(Compiled Code)
> at com.bull.jtm.util.RemoteStub.invoke(Compiled Code)
> at com.titan.cabin.BullCabinBeanCabinHome_Stub.remove(Compiled
> Code)
> at com.titan.travelagent.Client_2.main(Compiled Code)
>
> Best regards,
Hi,
Yes we are supporting EJB spec 1.1 with some restrictions( XML
deployement descriptor,
security, and beans pools)
Are you sure that you have a Cabin bean with a primary key with an id 30
in your database?
We have the same sort of tests (remove of an existing bean via the Home
interface) in our functionnal test suite, and we have no problem.
If the problem remains give me please some additional information,
thanks,
Regards
--
Philippe
Philippe Coq Groupe Bulll/BullSoft/OpenMaster Phone: (33) 04 76 29 78
49
Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED] http://www-frec.bull.com
Download our EJBServer at http://www.bullsoft.com/ejb