Hi Steve

Make sure you download and install a JDBC driver for mySQL. I used this one
http://www.worldserver.com/mm.mysql/. Once I installed it and added it to the
classpath in my jserv.properties file everything worked.

good luck
Kevin

Steve Belt wrote:

> Hello!
>
> I have been trying for a couple months (on-and-off) to try out Turbine. I
> have been part of the mail list all this time, and watching for hints of
> what I am doing wrong (occasionally dropping an email of my own when it
> seemed relevant). I try not to de-tract from the productive, technical
> discussions. But, as I get swept up in the excitement of the development, I
> grow eager to see it run on my own system so I can start on my own
> development.
>
> I apoloigize for any un-necessary info here.
>
> The Symptoms:
>
> I have gotten to the login screen. Now, no matter what id/password I enter
> (including turbine/turbine), I get a blank screen.
>
> In the URL line of my browser I see:
> http://steve_laptop/servlets/Turbine/screen/DefaultScreen/action/LoginUser?J
> ServSessionId=3fd7129846cac0b2.1.947705796150
>
> I do a "View Source" on the page and I see:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content="text/html; charset=windows-1252"
> http-equiv=Content-Type></HEAD>
> <BODY><XMP></XMP></BODY></HTML>
>
> So what should I check?
>
> My Setup:
> ------------
> My O/S is Win98.
> I am running Apache 1.3.9 with JServ 1.1b3
>
> I have reinstalled the entire system:
> Turbine20000112 (2.0) - compiled into turbine-2.0.jar
> ESC20000112 (1.1) - compiled into ecs-1.1.jar
> Village (how do I know the version?) as village.jar
> JSDK 2.0 - as jsdk.jar
> JNDI as jndi.jar
> and as activation.jar
>
> All .jar's are in my O/S classpath. They are also added to jserv.conf as
> wrapper.classpath=d:\classes\filename.jar.
> I have added to my zone.properties:
> servlet.Turbine.initArgs=properties=d:\classes\TurbineResources.properties
>
> I should mention that I installed MySQL for the first time to try Turbine,
> so I fear I may be missing some steps in setting up the database.
>
> I have modified my TurbineResources.properties file as follows:
> <snip>
> # These are your database settings, look in the
> # org.apache.turbine.db* package for more information.
> database.default.driver= org.gjt.mm.mysql.Driver
> database.default.url=jdbc:mysql://localhost/Turbine
> database.default.username=root
> database.default.password=
> database.maxConnections=10
> database.expiryTime=3600000
>
> # These are the supported jdbc-drivers and their adaptors.
> # These properties are used by the DBFactory.
> database.adaptor=DBMM
> database.adaptor.DBMM=org.gjt.mm.mysql.Driver
> database.adaptor=DBWeblogic
> database.adaptor.DBWeblogic=weblogic.jdbc.pool.Driver
> database.adaptor=DBOracle
> database.adaptor.DBOracle=oracle.jdbc.driver.OracleDriver
> database.adaptor=DBInstandDB
> database.adaptor.DBInstandDB=jdbc.idbDriver
> database.adaptor=DBSybase
> database.adaptor.DBSybase=com.sybase.jdbc.SybDriver
> </snip>
>
> I have also run the DB setup script included with the CVS download. I have
> run MySqlManager and confirmed that there now exists a DB named Turbine
> (contains 5-tables). How do I confirm Turbine connected to the database?(I
> have an uncommented line saying 'logfile=turbine.log', but this file is
> never created). Because I am on Windows, do I need ODBC setup? Looking at
> the DB parameters I have specified, can Turbine find the port# of my server?
> The database?
>
> Thankyou for your time and patience.
>
> Steve B.
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to