I wrote several working beans (I.m using a local bean, call by reference,...
sharing the information using EJB 3.0
and for all those beans i get the same problem
String xx=bean.routine( Class )
the class is defined as in the interface of caorse
otherwize there is a compilation error ....
as the class is of type String all seems ok
as the class is of type HashMap<String,class>
it seems to pass but the class defintion on the other side is corrupted
as the class is of type Document (dom4J) all seems ok
as I use one of my classes to be passed as arguments
an ececution I get Illegal argument
javax.ejb.EJBException: java.lang.IllegalArgumentException: Wrong target. class
com.cyclus.bean.DommerBean for public java.lang.String
com.cyclus.bean.DommerBean.DomSession(com.cyclus.Dom.DomInfo)
at
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
at
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(Meth16:49
9/06/2006odInvocation.java:101)
at org.jboss
Can anyone help me on this ?????
This seems as if BEANS DO NOT WORK AT ALL
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950141#3950141
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950141
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user