Hi,

[I apolgize for my english]

Today, I finally succeeded with Turbine installation !!

I'd like to ask You some questions about Turbine and Tomcat, but first I'd
like to tell You a piece of a funny story:
"my previous Turbine installation's attempts"

--- cut here ----
I started 'the mission' a few months ago, listening the mailing list.
I tried to install Turbine with the following environment:

WinNT
Apache + ApacheJServ

I used MS Access for the db operations.

Obiviously, I'm actually working in a "very-interesting
all-microsoft-environment", so these tests are "secret" - 
I have also little time to experiment this beast ;^) !!

At that time, I had no problems with the servlet package config - Turbine
started, the login screen appeared, but
there was some problems with the jdbc interaction with Access. I remember a
closed recordset generated some jdbc exceptions...

Later I discovered (reading the m.l.) that this was an Access problem...

"OK, does mySQL work under WinNT ?" I asked myself 

So I downloaded, installed and configured a mySql's win32 version on my
machine.
Then I created the Turbine db and launched the sql scripts to generate the
main turbine tables.
All was OK !

"Great ! Let's start !" - I thinked.

But in the meantime the webmacro integration stuff (and the w.m. service's
configuration) changed... (webmacro service's exceptions... you know... and
all those "/WEB-INF" strings...)

Further, the docs seemed advise this statement: "JServ is obsolete, get and
use Tomcat !!"
So I used another few days (2) to download and "study" Tomcat (Version 3.2
beta 2)
and the servlet specifications V2.2.

...

--- cut here ----


Ok, I'd like to give You my $0.02 for the people who is tryng to make
Turbine works...

a) The actual documentation (IMHO) seems to have got some "hidden"
statements - like:
"Use Tomcat - the new config files and the examples are better suited for
Tomcat (or for the servlet specs V2.2)
than for Apache JServ..."

b) Tomcat:

>From the turbine's docs directory (install.html page):

#4. Add the following xml to $TOMCAT_HOME/conf/web.xml. It
will be a child of the <web-app> element.

<servlet>
    <servlet-name>Turbine</servlet-name>
    <servlet-class>org.apache.turbine.Turbine</servlet-class>
    <init-param>
        <param-name>properties</param-name>
        <param-value>/WEB-INF/conf/TurbineResources.properties</param-value>
    </init-param>
</servlet>

For my environment (Tomcat 3.2 b2), this DOES NOT work !!!

This piece of config should be put into the 

$TOMCAT_HOME/webapps/ROOT/WEB-INF/web.xml

config file !!! (at least, for my environment !!)

Further, into the 
http://java.apache.org/turbine/install.html

page, the same piece of config has a small error: the <servlet-class>
element contains
"Turbine" instead of "org.apache.turbine.Turbine".


Another thing:

"The following examples assume your servlet zone is configured at
http://your.host.com/servlets. If this is not the case, please substitute
your zone name for /servlets (Tomcat uses /servlet for its default servlet
zone)."

A new novice user (like me) can think that Tomcat can be used alone (ok,
that's right ;^).
But... How can I specify the "servlet zone" concept using the new V2.2 specs
??

Simple... use Tomcat with the Apache integration... so read the "Tomcat
workers.properties" document ;^)
I'd like to see a note into Turbine documentation for the statement above...
Example: setting worker properties, download the ApacheModuleJServ.dll
(win32) module ... etc etc.

I think Turbine is a very hot framework, and I'm still waiting for a
"milestone" or a beta version (I hate this "state of flux" !!!).

Actually, I think a novice user has got TOO MUCH problems to get a simple
and productive Turbine environment...
I see the integration with a lot of cool tecnologies (Torque, Velocity, and
so on...), but it seems to be a
"core-developer-only game"... 

Anyway, thank you guys for the great work !!

Luca Fossato.

 













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