1 Reply Latest reply on Feb 7, 2005 11:58 AM by Jason Cunningham

    Please help my topic ( Error from JBOSS )

    Cheung York Newbie

      Hi , all

      I am using JBOSS version 3.2.6 and I have compiled one ejb but It shows this error !! Anyone know this problem



      14:57:49,281 ERROR [LogInterceptor] Unexpected Error in method: public abstract java.lang.Boolean glass.example.composition.one_many.bi_direction.service.OperationServiceRemote.createOrder(glass.example.composition.one_many.bi_direction.valueobject.Order) throws java.rmi.RemoteException


      java.lang.IncompatibleClassChangeError


      at glass.example.composition.one_many.bi_direction.service.OperationServiceBean.getOrderLocalHome(OperationServiceBean.java:105)


      at glass.example.composition.one_many.bi_direction.service.OperationServiceBeanImpl.createOrder(OperationServiceBeanImpl.java:24)


      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


      at java.lang.reflect.Method.invoke(Method.java:324)


      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)


      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)


      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)


      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)


      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)


      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)


      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111)


      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)


      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)


      at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)


      at org.jboss.ejb.Container.invoke(Container.java:709)


      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


      at java.lang.reflect.Method.invoke(Method.java:324)


      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)


      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)


      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)


      at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)


      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)


      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)


      at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)


      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


      at java.lang.reflect.Method.invoke(Method.java:324)


      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)


      at sun.rmi.transport.Transport$1.run(Transport.java:148)


      at java.security.AccessController.doPrivileged(Native Method)


      at sun.rmi.transport.Transport.serviceCall(Transport.java:144)


      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)


      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)


      at java.lang.Thread.run(Thread.java:534)

        • 1. Re: Please help my topic ( Error from JBOSS )
          Jason Cunningham Newbie

          Hi,

          I've had this error myself, but it was tricky to track down.

          In my case, I had a class that I had modified and put into a new JAR file, whilst still having the original version in an older JAR file. JBOSS was seeing the older version, which had differend method signatures.

          So, I would suggest that you
          a) get your code compiling in a totally seperate location and a copy of the JAR files you think you need. Make sure you delete ALL your old build locations (.class files) to make sure everything is ok

          b) copy only these new JAR files back into a clean JBOSS installation and hopefully the problem will have gone away.

          Cheers,

          Jason