The master node starts normally without error log, and the slave node starts with error log. What's more strange is that each node will expose port 8161. If the above configuration is removed, the three nodes will start normally. By the way, what's the impact of setting start to true (start = "false")
------------------ ???????? ------------------ ??????: "users" <tb...@alumni.duke.edu>; ????????: 2021??7??14??(??????) ????8:34 ??????: "ActiveMQ Users"<users@activemq.apache.org>; ????: Re: I have a question use runtimeConfigurationPlugins From that stack trace, my best guess is that your broker is not actually started. Maybe that's because of the start="false" snippet you quoted? Or maybe there's something wrong with the part of your config that you didn't post? Or maybe your HTTP request is going to a passive broker instead of the active one? Tim On Wed, Jul 14, 2021, 12:28 AM ??????o.-- <1169114...@qq.com.invalid> wrote: > Hi&nbsp; When i use runtimeConfigurationPlugins on a single broker it > works.The expected effect has been achieved > When I used the same configuration in ActiveMQ + zookeeper, there was an > error. And all three nodes exposed port 8161 > This is the activemq.log > WARN || org.eclipse.jetty.servlet.ServletHandler |qtp749115872-17 > org.apache.jasper.jasperException:An exception occurred processing JSP > page /xml/queues.jsp at lin2 21 > 18:<%-- Workaround for https://ops4j1.jira.com/browse/PAXWEB-1070 --%&gt; > 19:<%@include file="../WEB-INF/jspf/headertage.jspf" %&gt; > 20:<queues&gt; > 21:<c:forEach items="${requestContext.brokerQuery.queses}" var="row"&gt; > 22::<queue name="<c:out value="${row.name}"&gt;"&gt; > 23: > 24:<stats size="${row.queueSize}"&gt; > > > Stacktrace: > &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at > org.apache.jasper.servlet.JspServletWrapper.handleJspExcption(JspServletWapper.java:574)[apache-sjp-8.0.33.jar:2.3] > &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;at > org.apache.jasper.servlet.JspServletWraaper.Service(JspServletWrapper.java:476) > &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; > > > this is my activemq.xml > <broker .......&nbsp; start="false"&gt; > <plugins&gt; > <runtimeConfigurationPlugin checkPeriod="1000"/&gt; > </plugins&gt;