Thanks for the reply.

As far as I can tell, I followed, to a T, all the instructions from
INSTALL.TXT -- I've attached my responses below.   See "**" comments.

    Thanks,
            -Craig


INSTALL.txt

-------------------------------------------------------------------------------

-------------------------------------------------------------------------------

-- SOURCE DISTRIBUTION INSTALLATION
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------

Turbine will not compile without having the following packages installed in
your classpath:

Village <http://www.working-dogs.com/village/>
ECS <http://java.apache.org/ecs/>
Java Naming and Directory Interface (JNDI) <http://java.sun.com/products/jndi>

JavaMail <http://java.sun.com/products/javamail>

** All installed **

Follow the installation instructions for these packages and ensure that they
are on your classpath before attempting to compile Turbine.

#1. Compile all the Java sources. Rightnow, we do not have a build system
for this, so you will need to execute javac on the source code yourself. We
hope to have a build system soon.

** Turbine Compiles fine, no errors. **

#2. Edit jserv.properties:

wrapper.classpath=<path to compiled Turbine classes>
wrapper.classpath=<path to>/ECS.jar
wrapper.classpath=<path to>/Village.jar
wrapper.classpath=<path to>/jndi.jar

** jserv.properties:
    wrapper.classpath=d:\java\classes\jsdk.jar
    wrapper.classpath=d:\java\classes\mail.jar
    wrapper.classpath=d:\java\classes\activation.jar
    wrapper.classpath=d:\java\classes\Turbine.jar
    wrapper.classpath=d:\java\classes\ecs-1.2.jar
    wrapper.classpath=d:\java\classes\village-1.1.jar
    wrapper.classpath=d:\java\classes\jndi.jar
    wrapper.classpath=d:\java\classes\ApacheFix.jar
    ##MM.mysql + others
    wrapper.classpath=d:\java\classes
    ## JServ
    wrapper.classpath=D:\Programs\JServ1_1\ApacheJServ.jar
**


Note that for all current versions of JServ, the turbine classes must be above

ApacheJServ.jar in the wrapper.classpath settings. This is because a modified
version of org.apache.java.util.Configurations exists in Turbine.jar, and this

modified version is required by Turbine. The modification entails an
additional
method, so the functionality of current versions of JServ is not impacted.

** Done, see above **

For testing and debugging, you may want to have the Turbine classes in your
reloadable
classpath.  If that is the case, perform:
  jar cvfM ApacheFix.jar org/apache/java/util
from the source directory of Turbine.  You may then use this in your
wrapper.classpath
ahead of ApacheJServ.jar and still have the rest of Turbine's classes in your
reloadable classpath.

** Done, see above **

#3. Run the appropriate SQL script for your database.  If a script for your
specific database is not present, the SQL can easily be adapted. We appreciate

your contributions here. If your database is not supported by the connection
pooling code, please subscribe to the mailing list and ask for help there.
Include the type of database and the driver information in your posting.

** Done -- using mySQL, applied via instructions listed at:
   http://java.apache.org/jyve/INSTALL.txt
    (which, BTW, is different from the INSTALL.txt included in the
distribution...)
**

#4. Edit TurbineResources.properties file (in the conf directory), define your

database types and make sure that the database adaptor for your database is
uncommented, and place this file in a directory accessible to your servlet
engine.

** TurbineResources.properties:
    database.default.driver=org.gjt.mm.mysql.Driver
    database.default.url=jdbc:mysql://192.168.0.1/jyve
    database.default.username=<my_valid_username_here>
    database.default.password=<my_valid_password_here>
    database.expiryTime=3600000
    database.adaptor=DBMM
    database.adaptor.DBMM=org.gjt.mm.mysql.Driver
**

#5. Using whatever method is applicable for your servlet engine, specify an
initial parameter named "properties" (without the quotes) with the pathname to

the TurbineResources.properties file as its value. For Apache JServ, this can
be accomplished by placing the following line in your <zone>.properties file:

servlet.Turbine.initArgs=properties=/path/to/TurbineResources.properties

**  From my zone.properties file:

servlet.Turbine.initArgs=properties=d:\www\servlets\Turbine\TurbineResources.properties

**


    Obviously I'm missing something -- please let me know.

                            Thanks,
                                        -Craig


jon * wrote:

> on 2/1/00 6:37 PM, Craig Michael Nathan <[EMAIL PROTECTED]> wrote:
>
> > [Tue Feb 01 18:31:59 PST 2000] --  ERROR  -- Problem creating service:
> > TurbineLocalizationService
>
> You need to read and follow the directions in the document in docs/ titled
> INSTALL.txt
>
> -jon
>
> --
> Come to the first official Apache Software Foundation
> Conference!  <http://ApacheCon.Com/>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to