on 1/12/00 12:30 PM, Steve Belt <[EMAIL PROTECTED]> wrote:

> 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>

this is crap that IE generates when it doesn't get any content back from the
server.

> So what should I check?

Your jserv.log. This is the Java portion of the Apache JServ log files. This
is defined in jserv.properties.
 
> Village (how do I know the version?) as village.jar

It should be part of the build script. Look in build/build-village.xml

> 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

good. note that things don't need to be in .jar files to work. you should
put classes that might change into your repositories= path (in
zone.properties) and classes that don't change into your wrapper.classpath.
this is so that auto class reloading works.
 
> 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.

also get the 1.2b uncompressed MySQL MM JDBC driver and put that into your
classpath. there is a link to this driver off the mysql website. dno't use
the TWZ driver and don't use the 2.0 versions as they seem to have a bug.
 
> 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

correct.
 
> # 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>

correct. you don't need to modify this.
 
> 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).

it is only created if stuff is written to it. you probably need to specify a
full path to the file. like d:/turbine.log

you can verify it is working if you can login properly. obviously something
isn't. ;-) you should look in the jserv.log file. the exception will be
thrown there.

> Because I am on Windows, do I need ODBC setup?

you don't need ODBC.

>Looking at
> the DB parameters I have specified, can Turbine find the port# of my server?
> The database?

yes.
 
> Thankyou for your time and patience.

yep.

-jon
-- 
Come to the first official Apache Software Foundation
Conference!  <http://ApacheCon.Com/>




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

Reply via email to