Hi,

The default transaction timeout in JBoss is 300 seconds,
so you probably see a message about a transaction timeout
in your server log.
Even after a tx timeout, your code may continue to run,
but you can never commit the transaction - only roll it
back.

Try raising the default transaction timeout value in
jboss.jcml.


Best Regards,

Ole Husgaard.


"Pedro Gómez" wrote:
> 
> 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:
> 
> <attribute name="MaxSize">10</attribute>
> <attribute name="Password" />
> <attribute name="GCEnabled">true</attribute>
> <attribute name="InvalidateOnError">false</attribute>
> <attribute name="TimestampUsed">false</attribute>
> <attribute name="Blocking">true</attribute>
> <attribute name="BlockingTimeout">60000</attribute>
> <attribute name="GCInterval">12000000</attribute>
> <attribute name="IdleTimeout">18000000</attribute>
> <attribute name="IdleTimeoutEnabled">true</attribute>
> <attribute name="LoggingEnabled">false</attribute>
> <attribute name="MaxIdleTimeoutPercent">0.9</attribute>
> <attribute name="MinSize">5</attribute>
> 
> The transaction type is required, and the rest of the system, about 150 operations 
>work fine.
> 
> Help please.
> 
> Thanks.
> 
> Pedro E. Gómez
> Ingeniero de proyectos
> Pragma. El Poder de la Red.
> (574) 362 4242 Ext 103.
> www.pragma.com.co
> 
> ______________________________________
> Message sent with Misiva
> Visit us at http://www.pragma.com.co/misiva
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to