[ 
https://issues.apache.org/jira/browse/ARTEMIS-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17702007#comment-17702007
 ] 

Artyom Tarasenko edited comment on ARTEMIS-4095 at 3/17/23 9:52 PM:
--------------------------------------------------------------------

Reproducing with JBoss 4.2.3.GA was easier than I expected. Here are the steps:
 # Download ActiveMQ Artemis 2.28.0 from 
[https://activemq.apache.org/components/artemis/download/]
 # Uncompress archive to /path/to/apache-artemis-2.28.0
 # execute cd /path/to/apache-artemis-2.28.0/bin
 # execute JAVA_HOME=/path/to/java/11 ./artemis create 
/path/to/artemis-brokeruse defaultUser as username and defaultPassword as 
password and allow anonymous access
 # edit /path/to/artemis-broker/etc/broker.xml
after the line 145 insert the line  <global-max-size>400Mb</global-max-size>
 # Start ActiveMQ Artemis
JAVA_HOME=/path/to/java/11 /opt/osiris/artemis-broker/bin/artemis-service start
 # Download JBoss AS 4.2.3 from 
[https://sourceforge.net/projects/jboss/files/JBoss/JBoss-4.2.3.GA/]
 # Uncompress archive to /path/to/jboss-4.2.3.GA
 # cd /path/to/jboss-4.2.3.GA
 # rm server/all/lib/javassist.jar server/default/lib/javassist.jar 
client/javassist.jar
 # Download Javassist 3.24.1-GA  from 
[https://github.com/jboss-javassist/javassist/releases/download/rel_3_24_1_ga/javassist.jar]
 # cp [javassist.jar 
server/default/lib/|https://github.com/jboss-javassist/javassist/releases/download/rel_3_24_1_ga/javassist.jar]
 # Download ActiveMQ JCA RA 5.15.3 from 
[https://repo1.maven.org/maven2/org/apache/activemq/activemq-rar/5.16.3/activemq-rar-5.16.3.rar]
 # cd /path/to/jboss-4.2.3.GA/server/default/deploy
 # mkdir activemq-rar-5.16.3.rar
 # cd activemq-rar-5.16.3.rar
 # unzip /path/to/activemq-rar-5.16.3.rar
 # edit META-INF/ra.xml
remove or comment out the following sections:

         <config-property>
             <description>The location of a Trust Store to use with the 
Connection Factory</description>
             <config-property-name>TrustStore</config-property-name>
             <config-property-type>java.lang.String</config-property-type>
         </config-property>
         <config-property>
             <description>The password for the Trust Store</description>
             <config-property-name>TrustStorePassword</config-property-name>
             <config-property-type>java.lang.String</config-property-type>
         </config-property>
         <config-property>
             <description>The location of a Key Store to use with the 
Connection Factory</description>
             <config-property-name>KeyStore</config-property-name>
             <config-property-type>java.lang.String</config-property-type>
         </config-property>
         <config-property>
             <description>The password for the Key Store</description>
             <config-property-name>KeyStorePassword</config-property-name>
             <config-property-type>java.lang.String</config-property-type>
         </config-property>
         <config-property>
             <description>The Key password for the Key Store</description>
             <config-property-name>KeyStoreKeyPassword</config-property-name>
             <config-property-type>java.lang.String</config-property-type>
         </config-property>
 # Start JBoss AS
JAVA_HOME=/path/to/java/8 JBOSS_HOME=/path/to/jboss-4.2.3.GA ./run.sh
 # Copy attached MDB jmsconsumer-1.0-SNAPSHOT.jar to 
/path/to/jboss-4.2.3.GA/server/default/deploy
 # Download jmeter-5.5 from 
[https://dlcdn.apache.org//jmeter/binaries/apache-jmeter-5.5.tgz]
 # Uncompress archive to /path/to/apache-jmeter-5.5
 # Excecute jmeter with the attached jmeter config  
/path/to/apache-jmeter-5.5/bin/jmeter -n -t jmeter-orders-6500-localhost.jmx
 # ensure that Artemis started paging
  grep 'AMQ222038: Starting paging' /path/to/artemis-broker/log/artemis.log
 # If the message didn't appear  edit the file jmeter-orders-6500-localhost.jmx 
and increase the value "LoopController.loops" (is set to 6500 in the attached 
file).
  Use a value large enough to start paging.
 # Wait till the message "AMQ224108: Stopped paging" appears in the 
/path/to/artemis-broker/log/artemis.log
 # Repeat steps 23-26 to continuously put Artemis into paging after it gets out 
of it. (or use the bash script from a comment above) After some attempts (2-10) 
Artemis won't get out of paging: the bug reproduced.


was (Author: JIRAUSER298414):
Reproducing with JBoss 4.2.3.GA was easier than I expected. Here are the steps:
 # Download ActiveMQ Artemis 2.28.0 from 
[https://activemq.apache.org/components/artemis/download/]
 # Uncompress archive to /path/to/apache-artemis-2.28.0
 # execute cd /path/to/apache-artemis-2.28.0/bin
 # execute JAVA_HOME=/path/to/java/11 ./artemis create 
/path/to/artemis-brokeruse defaultUser as username and defaultPassword as 
password and allow anonymous access
 # edit /path/to/artemis-broker/etc/broker.xml
after the line 145 insert the line  <global-max-size>400Mb</global-max-size>

> OpenWire clients are unable to consume from mutlicast queue after 2nd paging
> ----------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4095
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4095
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: OpenWire
>    Affects Versions: 2.26.0, 2.27.0, 2.27.1
>         Environment: Artemis, deployed through the official docker image in 
> version {{2.26.0}} in an OpenShift cluster
>            Reporter: Marco Bungart
>            Priority: Major
>         Attachments: artemis-Xmx1G.png, artemis-Xmx2G.png, graph1.png, 
> graph2.png
>
>
> I observed that after artemis went into paging for the 2nd time, OpenWire 
> clients were not able to read messages from their corresponding addresses. 
> Restarting the applications connected as clients does not fix the issue. 
> Restarting artemis, however, does fix the issue.
> Both images attached show the messages of two queues. 
> - The upper (orange) line in the 1st graph shows count of messages in a queue 
> to which core clients are connected. 
> - The lower (blue) line in the 1stg raph shows count of messages in a queue 
> to which OpenWire clients are connected.
> - in the 2nd graph, the upper (violet) line shows count of messages in a 
> queue to which core clients are connected. 
> - in the 2nd graph, the lower (green) line shows count of messages in a queue 
> to which OpenWire clients are connected.
> I have a heap dump that we could share, showing the accumulated objects. the 
> dump is about 90 MB in size If this would be helpful to have, please let me 
> know.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to