From david04@example.net Fri Aug 1 11:43:27 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 58870 invoked from network); 1 Aug 2003 11:43:27 -0000 Received: from mail.hometree.net (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 11:43:27 -0000 Received: from tangens.hometree.net (IDENT:david04@example.net [83.161.120.155]) by mail.hometree.net (8.12.9/8.12.8) with ESMTP id h71BhQHM014150 for <david04@example.net>; Fri, 1 Aug 2003 13:43:27 +0200 Received: (from news@localhost) by tangens.hometree.net (8.12.9/8.12.8/Submit) id h71BhQxL014149 for david04@example.net; Fri, 1 Aug 2003 13:43:26 +0200 To: david04@example.net Path: not-for-mail From: "Henning P. Schmiedehausen" <david04@example.net> Newsgroups: hometree.jakarta.turbine.dev Subject: Re: A FATAL ERROR has occurred which should not have happened under any Date: Fri, 1 Aug 2003 11:43:26 +0000 (UTC) Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Lines: 23 Message-ID: <david04@example.net> References: <david04@example.net> Reply-To: david04@example.net NNTP-Posting-Host: forge.intermeta.de X-Trace: tangens.hometree.net 1059738206 14067 83.161.120.155 (1 Aug 2003 11:43:26 GMT) X-Complaints-To: david04@example.net NNTP-Posting-Date: Fri, 1 Aug 2003 11:43:26 +0000 (UTC) X-Copyright: (C) 1996-2003 Henning Schmiedehausen User-Agent: nn/6.6.5 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N <david04@example.net> writes: >Hi there, >This just occured. I'm using the latest public release of jetspeed to >produce this error (1.4-b3). I've tried to set up jetspeed to use oracle >... But it won't work ... This is a torque problem. You're trying to use the new pools but have no dsfactory for this configured. You might want to ask on the Torque List. Regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH david04@example.net (326)698-2864 http://www.intermeta.de/ Java, perl, Solaris, Linux, xSP Consulting, Web Services freelance consultant -- Jakarta Turbine Development -- hero for hire "You are being far too rational for this discussion." --- Scott Robert Ladd in <david04@example.net> From david04@example.net Fri Aug 1 18:34:22 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 74067 invoked by uid 500); 1 Aug 2003 18:34:22 -0000 Received: (qmail 74049 invoked from network); 1 Aug 2003 18:34:22 -0000 Received: from unknown (HELO minotaur.apache.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Aug 2003 18:34:22 -0000 Received: (qmail 91994 invoked by uid 1280); 1 Aug 2003 18:34:30 -0000 Date: 1 Aug 2003 18:34:30 -0000 Message-ID: <david04@example.net> From: david04@example.net To: david04@example.net Subject: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/util/velocity VelocityActionEvent.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mpoeschl 2003/08/01 11:34:30 Modified: src/java/org/apache/turbine/services/template TurbineTemplateService.java src/test-cactus/org/apache/turbine/util/parser BaseValueParserTest.java src/java/org/apache/turbine/util/velocity VelocityActionEvent.java Log: remove unused imports Revision Changes Path 1.19 +1 -2 jakarta-turbine-2/src/java/org/apache/turbine/services/template/TurbineTemplateService.java Index: TurbineTemplateService.java =================================================================== RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/template/TurbineTemplateService.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- TurbineTemplateService.java 22 Jul 2003 11:14:13 -0000 1.18 +++ TurbineTemplateService.java 1 Aug 2003 18:34:30 -0000 1.19 @@ -78,7 +78,6 @@ import org.apache.turbine.services.TurbineBaseService; import org.apache.turbine.services.factory.TurbineFactory; import org.apache.turbine.services.servlet.TurbineServlet; -import org.apache.turbine.services.template.mapper.BaseMapper; import org.apache.turbine.services.template.mapper.BaseTemplateMapper; import org.apache.turbine.services.template.mapper.ClassMapper; import org.apache.turbine.services.template.mapper.DirectMapper; 1.2 +1 -2 jakarta-turbine-2/src/test-cactus/org/apache/turbine/util/parser/BaseValueParserTest.java Index: BaseValueParserTest.java =================================================================== RCS file: /home/cvs/jakarta-turbine-2/src/test-cactus/org/apache/turbine/util/parser/BaseValueParserTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- BaseValueParserTest.java 21 Feb 2002 04:52:15 -0000 1.1 +++ BaseValueParserTest.java 1 Aug 2003 18:34:30 -0000 1.2 @@ -58,7 +58,6 @@ import java.util.Calendar; import java.util.Date; import junit.framework.Test; -import junit.framework.TestCase; import junit.framework.TestSuite; import org.apache.cactus.ServletTestCase; import org.apache.turbine.Turbine; 1.14 +1 -3 jakarta-turbine-2/src/java/org/apache/turbine/util/velocity/VelocityActionEvent.java Index: VelocityActionEvent.java =================================================================== RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/velocity/VelocityActionEvent.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- VelocityActionEvent.java 10 Jul 2003 12:40:45 -0000 1.13 +++ VelocityActionEvent.java 1 Aug 2003 18:34:30 -0000 1.14 @@ -58,8 +58,6 @@ import java.util.Iterator; -import org.apache.commons.logging.Log; - import org.apache.turbine.modules.ActionEvent; import org.apache.turbine.services.velocity.TurbineVelocity; import org.apache.turbine.util.RunData; From david04@example.net Sat Aug 2 05:06:37 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 85162 invoked from network); 2 Aug 2003 05:06:37 -0000 Received: from pproxy107.mbn.or.jp (83.161.120.155) by daedalus.apache.org with SMTP; 2 Aug 2003 05:06:37 -0000 Received: from svc (csh19-16.pas.mbn.or.jp [83.161.120.155]) by pproxy107.mbn.or.jp (8.11.7+Sun/pproxy107.mbn.or.jp-2.0) with SMTP id h7256jN21960 for <david04@example.net>; Sat, 2 Aug 2003 14:06:45 +0900 (JST) Received: from svc ([83.161.120.155]) by svc (JAMES SMTP Server 2.1.3) with SMTP ID 885 for <david04@example.net>; Sat, 2 Aug 2003 14:10:13 +0900 (JST) To: david04@example.net Message-ID: <david04@example.net> Date: Sat, 02 Aug 2003 14:10:13 +0900 From: Tetsuya Kitahata <david04@example.net> Subject: Fw: [Apache Newsletter Draft] News on Jakarta in July, 2003 MIME-Version: 1.0 X-Mailer: Terra-International, Inc. Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Dear Jakarta Turbine Development Team, (http://jakarta.apache.org/turbine/) Hello, I am now in the process of preparing the first all-Apache-wide newsletter. http://www.apache.org/newsletter/ Please feel free to write statement/comment etc. to the Apache Newsletter (Issue 1) using ApacheWiki or in this mailing list. Hope to hear from you. http://nagoya.apache.org/wiki/apachewiki.cgi?ApacheNewsletterDrafts/Issue1 Sincerely, -- Tetsuya Kitahata (david04@example.net) P.S. Jakarta Turbine Project's Wikipage is here: http://nagoya.apache.org/wiki/apachewiki.cgi?Turbine Forwarded by Tetsuya Kitahata <david04@example.net> ----------------------- Original Message ----------------------- From: Tetsuya Kitahata <david04@example.net> To: david04@example.net Date: Fri, 01 Aug 2003 15:54:21 +0900 Subject: [Apache Newsletter Draft] News on Jakarta in July, 2003 ---- Hello, All (Jakarta-General Mailing List Subscribers) I am now preparing the 'The Apache Newsletter Issue 1', the first ASF-wide-newsletter of July 2003, which will be published in the middle of August 2003. -- http://www.apache.org/newsletter/ -- This "The Apache Newsletter" will be published as a result of the outgrowth of the previous "Jakarta Newsletter" and "The Apache Newsletter" can now cover all the projects under apache.org including infrastructure, incubator, xml, webservice, et cetra. 'The Apache Newsletter Issue 1' will be appeared at http://www.apache.org/newsletter/200307.html and the editorial deadline will be 00:00 GMT, 9th August. ApacheWiki (http://nagoya.apache.org/wiki/apachewiki.cgi) had been already set up. If you have anything to be added to the ApacheWiki, please go to http://nagoya.apache.org/wiki/apachewiki.cgi?ApacheNewsletterDrafts/Issue1 and fill up what you want to append in. If there's nothing news-worthy on your sub/projects, then please write something you *hope* (e.g. XX project will release FINAL version of XX product in the middle of August, etc etc). If you have been voted in warmly as a new committer in ASF the last month (July) please add your name to the list on ApacheWiki. If your project really want some "ADVERTISEMENT" (to recruit new comers, etc etc), please write nice and catchy blurb at the "advertisement" section so that it will attract the readers' attentions. Probably, the former newsletter final draft and newsletter itself (Jakarta Newsletter Issue 9) will give you some hints in writing the articles. cf. http://nagoya.apache.org/wiki/apachewiki.cgi?JakartaNewsletterDrafts/Issue9 http://jakarta.apache.org/site/news/200305.html If you have any questions about this, please send your messages to david04@example.net This Newsletter will be published as webpage and be announced at david04@example.net. (the ASF-wide announcement list) To subscribe to david04@example.net, please follow this instruction: http://www.apache.org/foundation/mailinglists.html#foundation-announce Hope to hear from many jakarta subprojects!! (If you feel hesitation in writing articles on ApacheWiki, please write your memo in this "Jakarta General" mailing list or give me a note). http://nagoya.apache.org/wiki/apachewiki.cgi?ApacheNewsletterDrafts/Issue1 Sincerely, -- Tetsuya Kitahata (david04@example.net) P.S. Also, your voice at "Readers' Voice" section will be highly appreciated. Contributions from readers are cordially invited !! ----------------------------------------------------- Tetsuya Kitahata -- Terra-International, Inc. E-mail: david04@example.net http://www.terra-intl.com/ (Apache Jakarta Translation, Japanese) http://jakarta.terra-intl.com/ --------------------- Original Message Ends -------------------- From david04@example.net Mon Aug 4 13:49:28 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 31413 invoked by uid 500); 4 Aug 2003 13:49:28 -0000 Received: (qmail 31410 invoked from network); 4 Aug 2003 13:49:28 -0000 Received: from unknown (HELO minotaur.apache.org) (83.161.120.155) by daedalus.apache.org with SMTP; 4 Aug 2003 13:49:28 -0000 Received: (qmail 41031 invoked by uid 1332); 4 Aug 2003 13:49:31 -0000 Date: 4 Aug 2003 13:49:31 -0000 Message-ID: <david04@example.net> From: david04@example.net To: david04@example.net Subject: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/services/pull/tools ContentTool.java TemplateLink.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N henning 2003/08/04 06:49:31 Modified: src/java/org/apache/turbine/services/pull/tools ContentTool.java TemplateLink.java Log: Argh. conf.subset() doesn't return an empty Configuration object when no key exists, but returns null. So if we want to call getBoolean on a subset, we must test for null first. IMHO, commons-configuration should never return null on subset. :-( Revision Changes Path 1.3 +9 -6 jakarta-turbine-2/src/java/org/apache/turbine/services/pull/tools/ContentTool.java Index: ContentTool.java =================================================================== RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/pull/tools/ContentTool.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- ContentTool.java 31 Jul 2003 16:29:52 -0000 1.2 +++ ContentTool.java 4 Aug 2003 13:49:(326)698-2864.3 @@ -142,12 +142,15 @@ Configuration conf = Turbine.getConfiguration().subset(CONTENT_TOOL_PREFIX); - - wantRelative = conf.getBoolean(CONTENT_TOOL_RELATIVE_KEY, - CONTENT_TOOL_RELATIVE_DEFAULT); - wantEncoding = conf.getBoolean(CONTENT_TOOL_ENCODING_KEY, - CONTENT_TOOL_ENCODING_DEFAULT); + if (conf != null) + { + wantRelative = conf.getBoolean(CONTENT_TOOL_RELATIVE_KEY, + CONTENT_TOOL_RELATIVE_DEFAULT); + + wantEncoding = conf.getBoolean(CONTENT_TOOL_ENCODING_KEY, + CONTENT_TOOL_ENCODING_DEFAULT); + } if (!wantEncoding) { 1.7 +7 -4 jakarta-turbine-2/src/java/org/apache/turbine/services/pull/tools/TemplateLink.java Index: TemplateLink.java =================================================================== RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/pull/tools/TemplateLink.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- TemplateLink.java 31 Jul 2003 16:30:36 -0000 1.6 +++ TemplateLink.java 4 Aug 2003 13:49:(326)698-2864.7 @@ -149,9 +149,12 @@ Configuration conf = Turbine.getConfiguration().subset(TEMPLATE_LINK_PREFIX); - - wantRelative = conf.getBoolean(TEMPLATE_LINK_RELATIVE_KEY, - TEMPLATE_LINK_RELATIVE_DEFAULT); + + if (conf != null) + { + wantRelative = conf.getBoolean(TEMPLATE_LINK_RELATIVE_KEY, + TEMPLATE_LINK_RELATIVE_DEFAULT); + } } From david04@example.net Tue Aug 5 08:06:13 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 35002 invoked by uid 500); 5 Aug 2003 08:06:13 -0000 Received: (qmail 34998 invoked from network); 5 Aug 2003 08:06:12 -0000 Received: from unknown (HELO minotaur.apache.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Aug 2003 08:06:12 -0000 Received: (qmail 14057 invoked by uid 1332); 5 Aug 2003 08:06:36 -0000 Date: 5 Aug 2003 08:06:36 -0000 Message-ID: <david04@example.net> From: david04@example.net To: david04@example.net Subject: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/modules ActionEvent.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N henning 2003/08/05 01:06:36 Modified: src/java/org/apache/turbine/modules ActionEvent.java Log: Make eventSubmit_do message more explicit and log at info level Revision Changes Path 1.14 +6 -2 jakarta-turbine-2/src/java/org/apache/turbine/modules/ActionEvent.java Index: ActionEvent.java =================================================================== RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/modules/ActionEvent.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- ActionEvent.java 10 Jul 2003 12:40:45 -0000 1.13 +++ ActionEvent.java 5 Aug 2003 08:06:36 -0000 1.14 @@ -54,6 +54,7 @@ * <http://www.apache.org/>. */ +import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.Iterator; @@ -65,6 +66,7 @@ import org.apache.turbine.Turbine; import org.apache.turbine.TurbineConstants; import org.apache.turbine.util.RunData; +import org.apache.turbine.util.TurbineException; import org.apache.turbine.util.parser.ParameterParser; import org.apache.turbine.util.parser.ParserUtils; @@ -158,7 +160,9 @@ .getBoolean(TurbineConstants.ACTION_EVENTSUBMIT_NEEDSVALUE_KEY, TurbineConstants.ACTION_EVENTSUBMIT_NEEDSVALUE_DEFAULT); - log.debug("Need Submit Value: " + submitValueKey); + log.info(submitValueKey + ? "ActionEvent accepts only eventSubmit_do Keys with a value != 0" + : "ActionEvent accepts all eventSubmit_do Keys"); } /** From david04@example.net Tue Aug 5 08:15:22 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 44173 invoked by uid 500); 5 Aug 2003 08:15:22 -0000 Received: (qmail 44170 invoked from network); 5 Aug 2003 08:15:22 -0000 Received: from unknown (HELO minotaur.apache.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Aug 2003 08:15:22 -0000 Received: (qmail 16115 invoked by uid 1332); 5 Aug 2003 08:15:46 -0000 Date: 5 Aug 2003 08:15:46 -0000 Message-ID: <david04@example.net> From: david04@example.net To: david04@example.net Subject: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/modules ActionEvent.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N henning 2003/08/05 01:15:46 Modified: src/java/org/apache/turbine/util/velocity VelocityActionEvent.java src/java/org/apache/turbine/modules ActionEvent.java Log: Catch InvokationTargetExceptions and log them at error level. I was able to provoke this by rapidly firing and aborting HTTP requests for an action at a Tomcat server. Sooner or later, the container would get out of step and suddently the invoked methods would disappear from the class loader. I was also thinking about Throwable t = ite.getTargetException(); if (t instanceof Exception) { throw (Exception) t; } else { throw new TurbineException(t); } but decided against it, because this would be a spurious and hard to reproduce (and debug) error reported by the users. Discussion wanted. Revision Changes Path 1.15 +12 -3 jakarta-turbine-2/src/java/org/apache/turbine/util/velocity/VelocityActionEvent.java Index: VelocityActionEvent.java =================================================================== RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/velocity/VelocityActionEvent.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- VelocityActionEvent.java 1 Aug 2003 18:34:30 -0000 1.14 +++ VelocityActionEvent.java 5 Aug 2003 08:15:46 -0000 1.15 @@ -54,6 +54,7 @@ * <http://www.apache.org/>. */ +import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.Iterator; @@ -61,6 +62,7 @@ import org.apache.turbine.modules.ActionEvent; import org.apache.turbine.services.velocity.TurbineVelocity; import org.apache.turbine.util.RunData; +import org.apache.turbine.util.TurbineException; import org.apache.turbine.util.parser.ParameterParser; import org.apache.velocity.context.Context; @@ -127,7 +129,8 @@ * @param context Velocity context information. * @exception Exception a generic exception. */ - public void executeEvents(RunData data, Context context) throws Exception + public void executeEvents(RunData data, Context context) + throws Exception { // Name of the button. String theButton = null; @@ -157,9 +160,10 @@ "ActionEvent: The button was null"); } + Method method = null; try { - Method method = getClass().getMethod(theButton, methodParams); + method = getClass().getMethod(theButton, methodParams); Object[] methodArgs = new Object[] { data, context }; log.debug("Invoking " + method); @@ -173,6 +177,11 @@ + "), running executeEvents() in " + super.getClass().getName()); super.executeEvents(data); + } + catch (InvocationTargetException ite) + { + Throwable t = ite.getTargetException(); + log.error("Invokation of " + method , t); } } } 1.15 +16 -4 jakarta-turbine-2/src/java/org/apache/turbine/modules/ActionEvent.java Index: ActionEvent.java =================================================================== RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/modules/ActionEvent.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- ActionEvent.java 5 Aug 2003 08:06:36 -0000 1.14 +++ ActionEvent.java 5 Aug 2003 08:15:46 -0000 1.15 @@ -221,10 +221,22 @@ throw new NoSuchMethodException("ActionEvent: The button was null"); } - Method method = getClass().getMethod(theButton, methodParams); - Object[] methodArgs = new Object[] { data }; + Method method = null - method.invoke(this, methodArgs); + try + { + method = getClass().getMethod(theButton, methodParams); + Object[] methodArgs = new Object[] { data }; + + log.debug("Invoking " + method); + + method.invoke(this, methodArgs); + } + catch (InvocationTargetException ite) + { + Throwable t = ite.getTargetException(); + log.error("Invokation of " + method , t); + } } /** From david04@example.net Tue Aug 5 08:19:20 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 50100 invoked by uid 500); 5 Aug 2003 08:19:20 -0000 Received: (qmail 50097 invoked from network); 5 Aug 2003 08:19:19 -0000 Received: from unknown (HELO minotaur.apache.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Aug 2003 08:19:19 -0000 Received: (qmail 17543 invoked by uid 1332); 5 Aug 2003 08:19:43 -0000 Date: 5 Aug 2003 08:19:43 -0000 Message-ID: <david04@example.net> From: david04@example.net To: david04@example.net Subject: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/modules ActionEvent.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N henning 2003/08/05 01:19:43 Modified: src/java/org/apache/turbine/modules ActionEvent.java Log: Typo Revision Changes Path 1.16 +2 -2 jakarta-turbine-2/src/java/org/apache/turbine/modules/ActionEvent.java Index: ActionEvent.java =================================================================== RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/modules/ActionEvent.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- ActionEvent.java 5 Aug 2003 08:15:46 -0000 1.15 +++ ActionEvent.java 5 Aug 2003 08:19:43 -0000 1.16 @@ -221,7 +221,7 @@ throw new NoSuchMethodException("ActionEvent: The button was null"); } - Method method = null + Method method = null; try { From david04@example.net Tue Aug 5 08:20:55 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 51703 invoked by uid 500); 5 Aug 2003 08:20:55 -0000 Received: (qmail 51699 invoked from network); 5 Aug 2003 08:20:55 -0000 Received: from unknown (HELO minotaur.apache.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Aug 2003 08:20:55 -0000 Received: (qmail 18102 invoked by uid 1332); 5 Aug 2003 08:21:19 -0000 Date: 5 Aug 2003 08:21:19 -0000 Message-ID: <david04@example.net> From: david04@example.net To: david04@example.net Subject: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/modules ActionEvent.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N henning 2003/08/05 01:21:19 Modified: src/java/org/apache/turbine/util/velocity VelocityActionEvent.java src/java/org/apache/turbine/modules ActionEvent.java Log: add isDebugEnabled() around some expensive log.debug calls Revision Changes Path 1.16 +12 -5 jakarta-turbine-2/src/java/org/apache/turbine/util/velocity/VelocityActionEvent.java Index: VelocityActionEvent.java =================================================================== RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/velocity/VelocityActionEvent.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- VelocityActionEvent.java 5 Aug 2003 08:15:46 -0000 1.15 +++ VelocityActionEvent.java 5 Aug 2003 08:21:19 -0000 1.16 @@ -166,16 +166,23 @@ method = getClass().getMethod(theButton, methodParams); Object[] methodArgs = new Object[] { data, context }; - log.debug("Invoking " + method); + if (log.isDebugEnabled()) + { + log.debug("Invoking " + method); + } method.invoke(this, methodArgs); } catch (NoSuchMethodException nsme) { // Attempt to execute things the old way.. - log.debug("Couldn't locate the Event ( " + theButton - + "), running executeEvents() in " - + super.getClass().getName()); + if (log.isDebugEnabled()) + { + log.debug("Couldn't locate the Event ( " + theButton + + "), running executeEvents() in " + + super.getClass().getName()); + } + super.executeEvents(data); } catch (InvocationTargetException ite) 1.17 +5 -2 jakarta-turbine-2/src/java/org/apache/turbine/modules/ActionEvent.java Index: ActionEvent.java =================================================================== RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/modules/ActionEvent.java,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- ActionEvent.java 5 Aug 2003 08:19:43 -0000 1.16 +++ ActionEvent.java 5 Aug 2003 08:21:19 -0000 1.17 @@ -228,7 +228,10 @@ method = getClass().getMethod(theButton, methodParams); Object[] methodArgs = new Object[] { data }; - log.debug("Invoking " + method); + if (log.isDebugEnabled()) + { + log.debug("Invoking " + method); + } method.invoke(this, methodArgs); } From david04@example.net Tue Aug 5 10:50:12 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 32239 invoked by uid 500); 5 Aug 2003 10:50:12 -0000 Received: (qmail 32236 invoked from network); 5 Aug 2003 10:50:12 -0000 Received: from unknown (HELO minotaur.apache.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Aug 2003 10:50:12 -0000 Received: (qmail 58388 invoked by uid 1332); 5 Aug 2003 10:50:12 -0000 Date: 5 Aug 2003 10:50:12 -0000 Message-ID: <david04@example.net> From: david04@example.net To: david04@example.net Subject: cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/services/pull/tools ContentTool.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N henning 2003/08/05 03:50:12 Modified: src/java/org/apache/turbine/services/pull/tools ContentTool.java Log: Add methods to pull absolute and relative URIs from the content tool without looking at the default method. This might necessary if you use relative links but need a few absolute links (e.g. for Batik/FOP). Revision Changes Path 1.4 +34 -1 jakarta-turbine-2/src/java/org/apache/turbine/services/pull/tools/ContentTool.java Index: ContentTool.java =================================================================== RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/pull/tools/ContentTool.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ContentTool.java 4 Aug 2003 13:49:(326)698-2864.3 +++ ContentTool.java 5 Aug 2003 10:50:12 -0000 1.4 @@ -180,4 +180,37 @@ return wantRelative ? dataURI.getRelativeLink() : dataURI.getAbsoluteLink(); } + + /** + * Returns the Turbine URI of a given Path. The + * result is always an absolute path starting with + * the server scheme (http/https). + * + * @param path The path to translate + * + * @return Turbine translated absolute path + */ + public String getAbsoluteURI(String path) + { + dataURI.setScriptName(path); + + return dataURI.getAbsoluteLink(); + } + + /** + * Returns the Turbine URI of a given Path. The + * result is always relative to the context of + * the application. + * + * @param path The path to translate + * + * @return Turbine translated absolute path + */ + public String getRelativeURI(String path) + { + dataURI.setScriptName(path); + + return dataURI.getRelativeLink(); + } + } From david04@example.net Tue Aug 5 18:41:39 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 15405 invoked from network); 5 Aug 2003 18:41:39 -0000 Received: from hm61.locaweb.com.br (83.161.120.155) by daedalus.apache.org with SMTP; 5 Aug 2003 18:41:39 -0000 Received: (qmail 14376 invoked from network); 5 Aug 2003 18:40:33 -0000 Received: from hm20.locaweb.com.br (83.161.120.155) by hm61.locaweb.com.br with QMTP; 5 Aug 2003 18:40:33 -0000 Received: (qmail 11389 invoked from network); 5 Aug 2003 18:41:29 -0000 Received: from unknown (HELO localhost.localdomain) (david04@example.net@83.161.120.155) by hm20.locaweb.com.br with SMTP; 5 Aug 2003 18:41:29 -0000 Subject: Re: Building Turbine with Eclipse From: Leandro Rodrigo Saad Cruz <david04@example.net> To: david04@example.net Cc: david04@example.net In-Reply-To: <david04@example.net> References: <david04@example.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 05 Aug 2003 15:41:31 -0300 Message-Id: <1060108892.2798.38.camel@zacarias> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi. I'm trying to compile turbine-HEAD using maven and eclipse but I keep getting errors. I did a fresh checkout from cvs but I can't get these files : - org.apache.turbine.services.schedule.BaseJobEntry - org.apache.turbine.services.schedule.JobEntryPeer - org.apache.turbine.services.security.torque.om.* ... ... Is there any problem on cvs ?? Anyone with access to it can confirm if those files are there ? On Thu, 2003-07-24 at 19:05, Henning P. Schmiedehausen wrote: > Are you brave? Are you willing to live on the edge? Willing to try out > a highly experimental to build Turbine with Eclipse? If yes, read on... > > 1) Get Eclipse. I did all my tests with Eclipse 2.1.1 on RedHat Linux 9 > and J2SDK 1.4.1_02. YMMV. Install it. > > 2) Fetch the Turbine Source Tree > > cvs -d :pserver:david04@example.net:/home/cvspublic checkout jakarta-turbine-2 > > 3) Fetch the Eclipse Build enviroment from > > http://jakarta.apache.org/~henning/turbine/turbine-eclipse.tar.gz > > 4) Unpack it into the Turbine Source tree: > > cd jakarta-turbine-2 ; tar xzf turbine-eclipse.tar.gz > > 5) Start Eclipse. Select "File -> Import". > Choose "Existing Project into Workspace" > Browse to the checked out directory. Select it. > > You should now have > > Project Name: jakarta-turbine-2 > > Project Contents: ..../jakarta-turbine-2/ > > Choose "Finish" > > 6) Now you should have the jakarta-turbine-2 Tree in Eclipse with lots of > errors. That's ok. Choose "Rebuild Project" > > 7) You should get "Build Problems" with "Problems occured building the > selected resources". This is expected! Open the Details. It should display > > --- cut --- > For a successful build, you must get the following jars from java.sun.com > and copy them into target/lib: > > activation.jar, Version 1.0.2 as activation-1.0.2.jar > mail.jar, Version 1.3 as javamail-1.3.jar > jdbc.jar, Version 2.0 as jdbc-2.0.jar > jndi.jar, Version 1.2.1 as jndi-1.2.1.jar > > One of these jars is missing. Please correct this error and > rebuild. > --- cut --- > > 8) Get the jars from java.sun.com and put them into the target/lib directory > in your jakarta-turbine-2 directory. > > 9) Choose "Rebuild Project" again. This should run now for a while and > the console should show the ant task fetching all the public jars > from ibiblio. After a while, the build process should start and > be successful (with quite a number of deprecation warnings depending > on your default compiler settings). > > 10) If the rebuild still fails because of "missing jars", then Eclipse hasn't > picked up the ant-fetched jars yet. Simply open > "jakarta-turbine-2/target" in the tree view and select "Refresh" from > the content menu on the target folder. This should kick the compilation > immediately. The tree view should now show all the jars required for > building Turbine. > > Have fun. This wants testing. If it works for Eclipse users, we might > add this as an alternative way of building Turbine. Until then, consider > this highly experimental (I'm not exactly a seasoned Eclipse user ;-) ) > > Regards > Henning > > > > -- > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH > david04@example.net (326)698-2864 http://www.intermeta.de/ > > Java, perl, Solaris, Linux, xSP Consulting, Web Services > freelance consultant -- Jakarta Turbine Development -- hero for hire > > "You are being far too rational for this discussion." > --- Scott Robert Ladd in <david04@example.net> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: david04@example.net > For additional commands, e-mail: david04@example.net > > -- Leandro Rodrigo Saad Cruz IT - Inter Business Tecnologia e Servicos (IB) http://www.ibnetwork.com.br http://db.apache.org/ojb http://xingu.sourceforge.net From david04@example.net Wed Aug 6 07:44:46 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 28904 invoked from network); 6 Aug 2003 07:44:46 -0000 Received: from mail.hometree.net (83.161.120.155) by daedalus.apache.org with SMTP; 6 Aug 2003 07:44:46 -0000 Received: from tangens.hometree.net (IDENT:david04@example.net [83.161.120.155]) by mail.hometree.net (8.12.9/8.12.8) with ESMTP id h767ivHM003001 for <david04@example.net>; Wed, 6 Aug 2003 09:44:57 +0200 Received: (from news@localhost) by tangens.hometree.net (8.12.9/8.12.8/Submit) id h767iv5h003000 for david04@example.net; Wed, 6 Aug 2003 09:44:57 +0200 To: david04@example.net Path: not-for-mail From: "Henning P. Schmiedehausen" <david04@example.net> Newsgroups: hometree.jakarta.turbine.dev Subject: Re: Building Turbine with Eclipse Date: Wed, 6 Aug 2003 07:44:57 +0000 (UTC) Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Lines: 137 Message-ID: <david04@example.net> References: <david04@example.net> <1060108892.2798.38.camel@zacarias> Reply-To: david04@example.net NNTP-Posting-Host: forge.intermeta.de X-Trace: tangens.hometree.net 1060155897 2688 83.161.120.155 (6 Aug 2003 07:44:57 GMT) X-Complaints-To: david04@example.net NNTP-Posting-Date: Wed, 6 Aug 2003 07:44:57 +0000 (UTC) X-Copyright: (C) 1996-2003 Henning Schmiedehausen User-Agent: nn/6.6.5 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Leandro Rodrigo Saad Cruz <david04@example.net> writes: >Is there any problem on cvs ?? Anyone with access to it can confirm if >those files are there ? Sigh, can we _please_ make this a FAQ somewhere? Leandro, these files are _GENERATED_ at compile time with Torque. There is nothing magic with them except that they (of course) don't show up in Eclipse when you check it out. If you want to use Eclipse with Turbine, you can use the Step-by-Step manual that I've posted here (for which you don't need maven) or you can use maven (where you will get the peers built for you). I personally don't support "Maven & Eclipse for building Turbine". It's either Eclipse (without Maven) for the beginning Turbine user or Maven for the seasoned Turbine user that is not afraid of a command line tool. If someone wants to post a cookbook for Maven & Eclipse, fine. Regards Henning >On Thu, 2003-07-24 at 19:05, Henning P. Schmiedehausen wrote: >> Are you brave? Are you willing to live on the edge? Willing to try out >> a highly experimental to build Turbine with Eclipse? If yes, read on... >> >> 1) Get Eclipse. I did all my tests with Eclipse 2.1.1 on RedHat Linux 9 >> and J2SDK 1.4.1_02. YMMV. Install it. >> >> 2) Fetch the Turbine Source Tree >> >> cvs -d :pserver:david04@example.net:/home/cvspublic checkout jakarta-turbine-2 >> >> 3) Fetch the Eclipse Build enviroment from >> >> http://jakarta.apache.org/~henning/turbine/turbine-eclipse.tar.gz >> >> 4) Unpack it into the Turbine Source tree: >> >> cd jakarta-turbine-2 ; tar xzf turbine-eclipse.tar.gz >> >> 5) Start Eclipse. Select "File -> Import". >> Choose "Existing Project into Workspace" >> Browse to the checked out directory. Select it. >> >> You should now have >> >> Project Name: jakarta-turbine-2 >> >> Project Contents: ..../jakarta-turbine-2/ >> >> Choose "Finish" >> >> 6) Now you should have the jakarta-turbine-2 Tree in Eclipse with lots of >> errors. That's ok. Choose "Rebuild Project" >> >> 7) You should get "Build Problems" with "Problems occured building the >> selected resources". This is expected! Open the Details. It should display >> >> --- cut --- >> For a successful build, you must get the following jars from java.sun.com >> and copy them into target/lib: >> >> activation.jar, Version 1.0.2 as activation-1.0.2.jar >> mail.jar, Version 1.3 as javamail-1.3.jar >> jdbc.jar, Version 2.0 as jdbc-2.0.jar >> jndi.jar, Version 1.2.1 as jndi-1.2.1.jar >> >> One of these jars is missing. Please correct this error and >> rebuild. >> --- cut --- >> >> 8) Get the jars from java.sun.com and put them into the target/lib directory >> in your jakarta-turbine-2 directory. >> >> 9) Choose "Rebuild Project" again. This should run now for a while and >> the console should show the ant task fetching all the public jars >> from ibiblio. After a while, the build process should start and >> be successful (with quite a number of deprecation warnings depending >> on your default compiler settings). >> >> 10) If the rebuild still fails because of "missing jars", then Eclipse hasn't >> picked up the ant-fetched jars yet. Simply open >> "jakarta-turbine-2/target" in the tree view and select "Refresh" from >> the content menu on the target folder. This should kick the compilation >> immediately. The tree view should now show all the jars required for >> building Turbine. >> >> Have fun. This wants testing. If it works for Eclipse users, we might >> add this as an alternative way of building Turbine. Until then, consider >> this highly experimental (I'm not exactly a seasoned Eclipse user ;-) ) >> >> Regards >> Henning >> >> >> >> -- >> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH >> david04@example.net (326)698-2864 http://www.intermeta.de/ >> >> Java, perl, Solaris, Linux, xSP Consulting, Web Services >> freelance consultant -- Jakarta Turbine Development -- hero for hire >> >> "You are being far too rational for this discussion." >> --- Scott Robert Ladd in <david04@example.net> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: david04@example.net >> For additional commands, e-mail: david04@example.net >> >> >-- >Leandro Rodrigo Saad Cruz >IT - Inter Business Tecnologia e Servicos (IB) >http://www.ibnetwork.com.br >http://db.apache.org/ojb >http://xingu.sourceforge.net >--------------------------------------------------------------------- >To unsubscribe, e-mail: david04@example.net >For additional commands, e-mail: david04@example.net -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH david04@example.net (326)698-2864 http://www.intermeta.de/ Java, perl, Solaris, Linux, xSP Consulting, Web Services freelance consultant -- Jakarta Turbine Development -- hero for hire "You are being far too rational for this discussion." --- Scott Robert Ladd in <david04@example.net> From david04@example.net Wed Aug 6 09:20:27 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 71114 invoked from network); 6 Aug 2003 09:20:27 -0000 Received: from 213-229-1-27.sdsl-line.inode.at (HELO elrond.tucana.at) (83.161.120.155) by daedalus.apache.org with SMTP; 6 Aug 2003 09:20:27 -0000 Received: from localhost (localhost [83.161.120.155]) by elrond.tucana.at (Postfix) with ESMTP id C8A922AA2D for <david04@example.net>; Wed, 6 Aug 2003 11:21:46 +0200 (CEST) Received: from elrond.tucana.at ([83.161.120.155]) by localhost (elrond [83.161.120.155]) (amavisd-new, port 10024) with ESMTP id 20918-01 for <david04@example.net>; Wed, 6 Aug 2003 11:21:23 +0200 (CEST) Received: from elrond.tucana.at (localhost [83.161.120.155]) by elrond.tucana.at (Postfix) with SMTP id 4B57B119037 for <david04@example.net>; Wed, 6 Aug 2003 11:21:23 +0200 (CEST) Received: from 83.161.120.155 (proxying for unknown) (SquirrelMail authenticated user mpoeschl_marmot_at) by elrond.tucana.at with HTTP; Wed, 6 Aug 2003 11:21:23 +0200 (CEST) Message-ID: <{{EMAIL+SOCIAL_SECURITY_NUMBER}}> In-Reply-To: <david04@example.net> References: <david04@example.net> <1060108892.2798.38.camel@zacarias> <david04@example.net> Date: Wed, 6 Aug 2003 11:21:23 +0200 (CEST) Subject: Re: Building Turbine with Eclipse From: "Martin Poeschl" <david04@example.net> To: david04@example.net Reply-To: david04@example.net User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal X-Virus-Scanned: by david04@example.net X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N or you can use eclipse + maven without command line ;-) http://mevenide.sourceforge.net martin > Leandro Rodrigo Saad Cruz <david04@example.net> writes: > >>Is there any problem on cvs ?? Anyone with access to it can confirm if >>those files are there ? > > Sigh, can we _please_ make this a FAQ somewhere? > > Leandro, these files are _GENERATED_ at compile time with > Torque. There is nothing magic with them except that they (of course) > don't show up in Eclipse when you check it out. > > If you want to use Eclipse with Turbine, you can use the Step-by-Step > manual that I've posted here (for which you don't need maven) or you > can use maven (where you will get the peers built for you). I > personally don't support "Maven & Eclipse for building Turbine". It's > either Eclipse (without Maven) for the beginning Turbine user or Maven > for the seasoned Turbine user that is not afraid of a command line > tool. > > If someone wants to post a cookbook for Maven & Eclipse, fine. > > Regards > Henning > > > >>On Thu, 2003-07-24 at 19:05, Henning P. Schmiedehausen wrote: >>> Are you brave? Are you willing to live on the edge? Willing to try out >>> a highly experimental to build Turbine with Eclipse? If yes, read on... >>> >>> 1) Get Eclipse. I did all my tests with Eclipse 2.1.1 on RedHat Linux 9 >>> and J2SDK 1.4.1_02. YMMV. Install it. >>> >>> 2) Fetch the Turbine Source Tree >>> >>> cvs -d :pserver:david04@example.net:/home/cvspublic checkout >>> jakarta-turbine-2 >>> >>> 3) Fetch the Eclipse Build enviroment from >>> >>> http://jakarta.apache.org/~henning/turbine/turbine-eclipse.tar.gz >>> >>> 4) Unpack it into the Turbine Source tree: >>> >>> cd jakarta-turbine-2 ; tar xzf turbine-eclipse.tar.gz >>> >>> 5) Start Eclipse. Select "File -> Import". >>> Choose "Existing Project into Workspace" >>> Browse to the checked out directory. Select it. >>> >>> You should now have >>> >>> Project Name: jakarta-turbine-2 >>> >>> Project Contents: ..../jakarta-turbine-2/ >>> >>> Choose "Finish" >>> >>> 6) Now you should have the jakarta-turbine-2 Tree in Eclipse with lots >>> of >>> errors. That's ok. Choose "Rebuild Project" >>> >>> 7) You should get "Build Problems" with "Problems occured building the >>> selected resources". This is expected! Open the Details. It should >>> display >>> >>> --- cut --- >>> For a successful build, you must get the following jars from >>> java.sun.com >>> and copy them into target/lib: >>> >>> activation.jar, Version 1.0.2 as activation-1.0.2.jar >>> mail.jar, Version 1.3 as javamail-1.3.jar >>> jdbc.jar, Version 2.0 as jdbc-2.0.jar >>> jndi.jar, Version 1.2.1 as jndi-1.2.1.jar >>> >>> One of these jars is missing. Please correct this error and >>> rebuild. >>> --- cut --- >>> >>> 8) Get the jars from java.sun.com and put them into the target/lib >>> directory >>> in your jakarta-turbine-2 directory. >>> >>> 9) Choose "Rebuild Project" again. This should run now for a while and >>> the console should show the ant task fetching all the public jars >>> from ibiblio. After a while, the build process should start and >>> be successful (with quite a number of deprecation warnings depending >>> on your default compiler settings). >>> >>> 10) If the rebuild still fails because of "missing jars", then Eclipse >>> hasn't >>> picked up the ant-fetched jars yet. Simply open >>> "jakarta-turbine-2/target" in the tree view and select "Refresh" >>> from >>> the content menu on the target folder. This should kick the >>> compilation >>> immediately. The tree view should now show all the jars required >>> for >>> building Turbine. >>> >>> Have fun. This wants testing. If it works for Eclipse users, we might >>> add this as an alternative way of building Turbine. Until then, >>> consider >>> this highly experimental (I'm not exactly a seasoned Eclipse user ;-) ) >>> >>> Regards >>> Henning >>> >>> >>> >>> -- >>> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH >>> david04@example.net (326)698-2864 http://www.intermeta.de/ >>> >>> Java, perl, Solaris, Linux, xSP Consulting, Web Services >>> freelance consultant -- Jakarta Turbine Development -- hero for hire >>> >>> "You are being far too rational for this discussion." >>> --- Scott Robert Ladd in <david04@example.net> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: david04@example.net >>> For additional commands, e-mail: david04@example.net >>> >>> >>-- >>Leandro Rodrigo Saad Cruz >>IT - Inter Business Tecnologia e Servicos (IB) >>http://www.ibnetwork.com.br >>http://db.apache.org/ojb >>http://xingu.sourceforge.net > > >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: david04@example.net >>For additional commands, e-mail: david04@example.net > > -- > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH > david04@example.net (326)698-2864 http://www.intermeta.de/ > > Java, perl, Solaris, Linux, xSP Consulting, Web Services > freelance consultant -- Jakarta Turbine Development -- hero for hire > > "You are being far too rational for this discussion." > --- Scott Robert Ladd in <david04@example.net> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: david04@example.net > For additional commands, e-mail: david04@example.net > > > From david04@example.net Thu Aug 7 13:09:57 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 99325 invoked by uid 500); 7 Aug 2003 13:09:57 -0000 Received: (qmail 99322 invoked from network); 7 Aug 2003 13:09:57 -0000 Received: from unknown (HELO minotaur.apache.org) (83.161.120.155) by daedalus.apache.org with SMTP; 7 Aug 2003 13:09:57 -0000 Received: (qmail 60300 invoked by uid 1332); 7 Aug 2003 13:10:00 -0000 Date: 7 Aug 2003 13:10:00 -0000 Message-ID: <david04@example.net> From: david04@example.net To: david04@example.net Subject: cvs commit: jakarta-turbine-2/proposals/henning/eclipse-build - New directory X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N henning 2003/08/07 06:10:00 jakarta-turbine-2/proposals/henning/eclipse-build - New directory From david04@example.net Thu Aug 7 13:11:24 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 977 invoked by uid 500); 7 Aug 2003 13:11:24 -0000 Received: (qmail 974 invoked from network); 7 Aug 2003 13:11:24 -0000 Received: from unknown (HELO minotaur.apache.org) (83.161.120.155) by daedalus.apache.org with SMTP; 7 Aug 2003 13:11:24 -0000 Received: (qmail 61134 invoked by uid 1332); 7 Aug 2003 13:11:27 -0000 Date: 7 Aug 2003 13:11:27 -0000 Message-ID: <david04@example.net> From: david04@example.net To: david04@example.net Subject: cvs commit: jakarta-turbine-2/proposals/henning/eclipse-build INSTALLATION README eclipse_build eclipse_classpath eclipse_prepare_turbine eclipse_project install.sh X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N henning 2003/08/07 06:11:27 Added: proposals/henning/eclipse-build INSTALLATION README eclipse_build eclipse_classpath eclipse_prepare_turbine eclipse_project install.sh Log: The experimental "build Turbine with Eclipse and without Maven" code. Moved into the CVS to give it more exposition to the user base. Wants docs and some testing. Should be ready for moving in by the time we start 2.4, hopefully dragging a few more hands in to work on Turbine. Revision Changes Path 1.1 jakarta-turbine-2/proposals/henning/eclipse-build/INSTALLATION Index: INSTALLATION =================================================================== This is an experimental Build environment to build Turbine with Eclipse without Maven. To try this out, change into this directory and run "install.sh". Sorry, this is *ix only yet (I don't do Windows. ;-) ) -- henning 1.1 jakarta-turbine-2/proposals/henning/eclipse-build/README Index: README =================================================================== This directory contains some helpers to build the Turbine source code with the Eclipse IDE (http://www.eclipse.org/). If you're using maven, you shouldn't need anything from this directory. This was created and is intended for Eclipse 2.1.1 or better. Updates and patches are welcome, please send them to david04@example.net. Contents: build.xml - ant Build file which sets up the auto generated Torque peer classes. This file does not build Turbine itself! 1.1 jakarta-turbine-2/proposals/henning/eclipse-build/eclipse_build Index: eclipse_build =================================================================== <?xml version="1.0"?> <!-- ===================================================================== --> <!-- = = --> <!-- = This is a helper file to build Turbine 2 with Eclipse = --> <!-- = = --> <!-- = @author <a href="david04@example.net">Henning P. Schmiedehausen</a> = --> <!-- = @version $Id: eclipse_build,v 1.1 2003/08/07 13:11:27 henning Exp $ = --> <!-- = = --> <!-- ===================================================================== --> <project name="Turbine Torque Peers" basedir="../.." default="prepare-turbine"> <property name="libdir" value="target/lib"/> <target name="prepare-turbine" depends="fetch-jars, peers" description="==> Default Target. Run me to prepare the Turbine source code for Eclipse"/> <target name="torque-init"> <property name="torque.contextProperties" value="project.properties"/> <property file="${torque.contextProperties}"/> <path id="torque-classpath"> <fileset dir="${libdir}"/> </path> <!-- The default.properties file will map old properties to the new ones along with setting the correct defaults. --> <property resource="org/apache/torque/default.properties"> <classpath> <path refid="torque-classpath"/> </classpath> </property> <taskdef name="torque-data-model" classpathref="torque-classpath" classname="org.apache.torque.task.TorqueDataModelTask"/> </target> <!-- ================================================== --> <!-- Build the Torque Peers for the Turbine builds --> <!-- ================================================== --> <target name="peers" description="==> Builds the Turbine Torque Peer classes" depends="torque-init"> <antcall target="copy-om"/> <antcall target="scheduler-om"/> <antcall target="torque-security-om"/> <!-- Kludge, because this file is overwritten by the Turbine code itself --> <delete file="${torque.java.dir}/org/apache/turbine/services/schedule/JobEntry.java"/> </target> <!-- ================================================== --> <!-- Prepare all Sources for Torque --> <!-- ================================================== --> <target name="copy-om" description="Copy all schema files to target/xml and replace database related variables" depends="copy-scheduler-om ,copy-torque-security-om, copy-id-table-om"/> <!-- ================================================== --> <!-- Prepare Scheduler Sources for Torque --> <!-- ================================================== --> <target name="copy-scheduler-om" description="Copy scheduler schema files to target/xml and replace database related variables"> <filter token="DATABASE_DEFAULT" value="${scheduler.database.name}"/> <filter token="EXTRA_USER_COLUMNS" value="${scheduler.extra.user.columns}"/> <copy file="src/schema/scheduler-schema.xml" tofile="${torque.schema.dir}/scheduler-schema.xml" filtering="yes"/> </target> <!-- ================================================== --> <!-- Prepare Torque Security Service Sources for Torque --> <!-- ================================================== --> <target name="copy-torque-security-om" description="Copy torque security service schema files to target/xml and replace database related variables"> <filter token="DATABASE_DEFAULT" value="${torque.security.database.name}"/> <copy file="src/schema/torque-security-schema.xml" tofile="${torque.schema.dir}/torque-security-schema.xml" filtering="yes"/> </target> <!-- ================================================== --> <!-- Prepare ID Table (for idBroker) Sources for Torque --> <!-- ================================================== --> <target name="copy-id-table-om" description="Copy id-table schema files to target/xml and replace database related variables"> <filter token="DATABASE_DEFAULT" value="${scheduler.database.name}"/> <copy file="src/schema/id-table-schema.xml" tofile="${torque.schema.dir}/scheduler-idtable-schema.xml" filtering="yes"/> <filter token="DATABASE_DEFAULT" value="${torque.security.database.name}"/> <copy file="src/schema/id-table-schema.xml" tofile="${torque.schema.dir}/torque-security-idtable-schema.xml" filtering="yes"/> </target> <!-- ================================================== --> <!-- Build Peers for the Scheduler --> <!-- ================================================== --> <target name="scheduler-om" description="generate Torque peers for the scheduler" depends="copy-scheduler-om"> <torque-data-model contextProperties="${torque.contextProperties}" controlTemplate="${torque.template.om}" outputDirectory="${torque.java.dir}" outputFile="report.scheduler.om.generation" targetDatabase="${torque.database}" targetPackage="${scheduler.package}" useClasspath="true"> <fileset dir="${torque.schema.dir}" includes="scheduler-schema.xml" excludes="${torque.schema.om.excludes}" /> </torque-data-model> </target> <!-- ================================================== --> <!-- Build Peers for Torque Security --> <!-- ================================================== --> <target name="torque-security-om" description="generate Torque peers for the torque security service" depends="copy-torque-security-om"> <torque-data-model contextProperties="${torque.contextProperties}" controlTemplate="${torque.template.om}" outputDirectory="${torque.java.dir}" outputFile="report.torque-security.om.generation" targetDatabase="${torque.database}" targetPackage="${torque.security.package}" useClasspath="true"> <fileset dir="${torque.schema.dir}" includes="torque-security-schema.xml" excludes="${torque.schema.om.excludes}" /> </torque-data-model> </target> <!-- ================================================== --> <!-- Fetch all needed jars from ibiblio --> <!-- ================================================== --> <target name="fetch-jars" description=" ==> Fetch the needed jars for Turbine"> <mkdir dir="${libdir}"/> <antcall target="fetch-sun-jars" /> <antcall target="fetch-ibiblio-jars" /> </target> <target name="check-sun-jars"> <condition property="sunjars.present"> <and> <available file="${libdir}/activation-1.0.2.jar" type="file"/> <available file="${libdir}/javamail-1.3.jar" type="file"/> <available file="${libdir}/jdbc-2.0.jar" type="file"/> <available file="${libdir}/jndi-1.2.1.jar" type="file"/> </and> </condition> </target> <target name="fetch-sun-jars" unless="sunjars.present" depends="check-sun-jars"> <fail> For a successful build, you must get the following jars from java.sun.com and copy them into ${libdir}: activation.jar, Version 1.0.2 as activation-1.0.2.jar mail.jar, Version 1.3 as javamail-1.3.jar jdbc.jar, Version 2.0 as jdbc-2.0.jar jndi.jar, Version 1.2.1 as jndi-1.2.1.jar One of these jars is missing. Please correct this error and rebuild. </fail> </target> <target name="fetch-ibiblio-jars"> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/avalon-framework/jars/avalon-framework-4.1.4.jar" dest="${libdir}/avalon-framework-4.1.4.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/commons-beanutils/jars/commons-beanutils-1.6.1.jar" dest="${libdir}/commons-beanutils-1.6.1.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/commons-codec/jars/commons-codec-1.1.jar" dest="${libdir}/commons-codec-1.1.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-2.1.jar" dest="${libdir}/commons-collections-2.1.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/commons-configuration/jars/commons-configuration-20030706.202021.jar" dest="${libdir}/commons-configuration-20030706.202021.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/commons-digester/jars/commons-digester-1.5.jar" dest="${libdir}/commons-digester-1.5.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/commons-email/jars/commons-email-20030310.165926.jar" dest="${libdir}/commons-email-20030310.165926.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/commons-fileupload/jars/commons-fileupload-1.0.jar" dest="${libdir}/commons-fileupload-1.0.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-1.0.1.jar" dest="${libdir}/commons-lang-1.0.1.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar" dest="${libdir}/commons-logging-1.0.3.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/commons-pool/jars/commons-pool-1.0.1.jar" dest="${libdir}/commons-pool-1.0.1.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/cryptix/jars/cryptix-3.2.0.jar" dest="${libdir}/cryptix-3.2.0.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/dom4j/jars/dom4j-1.4.jar" dest="${libdir}/dom4j-1.4.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/ecs/jars/ecs-1.4.2.jar" dest="${libdir}/ecs-1.4.2.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/excalibur-component/jars/excalibur-component-1.1.jar" dest="${libdir}/excalibur-component-1.1.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/excalibur-instrument/jars/excalibur-instrument-1.0.jar" dest="${libdir}/excalibur-instrument-1.0.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/excalibur-logger/jars/excalibur-logger-1.0.1.jar" dest="${libdir}/excalibur-logger-1.0.1.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/excalibur-pool/jars/excalibur-pool-1.2.jar" dest="${libdir}/excalibur-pool-1.2.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/jython/jars/jython-2.1.jar" dest="${libdir}/jython-2.1.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.8.jar" dest="${libdir}/log4j-1.2.8.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/logkit/jars/logkit-1.0.1.jar" dest="${libdir}/logkit-1.0.1.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/oro/jars/oro-2.0.7.jar" dest="${libdir}/oro-2.0.7.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar" dest="${libdir}/servletapi-2.3.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/stratum/jars/stratum-1.0-b3.jar" dest="${libdir}/stratum-1.0-b3.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/torque/jars/torque-3.1-alpha2.jar" dest="${libdir}/torque-3.1-alpha2.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/torque/jars/torque-gen-3.1-alpha2.jar" dest="${libdir}/torque-gen-3.1-alpha2.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/velocity/jars/velocity-1.3.1.jar" dest="${libdir}/velocity-1.3.1.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/village/jars/village-2.0-dev-20030625.jar" dest="${libdir}/village-2.0-dev-20030625.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/xalan/jars/xalan-2.5.1.jar" dest="${libdir}/xalan-2.5.1.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/xerces/jars/xercesImpl-2.4.0.jar" dest="${libdir}/xercesImpl-2.4.0.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/xml-apis/jars/xml-apis-1.0.b2.jar" dest="${libdir}/xml-apis-1.0.b2.jar"/> <get verbose="true" usetimestamp="true" src="http://www.ibiblio.org/maven/xmlrpc/jars/xmlrpc-1.2-b1.jar" dest="${libdir}/xmlrpc-1.2-b1.jar"/> </target> </project> 1.1 jakarta-turbine-2/proposals/henning/eclipse-build/eclipse_classpath Index: eclipse_classpath =================================================================== <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src/java"/> <classpathentry kind="src" path="target/src"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="lib" path="target/lib/activation-1.0.2.jar"/> <classpathentry kind="lib" path="target/lib/avalon-framework-4.1.4.jar"/> <classpathentry kind="lib" path="target/lib/commons-beanutils-1.6.1.jar"/> <classpathentry kind="lib" path="target/lib/commons-codec-1.1.jar"/> <classpathentry kind="lib" path="target/lib/commons-collections-2.1.jar"/> <classpathentry kind="lib" path="target/lib/commons-configuration-20030706.202021.jar"/> <classpathentry kind="lib" path="target/lib/commons-digester-1.5.jar"/> <classpathentry kind="lib" path="target/lib/commons-email-20030310.165926.jar"/> <classpathentry kind="lib" path="target/lib/commons-fileupload-1.0.jar"/> <classpathentry kind="lib" path="target/lib/commons-lang-1.0.1.jar"/> <classpathentry kind="lib" path="target/lib/commons-logging-1.0.3.jar"/> <classpathentry kind="lib" path="target/lib/commons-pool-1.0.1.jar"/> <classpathentry kind="lib" path="target/lib/cryptix-3.2.0.jar"/> <classpathentry kind="lib" path="target/lib/dom4j-1.4.jar"/> <classpathentry kind="lib" path="target/lib/ecs-1.4.2.jar"/> <classpathentry kind="lib" path="target/lib/excalibur-component-1.1.jar"/> <classpathentry kind="lib" path="target/lib/excalibur-instrument-1.0.jar"/> <classpathentry kind="lib" path="target/lib/excalibur-logger-1.0.1.jar"/> <classpathentry kind="lib" path="target/lib/excalibur-pool-1.2.jar"/> <classpathentry kind="lib" path="target/lib/javamail-1.3.jar"/> <classpathentry kind="lib" path="target/lib/jdbc-2.0.jar"/> <classpathentry kind="lib" path="target/lib/jndi-1.2.1.jar"/> <classpathentry kind="lib" path="target/lib/jython-2.1.jar"/> <classpathentry kind="lib" path="target/lib/log4j-1.2.8.jar"/> <classpathentry kind="lib" path="target/lib/logkit-1.0.1.jar"/> <classpathentry kind="lib" path="target/lib/oro-2.0.7.jar"/> <classpathentry kind="lib" path="target/lib/servletapi-2.3.jar"/> <classpathentry kind="lib" path="target/lib/stratum-1.0-b3.jar"/> <classpathentry kind="lib" path="target/lib/torque-3.1-alpha2.jar"/> <classpathentry kind="lib" path="target/lib/torque-gen-3.1-alpha2.jar"/> <classpathentry kind="lib" path="target/lib/velocity-1.3.1.jar"/> <classpathentry kind="lib" path="target/lib/village-2.0-dev-20030625.jar"/> <classpathentry kind="lib" path="target/lib/xalan-2.5.1.jar"/> <classpathentry kind="lib" path="target/lib/xercesImpl-2.4.0.jar"/> <classpathentry kind="lib" path="target/lib/xml-apis-1.0.b2.jar"/> <classpathentry kind="lib" path="target/lib/xmlrpc-1.2-b1.jar"/> <classpathentry kind="output" path="target/classes"/> </classpath> 1.1 jakarta-turbine-2/proposals/henning/eclipse-build/eclipse_prepare_turbine Index: eclipse_prepare_turbine =================================================================== <?xml version="1.0" encoding="UTF-8"?> <launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType"> <booleanAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_IN_BACKGROUND" value="false"/> <stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/> <stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/jakarta-turbine-2}"/> <stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/jakarta-turbine-2/build/eclipse/build.xml}"/> <stringAttribute key="org.eclipse.ui.externaltools.ATTR_ANT_TARGETS" value="prepare-turbine,"/> <stringAttribute key="org.eclipse.debug.ui.target_run_perspective" value="perspective_none"/> </launchConfiguration> 1.1 jakarta-turbine-2/proposals/henning/eclipse-build/eclipse_project Index: eclipse_project =================================================================== <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>jakarta-turbine-2</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name> <arguments> <dictionary> <key>LaunchConfigHandle</key> <value>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;launchConfiguration local=&quot;false&quot; path=&quot;/jakarta-turbine-2/.externalToolBuilders/Prepare Turbine.launch&quot;/&gt; </value> </dictionary> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription> 1.1 jakarta-turbine-2/proposals/henning/eclipse-build/install.sh Index: install.sh =================================================================== #! /bin/sh # # Linux Installation # # # Change this to the actual location of your # Turbine Tree! The default should work if you've checked out # the tree from CVS and enter the directory where this file # is located. # TURBINE_PROJECT_HOME=../../.. [ -f ${TURBINE_PROJECT_HOME}/maven.xml ] || exit 1 cp eclipse_classpath ${TURBINE_PROJECT_HOME}/.classpath cp eclipse_project ${TURBINE_PROJECT_HOME}/.project mkdir -p ${TURBINE_PROJECT_HOME}/.externalToolBuilders cp eclipse_prepare_turbine "${TURBINE_PROJECT_HOME}/.externalToolBuilders/Prepare Turbine.launch" mkdir -p ${TURBINE_PROJECT_HOME}/build/eclipse cp eclipse_build ${TURBINE_PROJECT_HOME}/build/eclipse/build.xml PWD=`( cd ${TURBINE_PROJECT_HOME} ; pwd )` echo "Now import a project from ${PWD} into Eclipse!" From david04@example.net Thu Aug 7 13:12:50 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 4902 invoked by uid 500); 7 Aug 2003 13:12:50 -0000 Received: (qmail 4880 invoked from network); 7 Aug 2003 13:12:49 -0000 Received: from unknown (HELO minotaur.apache.org) (83.161.120.155) by daedalus.apache.org with SMTP; 7 Aug 2003 13:12:49 -0000 Received: (qmail 61617 invoked by uid 1332); 7 Aug 2003 13:12:51 -0000 Date: 7 Aug 2003 13:12:51 -0000 Message-ID: <david04@example.net> From: david04@example.net To: david04@example.net Subject: cvs commit: jakarta-turbine-2 .cvsignore X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N henning 2003/08/07 06:12:51 Modified: . .cvsignore Log: Ignore the Eclipse toolBuilders Directory Revision Changes Path 1.7 +1 -0 jakarta-turbine-2/.cvsignore Index: .cvsignore =================================================================== RCS file: /home/cvs/jakarta-turbine-2/.cvsignore,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- .cvsignore 18 Mar 2003 13:37:20 -0000 1.6 +++ .cvsignore 7 Aug 2003 13:12:51 -0000 1.7 @@ -6,3 +6,4 @@ *~ .classpath .project +.externalToolBuilders From david04@example.net Sat Aug 9 11:49:08 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 58679 invoked from network); 9 Aug 2003 11:49:08 -0000 Received: from unknown (HELO ganesh.iwpcp.com) (83.161.120.155) by daedalus.apache.org with SMTP; 9 Aug 2003 11:49:08 -0000 Received: from [83.161.120.155] (helo=83.161.120.155) by ganesh.iwpcp.com with smtp (Exim 4.20) id 19lSDU-0006qg-R4 for david04@example.net; Sat, 09 Aug 2003 17:19:01 +0530 Received: from velmurugan [83.161.120.155] by nsslocal.com [83.161.120.155] with SMTP (MDaemon.v2.7.SP5.R) for <david04@example.net>; Sat, 09 Aug 2003 17:11:15 +0530 Message-ID: <005301c35e6c$dd65efb0$40c809c0@velmurugan> From: "Velmurugan \(Java\)" <david04@example.net> To: <david04@example.net> Cc: <david04@example.net> Subject: Reg: Error Occurred in Ohioedge CRM. Date: Sat, 9 Aug 2003 17:23:32 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0050_01C35E9A.F553CBF0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-MDaemon-Deliver-To: david04@example.net X-Return-Path: david04@example.net X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ganesh.iwpcp.com X-AntiAbuse: Original Domain - jakarta.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - nallisoft.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0050_01C35E9A.F553CBF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All, When we run the application called "Ohioedge CRM" and got the following = error. Kindly help us how to trace out the solutions.I have followed all = the instrunctions which are given in installation document. Software's used. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1. JDK1.4.1 2. JBoss-3.2.1 Platform =3D=3D=3D=3D=3D=3D=3D Win-2K Professional. ERROR =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 2003-08-09 14:54:46,363 INFO [STDOUT] 1304306 [Thread-44] DEBUG = org.apache.torque.oid.IDBroker - IDBroker thread was started. 2003-08-09 14:54:48,365 WARN [org.apache.torque.oid.IDBroker] IDBroker = is being used with db 'default', which does not support transactions. = IDBroker attempts to use transactions to limit the possibility of = duplicate key generation. Without transactions, duplicate key = generation is possible if multiple JVMs are used or other means are used = to write to the database. 2003-08-09 14:54:48,375 INFO [STDOUT] 1306308 [PoolThread-9] WARN = org.apache.torque.oid.IDBroker - IDBroker is being used with db = 'default', which does not support transactions. IDBroker attempts to use = transactions to limit the possibility of duplicate key generation. = Without transactions, duplicate key generation is possible if multiple = JVMs are used or other means are used to write to the database. 2003-08-09 14:54:50,368 ERROR [org.apache.torque.util.BasePeer] = org.apache.torque.TorqueException: Connection is broken: Connection = refused: connect 2003-08-09 14:54:50,378 INFO [STDOUT] 1308311 [PoolThread-9] ERROR = org.apache.torque.util.BasePeer - org.apache.torque.TorqueException: = Connection is broken: Connection refused: connect 2003-08-09 14:54:50,388 ERROR [org.apache.torque.util.BasePeer] A FATAL = ERROR has occurred which should not have happened under any = circumstance. Please notify the Turbine developers = <david04@example.net> and give as many details as possible = (including the error stack trace). java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): = Connection is broken: Connection refused: david04@example.net(BasePeer.java:250) at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:225) at = org.apache.jetspeed.om.security.turbine.TurbineUserPeer.<clinit>(TurbineU= serPeer.java:90) at = org.apache.jetspeed.om.security.turbine.BaseTurbineUser.<clinit>(BaseTurb= ineUser.java:36) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at = org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(Bas= eTurbineUserPeer.java:141) at = org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.<clinit>(Base= TurbineUserPeer.java:128) at = org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUs= er(TurbineUserManagement.java:166) at = org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserM= anagement.java:98) at = org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAn= onymousUser(TurbineAuthentication.java:215) at = org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jets= peedAuthentication.java:107) at = org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSe= curity.java:159) at = org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(Te= mplateSessionValidator.java:97) at = org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Je= tspeedSessionValidator.java:103) at org.apache.turbine.modules.Action.perform(Action.java:87) at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at org.apache.turbine.Turbine.doGet(Turbine.java:521) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at = org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360) at = org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHa= ndler.java:294) at = org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558) at org.mortbay.http.HttpContext.handle(HttpContext.java:1714) at = org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCont= ext.java:507) at org.mortbay.http.HttpContext.handle(HttpContext.java:1664) at org.mortbay.http.HttpServer.service(HttpServer.java:863) at org.jboss.jetty.Jetty.service(Jetty.java:460) at org.mortbay.http.HttpConnection.service(HttpConnection.java:775) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792) at = org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)= at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Nalli SoftSolutions, Chennai Voice : 91.44.24323800-02. Email : david04@example.net Web : www.nallisoft.com ------=_NextPart_000_0050_01C35E9A.F553CBF0-- From david04@example.net Sat Aug 9 13:34:22 2003 Return-Path: <david04@example.net> Mailing-List: contact david04@example.net; run by ezmlm Delivered-To: mailing list david04@example.net Received: (qmail 23934 invoked from network); 9 Aug 2003 13:34:22 -0000 Received: from mail.hometree.net (83.161.120.155) by daedalus.apache.org with SMTP; 9 Aug 2003 13:34:22 -0000 Received: from tangens.hometree.net (IDENT:david04@example.net [83.161.120.155]) by mail.hometree.net (8.12.9/8.12.8) with ESMTP id h79DYMHM004197 for <david04@example.net>; Sat, 9 Aug 2003 15:34:22 +0200 Received: (from news@localhost) by tangens.hometree.net (8.12.9/8.12.8/Submit) id h79DYMPY004196 for david04@example.net; Sat, 9 Aug 2003 15:34:22 +0200 To: david04@example.net Path: not-for-mail From: "Henning P. Schmiedehausen" <david04@example.net> Newsgroups: hometree.jakarta.turbine.dev Subject: Argh. Maven. Again. Date: Sat, 9 Aug 2003 13:34:22 +0000 (UTC) Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Lines: 112 Message-ID: <david04@example.net> Reply-To: david04@example.net NNTP-Posting-Host: forge.intermeta.de X-Trace: tangens.hometree.net 1060436062 4195 83.161.120.155 (9 Aug 2003 13:34:22 GMT) X-Complaints-To: david04@example.net NNTP-Posting-Date: Sat, 9 Aug 2003 13:34:22 +0000 (UTC) X-Copyright: (C) 1996-2003 Henning Schmiedehausen User-Agent: nn/6.6.5 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, as the maven folks seem to be keen on "breaking unsuspecting applications which are forced to use our beta releases in new and different ways", the jakarta-turbine-2 build now breaks if you use the beta-10 release in a new and exciting way. To be exact, you get errors like this: /home/henning/jakarta-turbine-2/target/src/org/apache/turbine/services/security/torque/om/${basePrefix}TurbinePermission.java:29: class $basePrefixTurbinePermission is public, should be declared in a file named $basePrefixTurbinePermission.java public abstract class $basePrefixTurbinePermission extends BaseObject ^ /home/henning/jakarta-turbine-2/target/src/org/apache/turbine/services/security/torque/om/${basePrefix}TurbineRole.java:29: class $basePrefixTurbineRole is public, should be declared in a file named $basePrefixTurbineRole.java public abstract class $basePrefixTurbineRole extends BaseObject ^ /home/henning/jakarta-turbine-2/target/src/org/apache/turbine/services/security/torque/om/${basePrefix}TurbineGroup.java:29: class $basePrefixTurbineGroup is public, should be declared in a file named $basePrefixTurbineGroup.java and lots more. Of course this should not happen, because these errors come from the fact that this maven release suddently decided _not_ to respect the defaults set by a plugin (namely the maven-torque plugin) in its plugin.properties file. The fact that this didn't immediately pulled a beta-11 or beta-10.1 release with exact this one bug fixed, says much. So if you're actually using maven beta-10 and want to build the turbine code base, add the following lines to your build.properties, (which simply copy the defaults from the torque plugin and should be read by maven when starting the plugin. At least it did so in all releases up to beta-9). --- cut --- torque.addGetByNameMethod = true torque.addIntakeRetrievable = false torque.addSaveMethod = true torque.addTimeStamp = true torque.basePrefix = Base torque.complexObjectModel = true torque.useManagers = false torque.useClasspath = true torque.saveException = Exception --- cut --- I refuse to add this yet-another-work-around-our-buggy-build-tool fix to the CVS. I'm sick and tired of this. Oh, and while I'm ranting: If you're building this with a non-Sun, non-1.4 JDK (like one would do on e.g. daedalus.apache.org host), don't worry about this: [junit] [ERROR] TEST org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentServiceTest FAILED with Testcase: testGetAndUseTestComponent took 0.452 sec Caused an ERROR org.apache.avalon.excalibur.component.ComponentHandler: method initialize()V not found java.lang.NoSuchMethodError: org.apache.avalon.excalibur.component.ComponentHandler: method initialize()V not found This happens, because the powers that control the central ibiblio repository chose in their infinite wisdom to put jars on this central, for all, worldwide repository that are built with the JDK 1.4 or better. And as, anyone seriously working with java knows, some 3rd party (and even Sun!) 1.3 JDKs choke on jars built with 1.4 JDKs. These JDKs emit errors just like the one above. Gee, the power of breaking all 1.3 based builds in a single place is really amazing. Simply rebuild "avalon-excalibur/component" with a 1.3 JDK, put the jar in you're local repo and rerun. You don't believe me? Check out http://jakarta.apache.org/~henning/excalibur-component-1.1.jar-ibiblio vs. http://jakarta.apache.org/~henning/excalibur-component-1.1.jar-with-1.3
{'source': 'Apache Software Foundation Public Mail Archives'}