1 Reply Latest reply on Dec 4, 2002 12:28 AM by vickyk

    java.lang.ClassCastException

    srshende

      Hello,
      I am facing this problem with session bean deployment. When I am trying to access my redeployed ejb jar from servlet it gives me java.lang.ClassCastException for Home Object and returns null for the remote. I am using JDK1.4. I tried with jdk1.3 but it gives the same error. Whats the solution for the same, So that I do not need to restart the server every time I make changes in my session bean. Moreover the documentatoin is of no help in development. Awaiting reply.

      Regds,
      Sanjay

        • 1. Re: java.lang.ClassCastException
          vickyk

          Hi,
          > Hello,
          > I am facing this problem with session bean
          > deployment. When I am trying to access my redeployed
          > ejb jar from servlet it gives me
          > java.lang.ClassCastException for Home Object and
          > returns null for the remote. I am using JDK1.4. I
          > tried with jdk1.3 but it gives the same error. Whats
          > the solution for the same, So that I do not need to
          > restart the server every time I make changes in my
          > session bean. Moreover the documentatoin is of no
          > help in development. Awaiting reply.
          >
          > Regds,
          > Sanjay
          Why are you redeploying the jar redeploy the entire ear this will reload the entire applicaiton.You dont have to restart the server , the jboss will automatially reload the applications.
          Regards
          Vicky