First of all, thanks very much for starting helping me... let me say what I am trying to do:
get an interval from database and use this interval to schedule my timer but, I make this twice in the code 1. when the appplication is deployed 2. at the end of each execution I schedule it again (this is the problem!) ok, now I will write what I did: first I have made a mistake at my first code and when I corrected it, the error has changed to: anonymous wrote : | Trying to start a new tx when old is not completed | anonymous wrote : | | | | well... this error is exactly what I am doing.... (I agree with the error...lol) so how can I commit the transaction and then call the other method to shedule? | | | | I tryed some things, and what make me confuse is: | | | | when the application is deployed it schedules fine the timer.... maybe because it calls the "schedule" method through a Local interface, like you suggested | | | | I suppose that calling the method through the Local interface completes the transactions before calling the method.... but is it right? (I think it shouldnt) | | | | well... like the @Timeout method is the one that has to schedule the next execution... i cant call the schedule method through a @Local interface (only if it would be possible to have an instance of the own class injected on it... I can try this... but its ugly) | | | | I will help any advice... thanks | | | | | | ps: I havent seem oscar message before | | | | oscar, I thought using this solution, but I know that circular reference is a problem with jboss (at least ive never found a solution) | | | | thanks for trying to help | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139495#4139495 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139495 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
