0 Replies Latest reply on Jun 30, 2005 8:46 AM by Karl Koster

    javax.resource.ResourceException version mismatch

    Karl Koster Newbie

      It looks like there is a difference in the version of javax.resource.ResourceException between JBoss IDE 1.5M1 and JBoss AS 4.0.3RC1. I am getting the following stack trace when a ResourceException is being thrown from a JCA adapter in the server to a client that is using the classes from the IDE:

      Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
      at $Proxy0.getRelationColumnNames(Unknown Source)
      at com.amaranth.lim.LimSetup.addRelationColumns(LimSetup.java:547)
      at com.amaranth.lim.LimSetup.main(LimSetup.java:611)
      Caused by: java.rmi.ConnectException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is:
      java.io.InvalidClassException: javax.resource.ResourceException; local class incompatible: stream classdesc serialVersionUID = 547071213627824490, local class serialVersionUID = 4770679801401540475
      at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:266)
      at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:117)
      at org.jboss.remoting.Client.invoke(Client.java:201)
      at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:41)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
      at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:46)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
      at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:40)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
      at org.jboss.aspects.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:34)
      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
      at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:79)
      ... 3 more