Here are attachments inline:
 
==========STDOUT=============
 
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] 766 [main] ERROR dsfactory.AbstractDataSourceFactory  -
Property: driver value: com.mysql.jdbc.Driver is not supported by
DataSource: org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS
    [java] 844 [main] INFO component.ComponentLoader  - loading
component: name=fulcrum class=org.apache.fulcrum.Fulcrum
config=.\webapp\WEB-INF\conf\Fulcrum.properties
    [java] 1079 [main] INFO fulcrum.TurbineServices  - 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
    [java] [ERROR] Java Result: 1
 
 
========project.properties (excerpt) =============
 
#database = hypersonic
 
#targetPackage = org.apache.jetspeed.om.torque
#torque.retrievableInterface = org.apache.fulcrum.intake.Retrievable
#torque.database.url = jdbc:hsqldb:hsql://localhost
#torque.database.driver = org.hsqldb.jdbcDriver
#torque.database.user = sa
#torque.database.password =

database = mysql
 
targetPackage = org.apache.jetspeed.om.torque
torque.retrievableInterface = org.apache.fulcrum.intake.Retrievable
torque.database.url = jdbc:mysql://localhost:3306/jetspeed
torque.database.driver = com.mysql.jdbc.Driver
#torque.database.driver = org.gjt.mm.mysql.Driver
torque.database.user = root
torque.database.password =
 
 
========Torque.properties (excerpt) =============
 
torque.database.default=default
### torque.database.default.adapter=hypersonic
torque.database.default.adapter=mysql
### torque.database.default.adapter=oracle
### torque.database.default.adapter=mssql
 
##
## Using torque's old pool
##
### torque.dsfactory.default.connection.driver = org.hsqldb.jdbcDriver
### torque.dsfactory.default.connection.url =
jdbc:hsqldb:${webappRoot}/WEB-INF/db/jetspeed
### torque.dsfactory.default.connection.user = sa 
### torque.dsfactory.default.connection.password = 
 
torque.dsfactory.default.factory=org.apache.torque.dsfactory.TorqueDataS
ourceFactory
# The number of database connections to cache per ConnectionPool
instance (specified per database)
torque.dsfactory.default.pool.defaultMaxConnections=10
torque.dsfactory.default.pool.maxExpiryTime=3600
torque.dsfactory.default.pool.connectionWaitTimeout=10
### MySQL
torque.dsfactory.default.connection.driver = com.mysql.jdbc.Driver
# torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.default.connection.url =
jdbc:mysql://localhost:3306/jetspeed
torque.dsfactory.default.connection.user =  root
torque.dsfactory.default.connection.password = 
 

-----Original Message-----
From: Dmitriy Kruglyak [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 28, 2005 1:57 PM
To: jetspeed-user@jakarta.apache.org
Subject: PSML Import Problem with MySQL


Hello,
 
I am using Jetspeed 1.5 FINAL, MySQL 4.1.9 andTomcat 5.0.16. 
 
Attempts to import PSML into DB keeps causing errors, even though I
modified properties files (attached) to use MySQL settings instead of
HSQL. I tried both MySQL drivers and ensured that they are in the
CLASSPATH. Still I get the problem that you can see in attached stdout
log.
 
AbstractDataSourceFactory says that the driver is not supported, and its
code seems to hide the real source / line of the exception. What could
be causing this problem?
http://db.apache.org/torque/xref/org/apache/torque/dsfactory/AbstractDat
aSourceFactory.html
 
Any help very much appreciated...
 
Regards,
Dmitriy
 
P.S. The same setup works just fine if I build war and run it from
tomcat...

Reply via email to