please help arguments of a bean CALL depends on runtime
dreuzel Jun 7, 2006 9:05 AMI setup my beans (i assume correctly since it works for a while)
This is getting very urgent and I'm very worried over using beans ever again....
example String xxx=bean.myroutine(String xxxx) ; works OK
example String xxx=bean.myroutine(HashMap<String,String> xxxx) ; works OK
example String xxx=bean.myroutine(Document xxxx) ;(DOM4j works OK
as I use my own classes containing just data
ex: public class yyy
{String abcv;
String xyz;
} (or anything self defined ....)
example String xxx=bean.myroutine((yyy) aas) ;It fails with :
of coarse I'm addapting the call every time .....
i seem to get this with every bean in my system
both client and server have the class defined in the same jar path ...
it realy seems to have to do with
MY Classes versus external classes
Using jboss 4.0.4. GA
javax.ejb.EJBException: java.lang.IllegalArgumentException: Wrong target. class Bean for public java.lang.String com.cyclus.bean.DommerBean.DomSession(com.cyclus.Dom.DomTransport)
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(MethodInvocation.java:101)
at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:199)
at org.jboss.ejb3.service.ServiceLocalProxy.invoke(ServiceLocalProxy.java:75)
at $Proxy79.DomSession(Unknown Source)
Wrong target. class bean.DommerBean for public java.lang.String Bean.DomSession(Dom.DomTransport)