Derek -

Did you declare the MySQL jar in web.xml thusly?

    <init-param>
      <param-name>load-class</param-name>
      <param-value>
        org.gjt.mm.mysql.Driver
      </param-value>
    </init-param>

And put the jar where Cocoon will find it?

Regards,

Lajos

Derek Hohls wrote:
I get the following fatal error when trying to load a sub-sitemap:
FATAL_E (2002-10-29) 16:32.18:484 [cocoon ] (Unknown-URI) Unknown-thread/JdbcConnectionPool:
Excalibur could not create any connections. Examine your settings to make sure they are correct. Make sure you can connect with the same settings on your machine.
As far as I can tell I have set up the MySQL database permissions and cocoon.xconf file properly (i.e. in the same way as my other projects...):
<jdbc name="sbwq">
<pool-controller min="5" max="50"/>
<auto-commit>true</auto-commit>
<dburl>jdbc:mysql://localhost:3306/sbwq</dburl>
<user>username</user>
<password>password</password>
</jdbc>
Does any one have a simple test file that I can use to "connect with the same settings" outside of Cocoon so I can try and pin down the source of the error?
Thanks
Derek

--
galatea.com
Cocoon training, consulting & support



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to