title: Embedded Derby Db in a Spring app on Tomcat
body: <p>I'm trying to get an embedded Derby db running on a Tomcat/Spring application.</p>
  
  <pre><code>&lt;bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"&gt;
      &lt;property name="driverClassName" value="org.apache.derby.jdbc.EmbeddedDriver" /&gt;
      &lt;property name="url" value="jdbc:derby:pepper" /&gt;
      &lt;property name="initialSize" value="5" /&gt;
      &lt;property name="maxActive" value="50" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>When I run this, I'm getting the following error:</p>
  
  <blockquote>
    <p>org.apache.commons.dbcp.SQLNestedException:
    Cannot create
    PoolableConnectionFactory (Database
    'WEB-INF/pepper' not found.)</p>
  </blockquote>
  
  <p>I've tried the <code>pepper</code> folder at both <code>%webapp_root%/pepper</code> and <code>%webapp_root%/WEB-INF/pepper</code></p>
  
  <p>Suggestions?</p>