Questions tagged [narayana]

15 questions
2
votes
1 answer

Manipulating order of XA resources

Is there a way to manipulate the order of executing the registered XAResources within a transaction for quarkus? In my scenario I have a database datasource and an ActiveMQ resource within the XA transaction configured. For me it seems that there is…
Michael
  • 41
  • 4
2
votes
2 answers

Is there any way to change the location of ObjectStore and PutObjectStoreDirHere when enabling JTA on Helidon MP?

I'd like to know how to configure the location of ObjectStore for JTA. My target is Helidon MP. Currently directories named "ObjectStore" and "PutObjectStoreDirHere" are automatically created under the current directory. Also I'd like to make sure…
tkote
  • 21
  • 1
0
votes
0 answers

Spring boot camel saga implementation using LRA coordinator giving back connection refused

I am trying to implement Apache Camel Saga EPI for my Spring Boot app, with usage of external LRA coordinator (using Narayana in docker ). Although I am able to verify that LRA coordinator is working at specified port, when the application attempt…
z64
  • 1
  • 1
0
votes
2 answers

springboot application with apache camel saga causes Narayana Long Running Actions (LRA) memory leak - java.lang.OutOfMemoryError: Java heap space

Changing the saga exemple from camel-spring-boot-examples/saga to execute multiple saga transactions with success causes the narayana-lra server to fail and restart because of a java.lang.OutOfMemoryError: Java heap space. Using the camel…
0
votes
0 answers

JPA @Version attribute causes OptimistLockExceptions with consecutive updates

I don't quite understand the following behaviour: We take an Entity where we add a @Version field to use hibernate's Optimistic locking @Entity public class MyEntity { @Id @GeneratedValue public Long id; @Version public Long…
arnehehe
  • 1,386
  • 1
  • 17
  • 33
0
votes
1 answer

Why would Arjuna fail to start with ARJUNA012391? (Cross posted to narayana-user on google groups)

50,000 foot overview I am refactoring a large legacy application to java 17, addressing several generations of technical debt. Part of the refactoring includes swapping out hte defunct bitronix transaction manager for the Narayana + Arjuna…
pojo-guy
  • 966
  • 1
  • 12
  • 39
0
votes
1 answer

Narayana Transaction Manager configuration - Not rolling back

I am trying to configure the narayana transaction manager with camel and spring. I have created two data source objects and inserting two records in to two different databases. I am throwing error after the first insert and excepting to roll back.…
0
votes
1 answer

Quarkus-Hibernate-ORM EntityManager.merge() is not updating database

I have a quarkus application with an Entity, and an DAO Class. Now I try to update the Entity by calling the merge() function of the EntityManager: public void update(final T valueObject) { getEntityManager().merge(valueObject); } The…
Jakob Graf
  • 376
  • 1
  • 3
  • 14
0
votes
1 answer

Use Cases for LRA

I am attempting to accomplish something along these lines with Quarkus, and Naryana: client calls service to start a process that takes a while: /lra/start This call sets off an LRA, and returns an LRA id used to track the status of the…
Snappawapa
  • 1,697
  • 3
  • 20
  • 42
0
votes
1 answer

How to integrate Ironjacamar with Spring Boot

The end goal is to have a Spring Boot app that works with an XA transaction coordinator, in particular that coordinator would be Narayana. We think that since Wildfly uses IronJacamar, Spring Boot could use it too. Where can we find examples of…
Inquisitor Shm
  • 1,433
  • 5
  • 17
  • 26
0
votes
0 answers

Explicitly joining a JTA transaction requires a JTA transaction issue with jBPM 7 and Spring Boot

We use jBPM 7.41 business application with Oracle database. Under high load, transaction timeouts are detected and arjuna marks them for rollback. Then, jBPM executor thread reuse the same transaction and throws a repetitive exception "No active…
Ahmed MANSOUR
  • 2,369
  • 2
  • 27
  • 35
0
votes
2 answers

Jbpm7 spring boot business application: No active transaction after arjuna transation timeout

I'm encountering the same problem described here: https://issues.redhat.com/plugins/servlet/mobile#issue/RHBPMS-4621. I use Jbpm 7.41 business application with oracle database. Under high load, transaction timeouts are detected and arjuna marks them…
yoyo
  • 1
  • 1
  • 2
0
votes
0 answers

Is there any way to notify rollback-on-commit in quarkus-hibernate-orm in multitenancy DATABASE mode?

Currently, quarkus only supports multiple datasources for JDBC and the Agroal extension as is stated in the document. However, the Agroal extension (with narayana-agroal) does not notify any rollback-on-commit Exception to the application code,…
Yuki Hashimoto
  • 1,013
  • 7
  • 19
0
votes
0 answers

jbpm 7 +oracle 12+ tomcat processInstanceByteArray is null

When setting up jbpm7 with oracle 12c tomcat9 and Narayana, getting nullpointer at: org.jbpm.services.task.impl.command.CommandBasedTaskService.addTask(CommandBasedTaskService.java:302) ~[jbpm-human-task-core-7.38.0.Final.jar:7.38.0.Final]. WARN…
0
votes
0 answers

ARJUNA022006: The ORB has not been initialized yet

When I restarted my JBoss app I could see below error, WARN [com.arjuna.ats.arjuna] (Periodic Recovery) ARJUNA012087: Activate of atomic action with id 0:ff000ac1af59d:1aff0d21:5dbaaaacd:cbaaba and type…
Subhashc
  • 53
  • 10