Home
Analytics
how to introduce multiThreading in Birt report Engine API (Servlet)
wattari
<p>i use birt Report design in a web application.<br>
and sometimes when a web client makes a multiple pdf export ( birt block and does nothing for a while, until 6 minutes without making any progress. but that's another problem ).</p>
<p>The problem is that when the web client canceled his exporting, Birt continues queries and don't stop and it crashes the server. what's trying for other client.<br><br>
so I thought to separate the different prosessing with multithreading but I don't know how to do it with birt. the fact that Engine start with app and i can't start or stop it when i want .</p>
<p> </p>
<p>I'll be very grateful if someone finds a solution.</p>
<p><span style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;">Thanks,</span></p>
<p><span style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;">WATTARI </span></p>
Find more posts tagged with
Comments
mwilliams
<p>You might take a look at this old thread on the Eclipse Newsgroup:</p>
<p> </p>
<p><a data-ipb='nomediaparse' href='
https://www.eclipse.org/forums/index.php/t/285240/'>https://www.eclipse.org/forums/index.php/t/285240/</a></p>
;
wattari
<div>Thank you for your quick response.</div>
<div>I see but the problem is that the web container manages alone multithreading. I want to manage myself threads to stop the process if it's canceled . because. birt's export PDF takes a lot of memory and when it's Canceled and keep excuting , i think that obstruct the server .</div>
mwilliams
I see, now. I'm not sure there's any way to stop the engine task once it's been started, unfortunately. This would be a great enhancement request. You can request this in the Bugzilla at eclipse.org/birt/community.
wattari
<p>i see , thank you i will make a request .i think, now the only solution is to separate birt from the application server and put it on another server . </p>
<p> </p>
<p>May be ihub
.</p>
mwilliams
Once you make the request, please put a link to the entry in here. The iHub is a great solution. If you haven't tried the free edition,yet, you should try it out.
wattari
<p>hope they will consider my request .</p>
<p> </p>
<p><a data-ipb='nomediaparse' href='
https://bugs.eclipse.org/bugs/show_bug.cgi?id=468743'>https://bugs.eclipse.org/bugs/show_bug.cgi?id=468743</a></p>
;
mwilliams
Good luck! The more votes it gets, the more likely that will be. If you see any other posts with folks having the same issue, you could post the request info in different threads to gather more votes.