You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by sh...@lwsi.com on 2006/03/23 14:34:23 UTC

PSML Database Import

Hi all,

I'm using Jetspeed 1.6, and I'm attempting to import the file-based PSML 
structure into MySQL.  I've followed the instructions on configuring the 
torque-om bindings in the source tree.  I've also edited the 
webapp/WEB-INF/conf/Torque.properties as well as the 
JetspeedResources.properties to use the Database PSML Manager service, and 
import from the Castor service.  The problem I'm having is when I run 
"maven import" the output says it export 0 profiles:

import:
    [java] ***** PSML Importer *****
    [java] - loading component: name=torque class=org.apache.torque.Torque 
config=.\webapp\WEB-INF\conf\Torque.properties
    [java] - Property: driver value: com.mysql.jdbc.Driver is not 
supported by DataSource: 
org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
    [java] - loading component: name=fulcrum 
class=org.apache.fulcrum.Fulcrum 
config=.\webapp\WEB-INF\conf\Fulcrum.properties
    [java] - 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: Thu Mar 23 08:23:45 EST 2006

This should be exporting 3 profiles.  Can someone shed some light on this 
to what I'm doing wrong?

I've also noticed the line:
    [java] - Property: driver value: com.mysql.jdbc.Driver is not 
supported by DataSource: 
org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS

Could the driver I'm using for MySQL be a problem?


______________________
Shawn Haworth
LWSI/WebDev Programmer
501.558.4619 401.744.5337