"Halas, Miroslav" wrote:

> Currently our configuration is jsp/servlets in Jetty -> Jonas with Jeremie
> -> Interbase. Jetty and Jonas are running in the same VM. Jeremie has made
> the whole system about 3 times faster which solved our problem for now, but
> RMI was major bottleneck and some transactions were taking forever. What we
> want to preferable do is to set longer default timeout for all transactions
> in the system. We would like to set this when Jonas is started so that all
> transactions are created with this longer timeout. We couldn't find any way
> how to do it, except changing the hardcoded constant in Current.java (what
> we did for RMI_jonas). Is there any other way? The example I sent you was
> just workaround, where we explicitly coded transaction and set the timeout
> around operation which was causing us most problems, but this is not
> desirable solution. We chose CMP and container demarcated transaction
> boundaries so we don't have to worry (at least at this point) about
> persistence and transactions and it would be quite painful to code
> transactions like this for every operation which can potentially take longer
> time (system has at present time 40-50 beans and will grow rapidly in next
> couple of weeks). Thanks for your help.
It is not possible today to modify the default timeout value. You can only do
it for all transaction started by the calling thread.
We could do this easyly by introducing a property tm.timeout dans jonas.properties
I will consider this for the next version...
> 
> Regards
> 
> Miroslav Halas
> Software Engineer
> Compuware Corp.
> 15305 Dallas Parkway
> Suite 900
> Addison, TX 75001
> phone 9720-960-0960 x 1333
> fax 972-960-8489
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

-- 
Philippe Durieux  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull S.A  - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]  http://www-frec.bull.com
-> Download our EJBServer at http://www.bullsoft.com/ejb <-
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to