javax.resource.ResourceException: IJ000453

Issue faced: "ResourceException: IJ000453" due to "No managed connections available within configured blocking timeout (30000 [ms])"


The issue is related to the database connection request timeout.


This was happening due to large number of threads in the thread pool and the total number of possible database connection request which could have been possible at any given time was well above the max connection specified in the configuration if all the threads would have executed (this is valid under heavy traffic conditions).


could suppress this issue by reducing the maximum number of database connections that could be possible from my code base at any given point in time just by decreasing(proportional) the thread count in the pools (by tuning the thread pools, no performance degrade).



Options are:
          - Check if result sets/statements/connections are closed (Do not wait to close them by JBoss)
                    - To check this follow the suggestions by Jesper/Wolf-Dieter Fink
          - Tune your thread pool(s) if you are using
          - Log the number of opened connections using a bat file when you get the exceptionas this could give a rough idea
          - Increase the blocking-timeout-millis (By default 30s; this is not the ideal fix)
          - Increase the number of connections if and only if necessary



-got this solution from  jboss Developer forum

Comments

Popular posts from this blog

SinglePass Terms of Service

Jasper Report Viruatization

JasperReports Tutorial