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&gt;;
????????:&nbsp;2021??7??14??(??????) ????8:34
??????:&nbsp;"ActiveMQ Users"<users@activemq.apache.org&gt;;

????:&nbsp;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&gt; wrote:

&gt; Hi&amp;nbsp; When i use runtimeConfigurationPlugins on a single broker it
&gt; works.The expected effect has been achieved
&gt; When I used the same configuration in ActiveMQ + zookeeper, there was an
&gt; error. And all three nodes exposed port 8161
&gt; This is the activemq.log
&gt; WARN || org.eclipse.jetty.servlet.ServletHandler |qtp749115872-17
&gt; org.apache.jasper.jasperException:An exception occurred processing JSP
&gt; page /xml/queues.jsp at lin2 21
&gt; 18:<%-- Workaround for https://ops4j1.jira.com/browse/PAXWEB-1070 
--%&amp;gt;
&gt; 19:<%@include file="../WEB-INF/jspf/headertage.jspf" %&amp;gt;
&gt; 20:<queues&amp;gt;
&gt; 21:<c:forEach items="${requestContext.brokerQuery.queses}" 
var="row"&amp;gt;
&gt; 22::<queue name="<c:out value="${row.name}"&amp;gt;"&amp;gt;
&gt; 23:
&gt; 24:<stats size="${row.queueSize}"&amp;gt;
&gt;
&gt;
&gt; Stacktrace:
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at
&gt; 
org.apache.jasper.servlet.JspServletWrapper.handleJspExcption(JspServletWapper.java:574)[apache-sjp-8.0.33.jar:2.3]
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at
&gt; 
org.apache.jasper.servlet.JspServletWraaper.Service(JspServletWrapper.java:476)
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;
&gt;
&gt;
&gt; this is my activemq.xml
&gt; <broker .......&amp;nbsp; start="false"&amp;gt;
&gt; <plugins&amp;gt;
&gt; <runtimeConfigurationPlugin checkPeriod="1000"/&amp;gt;
&gt; </plugins&amp;gt;

Reply via email to