Hi Phillipe,
we have encountered this problem one more time and now we cannot get around
so I would like to reopen this question.
What we did so far and what doesn't work is to set our launcher (server
which starts Jonas, Jetty and RMI registry) to get UserTransaction interface
and setTransactionTimeout right after it started Jonas (using
rg.objectweb.jonas.server.Server.main(args)). We set the transaction timeout
to 300sec. Everything seems to be OK, but then when we actually run our
potentially very long transaction, it fails after ~60sec. So my question is,
did we actually set the default timeout value for all transactions (even the
future one) or just for the current one? Apparently it didn't work. Is there
any other way, how to change this default value or are we doing something
incorrectly?
The EJB 1.1 spec says in part 6.6.1 that
"The UserTransaction interface is unavailable to enterprise beans with
container-managed transaction demarcation."
so we cannot do it in the bean itself. Any other ideas? Thanks for any help.
Sincerely,
Miroslav Halas
-----Original Message-----
From: Philippe Durieux [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 11, 2000 5:58 AM
To: Halas, Miroslav
Cc: '[EMAIL PROTECTED]'; Bolognese Luca; Robert Krger;
[EMAIL PROTECTED]
Subject: Re: Jonas vs. Weblogic
"Halas, Miroslav" wrote:
>
> We have integrated RMI version of Jonas with Jetty v 2.3.x (another free
> Java only web server)and the RMI registry into one application and the
> performance nicely improved. It is still not as fast as Weblogic, but it
is
> finally usable for our purposes. This even got us around the hardcoded
(60s)
> transaction timeout value in Jonas (I didn't get any response on my
> question, if this will be customizable in Jonas).
>
> Miroslav Halas
> Software Engineer
> Compuware Corp.
> 15305 Dallas Parkway
> Suite 900
> Addison, TX 75001
> phone 9720-960-0960 x 1333
> fax 972-960-8489
The transaction timeout is not configurable because you can easily change it
dynamically by using UserTransaction.setTransactionTimeout(sec)
If sec=0 you will reset it to the default value (60s)
This is part of the std JTA interface.
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".
----
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".