Joshua Lucas wrote:
>
> First off, let me say that Turbine is very cool and I'm glad that I finally
> have a 'break' at work where I can delve more deeply into it and hopefully
> contribute if possible.
>
> Second, I was able to get the initial splash screen using Tomcat and Turbine
> on Solaris 2.6. The process was quite simple which I think is great!
>
> Here is a quick blast of what I did,
>
> 1) Put all necessary Turbine jars(Turbine, ECS, JNDI, and Village) in
> $TOMCAT_HOME/lib.
> 2) Add the path to the jars to the other Tomcat classes in
> $TOMCAT_HOME/tomcat.sh
> 3) Put the TurbineResources.properties file into $TOMCAT_HOME/etc.
> 4) Add the following xml to $TOMCAT_HOME/webpages/WEB_INF/web.xml between
> the <web-app> element.
> <servlet>
> <servlet-name>Turbine</servlet-name>
> <servlet-class>Turbine</servlet-class>
> <init-param>
> <param-name>properties</param-name>
>
> <param-value>/path/to/tomcat/etc/TurbineResources.properties</param-value>
> </init-param>
> </servlet>
> 5) Restarted Tomcat
> 6) Tested it at http://mydomain.com/servlet/Turbine
>
> Nice and easy!
Great. Why don't you submit a diff of the install instructions with
this information?
>
> After all of this, I now have a question. The current architecture that I'm
> working with has user information in XML files as opposed to a database and
> authentication against a server instead of a database. I realize that the
> out-of-the-box Turbine does not support this but I was wondering if anyone
> had any suggestions as to where to start looking to modify the necessary
> code in order to work with this architecture.
Are you wanting to use the XML as a data store? If so, you will want to
use Xerces (and possibly Xalan) to get at your data. You should look to
create a "warpper" for these (and if you're good ;-) any SAX compliant
parser/DOM compliant parser/processor) and build these to interface with
the current DBBroker architecture (org.apache.turbine.utils). Then it
can be used just like any other data store.
>
> Any help would be greatly appreciated.
I'd love to - I just have about 8 other things on the list at this point
;-) I can help out conceptually, I know what you need to do to make it
work...
-Brett
>
> josh
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]