title: How can I disable WebSphere 8.5 classpath scanning completely?
body: <p>Is there some way that I can tell a WebSphere 8.5 server to <em>not</em> scan the classpath of my web app as it loads? We're migrating an app from WAS version 6.1 to WAS 8.5. In the 6.1 version, WAS did not scan the classpath, and perform resource injection. We used Spring to do the resource injection for our app in 6.1. Now, we get to 8.5, and the WAS server is trying to scan the classes as they're loaded, which causes problems with our app configuration.</p>
  
  <p>I'd really like a way to disable WAS from doing the scanning, and let our Spring configuration continue to handle resource injection for our app. Does anyone know how to go about this?</p>
  
  <p>I've tried the following:</p>
  
  <ol>
  <li>Use the "Ignore-Scanning-Packages" setting in the EAR manifest to disable scanning for our packages (this seems to have no effect)</li>
  <li>Use the "UseEJB61FEPScanPolicy" setting on the server (and in the EAR manifest) to get WAS to do things the old way (this also has no effect)</li>
  </ol>
  
  <p>Any clues or other things I might try?</p>
  
  <p>Thanks</p>