Hi,
Looks like your bean ejbCreate() method is throwing
an application exception (possibly a RemoteException).
Try adding a try-catch clause to your ejbCreate()
method to find out what is thrown.
Best Regards,
Ole Husgaard.
Rolando Rivera wrote:
>
> Hello,
>
> I just created an Stateful Session Bean and when the client is attempting to
>call the home.create() method I get the following error:
>
> javax.ejb.CreateException: Create failed:java.lang.reflect.InvocationTargetExcep
> tion
> at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
> n Source)
> at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
> at sun.rmi.server.UnicastRef.invoke(Unknown Source)
> at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHom
> e(Unknown Source)
> at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java
> :221)
> at $Proxy0.create(Unknown Source)
> at com.estore.ecart.Client.main(Client.java:34)
>
> while on the server side I don't have any aparent error:
>
> [Default] JRMPCI:invokeHome create
> [Default] Tx is null
> [ShopingCart] TX_REQUIRED for create
> [ShopingCart] begin tx
> [ShopingCart] SSC:invokeHome:mi is create map is createHome
> [ShopingCart] Just Created!
> [ShopingCart] null
> [ShopingCart] commit tx 1
>
> Is there something that I'm missing?
>
> -Thanks
> Rolando Rivera
>
> --
>
> Rolando Rivera
> CYMSoft Chief Architect
>
> --
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]