1 Reply Latest reply on Oct 2, 2001 11:36 PM by David Jencks

    Commit after a long proccess

    pedrogomezrios Newbie

      I am running a proccess and when i have few data it runs well, i mean it performs the commit and i can see the result in the DB, but when there are many data and the proccesses takes about 15 minutes, the proccess ends well but i does not perform the commit...
      I say the proccess end well, becouse i can see others messages that i put in a log, and it create a lot of directories in the file system which are part of the proccess, there are no error messages in the log, and it seems like the proccess ends fine but not.

      The method that i call from my servlet is:

       try {
       Secciones seccionesDestinoEJB =
       EJBUtil.getSecciones(getUser(), idPortalDestino);
       SeccionView seccionOrigen =
       this.getSeccion(idSeccionOrigen);
       SeccionView seccionDestino =
       seccionesEJB.getSeccion(idSeccionDestino);
       debugSecciones("Copiará:" + seccionOrigen.getCodigoLargo() + ",a:" +
       seccionDestino.getNombre());
       copiarRama(seccionesEJB, seccionOrigen, seccionDestino,
       getPlantillasEJB(), getFormasLlenas());
       debugSecciones("Copió:" + seccionOrigen.getCodigoLargo());
       } catch (RemoteException e) {
       e.printStackTrace();
       throw new DocumentaRuntimeException(e.getMessage());
       }
      


      And i can see both messages in my log.



      I have jboss 2.4 integrated with tomcat.

      My DB is oracle 8.15


      I have tried with the default configuration and with following configuration:



      10

      true
      false
      false
      true
      60000
      12000000
      18000000
      true
      false
      0.9
      5

      The transaction type is required, and the rest of the system, about 150 operations work fine.

      Help please.

      Thanks.