2 Replies Latest reply on Jul 23, 2009 9:54 AM by jaikiran

    stateless vs stateful bean

      Hi,
      Could anybody please help me to understand in jboss 4.2.3 application server, that when I call my Stateless Session Bean from different class loader scoped application it works fine, but if I call Statefull session bean it throws ClassCastException. ?

        • 1. Re: stateless vs stateful bean

           

          "ravendra.gupta" wrote:
          Hi,
          Could anybody please help me to understand in jboss 4.2.3 application server, that when I call my Stateless Session Bean from different class loader scoped application it works fine, but if I call Statefull session bean it throws ClassCastException. ?



          • 2. Re: stateless vs stateful bean
            jaikiran

            Please post more details including the relevant code, the exception stacktrace and the JNDI tree view.

            While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.