title: jboss server throwing java.lang.ClassNotFoundException: org.xml.sax.InputSource
body: <p>im trying to run joranConfigurator from a startup bean like this</p>
  
  <pre><code>private void configureLogBack() {
          LoggerContext context = (LoggerContext)LoggerFactory.getILoggerFactory();
  
          try {
              File f = new File("mypath/loggerConfiguration.xml");
              JoranConfigurator configurator = new JoranConfigurator();
              configurator.setContext(context);
              // Call context.reset() to clear any previous configuration, e.g.
              // default
              // configuration. For multi-step configuration, omit calling
              // context.reset().
              context.reset();
              //configurator.doConfigure(System.getenv("obphm.logPath"));
              configurator.doConfigure(f);
          } catch (JoranException je) {
              // StatusPrinter will handle this
          }
          StatusPrinter.printInCaseOfErrorsOrWarnings(context);
      }
  </code></pre>
  
  <p>and im getting this exception </p>
  
  <pre><code>java.lang.ClassNotFoundException: org.xml.sax.InputSource
  </code></pre>
  
  <p>this is for logback, im not using logback.xml because the project architect told me he wants to do it this way... i did some research and apparently i have two conflicting xml api jars... is there a way to fix this without removing the other jar (partly because i dont know which other jar is conflicting)??</p>
  
  <p>this is slf4j</p>
  
  <pre><code>   &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;module xmlns="urn:jboss:module:1.1" name="org.slf4j.v175"&gt;
          &lt;resources&gt;
              &lt;resource-root path="slf4j-api-1.7.5.jar"/&gt;
              &lt;!-- Insert resources here --&gt;
          &lt;/resources&gt;
  
          &lt;dependencies&gt;
              &lt;module name="ch.qos.logback"/&gt;
          &lt;/dependencies&gt;
      &lt;/module&gt;
  </code></pre>
  
  <p>this is the logback</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;module xmlns="urn:jboss:module:1.1" name="ch.qos.logback"&gt;
          &lt;resources&gt;
              &lt;resource-root path="logback-classic-1.1.1.jar"/&gt;
              &lt;resource-root path="logback-core-1.1.1.jar"/&gt;
              &lt;!-- Insert resources here --&gt;
          &lt;/resources&gt;
  
          &lt;dependencies&gt;
              &lt;module name="org.slf4j.v175"/&gt;
          &lt;/dependencies&gt;
      &lt;/module&gt;
  </code></pre>