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 Shan Gopalakrishnan <sg...@cisco.com> on 2002/12/19 07:00:52 UTC

PSML to Oracle DB (Jetspeed 1.4b3 )

Hi


I ran the PSML Importer using the

ant  import  command

but got the below information.  I have configured everything right in the 
Torque properties including the DataSourceFactory.
appreciate any pointers

thanks a lot

- Shan

import:
      [java] ***** PSML Importer *****
      [java] [Fatal Error] :-1:-1: Premature end of file.
      [java] Exception in thread "main" java.lang.Error: Error in 
BasePeer.initTableSchema(TURBINE_USER): There was no DataSourceFactory 
configured for the connection default
      [java]     at 
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTurbineUserPeer.java:154)
      [java]     at 
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.<clinit>(BaseTurbineUserPeer.java:128)
      [java]     at 
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser(TurbineUserManagement.java:166)
      [java]     at 
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserManagement.java:98)
      [java]     at 
org.apache.jetspeed.services.JetspeedSecurity.getUser(JetspeedSecurity.java:265)
      [java]     at 
org.apache.jetspeed.services.psmlmanager.PsmlImporter.alreadyImported(PsmlImporter.java:236)
      [java]     at 
org.apache.jetspeed.services.psmlmanager.PsmlImporter.run(PsmlImporter.java:197)
      [java]     at 
org.apache.jetspeed.services.psmlmanager.PsmlImporter.main(PsmlImporter.java:179)
      [java] Java Result:

I have already set the Torque Properties... as below

## Using Jdbc2Pool
torque.dsfactory.default.factory=org.apache.torque.dsfactory.Jdbc2PoolDataSource
Factory
torque.dsfactory.default.pool.defaultMaxActive=10
torque.dsfactory.default.pool.testOnBorrow=true
torque.dsfactory.default.pool.validationQuery=SELECT 1 FROM DUAL
torque.dsfactory.default.connection.driver = oracle.jdbc.driver.OracleDriver
torque.dsfactory.default.connection.url = 
jdbc:oracle:thin:@jetsons:1521:GFOPROD
torque.dsfactory.default.connection.user =  OI_PROD
torque.dsfactory.default.connection.password = PROD_OI


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>