I also have the problem with JNDI Data Source. I checked my server.xml file, and indeed it lacked this factory parameter (by the way can it be placed in GlobalNamingResources section?). Anyway, I added this line, and now my Tomcat does not start. In catalina.out file I have found entry indicating, that class org.apache.commons.dbcp.BasicDataSourceFactory cannot be found.
I checked catalina api, and there is no such class. Could anyone help me to solve this problem?
Przemo


You left out a factory in your configuration file. Try:
    <parameter>
      <name>factory</name>
      <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>

For DBCP. This should fix everything.

-Leo


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to