Any update please

Regards,
Albaasith Ahamed

From: Albaasith Ahamed
Sent: Tuesday, July 30, 2024 3:50 PM
To: 'users@activemq.apache.org' <users@activemq.apache.org>
Cc: 'Justin Bertram' <jbert...@apache.org>
Subject: Assistance Needed for Artemis Active MQ Connection Failure

Dear Team,

I am connecting Artemis Active MQ version 2.33 from a web server (172.16.6.49) 
hosted in WebSphere through JMS. I did not disconnect Artemis, but I am getting 
a connection failure error message in the Artemis running console. I have 
attached my broker.xml. Kindly help me resolve this issue.

2024-07-30 10:45:11,738 WARN  [org.apache.activemq.artemis.core.client] 
AMQ212037: Connection failure to /172.16.6.49:53998 has been detected: null 
[code=GENERIC_EXCEPTION]
2024-07-30 11:12:56,026 WARN  [org.apache.activemq.artemis.core.client] 
AMQ212037: Connection failure to /172.16.6.44:63855 has been detected: null 
[code=GENERIC_EXCEPTION]
2024-07-30 11:12:56,028 WARN  [org.apache.activemq.artemis.core.client] 
AMQ212037: Connection failure to /172.16.6.44:63841 has been detected: null 
[code=GENERIC_EXCEPTION]
2024-07-30 11:12:56,029 WARN  [org.apache.activemq.artemis.core.client] 
AMQ212037: Connection failure to /172.16.6.44:63857 has been detected: null 
[code=GENERIC_EXCEPTION]
2024-07-30 11:12:56,031 WARN  [org.apache.activemq.artemis.core.client] 
AMQ212037: Connection failure to /172.16.6.44:63840 has been detected: null 
[code=GENERIC_EXCEPTION]
2024-07-30 11:12:56,032 WARN  [org.apache.activemq.artemis.core.client] 
AMQ212037: Connection failure to /172.16.6.44:63842 has been detected: null 
[code=GENERIC_EXCEPTION]
2024-07-30 12:03:56,166 WARN  [org.apache.activemq.artemis.core.client] 
AMQ212037: Connection failure to /172.16.6.44:63835 has been detected: null 
[code=GENERIC_EXCEPTION]
2024-07-30 12:03:56,167 WARN  [org.apache.activemq.artemis.core.client] 
AMQ212037: Connection failure to /172.16.6.44:63836 has been detected: null 
[code=GENERIC_EXCEPTION]


Broker.xml

<?xml version='1.0'?>
<configuration xmlns="urn:activemq"
               xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
               xmlns:xi=http://www.w3.org/2001/XInclude
               xsi:schemaLocation="urn:activemq 
/schema/artemis-configuration.xsd">

   <core xmlns="urn:activemq:core" 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
         xsi:schemaLocation="urn:activemq:core ">


      <name>amq1</name>
      <persistence-enabled>true</persistence-enabled>
      <journal-type>ASYNCIO</journal-type>
      <paging-directory>data/paging</paging-directory>
      <bindings-directory>data/bindings</bindings-directory>
      <journal-directory>data/journal</journal-directory>
      <large-messages-directory>data/large-messages</large-messages-directory>
      <journal-datasync>true</journal-datasync>
      <journal-min-files>2</journal-min-files>
      <journal-pool-files>10</journal-pool-files>
      <journal-device-block-size>4096</journal-device-block-size>
      <journal-file-size>100M</journal-file-size>
      <journal-buffer-timeout>28000</journal-buffer-timeout>
      <journal-max-io>8192</journal-max-io>
      <disk-scan-period>5000</disk-scan-period>
      <max-disk-usage>100</max-disk-usage>
      <critical-analyzer>true</critical-analyzer>
      <critical-analyzer-timeout>150000</critical-analyzer-timeout>
      <critical-analyzer-check-period>60000</critical-analyzer-check-period>
      <critical-analyzer-policy>HALT</critical-analyzer-policy>
      <page-sync-timeout>1628000</page-sync-timeout>
      <global-max-size>2GB</global-max-size>

      <connectors>
        <connector name="amq1">tcp://pro-t24-qve-03:61616</connector>
      </connectors>
      <acceptors>
         <acceptor 
name="artemis">tcp://0.0.0.0:61616?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;amqpMinLargeMessageSize=102400;protocols=CORE,AMQP,STOMP,HORNETQ,MQTT,OPENWIRE;useEpoll=true;amqpCredits=1000;amqpLowCredits=300;amqpDuplicateDetection=true</acceptor>
         <acceptor 
name="amqp">tcp://0.0.0.0:5672?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=AMQP,CORE;useEpoll=true;amqpCredits=1000;amqpLowCredits=300;amqpMinLargeMessageSize=102400;amqpDuplicateDetection=true</acceptor>
         <acceptor 
name="stomp">tcp://0.0.0.0:61613?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=STOMP,CORE;useEpoll=true</acceptor>
         <acceptor 
name="hornetq">tcp://0.0.0.0:5445?anycastPrefix=jms.queue.;multicastPrefix=jms.topic.;protocols=HORNETQ,STOMP;useEpoll=true</acceptor>
         <acceptor 
name="mqtt">tcp://0.0.0.0:1883?tcpSendBufferSize=1048576;tcpReceiveBufferSize=1048576;protocols=MQTT,CORE;useEpoll=true</acceptor>
     </acceptors>
      <security-settings>
         <security-setting match="#">
            <permission type="createNonDurableQueue" roles="amq"/>
            <permission type="deleteNonDurableQueue" roles="amq"/>
            <permission type="createDurableQueue" roles="amq"/>
            <permission type="deleteDurableQueue" roles="amq"/>
            <permission type="createAddress" roles="amq"/>
            <permission type="deleteAddress" roles="amq"/>
            <permission type="consume" roles="amq"/>
            <permission type="browse" roles="amq"/>
            <permission type="send" roles="amq"/>
            <!-- we need this otherwise ./artemis data imp wouldn't work -->
            <permission type="manage" roles="amq"/>
         </security-setting>
      </security-settings>
      <addresses>
         <address name="exampleQueue">
            <anycast>
               <queue name="exampleQueue"/>
            </anycast>
         </address>
         <address name="DLQ">
         </address>
         <address name="ExpiryQueue">
            <anycast>
               <queue name="ExpiryQueue" />
            </anycast>
         </address>
      </addresses>
      <address-settings>
         <!-- if you define auto-create on certain queues, management has to be 
auto-create -->
         <address-setting match="activemq.management#">
            <dead-letter-address>DLQ</dead-letter-address>
            <expiry-address>ExpiryQueue</expiry-address>
            <redelivery-delay>1000</redelivery-delay>
            <max-delivery-attempts>3</max-delivery-attempts>
            <!-- with -1 only the global-max-size is in use for limiting -->
            <max-size-bytes>-1</max-size-bytes>
            
<message-counter-history-day-limit>10</message-counter-history-day-limit>
            <address-full-policy>PAGE</address-full-policy>
            <auto-create-queues>true</auto-create-queues>
            <auto-create-addresses>true</auto-create-addresses>
            <auto-create-jms-queues>true</auto-create-jms-queues>
            <auto-create-jms-topics>true</auto-create-jms-topics>
            <auto-delete-queues>false</auto-delete-queues>
            <auto-delete-addresses>false</auto-delete-addresses>
            <auto-delete-jms-queues>false</auto-delete-jms-queues>
            <auto-delete-jms-topics>false</auto-delete-jms-topics>
         </address-setting>
         <!--default for catch all-->
         <address-setting match="#">
            <dead-letter-address>DLQ</dead-letter-address>
            <expiry-address>ExpiryQueue</expiry-address>
            <redelivery-delay>1000</redelivery-delay>
            <max-delivery-attempts>3</max-delivery-attempts>
            
<auto-create-dead-letter-resources>true</auto-create-dead-letter-resources>
            <!-- with -1 only the global-max-size is in use for limiting -->
            <max-size-bytes>-1</max-size-bytes>
            
<message-counter-history-day-limit>10</message-counter-history-day-limit>
            <address-full-policy>PAGE</address-full-policy>
            <auto-create-queues>true</auto-create-queues>
            <auto-create-addresses>true</auto-create-addresses>
            <auto-create-jms-queues>true</auto-create-jms-queues>
            <auto-create-jms-topics>true</auto-create-jms-topics>
            <auto-delete-queues>false</auto-delete-queues>
            <auto-delete-addresses>false</auto-delete-addresses>
            <auto-delete-jms-queues>false</auto-delete-jms-queues>
            <auto-delete-jms-topics>false</auto-delete-jms-topics>
            <expiry-delay>60000</expiry-delay> <!-- Messages will expire after 
1 minutes -->
         </address-setting>
         <address-setting match="exampleQueue">
            <dead-letter-address>DLQ</dead-letter-address>
            <redelivery-delay>1000</redelivery-delay>
            <max-delivery-attempts>3</max-delivery-attempts>
            <max-size-bytes>-1</max-size-bytes>
            <page-size-bytes>1048576</page-size-bytes>
            
<message-counter-history-day-limit>10</message-counter-history-day-limit>
            <address-full-policy>PAGE</address-full-policy>
            <expiry-delay>60000</expiry-delay> <!-- Messages will expire after 
1 minutes -->
        </address-setting>
      </address-settings>
   </core>
</configuration>


Regards,
Albaasith

Reply via email to