Hi, I have the following configuration:
EAR file with WAR file and some JAR(with EJBs in them) in the EAR , my WAR is an EJB client, but when I'm trying to call the remote bean I got this error:
java.lang.ClassCastException: org.jboss.invocation.Invocation cannot be cast to org.jboss.invocation.Invocation
org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:223)
org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
org.jboss.remoting.Client.invoke(Client.java:1724)
org.jboss.remoting.Client.invoke(Client.java:629)
org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:184)
org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64)
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)
org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
this configuration worked fine on JBOOS 4.0.5.
I'm not sure what the problem is, maybe I've got a problem with my JBOSS client jars, witch jar do I need to have on a client in a war file (in the ear file) that sit's in the deploy folder? if I add all the client jars and Jbossall-client.jar it reports duplicated.
a regular client with all jars from client folder works fine, the problem is with WARs only
10x, Kobi