0 Replies Latest reply on Jul 23, 2002 1:42 AM by hhhxxx

    problem about redeploy

    hhhxxx

      I have some simple bean:KeyEntityBean and EnvironmentSessionBean. The SesseionBean use local interface to visite KeyEntityBean to get somekey's next value.This is some code in SessionBean:
      home =(KeyEntityLocalHome) context.lookup("java:comp/env/KeyEntityBean")
      key = home.findByPrimaryKey(keyStr);
      keyValue = key.getNextId();

      After compiling,package and deploy,When I test whith a simple client,the jboss throw ClassCastException.And When I shutdown and reRun the jboss,the client and bean worked well.Why?