I got and exception when calling an EJB with methods that uses char primitive type.  May be I have done something wrong.
I have attached the EJB code.  Anyone?
 
My work around is to use Integer but it would be nice if 'char' works.
Kar
 
---------------------------
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
 javax.transaction.TransactionRolledbackException: java/lang/Char; nested exception is:
 java.lang.NoClassDefFoundError: java/lang/Char
 
javax.transaction.TransactionRolledbackException: java/lang/Char; nested exception is:
 java.lang.NoClassDefFoundError: java/lang/Char
 
java.lang.NoClassDefFoundError: java/lang/Char
 
 at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
 
 at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
 
 at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
 
 at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unknown Source)
 
 at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:248)
 
 at $Proxy0.create(Unknown Source)
 
 at au.com.apir.test.EJBTester.main(EJBTester.java:44)
 
Exception in thread "main"

EntityHome.java

EntityBean.java

Entity.java

Reply via email to