Hi,

I have been observing that number of threads continue to keep on increasing 
when OFBiz is deployed on JBoss. When given a specific load through JMeter, the 
application crashes after some number of hours.

Is this due to the reason that threads go into sleep state as per the code 
written in GenericXAResources.java file?

public void run() {
        try {
            timeout = null;
            if (timeout != null) {
                // sleep until the transaction times out
                sleep(timeout.intValue() * 1000);
                    ................................

Why is the thread put to sleep in this case?
Where as when OFBiz is deployed on tomcat, the thread count does not rise 
exponentially...
Is there any other cause of these?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks & Regards,
Neha Mehta
Innovation Group - L&T Infotech | Mumbai
Contact : 02267954324
[cid:image002.jpg@01CAE2DB.78A895F0]<http://www.lntinfotech.com/>


________________________________
This Email may contain confidential or privileged information for the intended 
recipient (s) If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________

Reply via email to