Declaration to imitate Glassfish cache suspicion style and live in a style that doubts Glassfish cache is.
If you are using Glassfish, you may experience these symptoms.
--When I redeploy the app, it doesn't work with an error for some reason.
--Glassfish does not start after adding JDBC resources.
--I got an error. RAR7132: Unable to enlist the resource in transaction. Returned resource to pool.
--I got an error. RAR5117: Failed to obtain / create connection from connection pool [...]. Reason: com.sun.appserv.connectors.internal.api.PoolingException: java.lang.IllegalStateException: Local transaction already has 1 non-XA Resource: cannot add more resources.]]
--I got an error. RAR5114: Error allocating connection: [Error in allocating a connection. Cause: java.lang.IllegalStateException: Local transaction already has 1 non-XA Resource: cannot add more resources.]]
In such a case, let's go with this style. ↓ Suspicious Glassfish cache style
But surely, moving to Payara is the closest to the correct answer.
Recommended Posts