How can I cast arguments in a bean ????
bean.callprocess((Object) xxx)
where the bean was defined as an object gives an execution failure
any way to solve the problem ????
any way to cast from one class to any parent class ????
15:53:12,578 ERROR [Main] Errname[javax.ejb.EJBException] Where: what What:
XmlService.java-():whereSetupSession About: about
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.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)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949856#3949856
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949856
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user