I'm using (JBoass 2.4.1 + Tomcat) reflection to have ejbCreate call an initialisation
class. This class calls ejb public members having single arguments - byte, Byte, int,
Integer, Character, char etc.
ejbCreate complete OK, but if I have used a char argumnet to any of these funtions
Method.invoke throws an InvocationTargetException - presumably refering to the proxy,
since by this time my code gas completed fine (even if I do use char-s) I get a
NoClassDefFoundError for
- wait for it - "java/lang/Char". I'm not trying to use anything of this type in my
code (Which as we all know is a non existant Class anyway; Hmmm), which leaves one
culprit. Here's the stack trace:
Please let me know if this is genuine bug, My Apologies if it's not!
java.lang.reflect.InvocationTargetException:
javax.transaction.TransactionRolledbackException: java/lang/Char; nested exception is:
java.lang.NoClassDefFoundError: java/lang/Char
java.lang.NoClassDefFoundError: java/lang/Char
at $Proxy12.(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Native Method)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:562)
at
org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker.getEntityEJBObject(JRMPContainerInvoker.java:125)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.getEntityEJBObject(JRMPContainerInvoker.java:345)
at
org.jboss.ejb.plugins.BMPPersistenceManager.createEntity(BMPPersistenceManager.java:182)
at org.jboss.ejb.EntityContainer.createHome(EntityContainer.java:616)
at java.lang.reflect.Method.invoke(Native Method)
at
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:843)
at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:231)
at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:154)
at
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:108)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:135)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:307)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:86)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:103)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:420)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContainerInvoker.java:437)
at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.java:237)
at org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:182)
at $Proxy11.create(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at
com.edsc.xmlejbgen.app.UCAll_Processor.cmd_all_instantiateObject(UCAll_Processor.java:210)
at java.lang.reflect.Method.invoke(Native Method)
_
View thread online: http://main.jboss.org/thread.jsp?forum=66&thread=8034
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development