[JBoss JIRA] (WFLY-10749) Artemis with JDBC store on slow or high latency database crashed on: Critical IO Error. Failed to process JDBC Record statements: java.sql.BatchUpdateException: IO Error: Socket read timed out
by Emmanuel Hugonnet (Jira)
[ https://issues.redhat.com/browse/WFLY-10749?page=com.atlassian.jira.plugi... ]
Emmanuel Hugonnet updated WFLY-10749:
-------------------------------------
Priority: Major (was: Critical)
> Artemis with JDBC store on slow or high latency database crashed on: Critical IO Error. Failed to process JDBC Record statements: java.sql.BatchUpdateException: IO Error: Socket read timed out
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10749
> URL: https://issues.redhat.com/browse/WFLY-10749
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 12.0.0.Final, 13.0.0.Final, 14.0.0.Final, 15.0.0.Beta1
> Reporter: Miroslav Novak
> Assignee: Emmanuel Hugonnet
> Priority: Major
>
> Artemis configured with JDBC store is not robust if database is slow/under high load and when there is higher latency to database. Artemis has tendency to shutdown itself on "Critical IO Error" under really low load. It is visible when EAP QE moved Jenkins to Central CI where is higher latency to used Oracle12cR2 database. In following test scenario:
> * Start 2 WF/EAP server in cluster. There is queue InQueue and OutQueue deployed on both of the servers.
> * Send 10 000 small messages to InQueue to server 1
> * Then deploy MDB on server 2. MDB consumes messages from InQueue and resends to OutQueue
> * Wait until MDB processes all messages and check that 10 000 messages is in OutQueue
> Result:
> Sometimes happens that Artemis in server 1 crashes due to following exception:
> {code}
> 20:13:45,641 WARN [org.apache.activemq.artemis.jdbc.store.journal.JDBCJournalImpl] (Thread-17 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@4de066d8)) IO Error: Socket read
> timed out: java.sql.BatchUpdateException: IO Error: Socket read timed out
> at oracle.jdbc.driver.OraclePreparedStatement.executeLargeBatch(OraclePreparedStatement.java:10032)
> at oracle.jdbc.driver.T4CPreparedStatement.executeLargeBatch(T4CPreparedStatement.java:1364)
> at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9839)
> at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:234)
> at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1180)
> at org.apache.activemq.artemis.jdbc.store.journal.JDBCJournalImpl.sync(JDBCJournalImpl.java:228) [artemis-jdbc-store-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.jdbc.store.journal.JDBCJournalImpl$JDBCJournalSync.run(JDBCJournalImpl.java:991) [artemis-jdbc-store-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$2.run(ActiveMQScheduledComponent.java:284) [artemis-commons-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:122) [artemis-commons-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_171]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_171]
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]
> 20:13:45,652 WARN [org.apache.activemq.artemis.core.server] (Thread-17 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@4de066d8)) AMQ222010: Critical IO Error, shutting down the server. file=NULL, message=Critical IO Error. Failed to process JDBC Record statements: java.sql.BatchUpdateException: IO Error: Socket read timed out
> at oracle.jdbc.driver.OraclePreparedStatement.executeLargeBatch(OraclePreparedStatement.java:10032)
> at oracle.jdbc.driver.T4CPreparedStatement.executeLargeBatch(T4CPreparedStatement.java:1364)
> at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:9839)
> at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:234)
> at org.jboss.jca.adapters.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:1180)
> at org.apache.activemq.artemis.jdbc.store.journal.JDBCJournalImpl.sync(JDBCJournalImpl.java:228) [artemis-jdbc-store-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.jdbc.store.journal.JDBCJournalImpl$JDBCJournalSync.run(JDBCJournalImpl.java:991) [artemis-jdbc-store-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.core.server.ActiveMQScheduledComponent$2.run(ActiveMQScheduledComponent.java:284) [artemis-commons-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:122) [artemis-commons-1.5.5.jbossorg-012.jar:1.5.5.jbossorg-012]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_171]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_171]
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]
> 20:13:45,655 WARN [org.apache.activemq.artemis.jdbc.store.journal.JDBCJournalImpl] (Thread-17 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$3@4de066d8)) java.sql.SQLRecoverableException: Closed Connection
> {code}
> This thing can be very frustrating for customers who would rely on JDBC store in production. We should provide more robust solution and guide how to configure JDBC store to avoid this situation.
> This problem will arise also when moving to OpenShift which runs in cloud environment with unreliable and slow network to database like Amazon AWS, MS Azure or OpenStack.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (DROOLS-5496) EclipseCompilationProblem conflicting instances
by Marek Novotny (Jira)
[ https://issues.redhat.com/browse/DROOLS-5496?page=com.atlassian.jira.plug... ]
Marek Novotny updated DROOLS-5496:
----------------------------------
Description:
The issue is sonarcloud report on {{drools-wb}} and {{kie-wb-common}} (maybe elsewhere) is missing due to the error during build execution on jenkins:
{code}
20:44:54 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (generate-aggregated-jacoco-report) on project drools-wb: An Ant BuildException has occured: Error while creating report
20:44:54 [ERROR] around Ant part ...<report>... @ 7:11 in /home/jenkins/workspace/KIE/master/pullrequest/new-PR-drools-wb-master.pullrequests/target/antrun/build-main.xml: Error while analyzing kiegroup_droolsjbpm-tools/drools-eclipse/org.drools.eclipse/target/classes/org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem.class. Can't add different class with same name: org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem
{code}
The issue is in two conflicting files:
- https://github.com/kiegroup/droolsjbpm-tools/blob/master/drools-eclipse/o...
- https://github.com/kiegroup/drools/blob/master/drools-compiler/src/main/j...
As the {{droolsjbpm-tools}} has actually a dependency for {{drools-compiler}}, we should fix by removing the {{EclipseCompilationProblem}} from {{droolsjbpm-tools}}.
It was introduced by single commit https://github.com/kiegroup/droolsjbpm-tools/pull/98 without a reference to any jira. Furthermore there is no reference to that file in {{droolsjbpm-tools}}
was:
The issue is donarcloud report on {{drools-wb}} and {{kie-wb-common}} (maybe elsewhere) is missing due to the error during build execution on jenkins:
{code}
20:44:54 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (generate-aggregated-jacoco-report) on project drools-wb: An Ant BuildException has occured: Error while creating report
20:44:54 [ERROR] around Ant part ...<report>... @ 7:11 in /home/jenkins/workspace/KIE/master/pullrequest/new-PR-drools-wb-master.pullrequests/target/antrun/build-main.xml: Error while analyzing kiegroup_droolsjbpm-tools/drools-eclipse/org.drools.eclipse/target/classes/org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem.class. Can't add different class with same name: org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem
{code}
The issue is in two conflicting files:
- https://github.com/kiegroup/droolsjbpm-tools/blob/master/drools-eclipse/o...
- https://github.com/kiegroup/drools/blob/master/drools-compiler/src/main/j...
As the {{droolsjbpm-tools}} has actually a dependency for {{drools-compiler}}, we should fix by removing the {{EclipseCompilationProblem}} from {{droolsjbpm-tools}}.
It was introduced by single commit https://github.com/kiegroup/droolsjbpm-tools/pull/98 without a reference to any jira. Furthermore there is no reference to that file in {{droolsjbpm-tools}}
> EclipseCompilationProblem conflicting instances
> -----------------------------------------------
>
> Key: DROOLS-5496
> URL: https://issues.redhat.com/browse/DROOLS-5496
> Project: Drools
> Issue Type: Task
> Components: eclipse plugin, tools
> Affects Versions: 7.41.0.Final
> Reporter: Jozef Marko
> Assignee: Jozef Marko
> Priority: Major
> Labels: drools-tools
> Attachments: ReadMeDroolsJbpmTools.txt
>
>
> The issue is sonarcloud report on {{drools-wb}} and {{kie-wb-common}} (maybe elsewhere) is missing due to the error during build execution on jenkins:
> {code}
> 20:44:54 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (generate-aggregated-jacoco-report) on project drools-wb: An Ant BuildException has occured: Error while creating report
> 20:44:54 [ERROR] around Ant part ...<report>... @ 7:11 in /home/jenkins/workspace/KIE/master/pullrequest/new-PR-drools-wb-master.pullrequests/target/antrun/build-main.xml: Error while analyzing kiegroup_droolsjbpm-tools/drools-eclipse/org.drools.eclipse/target/classes/org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem.class. Can't add different class with same name: org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem
> {code}
> The issue is in two conflicting files:
> - https://github.com/kiegroup/droolsjbpm-tools/blob/master/drools-eclipse/o...
> - https://github.com/kiegroup/drools/blob/master/drools-compiler/src/main/j...
> As the {{droolsjbpm-tools}} has actually a dependency for {{drools-compiler}}, we should fix by removing the {{EclipseCompilationProblem}} from {{droolsjbpm-tools}}.
> It was introduced by single commit https://github.com/kiegroup/droolsjbpm-tools/pull/98 without a reference to any jira. Furthermore there is no reference to that file in {{droolsjbpm-tools}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (DROOLS-5496) EclipseCompilationProblem conflicting instances
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5496?page=com.atlassian.jira.plug... ]
Jozef Marko commented on DROOLS-5496:
-------------------------------------
PR sent https://github.com/kiegroup/droolsjbpm-tools/pull/111
Double checked [^ReadMeDroolsJbpmTools.txt] to be sure this fix doesn't introduce a regression and eclipse plugins still can be installed.
> EclipseCompilationProblem conflicting instances
> -----------------------------------------------
>
> Key: DROOLS-5496
> URL: https://issues.redhat.com/browse/DROOLS-5496
> Project: Drools
> Issue Type: Task
> Components: eclipse plugin, tools
> Affects Versions: 7.41.0.Final
> Reporter: Jozef Marko
> Assignee: Jozef Marko
> Priority: Major
> Labels: drools-tools
> Attachments: ReadMeDroolsJbpmTools.txt
>
>
> The issue is donarcloud report on {{drools-wb}} and {{kie-wb-common}} (maybe elsewhere) is missing due to the error during build execution on jenkins:
> {code}
> 20:44:54 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (generate-aggregated-jacoco-report) on project drools-wb: An Ant BuildException has occured: Error while creating report
> 20:44:54 [ERROR] around Ant part ...<report>... @ 7:11 in /home/jenkins/workspace/KIE/master/pullrequest/new-PR-drools-wb-master.pullrequests/target/antrun/build-main.xml: Error while analyzing kiegroup_droolsjbpm-tools/drools-eclipse/org.drools.eclipse/target/classes/org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem.class. Can't add different class with same name: org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem
> {code}
> The issue is in two conflicting files:
> - https://github.com/kiegroup/droolsjbpm-tools/blob/master/drools-eclipse/o...
> - https://github.com/kiegroup/drools/blob/master/drools-compiler/src/main/j...
> As the {{droolsjbpm-tools}} has actually a dependency for {{drools-compiler}}, we should fix by removing the {{EclipseCompilationProblem}} from {{droolsjbpm-tools}}.
> It was introduced by single commit https://github.com/kiegroup/droolsjbpm-tools/pull/98 without a reference to any jira. Furthermore there is no reference to that file in {{droolsjbpm-tools}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (DROOLS-5496) EclipseCompilationProblem conflicting instances
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5496?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-5496:
--------------------------------
Attachment: ReadMeDroolsJbpmTools.txt
> EclipseCompilationProblem conflicting instances
> -----------------------------------------------
>
> Key: DROOLS-5496
> URL: https://issues.redhat.com/browse/DROOLS-5496
> Project: Drools
> Issue Type: Task
> Components: eclipse plugin, tools
> Affects Versions: 7.41.0.Final
> Reporter: Jozef Marko
> Assignee: Jozef Marko
> Priority: Major
> Labels: drools-tools
> Attachments: ReadMeDroolsJbpmTools.txt
>
>
> The issue is donarcloud report on {{drools-wb}} and {{kie-wb-common}} (maybe elsewhere) is missing due to the error during build execution on jenkins:
> {code}
> 20:44:54 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (generate-aggregated-jacoco-report) on project drools-wb: An Ant BuildException has occured: Error while creating report
> 20:44:54 [ERROR] around Ant part ...<report>... @ 7:11 in /home/jenkins/workspace/KIE/master/pullrequest/new-PR-drools-wb-master.pullrequests/target/antrun/build-main.xml: Error while analyzing kiegroup_droolsjbpm-tools/drools-eclipse/org.drools.eclipse/target/classes/org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem.class. Can't add different class with same name: org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem
> {code}
> The issue is in two conflicting files:
> - https://github.com/kiegroup/droolsjbpm-tools/blob/master/drools-eclipse/o...
> - https://github.com/kiegroup/drools/blob/master/drools-compiler/src/main/j...
> As the {{droolsjbpm-tools}} has actually a dependency for {{drools-compiler}}, we should fix by removing the {{EclipseCompilationProblem}} from {{droolsjbpm-tools}}.
> It was introduced by single commit https://github.com/kiegroup/droolsjbpm-tools/pull/98 without a reference to any jira. Furthermore there is no reference to that file in {{droolsjbpm-tools}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (DROOLS-5496) EclipseCompilationProblem conflicting instances
by Jozef Marko (Jira)
[ https://issues.redhat.com/browse/DROOLS-5496?page=com.atlassian.jira.plug... ]
Jozef Marko updated DROOLS-5496:
--------------------------------
Sprint: 2020 Week 28-30 (from Jul 6)
> EclipseCompilationProblem conflicting instances
> -----------------------------------------------
>
> Key: DROOLS-5496
> URL: https://issues.redhat.com/browse/DROOLS-5496
> Project: Drools
> Issue Type: Task
> Components: eclipse plugin, tools
> Affects Versions: 7.41.0.Final
> Reporter: Jozef Marko
> Assignee: Jozef Marko
> Priority: Major
> Labels: drools-tools
>
> The issue is donarcloud report on {{drools-wb}} and {{kie-wb-common}} (maybe elsewhere) is missing due to the error during build execution on jenkins:
> {code}
> 20:44:54 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (generate-aggregated-jacoco-report) on project drools-wb: An Ant BuildException has occured: Error while creating report
> 20:44:54 [ERROR] around Ant part ...<report>... @ 7:11 in /home/jenkins/workspace/KIE/master/pullrequest/new-PR-drools-wb-master.pullrequests/target/antrun/build-main.xml: Error while analyzing kiegroup_droolsjbpm-tools/drools-eclipse/org.drools.eclipse/target/classes/org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem.class. Can't add different class with same name: org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem
> {code}
> The issue is in two conflicting files:
> - https://github.com/kiegroup/droolsjbpm-tools/blob/master/drools-eclipse/o...
> - https://github.com/kiegroup/drools/blob/master/drools-compiler/src/main/j...
> As the {{droolsjbpm-tools}} has actually a dependency for {{drools-compiler}}, we should fix by removing the {{EclipseCompilationProblem}} from {{droolsjbpm-tools}}.
> It was introduced by single commit https://github.com/kiegroup/droolsjbpm-tools/pull/98 without a reference to any jira. Furthermore there is no reference to that file in {{droolsjbpm-tools}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (DROOLS-5496) EclipseCompilationProblem conflicting instances
by Jozef Marko (Jira)
Jozef Marko created DROOLS-5496:
-----------------------------------
Summary: EclipseCompilationProblem conflicting instances
Key: DROOLS-5496
URL: https://issues.redhat.com/browse/DROOLS-5496
Project: Drools
Issue Type: Task
Components: eclipse plugin, tools
Affects Versions: 7.41.0.Final
Reporter: Jozef Marko
Assignee: Jozef Marko
The issue is donarcloud report on {{drools-wb}} and {{kie-wb-common}} (maybe elsewhere) is missing due to the error during build execution on jenkins:
{code}
20:44:54 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (generate-aggregated-jacoco-report) on project drools-wb: An Ant BuildException has occured: Error while creating report
20:44:54 [ERROR] around Ant part ...<report>... @ 7:11 in /home/jenkins/workspace/KIE/master/pullrequest/new-PR-drools-wb-master.pullrequests/target/antrun/build-main.xml: Error while analyzing kiegroup_droolsjbpm-tools/drools-eclipse/org.drools.eclipse/target/classes/org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem.class. Can't add different class with same name: org/drools/compiler/commons/jci/compilers/EclipseCompilationProblem
{code}
The issue is in two conflicting files:
- https://github.com/kiegroup/droolsjbpm-tools/blob/master/drools-eclipse/o...
- https://github.com/kiegroup/drools/blob/master/drools-compiler/src/main/j...
As the {{droolsjbpm-tools}} has actually a dependency for {{drools-compiler}}, we should fix by removing the {{EclipseCompilationProblem}} from {{droolsjbpm-tools}}.
It was introduced by single commit https://github.com/kiegroup/droolsjbpm-tools/pull/98 without a reference to any jira. Furthermore there is no reference to that file in {{droolsjbpm-tools}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years