[jboss-user] [Performance Tuning] - A strange slowly running thread which has been run by servle

Micha? do-not-reply at jboss.com
Mon Apr 16 07:40:30 EDT 2007


I've a typical web application with some servlets.
One servlet starts a threat (it's a typical thread which implements runnnable interface). This thread has run method of course, this method executes external command pgdump (from PostgreSQL).

Both systems (Linux and Windows XP) have Java 1.5.0.11 and Jboss 4.0.1.

When it is running on Linux this operation takes 10 seconds, when it is running on Windows XP it takes 1 hour!
When I extract this code and put it into one class and I run this class as a thread from simple class with main method, it takes also only 10 seconds or so (on Windows).
But - nobody knows why - when jboss container runs it on Windows, it takes 1 hour.
Any ideas?



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

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



More information about the jboss-user mailing list