It's working :))))))))))))))))))
The problem is that I "forget" to edit the database.adaptor* !!
But They don't talk about this in the documentation !
Thanks you !!!!
Thierry
-----Message d'origine-----
De : Heather Boyd [mailto:[EMAIL PROTECTED]]
Envoy� : lundi 11 juin 2001 14:43
� : '[EMAIL PROTECTED]'
Objet : RE: Connecting to Oracle Database
I dont know about JetSpeed but with tdk2.1b4 I had to run ant in
the tdk directory and then run ant init in the WEB-INF\build
directory. In the WEB-INF\build directory there is a
build.properties file. This must first be customized for
database connectivity. It was here that it was necessary to
set database=oracle.
It may be that your setup is substantially different.
I also had to set these properties in the TR.props file
database.adaptor=DBOracle
database.adaptor.DBOracle=oracle.jdbc.driver.OracleDriver
-----Original Message-----
From: BERWART Thierry [mailto:[EMAIL PROTECTED]]
Sent: 11 June 2001 13:32
To: [EMAIL PROTECTED]
Subject: RE: Connecting to Oracle Database
yes I have my classes11b.jar in the WEB-INF\lib directory
and I changed this in the TurbineResources.properties :
database.default.driver=oracle.jdbc.driver.OracleDriver
database.default.url=jdbc:oracle:thin:@172.16.4.2:1521:swdb
database.default.username=xxxxxxxx
database.default.password=xxxxxxxx
Must I change another config file ?
PS I am running under Windows 2000
Thierry
-----Message d'origine-----
De : Heather Boyd [mailto:[EMAIL PROTECTED]]
Envoy� : lundi 11 juin 2001 12:34
� : '[EMAIL PROTECTED]'
Objet : RE: Connecting to Oracle Database
Im accessing an Oracle database from turbine (tdk).
Yes, I had to copy classes12.zip to WEB-INF\lib\classes12.jar.
I also had to alter the build.properties (in WEB-INF\build) to
database=oracle.
Did you do that?
-----Original Message-----
From: BERWART Thierry [mailto:[EMAIL PROTECTED]]
Sent: 11 June 2001 11:19
To: [EMAIL PROTECTED]
Subject: RE: Connecting to Oracle Database
oh I am sorry, this is my "next error" ;-)
Hello,
I tried this and ... I have another error :(
Exception: java.lang.NoClassDefFoundError
at
org.apache.turbine.services.security.DBUserManager.retrieve(DBUserManage
r.java:153)
at
org.apache.turbine.services.security.DBUserManager.retrieve(DBUserManage
r.java:230)
at
org.apache.turbine.services.security.BaseSecurityService.getAuthenticate
dUser(BaseSecurityService.java:279)
at
org.apache.turbine.services.security.TurbineSecurity.getAuthenticatedUse
r(TurbineSecurity.java:193)
at
org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:10
5)
at org.apache.turbine.modules.Action.perform(Action.java:91)
...
I put the classes12.jar in my web-inf/lib directory...
Another idea ? ;-)
Thanks
Thierry
-----Message d'origine-----
De : Heather Boyd [mailto:[EMAIL PROTECTED]]
Envoy� : lundi 11 juin 2001 12:11
� : '[EMAIL PROTECTED]'
Objet : RE: Connecting to Oracle Database
What message did you get to indicate that it was a connection problem?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]