问题标签 [narayana]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
405 浏览

helidon - 在 Helidon MP 上启用 JTA 时,有什么方法可以更改 ObjectStore 和 PutObjectStoreDirHere 的位置?

我想知道如何配置ObjectStorefor的位置JTA。我的目标是 Helidon MP。目前名为“ ObjectStore”和“ PutObjectStoreDirHere”的目录会在当前目录下自动创建。另外我想确定我们是否真的需要两个目录来管理事务。

0 投票
0 回答
278 浏览

java - ARJUNA022006:ORB 尚未初始化

当我重新启动我的 JBoss 应用程序时,我可以看到以下错误,

Jboss 成功启动但不处于健康状态。我找不到导致此问题发生的根本原因。有人可以帮助理解这个错误是什么意思!这个错误的可能原因是什么?

在远程 ejb 调用期间也看到了这个错误,

0 投票
0 回答
80 浏览

jbpm - jbpm 7 +oracle 12+ tomcat processInstanceByteArray 为空

使用 oracle 12c tomcat9 和 Narayana 设置 jbpm7 时,获取 nullpointer

在:

0 投票
0 回答
226 浏览

quarkus - 有没有办法在多租户数据库模式下通知 quarkus-hibernate-orm 中的 rollback-on-commit?

目前,quarkus 仅支持 JDBC 和 Agroal 扩展的多个数据源,如文档中所述。

但是,Agroal 扩展(使用 narayana-agroal)不会向Exception应用程序代码通知任何提交时回滚,尽管一些 JDBC 驱动程序抛出SQLException表明数据库在提交阶段被回滚,包括Google Cloud Spanner JDBC 驱动程序。这使得无法正确处理回滚(例如,向客户端返回错误代码)。

有什么办法可以绕开这个问题吗?谢谢!

0 投票
1 回答
141 浏览

spring-boot - jbpm7 spring boot业务应用:arjuna事务超时后无活动事务

我遇到了这里描述的相同问题:https ://issues.redhat.com/plugins/servlet/mobile#issue/RHBPMS-4621 。

我将 Jbpm 7.41 业务应用程序与 oracle 数据库一起使用。在高负载下,会检测到事务超时,并且 arjuna 将它们标记为回滚。然后,Jbpm 执行线程重用同一个事务并抛出重复消息“No active transaction...”。

有人知道如何解决这个问题吗?我认为 KieSpringTransactionManager 需要对 RHBPMS-4621 中的 JtaTransactionManager 进行相同的修复。

先感谢您,

0 投票
0 回答
219 浏览

spring-boot - 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 transaction...". The jBPM is working at the begining but after few minutes of work, there is no active JTA transaction. We use asynchronous executor with a simple command throwing exception, the processes execute normally but as soon as Arjuna Transaction Reaper cancels a transaction, the executor threads will throw the same exception "Explicitly joining a JTA transaction requires a JTA transaction".

We think that the same fix done for JtaTransactionManager in is needed for KieSpringTransactionManager.

We created a ticket here https://issues.redhat.com/browse/JBPM-9450 describing the problem and attached logs and a project to be able to reproduce it.

We tried several options, replacing Narayana with Atomikos and Bitronix, Oracle with PostgreSQL but the issue is the same.

It seems that we’re encountering the same problem described here: https://issues.redhat.com/plugins/servlet/mobile#issue/RHBPMS-4621.

Thank you in advance,

We use:

  • Spring Boot: 2.2.2.RELEASE
  • Kie Server: 7.45.0.Final
  • Narayana: 5.9.0.Final

Logs : https://issues.redhat.com/secure/attachment/12501068/logs.txt

Sample project to reproduce the issue available here: https://issues.redhat.com/secure/attachment/12501190/jbpm-perfs-oracle.zip

0 投票
1 回答
58 浏览

spring - 如何将 Ironjacamar 与 Spring Boot 集成

最终目标是拥有一个与 XA 事务协调器一起工作的 Spring Boot 应用程序,特别是该协调器将是 Narayana。

我们认为既然 Wildfly 使用 IronJacamar,Spring Boot 也可以使用它。

我们在哪里可以找到这样的例子,或者一些指导让我们快速到达那里?

0 投票
0 回答
6 浏览

quarkus - LRA 用例

我正在尝试使用Quarkus 和 Naryana来完成一些事情:

  • 客户端调用 service 来启动一个需要一段时间的进程:/lra/start
    • 此调用触发 LRA,并返回用于跟踪操作状态的 LRA id
  • 客户端可以继续轮询某个端点以确定状态
  • 服务最终完成并标记通过协调器完成的操作
  • 客户端看到操作已完成,得到结果或发出另一个请求以获取该结果

这是一个有效的用例吗?我是否在想象这个工具的正确工作方式?根据链接指南的阅读方式,端点似乎更像是对协调器的传递,通知它我们开始和结束 LRA。是否有更程序化的方式与协调员进行交互?