On Wed, 5 Jul 2000, Shaun Campbell wrote:
> I am trying to get Turbine running with Tomcat.
>
> With help from Dinesh's notes/observations I moved Turbine.class to
> /usr/local/build/tomcat/classes from /usr/local/build/tomcat/lib.
>
> I also used the URL as mentioned in Dinesh's notes
> http://www.mycompany.com/servlet/Turbine/screen/HelloWorld.
I already have Tomcat+Turbine running, but it was with some tweaking on
the Turbine.java.
I guess the problem is that Turbine was supposed to be run with JServ, so
that the way it finds TurbineResources.properties file is by JServ's way;
I had tried to put it in $TOMCAT_HOME/conf, but it didn't work. Then I
added:
props = "/usr/local/tomcat/conf/TurbineResources.properties";
right before the try-catch statement, ie. the try for:
TurbineResourceService.setPropertiesFileName(props);
This was a quick fix, but I think I wouldn't have had much patience to
wait for the correct release.
After Tomcat got restarted, the login screen could be displayed by
http://myserver:8080/servlet/Turbine.
Well, not really, "Visitor object couldn't be found"; I use Sybase and the
SQL scripts included in the distribution were not for Sybase. But it was
okay, the problem was that the statement for inserting user "turbine"
with password "turbine" was missing. Ahm, not only that, Sybase is
case-sensitive on table and column names, and the scripts use
upper/lower-cases.
BTW, Turbine has user/password security, why would Tomcat have
org.apache.tomcat.security.*? (The descriptions on Tomcat security exist
on the web site, but the nightly-builds source codes don't have any
"security"; slightly confusing, but since I'm dealing with
nightly-builds...)
Oki
--
Glossary:
*M* Memory-leak: (Deprecated)
-Unwritten JavaBook 101
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]