try the TDK if you have not yet succeded. It seems to have
worked out of the box for many developers already.
http://java.apache.org/turbine/tdk
Note that the TDK has some additional/different installation
text for proper MySQL setup (the resulting servlet is a
web-appliaction so it resides at:
http://localhost:8080/appname/servlet/appname
which can be changed within appname/WEB-INF/web.xml)
:-) Chritoph
Julien Giovannnoni wrote:
>
> Hi all,
>
> Today problems with Turbine (10022000) on Tomcat!
>
> This points are installed successfuly:
>
> 1. Put all necessary Turbine-related jars (Turbine, ECS, Village,
> JNDI) into $TOMCAT_HOME/lib.
>
> #2. Add the path to the jars to the existing Tomcat CLASSPATH found in
> $TOMCAT_HOME/bin/tomcat.sh
>
> #3. Make necessary adjustments to TurbineResources.properties and copy into
> $TOMCAT_HOME/webapps/YOUR_APP_CONTEXT/WEB-INF/conf
>
> #4. Add the following xml to $TOMCAT_HOME/webapps/YOUR_APP_CONTEXT/WEB-INF/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>
>
> #5. Restart Tomcat
>
> Tomcat runs correctly!
>
> My test is http://localhost:8080/servlet/Turbine/
>
> and the result is
>
> Exception: org.apache.turbine.services.InstantiationException: Service
>TurbineWebMacroService failed to initialize:
> init() failed to initialize service TurbineWebMacroService
> at
>org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.java:226)
> at
>org.apache.turbine.services.webmacro.TurbineWebMacro.getContext(TurbineWebMacro.java:123)
> at
>org.apache.turbine.modules.pages.WebMacroSitePage.doBuildBeforeAction(WebMacroSitePage.java:93)
> at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:144)
> at org.apache.turbine.modules.Page.build(Page.java:92)
> at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:119)
> at org.apache.turbine.Turbine.doGet(Turbine.java:366)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> at
>org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
> at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> at
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
> at
>org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
> at java.lang.Thread.run(Unknown Source)
>
>
> I don't understand! sorry but i'am a beginner with Turbine and Tomcat!
> Thanks for your help and sorry for the reading of this mail!
>
> Julien
> --
>
--
==============================================================
Deutsches Zentrum fuer Luft- und Raumfahrt (DLR)
Deutsches Fernerkundungs Datenzentrum (DFD)
DLR-DFD, Muenchner Strasse 20, D-82234 Wessling, Germany
============= Currenlty relocated to ESA-ESRIN ===============
ESA ESRIN Tel: +39 06 941 80 589
c/o Christoph Reck (DLR) Fax: +39 06 941 80 512
Via Galileo Galilei mailto:[EMAIL PROTECTED]
I-00044 Frascati (Roma) http://www.dfd.dlr.de
==============================================================
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]