Kar,
 
Could you post the code for this, it looks as if it is looking for an Object of type Char not the primative type char. The object wrapper for char is the class java.lang.Character.
 
Paul
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kar YEOW
Sent: 12 June 2001 01:13
To: [EMAIL PROTECTED]
Subject: [JBoss-user] jBoss cannot handle char primitive type

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"

Reply via email to