title: Interference of JAX-RS providers across independent JavaEE6 WARs in JBoss 6?
body: <p>I am working on two projects that I deploy as two WARs (each project in its own WAR). Both projects have in the WAR the same JAR that constitutes some common code.</p>
  
  <p>Each project has a bunch of project specific JAX-RS provider classes.</p>
  
  <p>It seems that I am experiencing some interference btween the providers of these projects when both projects are deployed. Either no provider is found (e.g. isReadable is not even called) or a provider from one project appears to be checked as applicable during requests to the other project (e.g. I see its isReadable() being called).</p>
  
  <p>This happens a bit at random and the problem disappears completely when I only deploy one of the applications.</p>
  
  <p>Questions:</p>
  
  <p>Has anyone else see such behavior, too?</p>
  
  <p>Am I doing something wrong or is this possibly just a bug in JBoss?</p>
  
  <p><strong>Edit</strong>: am I maybe having issues with this: <a href="https://community.jboss.org/wiki/ClassLoadingConfiguration" rel="nofollow">https://community.jboss.org/wiki/ClassLoadingConfiguration</a> ?</p>
  
  <p>Jan</p>