[jboss-user] [Management, JMX/JBoss] - [JBOSS 4] Pb Schedulers

bobunny do-not-reply at jboss.com
Fri Jul 28 03:45:16 EDT 2006


Hi every one,

I don't know if it's the good group to post my problem ... 
Anyway, I have migrated from a Jboss application Server 3.0.3 release to a 4.0.3 release and i encountered some troubles in my applications. 
To give a simple example, I have severals schedulers. We can take 2 of them for example. In the release 3.0.3, the different schedulers runs independently, due to the use of distinct thread i think.

Now with the 4.0.3 release, they run one by one. So it's a problem for me because i need them to run simulneously. I don't know how to configure that.

Here some logs from the 3.0.3 release :




  | 2006-07-27 18:15:00,004 INFO  [jpea.dataimport.equilend.CompareReport] [Thread-35] No remote file found
  | 2006-07-27 18:16:00,003 INFO  [jpea.dataimport.equilend.CompareReport] [Thread-32] No remote file found
  | 2006-07-27 18:17:00,004 INFO  [jpea.dataimport.equilend.CompareReport] [Thread-30] No remote file found
  | 2006-07-27 18:18:00,005 INFO  [jpea.dataimport.equilend.CompareReport] [Thread-31] No remote file found

We can notice that for each call, a different thread is used [Thread-XX]. So i suppose that a pool of thread is used here.

Now in the 4.0.3 release, i have something like this :

2006-07-27 18:15:35,802 INFO  [jpea.dataimport.equilend.CompareReport] [Timer-2] No remote file found
  | 2006-07-27 18:16:35,762 INFO  [jpea.dataimport.triparty.jpmorgan.JPMorganFileImporter] [Timer-2] No remote file. 0 local file(s).
  | 2006-07-27 18:16:35,813 INFO  [jpea.dataimport.equilend.CompareReport] [Timer-2] No remote file found

Here we can notice [Timer-2]. So when 2 process must be launched at the same time, [Timer-2] runs the first of them, and once finished, runs the second.

Does anyone know how to configure JBOSS 4.0.3 to use different threads to run my schedulers?

Thanks for your help

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961501#3961501

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961501



More information about the jboss-user mailing list