You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Kevin Newman <kn...@home.com> on 2001/04/17 08:45:21 UTC
Turbine with Oracle DB
Hi All,
I'm a new user trying to get Turbine to use an Oracle database. So far, I
have:
1. A new Oracle database with a turbine user.
2. I've followed the instructions in the README_FIRST.txt file
3. I've followed the instructions in the GETTING_STARTED.txt file
4. I've gone to the Oracle Howto Page
and I'm still lost. <g>
I was able to create a Turbine application called test and I can get a intro
page. But I can't create a user because there is no database to connect to.
I've not been able to find the oracle-turbine.sql scripts described in the
Oracle Howto instructions. Is there some place that I can find a complete
set of instructions on how to get Turbine to work with Oracle??
Thanks,
Kevin
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
RE: Turbine with Oracle DB
Posted by Kevin Newman <kn...@home.com>.
Hi Jason,
Yes, I'm using the tdk. I've commented out the 'create-database' line in the
build-project.xml file. However, when I run ./build-project.sh init
everything seems to execute correctly until:
BUILD FAILED
/usr/jakarta/tdk/webapps/test/WEB-INF/build/build-project.xml:383: Class Not
Found: JDBC driver oracle.jdbc.driver.OracleDriver could not be loaded
Total time: 34 seconds
I assume this means I'm missing the Oracle jdbc driver. When I go to:
http://technet.oracle.com/tech/java/sqlj_jdbc/index.htm
There are drivers for Solaris an NT but not Linux. Where can I get the JDBC
driver for Linux? Or maybe I should ask, what else do I need to complete a
successful build?
Just in case, this is from my test.properties file:
######################################################
#--------------------------------------------------------------------
# HSQL use
# FULLPATH = full path to where you want the database
# Note: either torque or HSQL is really touchy about extra spaces
# or other stuff after each line below.
#--------------------------------------------------------------------
#databaseUrl=jdbc:HypersonicSQL:FULLPATH/test
#databaseDriver=org.hsql.jdbcDriver
#databaseUser=sa
#databasePassword=
databaseUrl = jdbc:oracle.thin@dizzy:1521:emmie
databaseDriver = oracle.jdbc.driver.OracleDriver
databaseUser = turbine
databasePassword = turbine
databaseHost = dizzy
######################################################
Thanks,
kln
-----Original Message-----
From: jvanzyl@mx12-sfba.mail.home.com
[mailto:jvanzyl@mx12-sfba.mail.home.com]On Behalf Of Jason van Zyl
Sent: Tuesday, April 17, 2001 1:51 AM
To: turbine-user@jakarta.apache.org
Subject: Re: Turbine with Oracle DB
Kevin Newman wrote:
>
> Hi All,
>
> I'm a new user trying to get Turbine to use an Oracle database. So far, I
> have:
>
> 1. A new Oracle database with a turbine user.
> 2. I've followed the instructions in the README_FIRST.txt file
> 3. I've followed the instructions in the GETTING_STARTED.txt file
> 4. I've gone to the Oracle Howto Page
The only thing the TDK lacks for Oracle is the creation of the
database that turbine requires. The scripts for creating an Oracle
database haven't been worked into the TDK yet. But the rest of
process works.
If you create the oracle database, and comment out the 'create-database'
target in the project-build.xml file everything else should work. People
have reported success but I haven't installed Oracle yet to test it.
I assume that you are using the TDK, yes?
> and I'm still lost. <g>
>
> I was able to create a Turbine application called test and I can get a
intro
> page. But I can't create a user because there is no database to connect
to.
> I've not been able to find the oracle-turbine.sql scripts described in the
> Oracle Howto instructions. Is there some place that I can find a complete
> set of instructions on how to get Turbine to work with Oracle??
>
> Thanks,
>
> Kevin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
--
jvz.
Jason van Zyl
jvanzyl@apache.org
http://jakarta.apache.org/velocity
http://jakarta.apache.org/turbine
http://tambora.zenplex.org
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Turbine with Oracle DB
Posted by Jason van Zyl <jv...@apache.org>.
Kevin Newman wrote:
>
> Hi All,
>
> I'm a new user trying to get Turbine to use an Oracle database. So far, I
> have:
>
> 1. A new Oracle database with a turbine user.
> 2. I've followed the instructions in the README_FIRST.txt file
> 3. I've followed the instructions in the GETTING_STARTED.txt file
> 4. I've gone to the Oracle Howto Page
The only thing the TDK lacks for Oracle is the creation of the
database that turbine requires. The scripts for creating an Oracle
database haven't been worked into the TDK yet. But the rest of
process works.
If you create the oracle database, and comment out the 'create-database'
target in the project-build.xml file everything else should work. People
have reported success but I haven't installed Oracle yet to test it.
I assume that you are using the TDK, yes?
> and I'm still lost. <g>
>
> I was able to create a Turbine application called test and I can get a intro
> page. But I can't create a user because there is no database to connect to.
> I've not been able to find the oracle-turbine.sql scripts described in the
> Oracle Howto instructions. Is there some place that I can find a complete
> set of instructions on how to get Turbine to work with Oracle??
>
> Thanks,
>
> Kevin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
--
jvz.
Jason van Zyl
jvanzyl@apache.org
http://jakarta.apache.org/velocity
http://jakarta.apache.org/turbine
http://tambora.zenplex.org
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org