I'm following the "PSML Database Configuration Guide" on this page:

http://portals.apache.org/jetspeed-1/psml_db.html

Everything worked so far (had a little troubles with creating the .sql files
for the database, but that eventually worked). I created the database, with
all the tables. I altered all the options as stated in the guide, and
running the 'maven import' command gives me this output:

import:
    [java] ***** PSML Importer *****
    [java] log4j:WARN No appenders could be found for logger
(org.apache.stratum.component.ComponentLoader).
    [java] log4j:WARN Please initialize the log4j system properly.
    [java] NOTICE: Finished initializing all services!
    [java] Running with Importer Service: class
org.apache.jetspeed.services.psmlmanager.db.DatabasePsmlManagerService
    [java] Running with Exporter Service: class
org.apache.jetspeed.services.psmlmanager.CastorPsmlManagerService
    [java] PSMLImporter completed. Exported 0 profiles
    [java] **** PSML Importer - completed
BUILD SUCCESSFUL
Total time: 22 seconds
Finished at: Tue Mar 15 13:52:39 CET 2005


When I look in webapp/WEB-INF/log/jetspeedservices.log I see this error at
the top:

[main] WARN  DatabasePsmlManagerService -
DatabasePsmlManagerService.getDbConnection: exception:
org.apache.torque.TorqueException: java.sql.SQLException: No suitable driver


(which is followed by a typical big stacktrace)

Apparently Torque could not find the appropriate driver. I have the MySQL
driver JAR file, which I have copied to about every 'lib' directory I could
find, but to no avail. I also included it in my CLASSPATH environment
variable.

So here is the big question: where should I put the MySQL-Driver JAR file so
that the combination of Maven and Torque can find it?

Roel



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

Reply via email to