cost 112 ms
將多個 postgres 數據庫與 JTA atomikos 連接的問題

[英]Issue in connecting multiple postgres DB with JTA atomikos

我在使用 JTA 連接到 2 個 postgres 數據庫時遇到問題。 如果我分別對每個數據庫執行查詢,一切看起來都很好,但是當我同時執行兩個時出現以下錯誤,我已經在 postgres.conf 中將 max_prepared_transactions 設置為 100 Caused by: org ...

NullPointerException with Atomikos 和 Spring Batch JpaPagingItemReader

[英]NullPointerException with Atomikos and Spring Batch JpaPagingItemReader

我將 Atomikos 與spring 引導、spring 批處理、spring 數據 jpa、hibernate 和 Postgresql 一起使用。 我在帶有 Atomikos 池的 XA 數據源中配置了兩個數據源。 我遇到兩個困難: 首先是我無法禁用 Atomikos 池自動提交。 我到處搜 ...

Atomikos 與 Hibernate(MySQL) 有連接錯誤

[英]Atomikos with Hibernate(MySQL) have connection error

我設置了以下屬性導致 MySQL 錯誤( https://www.atomikos.com/Documentation/KnownProblems#MySQL_XA_bug ) 但是當我在設置上層屬性后使用多個請求對其進行測試時,它顯示以下錯誤 我想知道為什么即使我設置了所有屬性,我的應用 ...

ActiveMQ - 主題的重新傳遞策略和死信隊列

[英]ActiveMQ - Redelivery policy and Dead letter queue for topic

我正在使用 ActiveMQ Artemis 2.17 和 Spring Boot 2.5.7。 我正在發布有關主題和隊列的消息並使用它。 一切都是通過 JMS 完成的。 所有隊列(任播或多播)都是持久的。 我的主題(多播地址)有 2 個持久隊列,以便有 2 個單獨的消費者。 對於我的主題,2 個消 ...

com.atomikos.jdbc.AtomikosSQLException:連接池已用盡 - 嘗試增加“maxPoolSize”和/或“borrowConnectionTimeout”

[英]com.atomikos.jdbc.AtomikosSQLException: Connection pool exhausted - try increasing 'maxPoolSize' and/or 'borrowConnectionTimeout' on the

在我的 spring 批處理應用程序中,我使用 atomikos 版本(4.0.4)和 JTA(1.1)。一些作業掛在 PROD 中並從 DB 獲取所有連接,這反過來又停止了並行觸發的其他作業. 並且所有失敗並出現以下錯誤。 有人可以就這個問題提出建議嗎? 甚至嘗試將 atomikos 版本升級到 ...

使用 atomikos starter 依賴項啟動時的警告

[英]Warnings on startup with atomikos starter dependency

我有一個帶有 postgresql 和 rabbitmq 的 spring 引導應用程序。我想使用包含 postgres 和 rabbitmq 事務的盡力而為的 JTA 事務。 我添加了 spring-boot-started-jta-atomikos 依賴項。 當我啟動我的應用程序時,我多次收到此 ...

spring postgresql jpa 不支持jta事務交錯

[英]spring postgresql jpa jta Transaction interleaving not supporting

我使用了 spring jpa(hibernate) atomikos jta 事務。連接在數據庫端執行第一條語句后 1 分鍾關閉(自動 pgbouncer)。但是 Spring 事務繼續。 第一個查詢執行,然后調用 ws 或其他工作(1 分鍾過去)。然后第二個查詢執行,然后拋出異常不支持事務交錯。 ...

Spring 使用 Atomikos 啟動失敗並且 JMS MQ 連接失敗

[英]Spring Boot fails to start using Atomikos and JMS MQ connections fails

我有一個使用 IBM MQ 和 MySQL DB 的 Spring 引導應用程序。 我最近添加了 Atomikos 以利用 XA 支持並且所有工作都按預期工作。 即使 JMS 連接失敗,我也需要能夠啟動服務。 這在我介紹 Atomikos 之前有效,但似乎 Atomikos 對所有數據源都具有很強的 ...

我們可以只為 Atomikos JTA 屬性中的某些屬性設置值,而為其他屬性獲取 jta.properties 中指定的默認值嗎?

[英]Can we set values to only for some of the properties in Atomikos JTA properties and get the default values specified in jta.properties for others?

我想將com.atomikos.icatch.log_base_name屬性的值設置為transaction-log ,將com.atomikos.icatch.log_base_dir屬性的值com.atomikos.icatch.log_base_dir為/log_dir 。 我只需要更改這兩個 ...

如何減少 Atomikos 中的 getConnection 時間消耗

[英]how to reduce the getConnection time consume in Atomikos

我正在為 Oracle 使用 Atomkios XA 配置。 這是我創建數據源連接的代碼。 這是我的配置適用於大約 5000 個請求的中等用戶負載。 但是當用戶數量增加時假設超過 10000 個請求,這個類 com.atomikos.jdbc.AbstractDataSourceBean:g ...

Spring重試時如何根據線程增加Atomikos默認jta超時時間

[英]How to increase Atomikos default jta timeout based on the thread during Spring retry

我正在使用帶有 Atomikos 事務的 Spring 啟動應用程序。 我已將默認超時配置為 10000 毫秒,即事務屬性中的 10 秒。 交易 .properties 由於 Jta 超時,如果任何用戶事務花費超過 10 秒,那么該特定線程事務將超時並回滾。 超過指定閾值時間的用戶事務的 A ...

帶有 Spring Boot 的 Atomikos 給出 atomikos.icatch.SysException: No Assembler Service found - 請確保正確的 jars 在您的類路徑中

[英]Atomikos with Spring Boot gives atomikos.icatch.SysException: No Assembler Service found - please make sure that the right jars are in your class path

我正在嘗試使用帶有 Spring Boot 的 Atomikos 來嘗試跨兩個數據庫的分布式事務。 我遵循了文檔,但無論我做什么,我都會收到以下錯誤: com.atomikos.icatch.SysException: No Assembler Service found - please mak ...

Spring 鏈式事務管理器與 Atomikos

[英]Spring Chained Transaction Manager versus Atomikos

嗨,我有一個分布式事務,我必須以某種方式管理它們同樣在 spring 生態系統 ChainedTransactionManager 可以做到這一點,另一方面在 spring 文檔中 Atomikos 可以用於分布式事務 https://docs.spring.io/spring-boot/docs ...

Atomikos - 唯一的資源名稱

[英]Atomikos - Unique resource names

We have a Java micro service project using spring boot and want to know if the following properties must be unique across the servers in the cluster ...

為什么我得到 XA 資源 'xxxxx':提交 XID 'XID:xxxxx' 引發 -6:XA 資源在上下文中沒想到這個命令

[英]Why am i getting XA resource 'xxxxx': commit for XID 'XID:xxxxx' raised -6: the XA resource did not expect this command in the context

我得到啟發式終止 XAResourceTransaction XID:XXXXX 與 state HEUR_HAZARD 然后出現以下錯誤 XA 資源 'xxxxx':提交 XID 'XID:xxxxx' 引發 -6:XA 資源在上下文中不期望此命令。 由 ORA-02056:2PC 引起:k2lc ...

端點調用使用@Transational 注釋的多個方法不起作用

[英]Endpoint calling multiple methods annotated with @Transational does not work

我有一個使用沒有 XA 連接的 Atomikos 的 SpringBoot 應用程序。 當端點調用使用 @Transational 注釋的多個方法時,會引發錯誤: 應用程序.yml: 數據源配置: 端點: criarConcessao 和 executarServicosSap 方法都使用 @Tr ...

ConnectionPool:池為空 - 增加 maxPoolSize 或 BorrowConnectionTimeout

[英]ConnectionPool: pool is empty - increase either maxPoolSize or borrowConnectionTimeout

對於連接到數據庫和 MQ 並使用 Atomikos 事務管理器的 springboot 應用程序,我遇到了這個問題。 我嘗試打印 maxPoolSize 並發現它是 1。此頁面介於兩者之間( https://www.atomikos.com/Documentation/ConfiguringJm ...

帶有 Atomikos 的 Axon 框架? 它是如何工作的?

[英]Axon framework with Atomikos? How it's work?

我有一個問題,我必須在 Spring-Boot 中使用帶有 Axon 框架的 Atomikos(沒有 Axon 服務器)。 我正在使用 Oracle DB,並且我正在使用多個線程 (10) 來發送大量命令,在此之前我正在為自己配置一個 JtaTransactionManager,但在某些線程中我得到 ...

將 atomikos 版本從 4 升級到 5 后,toArray 函數不起作用

[英]toArray function not working after ugrading atomikos version from 4 to 5

我將應用程序中的 atomikos 版本從 4 升級到 5,之后 toArray 函數開始拋出“java.lang.ArrayStoreException”錯誤。 當我將版本恢復到 4 時,它似乎工作正常。 我正在使用 toArray 將地圖列表轉換為地圖數組。 請對此提供幫助。 ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM