Hi,<br><br>Jboss is loading the httpClient jar and spring framework jar, I don&#39;t want to load the jar from jboss, I want to load from my ear.<br><br>Is there anything I can do to avoid loading both the jars from jboss from run.bat or from vm arguments in eclipse.<br>
<br>I tried couple of options <br><br>option 1:<br> &lt;attribute name=&quot;Java2ClassLoadingCompliance&quot;&gt;false&lt;/attribute&gt;<br>&lt;attribute name=&quot;UseJBossWebLoader&quot;&gt;false&lt;/attribute&gt;<br><br>
&lt;loader-repository&gt;<br> com.example:archive=unique-archive-name<br> &lt;loader-repository-config&gt;java2ParentDelegation=false&lt;/loader-repository-config&gt;<br> &lt;/loader-repository&gt;<br><br>option 2:<br>&lt;attribute name=&quot;Exclude&quot;&gt;httpclient.wire&lt;/attribute&gt;<br>
<br>but both the options are not working.<br><br>I am using separate slf4j for logging, I dont what jboss common-logging to log the http client and spring framework log to write in server.log, I want to write the logs in my own log created by slf4j,.<br>
<br>I am new you slf4j, I am trying to integrate with jboss and spring web<br>service, i am getting the debugger log, but<br>DEBUG httpclient.wire.header and<br>[org.springframework.web.<br>servlet.DispatcherServlet]<br><br>
are going into server.log of jboss, i have configure logback.xml<br> &lt;logger name=&quot;httpclient.wire&quot; additivity=&quot;false&quot;&gt;<br>          &lt;appender-ref ref=&quot;FILE&quot;/&gt;<br>     &lt;level value=&quot;info&quot; /&gt;<br>
  &lt;/logger&gt;<br><br>  &lt;logger name=&quot;httpclient.wire.header&quot; additivity=&quot;false&quot;&gt;<br>   &lt;appender-ref ref=&quot;FILE&quot;/&gt;<br>   &lt;level value=&quot;debug&quot;/&gt;<br>    &lt;level value=&quot;info&quot; /&gt;<br>
 &lt;/logger&gt;<br><br>  &lt;logger name=&quot;org.springframework&quot; additivity=&quot;false&quot;&gt;<br>   &lt;appender-ref ref=&quot;FILE&quot;/&gt;<br>   &lt;level value=&quot;ERROR&quot;/&gt;<br><br> &lt;/logger&gt;<br>
<br> &lt;logger name=&quot;org.springframework.web&quot;&gt;<br>      &lt;level value=&quot;ERROR&quot;/&gt;<br><br>   &lt;/logger&gt;<br>    &lt;logger name=&quot;<a href="http://org.springframework.ws">org.springframework.ws</a>&quot;&gt;<br>
      &lt;level value=&quot;ERROR&quot;/&gt;<br><br>   &lt;/logger&gt;<br><br>but not reflecting in log.<br><br>Could you please help me.<br><br>Thanks in Advance<br>