On 6/22/01 10:54 AM, "Pfitzenmaier Philipp" <[EMAIL PROTECTED]>
wrote:

> Hi,
> 
> after reading the docs and the mail archive on my problem I still can't get
> the demo application to work with my Oracle 8i (8.1.7) after several days
> (shame on me).
> problem: I even can't do the login - instead of the "welcome" page I always
> get an error. The relevant part of the log is included below - it seems to
> me that turbine can't find my driver.
> 
> What I did so far is:
> - unziped the tdk archive
> - left build.properties in TDK root unmodified, so app.name = newapp
> - ran ant on TDK root
> - modified build.properties in "/TDKROOT/webapps/APPNAME/WEB-INF/build" and
> set all oracle properties:

I will reorder the instructions in the GETTING_STARTED.txt file. You
must:

1) edit the build.properties file first
2) ant init

That's it.

> database=oracle
> database.manual.creation = true
> 
> databaseUrl = jdbc:oracle:thin:@hostname:1521:dbname
> databaseDriver = oracle.jdbc.driver.OracleDriver
> databaseUser = myORALogin
> databasePassword = myORAPassword
> databaseHost = hostnameOfMyOracleServer
> 
> - copied oracle drivers to "/TDKROOT/webapps/APPNAME/WEB-INF/lib"
> - modified "/TDKROOT/share/conf/TurbineResources.properties"

It doesn't tell you to do that anywhere. That is the master
TRP file and doesn't do anything for you after you've generated
the sample application.

You only need to edit files _within_ your generated webapp.
Read the GETTING_STARTED.txt file again.

 
> database.adaptor=DBOracle
> database.adaptor.DBOracle=oracle.jdbc.driver.OracleDriver
> 
> 
> database.default.driver=oracle.jdbc.driver.OracleDriver
> database.default.url=jdbc:oracle:thin:@tr030022:1521:VDEV
> database.default.username=myORALogin
> database.default.password=myORAPassword
> 
> and set and "/TDKROOT/share/conf/database/oracle" to my db data as well
> 

It doesn't tell you to do this anywhere either.
 
> - ran ant init in "/TDKROOT/webapps/APPNAME/WEB-INF/build"
> 
> The sql scripts are executed at this point! So the oracle driver seems to be
> present and working...
> 
> - started catalina
> - browsed to homepage with login screen and tried to login "turbine/turbine"
> 
> Here is the extract from the turbine.log:
> 

-- 

jvz.

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to