2 Replies Latest reply on Oct 17, 2003 3:29 AM by crfonti

    A very weird problem when developing EJB

    unixboyxu

      when i create a new EJB module and some session bean in it , invoke ejb with remote interface, it work fine, but if change the session bean , say, add new method or change the method , some exception encounter like this:

      java.lang.IllegalStateException: Failed to find method for hash:-6282922049336048802
      at org.jboss.invocation.MarshalledInvocation.getMethod(MarshalledInvocation.java:240)
      at org.jboss.ejb.Container.invoke(Container.java:699)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
      .....


      wow! what the problem it's!

      i have tried JBOSS-3.2.2RC2 JBOSS-3.2.2RC1 WITH TOMCAT.The problem is still the same.

      did somebody see the problem before?

        • 1. Re: A very weird problem when developing EJB

          Some part of your deployment doesn't know about the new
          method, probably because you haven't redeployed it.

          Regards,
          Adrian

          • 2. Re: A very weird problem when developing EJB
            crfonti

            Hi,
            Moreover sorry for my english, i'm italian.
            I have the same problem, and i found that also if you redeploy the project, the error remain! The only way is to stop the JBoss and restart it. So is ok, but if you redeploy the project for whichever reason (also only to write a comment) the error come back!
            I use JBoss 3.2.2RC4 and JBuilder9 with the Voyager OpenTool 2.6alpha.
            Help me!