> -----Original Message----- > From: Bill Weir [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 05, 2002 6:19 PM > To: Jetspeed Users List > Subject: RE: Connecting Jetspeed to Torque to Oracle > > > David, > > Thank you much for your help. > > I've followed your instruction by re-installing Tomcat, building Jetspeed > from the most recent source (12/4), by using your Torque.properties > (including variants), and running "ant unittest-security", which > reports all > OK on HSQL. Further, I used the src/sql scripts for oracle (from the JS > source) to recreate the database in Oracle. > > But jetspeed is insistent that, against Oracle: > > --------------------------------------------------- > Horrible Exception: java.lang.Error: Error in > BasePeer.initTableSchema(TURBINE_USER): There was no DataSourceFactory > configured for the connection default
Isnt that the cryptic error when the driver isn't found. Where did you put the driver? Is it a jar or a zip? > at > org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initCl > ass(BaseTu > rbineUserPeer.java:154) > at > org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.<clini > t>(BaseTur > bineUserPeer.java:128) > --------------------------------------------------- > > The Torque.properties now read > #-------------------------------------------------- > torque.database.default.adapter=oracle > > torque.dsfactory.default.factory=org.apache.torque.dsfactory.Torqu > eDataSourc > eFactory > torque.dsfactory.default.pool.defaultMaxConnections=10 > torque.dsfactory.default.pool.maxExpiryTime=3600 > torque.dsfactory.default.pool.connectionWaitTimeout=10 > torque.dsfactory.default.connection.driver=oracle.jdbc.driver.OracleDriver > torque.dsfactory.default.connection.url=jdbc:oracle:thin:@<valid > host>:<valid port>:eza > torque.dsfactory.default.connection.user=<valid user> > torque.dsfactory.default.connection.password=<valid password> > #---------------------------------------------------- > looks fine > > strangely, "ant unittest-security" test is saying > #---------------------------------------------------- > [junit] Failed to get anonymous user: > org.apache.jetspeed.services.security.RoleException: Failed to retrieve > roles : ORA-01722: invalid number > > [junit] org.apache.jetspeed.services.security.LoginException: > Failed to > get anonymous user: org.apache.jetspeed.services.security.RoleException: > Failed to retrieve roles : ORA-01722: invalid number > [junit] at > org.apache.jetspeed.services.security.turbine.TurbineAuthenticatio > n.getAnony > mousUser(TurbineAuthentication.java:22 > #---------------------------------------------------- > > > I'm trolling through source right now, but you have any other suggestions? > invalid number? Search the mailing list. Think I've seen that one before too, but don't remember why Did you run the database populate script too? (populate-oracle.sql) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
