<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 5, 2017 at 2:18 PM, John Mazzitelli <span dir="ltr">&lt;<a href="mailto:mazz@redhat.com" target="_blank">mazz@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">&gt; &gt; &quot;oh, you just do this magical step and it works around the problem.&quot;<br>
&gt;<br>
&gt; With recent builds setting system property org.wildfly.logging.<wbr>skipLogManagerCheck=true<br>
&gt; should workaround your problem.<br>
<br>
</span>Ah.. That&#39;s a good one to know.<br>
<br>
I need something for earlier WildFly and EAP builds, though. But I recently found this solves my problem (this worked for me on both EAP6 and EAP7.1):<br>
<br>
Inside standalone.conf:<br>
<br>
# Add &quot;org.jboss.logmanager&quot; to the JBoss Modules system packages<br>
if [ &quot;x$JBOSS_MODULES_SYSTEM_PKGS&quot; = &quot;x&quot; ]; then<br>
   JBOSS_MODULES_SYSTEM_PKGS=&quot;<wbr>org.jboss.byteman,org.jboss.<wbr>logmanager&quot;<br>
fi<br>
<br>
#   Explicitly tell the VM to use the JBoss Log Manager via -Djava.util.logging.manager system property.<br>
#   Use the -javaagent VM option to load the agent<br>
JAVA_OPTS=&quot;$JAVA_OPTS -Djava.util.logging.manager=<wbr>org.jboss.logmanager.<wbr>LogManager -javaagent:my-agent.jar&quot;<br></blockquote><div><br></div><div>This is the correct solution. Skipping the check could potentially be an issue if the log manager installed is not the jboss-logmanager. Adding system module (or adding the library to the boot class path) and the java.util.logging.manager as the first system property in the JAVA_OPTS is the correct way to handle this.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
That seems to fix my problem.<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>James R. Perkins</div><div>JBoss by Red Hat</div></div></div></div></div>
</div></div>