Hello stefano.benini,
Greetings!
It looks like JBoss 7 is getting stuck while trying to import an Excel file, and based on the stack trace, the issue seems to be in ExcelX2CsvConverter.convertFromExcelToCsv(). Here are a few things you can check:
-
Check for Locking Issues: The error suggests that a thread is blocked waiting for a lock on it.ditech.comm.base.variazioni.utils.ExcelX2CsvConverter. Look at this class and see if it has any synchronized methods or static locks that could be causing a bottleneck.
-
Investigate Excel Processing: If the issue is due to a slow Excel file processing, consider optimizing the logic. Large files can take a long time to process, especially if they involve complex operations.
-
Run the Process Asynchronously: If the conversion is taking too long and blocking the server, consider running it in a separate thread or using an asynchronous processing approach to prevent JBoss from getting stuck.
Also, all 130 threads in the EJB async-thread-pool pool are idle and not performing any tasks. This indicates over-allocation of threads, which can waste system resources and degrade application performance. Consider resizing the thread pool.

Thanks.
Edit your Comment