Thanks All
I make Turbine.jar file and start turbine successfully.
In my case I have to add the following xml to
$TOMCAT_HOME/webpages/WEB-INF/web.xml and
$TOMCAT_HOME/examples/WEB-INF/web.xml both ! ( I installed a Tomcat using a
binary distribution )
<servlet>
<servlet-name>Turbine</servlet-name>
<servlet-class>Turbine</servlet-class>
<init-param>
<param-name>properties</param-name>
<param-value>/path/to/$TOMCAT_HOME/etc/TurbineResources.properties</param-va
lue>
</init-param>
</servlet>
Now I can see Login page !!!
But After submit, I have a problem.
Here is my error message.
[Mon Jan 31 15:35:13 JST 2000] -- ERROR --
Exception: java.lang.InstantiationException: Database type jdbc.idbDriver
not implemented.
Stack Trace follows:
java.lang.InstantiationException: Database type jdbc.idbDriver not
implemented.
at org.apache.turbine.util.db.DBFactory.create(Compiled Code)
at org.apache.turbine.util.db.ConnectionPool.getNewConnection(Compiled
Code)
I set my database setting like in TurbineResources.properties file like
database.default.driver= jdbc.idbDriver
database.default.url=jdbc:idb:/usr/local/etc/InstantDB/bbs.prp
And set tomcat's classpath in tomcat.sh like
CLASSPATH=${CLASSPATH}:$/usr/local/etc/InstantDB/bbs.prp
Please let me know what I am missing to connect a DataBase ???
Thanks again.
youngho
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of jon *
Sent: Monday, January 31, 2000 1:05 PM
To: Turbine
Subject: Re: Need Help
on 1/30/00 7:33 PM, Dave <[EMAIL PROTECTED]> wrote:
> Usually that error means that the needed Java classes are not in you
> CLASSPATH. Make sure that CLASSPATH is pointing to your JDK classes
> correctly in your .bashrc file.
>
> dave
Yes, I can confirm that is the issue.
You need the path to the classes.zip or rt.jar or rt.zip file in your
CLASSPATH.
-jon
--
Come to the first official Apache Software Foundation
Conference! <http://ApacheCon.Com/>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]