Christopher,

>Ok looks like one source of my frustration is that the current 
>configurations are tomcat centric.  I was wondering where all this /WEB-INF

>stuff came from.  Is anyone running the current snapshots on jServ?

Below are my notes for installing Turbine, Hypersonic and JServ on Win32. I
tested it just then with a build from yesterdays CVS. Turbine works fine on
JServ. I havent yet cleaned this up and added it to the documentation. 



Cameron Riley








==============================================================

Compiling and Installing Turbine on Win32 using HypersonicSQL;

1.Download the nightly snapshot from -----------

1.Add the jsdk.jar to the Turbine\lib directory 

3.Modify the line in the build\build-turbine.bat file to;

set JSDK=\pathto\jsdk.jar

also to stop the DOS window shutting when finished add;

@pause

at the very end of the file.

4.To compile run or double click on build-turbine.bat , the Turbine jar will
compile to the bin directory.

5.With JServ create a new repository named turbine and add the relevant
turbine.properties file. 

Add under Global Init Parameters in turbine.properties, the argument;
 
 servlet.Turbine.initArgs=properties=f:/path/to/TurbineResources.properties

ensure the directory delimiters are forward slashes (for NT).

6.Edit the jserv.properties file to add the jar files that are required for
Turbine into the wrapper.classpath directives. Ensure that the jar files
being added are the relevant ones to the compiled version of Turbine.;

#Turbine 
#
#jar files required by Turbine
#
wrapper.classpath=f:\path\to\ecs.jar
wrapper.classpath=f:\path\to\turbine.jar
wrapper.classpath=f:\path\to\activation.jar
wrapper.classpath=f:\path\to\castor.jar
wrapper.classpath=f:\path\to\freemarker-jdk1.2.jar
wrapper.classpath=f:\path\to\jndi.jar
wrapper.classpath=f:\path\to\mail.jar
wrapper.classpath=f:\path\to\village.jar
wrapper.classpath=f:\path\to\webmacro-jdk1.2-CVS.jar
wrapper.classpath=f:\path\to\xerces.jar
wrapper.classpath=f:\path\to\xmlrpc.jar

7. Ensure that the correct path for turbine.properties has been added to the
Servelt Zone Parameters in the jserv.properties file

8. Edit the Turbine Resources file to connect to the database and uncomment
the necessary lines for the database being used;

database.default.driver=<drivername>
database.default.url=<databaseurl>

In this case HypersonicSQL (populated from the .sql files in src/sql );

 #### HypersonicSQL
 database.default.driver=org.hsql.jdbcDriver
 database.default.url=jdbc:HypersonicSQL:f:\path\to\data\turbine

Ensure that the username and password for the database are the same as the
database being connected to. 

 database.default.username=sa
 database.default.password=

add the path to the turbine logfile;

logfile=f:/path/to/logs/turbine.log

==================================-

With the Influx version of Turbine
set in TurbineResources.properties 
module.packages=org.apache.turbine.modules,org.apache.turbine.samples

and set in WebMacro
TemplatePath=/path/to/src/java/org/apache/turbine/samples/templates/webmacro
and all the others

ie ->
c:\usr\turbine\src\java\org\apache\turbine\samples\templates\webmacro;
c:\usr\turbine\src\java\org\apache\turbine\samples\templates\webmacro\layout
s;
c:\usr\turbine\src\java\org\apache\turbine\samples\templates\webmacro\naviga
tions;
c:\usr\turbine\src\java\org\apache\turbine\samples\templates\webmacro\screen
s;

Restart Apache;
Should get URL - http://machinename:port/servlets/Turbine
and a screen asking for Username and Password

Add turbine for both the username and password and click log in, you should
receive the congratulatory;


"Welcome to the DefaultScreen!"


!!

==============================================
 


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to