1,146 questions
2
votes
3
answers
129
views
How to prevent rollback of nested service call in Java EE when outer transaction (endpoint) returns an error (REQUIRES_NEW causes deadlock)
In our Java EE application, we have a setup where Service A is an endpoint. In some valid business cases, this endpoint throws an exception and returns an error code to the client — this is expected ...
0
votes
1
answer
147
views
Is it possible to use Narayana REST-AT (REST-AtomicTransactions) embedded in a Spring Boot project with the default Tomcat?
I’m trying to implement two-phase commit transactions using Narayana REST-AT fully embedded in a Spring Boot application—no WildFly/JBoss server, no Docker Compose or external broker, just project ...
0
votes
0
answers
36
views
How to embed JBPM with spring boot and adding the business monitoring workbench at the time of application start up?
any one can provide me solution? help me to integrate JBPM with spring boot so that it should provide run time management, modeling for standalone application .
0
votes
0
answers
79
views
How can I get the TxType of the current transaction in Quarkus?
I’m developing an extension that involves some transaction-related interfaces that need to be adapted.
Is there any way in Quarkus to directly obtain the value from the current transaction, as ...
1
vote
0
answers
60
views
JPA EclipseLink: UPDATE Not Executed After Committing Merges
Using EclipseLink 2.6.4 with JTA and the property eclipselink.persistence-context.flush-mode=commit.
The UPDATE in the database is not done when I'm trying to commit a transaction where several merges ...
3
votes
2
answers
521
views
Spring 6 TransactionManager Isolation Level Support in IBM Liberty
We have an application running in Liberty 19.X using Spring 5 and Spring Boot 2 which is live in production and working properly. We are migrating that application to Liberty 24.X with Spring 6 and ...
0
votes
1
answer
162
views
How to Resolve HeuristicMixedException in Narayana after Stack Upgrade?
I've been working on a Java Spring-based application that manages transactions using Narayana.
The code base is very vast and we have been just told to upgrade the stack. None of my team members have ...
2
votes
1
answer
1k
views
Atomikos library has incompatibility packages (from javax.transaction to jakarta.transaction)
I have Atomikos (6.0.0) in Spring Boot 3 and using Java 21. It's working but using a @Deprecated class, "ChainedTransactionManager(transactionManagerOne, transactionManagerTwo)". This way ...
1
vote
1
answer
218
views
@Trasactional annotation not working with webflux 3.3.2
We have recently started upgrading spring webflux version 2.7X to 3.3.2. After this upgrade, when we hit API with Postman it goes to controller layer and if service layer method is annotated with @...
2
votes
1
answer
68
views
LoggerFactory Exception
In my Java Application I need to use a connection pool, so I decided to implement HibernateCP. The problem is that I get this exception that I need to add this: org/slf4j/LoggerFactory. The full ...
-1
votes
1
answer
103
views
How do you validate that a Java Transactional annotation has been handled?
I have an interface for which I want to implement a Transactional variant.
public interface Service {
void handle(Object message) throws Exception;
}
My implementation uses an annotation to ...
-1
votes
1
answer
84
views
JTA UserTransaction (with narayna implementation) rollback in standalone JPA+Hibernate application does not work
The following code snippet is in the main
try(EntityManager em = entityManagerFactory.createEntityManager()) {
TestEntity e = new TestEntity();
UserTransaction tx = com.arjuna.ats.jta....
0
votes
2
answers
422
views
Quarkus: Update database table even if outer transaction rolled back
Most of our Quarkus endpoints follow the standard practice in which they're annotated with @Transactional, call into our business layer, and if an exception is thrown the entire transaction is rolled ...
0
votes
0
answers
149
views
Apache Camel with ActiveMQ Artemis Cluster and JTA
I currently have an active/passive ActiveMQ Classic setup. There is 1 node in each DC (2 DC's), and I regularly swap nodes. We are using a database to act as shared storage.
I want to move to ActiveMQ ...
0
votes
1
answer
495
views
JTA UserTransaction is not available at JNDI location [java:comp/UserTransaction] Caused by: javax.naming.NamingException: Unexpected exception
`I have been facing this issue quite a long time. I have tried solutions but no luck.
Iam migrating java version from jdk8 to jdk17.
Stacktrace:
org.springframework.beans.factory.BeanCreationException:...