[Java] [Java EE] [Glassfish] (Continued) Style that doubts the cache of Glassfish

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

[Java] [Java EE] [Glassfish] (Continued) Style that doubts the cache of Glassfish
Touch Glassfish 6 to commemorate the release of Jakarta EE 9
[Java] The problem that uploaded images are not updated due to the influence of cache
[Java] Delete the elements of List
[Java version] The story of serialization
This and that of the JDK
[Java EE] Common misunderstanding of @Dependent
The origin of Java lambda expressions
A collection of phrases that impresses the "different feeling" of Java and JavaScript
This and that of the implementation of date judgment within the period in Java
Sample program that returns the hash value of a file in Java
Get the result of POST in Java
Check the contents of the Java certificate store
Examine the memory usage of Java elements
[Java] Get the day of the specific day of the week
Memo: [Java] Check the contents of the directory
Java Programming Style Guide for the Java 11 Era
Compare the elements of an array (Java)
[day: 5] I summarized the basics of Java
What are the updated features of java 13
Easily measure the size of Java Objects
The Java EE Security API is here!
Looking back on the basics of Java
Output of the book "Introduction to Java"
The story of writing Java in Emacs
[Java] Check the number of occurrences of characters
[Java] [Spring] Test the behavior of the logger
Make the variable that stores the ID an ID type instead of an int / long (Java)
Upcast (Java) that can reduce the amount of change when the specification is changed
[Java] Where is the implementation class of annotation that exists in Bean Validation?
Code that deletes all files of the specified prefix in AWS S3 (Java)