2 Replies Latest reply on Aug 14, 2008 2:56 PM by thepoineer

    "main" java.lang.RuntimeException: Could not resolve beanCla

    thepoineer

      Suddenly I have noticed that when I try to invoke a bean method declared in remote I am facing this problem for the new method added .

      I tried to test the existing method invocations and there is no problem..
      I see this with new method additions.,. I am confused why I am suddenly facing this problem.

      To verify I have decomplied the class file using jad form the jar to see the
      method in remote interface and bean are matching with the calling method
      invocation

      We are using JBOSS -4.0.3 SP1
      and EJB 3.0

      Exception in thread "main" java.lang.RuntimeException: Could not resolve beanClass method from proxy call
      at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:166)
      at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107)
      at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:69)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:566)
      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:436)
      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:247)
      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:285)
      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:169)



      Any help is greatly appreciated

        • 1. Re:
          thepoineer

           

          "thepoineer" wrote:
          Suddenly I have noticed that when I try to invoke a bean method declared in remote I am facing this problem for the new method added .

          I tried to test the existing method invocations and there is no problem..
          I see this with new method additions.,. I am confused why I am suddenly facing this problem.

          To verify I have decomplied the class file using jad form the jar to see the
          method in remote interface and bean are matching with the calling method
          invocation

          We are using JBOSS -4.0.3 SP1
          and EJB 3.0

          Exception in thread "main" java.lang.RuntimeException: Could not resolve beanClass method from proxy call
          at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:166)
          at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107)
          at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:69)
          at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:566)
          at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:436)
          at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:247)
          at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:285)
          at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:169)



          Any help is greatly appreciated


          • 2. Re:
            thepoineer

            I got it resolved.. I could see the error is due to wrong propertied in Initial Context..,


            Thank u..