<ul dir="auto">
<li>[ Y] I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li>[ Y] I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.5.9</li>
<li>Operating System version: WIN10</li>
<li>Java version: IBM 1.6</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>新增src\main\resources\META-INF\Dubbo\internal\com.alibaba.dubb.monitor.MonitorFactory，内容如aaa=com.xxx.xxx.AaaMonitorFactory</li>
<li>应用配置</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">按自定义方式实现服务监控</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">以DubboMonitorFactory-DubboMonitor实现服务监控<br>
分析原因为MonitorConfig中getProtocol方式配置excluded为true，导致monitor上配置的protocol属性未识别，即无法按自定义的protocol执行</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Just put your stack trace here!"><pre class="notranslate"><code class="notranslate">Just put your stack trace here!
</code></pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.7</li>
<li>Operating System version: Linux</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>build project with dubbo 2.7.7, the deployed directory's structure should satisfy the  requirement of <strong>start.sh</strong>;</li>
<li>run application by <strong>start.sh</strong>;</li>
</ol>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">the application should be powered successfully</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">error occur:  <strong>-bash: ./bin/start.sh: /bin/bash^M: bad interpreter: No such file or directory</strong></p>