I've got an application running under Cocoon 2.1.7 and Hibernate3. 
It's working fine right now on my development server at home.  In the
past, when travelling to the home office, I just copy down the whole
webapp and it works fine.

I recently made changes that involved adding functionality for closing
Hibernate sessions based on the CocoonAndHibernateTutorial in the
Wiki.  It worked great on my development server.  I copied over files
to my laptop as I always do and flew down to the home office.

I fired up Tomcat and I get an exception when attempting to use
Hibernate!  It's not a hibernate issue from what I can tell though. 
If I use Hibernate in a standalone test case it works fine.  But if I
try it under Cocoon (where it uses the cocoon's own internal database
pool) it dumps out with the following in my logfile:

WARN    (2005-05-25) 13:02.16:805   [core.datasources.personnel]
(/processLogin.html)
http-80-Processor3/ResourceLimitingJdbcDataSource: Could not return
Connection
java.sql.SQLException: No suitable driver

My web.xml is the same on the laptop as it was on the server, as is my
cocoon.xconf.  I'm just not sure why I'm getting this "No suitable
driver" error?  The whole stacktract is pretty large, but it looks
like its happening in my call to getSession() in the HibernateFilter.

Any ideas?

Thanks,

- Brent

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


Reply via email to