Hi Andreas,

wow, this thread is really wandering off a bit... I will at least try
to stick to the point.

1. Regarding your stack trace posted earlier: Is commons-logging.jar
in your lib directory? You really want to check your 3rd party
libraries... see 2.

2. ClassLoaders are a broad topic... but for now, I suggest you put
all your 3rd party libraries in your <your_project>/WEB-INF/lib
directory. Including your mysql driver. As they say on
"http://www.hibernate.org/114.html":
> Copy hibernate3.jar into your WEB-inf/lib directory and with it all required
> 3rd party libraries (see lib/README.txt in the Hibernate distribution).
> Don't forget to also copy your JDBC driver to WEB-INF/lib. Never ever
> copy anything in Tomcat into a global directory outside of your web
> application or you are in classloader hell!

3. About Spring or not: Ok, let's just let Spring out of it for now.
You don't seem to need it, and there is some overlap in the services
that they (Spring and Hivemind) provide, so some people might consider
it not to be the most beautiful solution to use them both at the same
time.
Just Hivemind, Tapestry and Hibernate now. Spring maybe later. Trails
some other time.

> this whole issue for more than a week now (perhaps you've read my first
> postings concering EJB's)

4. No I haven't. I just joined the mailing list today. That's why I'm
so happily typing away about things I know so little about. I hope
people don't mind.

> 1) OK, the first error is:
> ---
> 16:42:46,715  WARN SettingsFactory:103 - Could not obtain connection metadata
> org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 
> 'org.gjt.mm.mysql.Driver'

5. Well, it seems your connection pool doesn't find the JDBC driver.
Maybe in different lib directories? See 2.
That might also be the reason for the other error message you posted.

So, to sum things up:
- forget about Spring for now
- make sure you got all necessary 3rd party libraries
- put them all in WEB-INF/lib

Hth,

Lutz

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

Reply via email to