Hi, due to the logging changes and some problems with the ibiblio repository, there is some confusion on how to use the current turbine CVS HEAD.
Step one: Getting it to compile ------------------------------- You must have maven installed and working. If you don't know what this is, please consider staying with the released TDK version. Still with us? Good! Variant a) - The INTERMETA way ------------------------------ Do % cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic export -r HEAD jakarta-turbine-2 put the following line in your build.properties file: maven.repo.remote=http://maven.intermeta.de Do % cd jakarta-turbine-torque % maven this should build without any trouble and you end up with a turbine-2.3-dev.jar The torque-3.1-dev.jar is already in your local repository. Variant b) - The IBIBLIO way ---------------------------- Do % cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic export -r HEAD jakarta-turbine-2 % cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic export -r HEAD jakarta-turbine-torque Prepare the sources: Go to your local repository directory Do % mkdir commons-dbcp/jars % cd commons-dbcp/jars % wget http://maven.intermeta.de/commons-dbcp/jars/commons-dbcp-1.1-dev-20021215.jar or get the Snapshot from the jakarta.apache.org/nightly/... tree. YMMV Go back to the directory where you fetched the jakarta-turbine-torque tree. % cd jakarta-turbine-torque % maven You should end up with a torque-3.1-dev.jar Go to your local repository directory Do % mkdir torque/jars % cd torque/jars Copy the freshly created torque-3.1-dev.jar here Go back to your local repository directory Do % mkdir commons-configuration/jars (might already exist) % cd commons-configuration/jars % wget http://maven.intermeta.de/commons-configuration/jars/commons-configuration-1.0-dev-2.jar or fetch the jakarta-commons-sandbox/configuration CVS tree and build the jar. YMMV. Go back to the directory where you fetched the jakarta-turbine-2 tree. % cd jakarta-turbine-2 % maven You should end up with a turbine-2.3-dev.jar Step two: Getting it to run --------------------------- you must have a TDK-2.2_01 installed and the newapp up and running. You have this? Good. go into the webapps/newapp/WEB-INF/conf directory make a backup copy of TurbineResources.properties and load it into your favourite editor - Remove the complete LOGS section right at the start of the file. - Add the following line in the LOGS section log4j.file = /WEB-INF/conf/Log4j.properties - Remove the lines services.ResourceService.classname=org.apache.turbine.services.resources.TurbineResourceService services.LoggingService.classname=org.apache.turbine.services.logging.TurbineLoggingService - Add in the PullService section the following line services.PullService.earlyInit= true - Add in the VelocityService section the following line services.VelocityService.earlyInit= true copy the Log4j.properties file from the jakarta-turbine-2 CVS tree (it is in the conf subdirectory) into the WEB-INF/conf directory of your application. go to the WEB-INF/lib directory of your application remove the following jars: log4j-x.y.z.jar commons-configuration-x.y-dev.jar turbine-2.2.jar copy the turbine-2.3-dev.jar from your CVS tree here. copy the log4j-1.2.7.jar and the commons-configuration-1.0-dev-2.jar from your local repository here. Make sure that your WEB-INF/web.xml descriptor contains the following lines: <init-param> <param-name>applicationRoot</param-name> <param-value>webContext</param-value> </init-param> Restart your TDK. If you now access ..../newapp/servlet/newapp, the newapp should start with Turbine-2.3-dev Inside your application, a logs directory should have been created which contains four files: scheduler.log -- Output messages from the scheduler service torque.log -- Output messages from torque velocity.log -- Output messages from the Velocity Service turbine.log -- All the rest. :-) These files and their verbosity is configured with the Log4j.properties file which you just copied into WEB-INF/conf If these files do not exist, please check your logs/catalina.out file from the TDK, it should contain an error message like this: Could not open Log4J configuration file /home/henning/jakarta/tdk/webapps/newapp/WEB-INF/conf/Log4j.properties: java.io.FileNotFoundException: /home/henning/jakarta/tdk/webapps/newapp/WEB-INF/conf/Log4j.properties (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:59) at org.apache.turbine.Turbine.configure(Turbine.java:326) at org.apache.turbine.Turbine.init(Turbine.java:246) please mail me the complete error message, your web.xml file, your TurbineResources.properties file and tell me, which servlet container you're using. Regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer INTERMETA - Gesellschaft fuer Mehrwertdienste mbH [EMAIL PROTECTED] Am Schwabachgrund 22 Fon.: 09131 / 50654-0 [EMAIL PROTECTED] D-91054 Buckenhof Fax.: 09131 / 50654-20 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>