From userkimberlybell@example.org Wed Dec 02 04:02:49 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 45480 invoked from network); 2 Dec 2009 04:02:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Dec 2009 04:02:49 -0000 Received: (qmail 28260 invoked by uid 500); 2 Dec 2009 04:02:49 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 28106 invoked by uid 500); 2 Dec 2009 04:02:47 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 28091 invoked by uid 99); 2 Dec 2009 04:02:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 04:02:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO smtpintpos.ustri.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 04:02:34 +0000 Received: from localhost (smtpintpos.ust-global.com [83.161.120.155]) by smtpintpos.ustri.com (UST Global Email Server) with ESMTP id 52E9A40AA for <kimberlybell@example.org>; Wed, 2 Dec 2009 09:32:12 +0530 (IST) X-Virus-Scanned: UST Global Antivirus kimberlybell@example.org Received: from smtpintpos.ustri.com ([83.161.120.155]) by UST Global Content Filter with ESMTP id 762reNsof1vl for <kimberlybell@example.org>; Wed, 2 Dec 2009 09:32:12 +0530 (IST) Received: from TRVMSG.ustr.com (unknown [83.161.120.155]) by smtpintpos.ustri.com (UST Global Email Server) with ESMTP id 2C926407A for <kimberlybell@example.org>; Wed, 2 Dec 2009 09:32:12 +0530 (IST) MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA7304.39E14C00" Subject: Problem when using CLOB for storing template in Oracle DB Date: Wed, 2 Dec 2009 09:31:21 +0530 Message-ID: <kimberlybell@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem when using CLOB for storing template in Oracle DB Thread-Index: AcpzBBuyIUmznXM4QwqexCHXNpWdQA== From: "Seema Richard" <kimberlybell@example.org> To: <kimberlybell@example.org> X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CA7304.39E14C00 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 We are using DataSourceResourceLoader for getting the velocity template from an Oracle table. This works fine when the template field is varchar. But when the field type was changed to CLOB, the content is empty. Is there any solution to this problem? =20 Here is the example code. =20 <code> import java.io.StringWriter; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; =20 import javax.sql.DataSource; =20 import org.apache.log4j.BasicConfigurator; import org.apache.log4j.Logger; import org.apache.velocity.Template; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; import org.apache.velocity.runtime.RuntimeConstants; import org.apache.velocity.runtime.resource.loader.DataSourceResourceLoader; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class Example2 { public static String LOGGER_NAME =3D "velexample"; =20 public static void main( String[] args ) throws Exception { ApplicationContext appContext =3D new ClassPathXmlApplicationContext("dataAccessContext-framework.xml"); DataSource dataSource =3D (DataSource)appContext.getBean("dataSource"); BasicConfigurator.configure(); =20 Logger log =3D Logger.getLogger( LOGGER_NAME ); =20 log.info("Log4jLoggerExample: ready to start velocity"); =20 /* * now create a new VelocityEngine instance, and * configure it to use the category */ =20 =20 VelocityEngine ve =3D new VelocityEngine(); =20 /* Setting the properties of the velocity engine */ DataSourceResourceLoader ds =3D new DataSourceResourceLoader(); ds.setDataSource(dataSource); ve.setProperty("resource.loader","ds"); ve.setProperty("ds.resource.loader.instance",ds); =20 ve.setProperty("ds.resource.loader.resource.table","TB_VELOCITY_TEMPLATE "); =20 ve.setProperty("ds.resource.loader.resource.keycolumn","TEMPLATE_ID"); // ve.setProperty("ds.resource.loader.resource.templatecolumn","TEMP_DEF"); =20 //ve.setProperty("ds.resource.loader.resource.templatecolumn","TEMPLATE_ LONG_DEFINITION"); =20 ve.setProperty("ds.resource.loader.resource.templatecolumn","TEMPLATE_DE FINITION"); =20 ve.setProperty("ds.resource.loader.resource.timestampcolumn","TIME_STAMP "); ve.setProperty("ds.resource.loader.cache","false"); =20 ve.setProperty("ds.resource.loader.modificationCheckInterval",60L); =20 ve.setProperty( RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS, "org.apache.velocity.runtime.log.Log4JLogChute" ); =20 ve.setProperty("runtime.log.logsystem.log4j.logger", LOGGER_NAME); =20 /* Initializing the velocity engine */ ve.init(); =20 /* next, get the Template */ Template t =3D ve.getTemplate("1"); //Template t =3D ve.getTemplate("template602"); System.out.println("111"+t.getData()); /* create a context and add data */ VelocityContext context =3D new VelocityContext(); context.put("user", "World"); /* now render the template into a StringWriter */ StringWriter writer =3D new StringWriter(); t.merge( context, writer ); /* show the World */ System.out.println("222"); System.out.println( writer.toString() );=20 System.out.println("333"); } } =20 </code> =20 Thanks, Seema =20 ------_=_NextPart_001_01CA7304.39E14C00-- From userkimberlybell@example.org Thu Dec 03 16:25:43 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 58479 invoked from network); 3 Dec 2009 16:25:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 16:25:43 -0000 Received: (qmail 5928 invoked by uid 500); 3 Dec 2009 16:25:43 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 5894 invoked by uid 500); 3 Dec 2009 16:25:42 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 5883 invoked by uid 99); 3 Dec 2009 16:25:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 16:25:42 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO p3plsmtpa01-02.prod.phx3.secureserver.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 03 Dec 2009 16:25:32 +0000 Received: (qmail 9723 invoked from network); 3 Dec 2009 16:25:10 -0000 Received: from unknown (83.161.120.155) by p3plsmtpa01-02.prod.phx3.secureserver.net (83.161.120.155) with ESMTP; 03 Dec 2009 16:25:10 -0000 Message-ID: <kimberlybell@example.org> Date: Thu, 03 Dec 2009 10:25:09 -0600 From: Steve Cohen <kimberlybell@example.org> User-Agent: Thunderbird 83.161.120.155 (X11/20090817) MIME-Version: 1.0 To: kimberlybell@example.org Subject: What's the easiest way X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org in Velocity to convert all blank spaces to &nbsp;? --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Thu Dec 03 21:21:51 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 24563 invoked from network); 3 Dec 2009 21:21:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 21:21:51 -0000 Received: (qmail 47504 invoked by uid 500); 3 Dec 2009 21:21:48 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 47494 invoked by uid 500); 3 Dec 2009 21:21:47 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 47484 invoked by uid 99); 3 Dec 2009 21:21:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 21:21:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-gx0-f228.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 21:21:38 +0000 Received: by gxk28 with SMTP id 28so1590335gxk.9 for <kimberlybell@example.org>; Thu, 03 Dec 2009 13:21:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=b5KanBsSEOZDPENawfE3VYa43wQt3AmiuPoxeoClpGU=; b=S3EC+zMfimd75ATKjVf4jb6nC/1Y/A+H+oDaO2pTtkO+divthrXF4NEgcu8yWlYe8u xui/OJIs8U7WFWz7dxaraJnb4Husa2T4CJktLNMKLFYvpMAt0wScD/ZrRYs5/KBs7GXu uiEegswAoxUWYBEjFadzYgNyFgrVen4VDrR1E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DnCebfzH/FfAn9meZ9hYAlHNC/aBlKkvF4Mrdnx2KE30F+5+6nSy58TZNOtKEm6fjx D/mRrtcbS7QeK+Uy7vENP/NYPiXwgZP57Oc4nu054w+CzD/7BuUyPURi1TGNT49o+dz3 dwM09yGUrFWxwuiWiDeyrjHqDc6KLkfHcZurQ= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id k21mr3333753aga.10.1259875276074; Thu, 03 Dec 2009 13:21:16 -0800 (PST) In-Reply-To: <kimberlybell@example.org> References: <kimberlybell@example.org> Date: Thu, 3 Dec 2009 13:21:16 -0800 Message-ID: <kimberlybell@example.org> Subject: Re: What's the easiest way From: Nathan Bubna <kimberlybell@example.org> To: Velocity Users List <kimberlybell@example.org> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org All blank spaces in what? A template, a section of a template, or a string or both? If a string, you can call all public java.lang.String methods, so if you use Java 5+, you can just avail yourself the replace methods. If a template, it depends on how you are a storing that resource. If a section of a template, you could wrap it in a #define block, render the block into a string and then use the string's replace method, as above. 2009/12/3 Steve Cohen <kimberlybell@example.org>: > in Velocity to convert all blank spaces to &nbsp;? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kimberlybell@example.org > For additional commands, e-mail: kimberlybell@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Thu Dec 03 21:33:31 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 33063 invoked from network); 3 Dec 2009 21:33:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 21:33:31 -0000 Received: (qmail 82770 invoked by uid 500); 3 Dec 2009 21:33:29 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 82751 invoked by uid 500); 3 Dec 2009 21:33:28 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 82741 invoked by uid 99); 3 Dec 2009 21:33:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 21:33:27 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO smtpauth19.prod.mesa1.secureserver.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 03 Dec 2009 21:33:18 +0000 Received: (qmail 23556 invoked from network); 3 Dec 2009 21:32:56 -0000 Received: from unknown (83.161.120.155) by smtpauth19.prod.mesa1.secureserver.net (83.161.120.155) with ESMTP; 03 Dec 2009 21:32:55 -0000 Message-ID: <kimberlybell@example.org> Date: Thu, 03 Dec 2009 15:32:55 -0600 From: Steve Cohen <kimberlybell@example.org> User-Agent: Thunderbird 83.161.120.155 (X11/20090817) MIME-Version: 1.0 To: Velocity Users List <kimberlybell@example.org> Subject: Re: What's the easiest way References: <kimberlybell@example.org> <kimberlybell@example.org> In-Reply-To: <kimberlybell@example.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Nathan Bubna wrote: > All blank spaces in what? A template, a section of a template, or a > string or both? If a string, you can call all public java.lang.String > methods, so if you use Java 5+, you can just avail yourself the > replace methods. If a template, it depends on how you are a storing > that resource. If a section of a template, you could wrap it in a > #define block, render the block into a string and then use the > string's replace method, as above. > > 2009/12/3 Steve Cohen <kimberlybell@example.org>: >> in Velocity to convert all blank spaces to &nbsp;? >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: kimberlybell@example.org >> For additional commands, e-mail: kimberlybell@example.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kimberlybell@example.org > For additional commands, e-mail: kimberlybell@example.org > > > Never mind, found out I didn't need to do it anyway. --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Wed Dec 09 21:50:55 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 33547 invoked from network); 9 Dec 2009 21:50:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 9 Dec 2009 21:50:55 -0000 Received: (qmail 82234 invoked by uid 500); 9 Dec 2009 21:50:55 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 82205 invoked by uid 500); 9 Dec 2009 21:50:54 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 82168 invoked by uid 99); 9 Dec 2009 21:50:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 21:50:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO OMailGW.sutterhealth.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 21:50:45 +0000 Received: from DCBL103VX.root.sutterhealth.org ([83.161.120.155]) by dcbl002ex.root.sutterhealth.org ([83.161.120.155]) with mapi; Wed, 9 Dec 2009 13:50:23 -0800 From: "George, Nixon" <kimberlybell@example.org> To: "'kimberlybell@example.org'" <kimberlybell@example.org> Date: Wed, 9 Dec 2009 13:50:22 -0800 Subject: Cannot find template in #parse Thread-Topic: Cannot find template in #parse Thread-Index: Acp5CGuZ9OnuLh6xQ+itTdOlxkoN+g== Message-ID: <kimberlybell@example.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_00716465ABF1D64CA128DB3AB5EDC9A7AA21527614DCBL103VXroot_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_00716465ABF1D64CA128DB3AB5EDC9A7AA21527614DCBL103VXroot_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am working on a web project that has a velocity template that uses a pars= e statement to include a sub-template BUT it is not able to find the sub-te= mplate.: #parse( "eventmain.vm" ) My velocity.properties file is configured with two resource loaders: resource.loader =3D url, webapp url.resource.loader.class =3D org.apache.velocity.runtime.resource.loader.U= RLResourceLoader url.resource.loader.cache =3D false webapp.resource.loader.description =3D Velocity File Resource Loader webapp.resource.loader.class =3D org.apache.velocity.tools.view.servlet.Web= appLoader webapp.resource.loader.path =3D /template webapp.resource.loader.cache =3D false Where do I need to place the sub-template eventmain.vm? The documentation s= ays TEMPLATE_ROOT but what is that in my case? Thanks, george --_000_00716465ABF1D64CA128DB3AB5EDC9A7AA21527614DCBL103VXroot_-- From userkimberlybell@example.org Thu Dec 10 14:29:52 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 3377 invoked from network); 10 Dec 2009 14:29:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Dec 2009 14:29:52 -0000 Received: (qmail 91681 invoked by uid 500); 10 Dec 2009 14:29:52 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 91646 invoked by uid 500); 10 Dec 2009 14:29:51 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 91636 invoked by uid 99); 10 Dec 2009 14:29:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 14:29:50 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO barracuda1.eventim.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 14:29:42 +0000 X-ASG-Debug-ID: 1260455357-4605004b0000-o1MXXv X-Barracuda-URL: http://barracuda1.eventim.de:8000/cgi-bin/mark.cgi Received: from EXCHANGE.eventim.ag (localhost [83.161.120.155]) by barracuda1.eventim.de (Spam & Virus Firewall) with ESMTP id E5C0711CC062 for <kimberlybell@example.org>; Thu, 10 Dec 2009 15:29:17 +0100 (CET) Received: from EXCHANGE.eventim.ag (zzctsw3s1.eventim.ag [83.161.120.155]) by barracuda1.eventim.de with ESMTP id M8c2FAeUoMwcCvUA for <kimberlybell@example.org>; Thu, 10 Dec 2009 15:29:17 +0100 (CET) X-Barracuda-Envelope-From: kimberlybell@example.org X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA79A5.271A5EB0" X-ASG-Orig-Subj: Caught in the while-loop Subject: Caught in the while-loop Date: Thu, 10 Dec 2009 15:29:08 +0100 Message-ID: <kimberlybell@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Caught in the while-loop thread-index: Acp5pSIvKUcvtIZmTXmk6G+RQjfh3Q== From: <kimberlybell@example.org> To: <kimberlybell@example.org> X-Barracuda-Connect: zzctsw3s1.eventim.ag[83.161.120.155] X-Barracuda-Start-Time: 1260455357 X-Barracuda-Virus-Scanned: by Eventim Spam kimberlybell@example.org X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CA79A5.271A5EB0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, =20 Recently I've noticed a high cpu load on my machine. The problem was a thread caught in the while loop from the HashMap class. Here is the stacktrace: =20 java.lang.Thread.State: kimberlybell@example.org(Unknown Source) at org.apache.velocity.util.introspection.ClassMap$MethodCache.get(ClassMap .java:249) at org.apache.velocity.util.introspection.ClassMap.findMethod(ClassMap.java :102) at org.apache.velocity.util.introspection.IntrospectorBase.getMethod(Intros pectorBase.java:105) at org.apache.velocity.util.introspection.Introspector.getMethod(Introspect or.java:94) at org.apache.velocity.runtime.parser.node.PropertyExecutor.discover(Proper tyExecutor.java:99) at org.apache.velocity.runtime.parser.node.PropertyExecutor.<init>(Property Executor.java:56) at org.apache.velocity.util.introspection.UberspectImpl.getPropertyGet(Uber spectImpl.java:246) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentif ier.java:148) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc e.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReferen ce.java:460) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpres sion.java:62) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState ment.java:85) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav a:336) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:260) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective .java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav a:336) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:260) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective .java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav a:336) at org.apache.velocity.Template.merge(Template.java:328) =20 It seems that the reason is concurrent access to the get and put methods of HashMap which are not synchronized. Is this the problem? =20 Best Regards, Johann ------_=_NextPart_001_01CA79A5.271A5EB0-- From userkimberlybell@example.org Thu Dec 10 15:22:49 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 25044 invoked from network); 10 Dec 2009 15:22:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Dec 2009 15:22:49 -0000 Received: (qmail 75086 invoked by uid 500); 10 Dec 2009 15:22:49 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 75076 invoked by uid 500); 10 Dec 2009 15:22:49 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 75066 invoked by uid 99); 10 Dec 2009 15:22:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 15:22:49 +0000 X-ASF-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_WEB X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail.gmx.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 10 Dec 2009 15:22:46 +0000 Received: (qmail invoked by alias); 10 Dec 2009 15:22:23 -0000 Received: from unknown (EHLO [83.161.120.155]) [83.161.120.155] by mail.gmx.net (mp061) with SMTP; 10 Dec 2009 16:22:23 +0100 X-Authenticated: #11410007 X-Provags-ID: V01U2FsdGVkX1+za5R/GoezbxU8cnXOIlEzKHkeOll7OWhmRpX14D UBEpWk33SJfwI4 Subject: Strange Velocity bug with $request.getRequestURL() in Tomcat 5.5 From: Manish <kimberlybell@example.org> To: "kimberlybell@example.org" <kimberlybell@example.org> Content-Type: text/plain Date: Thu, 10 Dec 2009 20:52:21 +0530 Message-Id: <1260458541.4174.7.camel@manish-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.65 I am facing strange issue in Tomcat 5.5 with velocity. This code works perfectly alright in Tomcat 5. I have following code in VTL to create some link dynamically - #set ($myURL = "$request.getRequestURL()?someFlag=true") Now this code results in following string in Tomcat 5 - $myURL = "http://myhost.com/path/abc.do?someFlag=true" Whereas in Tomcat 5.5, I get this - $myURL = "http://myhost.com/path/xyz.vm?someFlag=true" For some weird reason, I get VTL page name instead of the struts action? What could be causing this? And why it only takes place in Tomcat 5.5 and not in Tomcat 5? Any pointers, help would be highly appreciated! TIA, - manish --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Thu Dec 10 16:54:59 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 60922 invoked from network); 10 Dec 2009 16:54:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Dec 2009 16:54:59 -0000 Received: (qmail 52356 invoked by uid 500); 10 Dec 2009 16:54:58 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 52339 invoked by uid 500); 10 Dec 2009 16:54:58 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 52329 invoked by uid 99); 10 Dec 2009 16:54:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 16:54:58 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yx0-f178.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 16:54:56 +0000 Received: by yxe8 with SMTP id 8so7797771yxe.17 for <kimberlybell@example.org>; Thu, 10 Dec 2009 08:54:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=RL9fcwqroGNzYd4jDGa/ZCLI077PmWorh/dfYy0y5dM=; b=AQo+noGWoglqiEc9ATiBE0cWEgFZ5SEH4BD44H9YkEYlfkeixlQvwuCL/NQ/i6mA8P F+3c7sPK63SruaL7k+Z12UFHtwENcZQER/HiRTB/BN1rpS3nMbZVTPw4b/+c3xqRn7XU N7JvP4EpFUD0wjcumugaOoc3bXU6f7MYOdeoY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=jOte6qllPImivI1dUiYwt/9w9QGKyn+PnPMye6jp8KxOP6hJXF9dALZssnMsMoi0UM NZYiYtUkM+B+U9TPm2yY0ri0A9Y7b2KHnX1gZrSa5JAVMqkt2UD4p+zOaPU4BBmQj1jY K2lUcqGH52PgJrhrw1pQdxDYIvFZunlI/HPmQ= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id 13mr347609agn.117.1260464075177; Thu, 10 Dec 2009 08:54:35 -0800 (PST) In-Reply-To: <1260458541.4174.7.camel@manish-desktop> References: <1260458541.4174.7.camel@manish-desktop> Date: Thu, 10 Dec 2009 08:54:35 -0800 Message-ID: <kimberlybell@example.org> Subject: Re: Strange Velocity bug with $request.getRequestURL() in Tomcat 5.5 From: Nathan Bubna <kimberlybell@example.org> To: Velocity Users List <kimberlybell@example.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This is a question for the Tomcat user list. the $request reference is for their HttpServletRequest implementation. So this is some change what the getRequestURL() method does. Velocity is just used to call the method and has no control over what the method returns. That said, if i knew that answer, i'd tell you, but i can't see any obvious reason why Tomcat would be giving different answers if the only thing that you changed was upgrading from 5 to 5.5. 2009/12/10 Manish <kimberlybell@example.org>: > I am facing strange issue in Tomcat 5.5 with velocity. This code works > perfectly alright in Tomcat 5. I have following code in VTL to create > some link dynamically - > > =A0#set ($myURL =3D "$request.getRequestURL()?someFlag=3Dtrue") > > Now this code results in following string in Tomcat 5 - > > $myURL =3D "http://myhost.com/path/abc.do?someFlag=3Dtrue" > > Whereas in Tomcat 5.5, I get this - > > $myURL =3D "http://myhost.com/path/xyz.vm?someFlag=3Dtrue" > > For some weird reason, I get VTL page name instead of the struts action? > What could be causing this? And why it only takes place in Tomcat 5.5 > and not in Tomcat 5? > > Any pointers, help would be highly appreciated! > > TIA, > - manish > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kimberlybell@example.org > For additional commands, e-mail: kimberlybell@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Thu Dec 10 16:56:07 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 61362 invoked from network); 10 Dec 2009 16:56:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Dec 2009 16:56:07 -0000 Received: (qmail 54047 invoked by uid 500); 10 Dec 2009 16:56:07 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 54029 invoked by uid 500); 10 Dec 2009 16:56:07 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 54019 invoked by uid 99); 10 Dec 2009 16:56:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 16:56:07 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yw0-f196.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 16:56:05 +0000 Received: by ywh34 with SMTP id 34so7632902ywh.1 for <kimberlybell@example.org>; Thu, 10 Dec 2009 08:55:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=oJXtN2qyu6AXRjAqaGGFC1mPBRAVh38DdOx74s0sXWQ=; b=mVBO8EVZnlXtoPqimsjpt3fX04IlICjBO3foVbCvjxIOwwH7KZr1INFIpP0/1Vg3PH 01uOGbFUTg4Y36augm0iNHwIerD2MizgI3h5fsvyUgOFwIDMs0b3F4NIZ3OqJ9AUlx7b xK+rOo5ns/lOKGMoqp1MB/yZWtmPQ8nGdMpUc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=c2VdAA9UkQcHn9WAnaGabRKkoUei4E/FhnGgOteLgc29WBb9Y4gg9WhBeQbuokXljc GiA5DzZSMIoCkKcQF86O+eazgAIZWTz+HjDsg7KKngy0FSnrn860MYvXY4aXebKRSMSu KAUF5c7AgY8BDyeNEyjORW+kLdlZC99Ab4zHM= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id 10mr383450agk.51.1260464138525; Thu, 10 Dec 2009 08:55:38 -0800 (PST) In-Reply-To: <kimberlybell@example.org> References: <kimberlybell@example.org> Date: Thu, 10 Dec 2009 08:55:37 -0800 Message-ID: <kimberlybell@example.org> Subject: Re: Caught in the while-loop From: Nathan Bubna <kimberlybell@example.org> To: Velocity Users List <kimberlybell@example.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ick. Version? 2009/12/10 Johann.Weber <kimberlybell@example.org>: > Hi all, > > > > Recently I've noticed a high cpu load on my machine. The problem was a > thread caught in the while loop from the HashMap class. > > Here is the stacktrace: > > > > =A0 java.lang.Thread.State: RUNNABLE > > =A0 =A0 =A0 =A0 =A0 =A0at java.util.HashMap.get(Unknown Source) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.util.introspection.ClassMap$MethodCache.get(ClassMap > .java:249) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.util.introspection.ClassMap.findMethod(ClassMap.java > :102) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.util.introspection.IntrospectorBase.getMethod(Intros > pectorBase.java:105) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.util.introspection.Introspector.getMethod(Introspect > or.java:94) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.parser.node.PropertyExecutor.discover(Proper > tyExecutor.java:99) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.parser.node.PropertyExecutor.<init>(Property > Executor.java:56) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.util.introspection.UberspectImpl.getPropertyGet(Uber > spectImpl.java:246) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentif > ier.java:148) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc > e.java:252) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReferen > ce.java:460) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpres > sion.java:62) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState > ment.java:85) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav > a:336) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.directive.Parse.render(Parse.java:260) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective > .java:175) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav > a:336) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.directive.Parse.render(Parse.java:260) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective > .java:175) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav > a:336) > > =A0 =A0 =A0 =A0 =A0 =A0at org.apache.velocity.Template.merge(Template.jav= a:328) > > > > It seems that the reason is concurrent access to the get and put methods > of HashMap which are not synchronized. Is this the problem? > > > > Best Regards, > > Johann > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Thu Dec 10 17:35:29 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 83059 invoked from network); 10 Dec 2009 17:35:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Dec 2009 17:35:29 -0000 Received: (qmail 20620 invoked by uid 500); 10 Dec 2009 17:35:28 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 20591 invoked by uid 500); 10 Dec 2009 17:35:28 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 20580 invoked by uid 99); 10 Dec 2009 17:35:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 17:35:28 +0000 X-ASF-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_WEB X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail.gmx.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 10 Dec 2009 17:35:26 +0000 Received: (qmail invoked by alias); 10 Dec 2009 17:35:02 -0000 Received: from unknown (EHLO [83.161.120.155]) [83.161.120.155] by mail.gmx.net (mp025) with SMTP; 10 Dec 2009 18:35:02 +0100 X-Authenticated: #11410007 X-Provags-ID: V01U2FsdGVkX1/ZpJlEXWbZND4vckwnRfrcSfSNmaB0ddliRBdsdM Dov56uoaOan4gA Subject: Re: Strange Velocity bug with $request.getRequestURL() in Tomcat 5.5 From: Manish <kimberlybell@example.org> To: Velocity Users List <kimberlybell@example.org> In-Reply-To: <kimberlybell@example.org> References: <1260458541.4174.7.camel@manish-desktop> <kimberlybell@example.org> Content-Type: text/plain Date: Thu, 10 Dec 2009 23:05:00 +0530 Message-Id: <1260466500.4174.8.camel@manish-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.54 You're right Nathan! Here is the Tomcat bug, which actually is a fix - ;) https://issues.apache.org/bugzilla/show_bug.cgi?id=28222 - Manish On Thu, 2009-12-10 at 08:54 -0800, Nathan Bubna wrote: > This is a question for the Tomcat user list. the $request reference > is for their HttpServletRequest implementation. So this is some > change what the getRequestURL() method does. Velocity is just used to > call the method and has no control over what the method returns. That > said, if i knew that answer, i'd tell you, but i can't see any obvious > reason why Tomcat would be giving different answers if the only thing > that you changed was upgrading from 5 to 5.5. > > 2009/12/10 Manish <kimberlybell@example.org>: > > I am facing strange issue in Tomcat 5.5 with velocity. This code works > > perfectly alright in Tomcat 5. I have following code in VTL to create > > some link dynamically - > > > > #set ($myURL = "$request.getRequestURL()?someFlag=true") > > > > Now this code results in following string in Tomcat 5 - > > > > $myURL = "http://myhost.com/path/abc.do?someFlag=true" > > > > Whereas in Tomcat 5.5, I get this - > > > > $myURL = "http://myhost.com/path/xyz.vm?someFlag=true" > > > > For some weird reason, I get VTL page name instead of the struts action? > > What could be causing this? And why it only takes place in Tomcat 5.5 > > and not in Tomcat 5? > > > > Any pointers, help would be highly appreciated! > > > > TIA, > > - manish > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: kimberlybell@example.org > > For additional commands, e-mail: kimberlybell@example.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kimberlybell@example.org > For additional commands, e-mail: kimberlybell@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Thu Dec 10 23:59:31 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 59293 invoked from network); 10 Dec 2009 23:59:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 10 Dec 2009 23:59:31 -0000 Received: (qmail 11611 invoked by uid 500); 10 Dec 2009 23:59:30 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 11592 invoked by uid 500); 10 Dec 2009 23:59:30 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 11582 invoked by uid 99); 10 Dec 2009 23:59:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 23:59:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO barracuda1.eventim.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 23:59:22 +0000 X-ASG-Debug-ID: 1260489540-4a4800530000-o1MXXv X-Barracuda-URL: http://barracuda1.eventim.de:8000/cgi-bin/mark.cgi Received: from EXCHANGE.eventim.ag (localhost [83.161.120.155]) by barracuda1.eventim.de (Spam & Virus Firewall) with ESMTP id 04A0C11CC062 for <kimberlybell@example.org>; Fri, 11 Dec 2009 00:59:01 +0100 (CET) Received: from EXCHANGE.eventim.ag (zzctsw3s1.eventim.ag [83.161.120.155]) by barracuda1.eventim.de with ESMTP id HQhwxQLrj9LoDW6B for <kimberlybell@example.org>; Fri, 11 Dec 2009 00:59:01 +0100 (CET) X-Barracuda-Envelope-From: kimberlybell@example.org X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-ASG-Orig-Subj: AW: Caught in the while-loop Subject: AW: Caught in the while-loop Date: Fri, 11 Dec 2009 00:58:51 +0100 Message-ID: <kimberlybell@example.org> In-Reply-To: <kimberlybell@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Caught in the while-loop thread-index: Acp5uavGmB9mWhuHS2Wx4qWpwmTQ2gAOvjyw References: <kimberlybell@example.org> <kimberlybell@example.org> From: <kimberlybell@example.org> To: <kimberlybell@example.org> X-Barracuda-Connect: zzctsw3s1.eventim.ag[83.161.120.155] X-Barracuda-Start-Time: 1260489541 X-Barracuda-Virus-Scanned: by Eventim Spam kimberlybell@example.org X-Virus-Checked: Checked by ClamAV on apache.org Sorry, it's Apache Velocity v1.6.2 (compiled: 2009-02-19 16:29:46) -----Urspr=FCngliche Nachricht----- Von: Nathan Bubna [mailto:kimberlybell@example.org]=20 Gesendet: Donnerstag, 10. Dezember 2009 17:56 An: Velocity Users List Betreff: Re: Caught in the while-loop Ick. Version? 2009/12/10 Johann.Weber <kimberlybell@example.org>: > Hi all, > > > > Recently I've noticed a high cpu load on my machine. The problem was a > thread caught in the while loop from the HashMap class. > > Here is the stacktrace: > > > > =A0 java.lang.Thread.State: RUNNABLE > > =A0 =A0 =A0 =A0 =A0 =A0at java.util.HashMap.get(Unknown Source) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.util.introspection.ClassMap$MethodCache.get(ClassMap > .java:249) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.util.introspection.ClassMap.findMethod(ClassMap.java > :102) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.util.introspection.IntrospectorBase.getMethod(Intros > pectorBase.java:105) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.util.introspection.Introspector.getMethod(Introspect > or.java:94) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.runtime.parser.node.PropertyExecutor.discover(Proper > tyExecutor.java:99) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.runtime.parser.node.PropertyExecutor.<init>(Property > Executor.java:56) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.util.introspection.UberspectImpl.getPropertyGet(Uber > spectImpl.java:246) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentif > ier.java:148) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc > e.java:252) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReferen > ce.java:460) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpres > sion.java:62) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState > ment.java:85) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav > a:336) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.directive.Parse.render(Parse.java:260) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective > .java:175) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav > a:336) > > =A0 =A0 =A0 =A0 =A0 =A0at > org.apache.velocity.runtime.directive.Parse.render(Parse.java:260) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective > .java:175) > > =A0 =A0 =A0 =A0 =A0 =A0at > = org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav > a:336) > > =A0 =A0 =A0 =A0 =A0 =A0at = org.apache.velocity.Template.merge(Template.java:328) > > > > It seems that the reason is concurrent access to the get and put = methods > of HashMap which are not synchronized. Is this the problem? > > > > Best Regards, > > Johann > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Fri Dec 11 20:33:48 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 78145 invoked from network); 11 Dec 2009 20:33:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Dec 2009 20:33:48 -0000 Received: (qmail 78162 invoked by uid 500); 11 Dec 2009 20:33:48 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 78101 invoked by uid 500); 11 Dec 2009 20:33:47 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 78076 invoked by uid 99); 11 Dec 2009 20:33:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2009 20:33:46 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yw0-f193.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2009 20:33:44 +0000 Received: by ywh31 with SMTP id 31so1499752ywh.30 for <kimberlybell@example.org>; Fri, 11 Dec 2009 12:33:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=4sIXaIkmeEvhOcGqb4+kxNnAgkPKkRqtOc42/NQKNh4=; b=CL0LjrHYiUOGqJxCvz5zwl1a7Fn6B0/PDA7NSBYVBe3VB+OACZ8yhKHq1YTMZAnfWx 5pyEHQ7+IXmVs/bwck8dSNn/SykbHuWf1ORi5hT0j4BNJZZjiTa3DbQCCm1MKUmnIM5F YA6GuOsPj+FvK2HV9MfUlCMNd0Bf2m1krespY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=u2wcx7uXw06cpkVKi6cClSICrD+roGNurd1Mdw7RqFiCorLGtYFoha6peZ3r42rbvW vmRcUjXUH8P95MozAa822VHtsk7L+488OhoesuALgfMvWsp/P1nHGbUJ9Fr7MiGEwjAr EPhyOQ4Kc4CNWRJs3ZyjpgBT96lF1/pm1oFdw= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id 8mr2217052agu.35.1260563599838; Fri, 11 Dec 2009 12:33:19 -0800 (PST) In-Reply-To: <kimberlybell@example.org> References: <kimberlybell@example.org> <kimberlybell@example.org> <kimberlybell@example.org> Date: Fri, 11 Dec 2009 13:33:19 -0700 Message-ID: <kimberlybell@example.org> Subject: Re: Caught in the while-loop From: Nathan Bubna <kimberlybell@example.org> To: Velocity Users List <kimberlybell@example.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ick. I haven't time to investigate right now. Can you open a bug report so this is not forgotten? 2009/12/10 Johann.Weber <kimberlybell@example.org>: > Sorry, it's Apache Velocity v1.6.2 (compiled: 2009-02-19 16:29:46) > > -----Urspr=FCngliche Nachricht----- > Von: Nathan Bubna [mailto:kimberlybell@example.org] > Gesendet: Donnerstag, 10. Dezember 2009 17:56 > An: Velocity Users List > Betreff: Re: Caught in the while-loop > > Ick. =A0Version? > > 2009/12/10 Johann.Weber <kimberlybell@example.org>: >> Hi all, >> >> >> >> Recently I've noticed a high cpu load on my machine. The problem was a >> thread caught in the while loop from the HashMap class. >> >> Here is the stacktrace: >> >> >> >> =A0 java.lang.Thread.State: RUNNABLE >> >> =A0 =A0 =A0 =A0 =A0 =A0at java.util.HashMap.get(Unknown Source) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.util.introspection.ClassMap$MethodCache.get(ClassMap >> .java:249) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.util.introspection.ClassMap.findMethod(ClassMap.java >> :102) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.util.introspection.IntrospectorBase.getMethod(Intros >> pectorBase.java:105) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.util.introspection.Introspector.getMethod(Introspect >> or.java:94) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.parser.node.PropertyExecutor.discover(Proper >> tyExecutor.java:99) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.parser.node.PropertyExecutor.<init>(Property >> Executor.java:56) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.util.introspection.UberspectImpl.getPropertyGet(Uber >> spectImpl.java:246) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentif >> ier.java:148) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc >> e.java:252) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReferen >> ce.java:460) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpres >> sion.java:62) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState >> ment.java:85) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav >> a:336) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.directive.Parse.render(Parse.java:260) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective >> .java:175) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav >> a:336) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.directive.Parse.render(Parse.java:260) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective >> .java:175) >> >> =A0 =A0 =A0 =A0 =A0 =A0at >> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav >> a:336) >> >> =A0 =A0 =A0 =A0 =A0 =A0at org.apache.velocity.Template.merge(Template.ja= va:328) >> >> >> >> It seems that the reason is concurrent access to the get and put methods >> of HashMap which are not synchronized. Is this the problem? >> >> >> >> Best Regards, >> >> Johann >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kimberlybell@example.org > For additional commands, e-mail: kimberlybell@example.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kimberlybell@example.org > For additional commands, e-mail: kimberlybell@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Fri Dec 11 20:42:45 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 81669 invoked from network); 11 Dec 2009 20:42:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 11 Dec 2009 20:42:45 -0000 Received: (qmail 96661 invoked by uid 500); 11 Dec 2009 20:42:45 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 96647 invoked by uid 500); 11 Dec 2009 20:42:45 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 96636 invoked by uid 99); 11 Dec 2009 20:42:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2009 20:42:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yx0-f178.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2009 20:42:37 +0000 Received: by yxe8 with SMTP id 8so1262349yxe.17 for <kimberlybell@example.org>; Fri, 11 Dec 2009 12:42:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=p1HzV/lB3obNkSIUW7EETf1wLJ2iz567Atc/38hW3pA=; b=R/OqO162xiUfgAmFP0kXd+aES8RGOSetoxmfBiTnX4C30bzFJdA7al4m61Kke/icpq hIUo9phsFyZ5kdRbl2eqAdoGg1tItIPoc/VGBEfm3tCxg8Knn7zOH0XGj6xS0s88z86g XyfBEwg6dUJd8gAM/O86e1C/Fr2YKXecOsg/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=uQWZdpfGgPzZKbxIDCmyye4Lj6gHbUOTKVGbaxUIHk8pHDBTNoQxVws7T+u6Eg9YDT x+96fR7aGmVBTSYO75R108nc5shd5NhoA1WU/yulRI/p5qIt3+621w5iL2szpxuwWvqZ Djed0YFtVO2yY49S64LmcDCUA3gRjwE8Cv7ic= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id 10mr2152197agk.51.1260564136240; Fri, 11 Dec 2009 12:42:16 -0800 (PST) In-Reply-To: <kimberlybell@example.org> References: <kimberlybell@example.org> Date: Fri, 11 Dec 2009 13:42:16 -0700 Message-ID: <kimberlybell@example.org> Subject: Re: Cannot find template in #parse From: Nathan Bubna <kimberlybell@example.org> To: Velocity Users List <kimberlybell@example.org> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 2009/12/9 George, Nixon <kimberlybell@example.org>: > I am working on a web project that has a velocity template that uses a parse statement to include a sub-template BUT it is not able to find the sub-template.: > > #parse( "eventmain.vm" ) > > > My velocity.properties file is configured with two resource loaders: > > resource.loader = url, webapp > url.resource.loader.class = org.apache.velocity.runtime.resource.loader.URLResourceLoader > url.resource.loader.cache = false > webapp.resource.loader.description = Velocity File Resource Loader > webapp.resource.loader.class = org.apache.velocity.tools.view.servlet.WebappLoader > webapp.resource.loader.path = /template > webapp.resource.loader.cache = false > > Where do I need to place the sub-template eventmain.vm? The documentation says TEMPLATE_ROOT but what is that in my case? That would be your webapp.resource.loader.path property and the conspicuously absent url.resource.loader.root property. > Thanks, > george > > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Tue Dec 15 13:44:30 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 13116 invoked from network); 15 Dec 2009 13:44:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Dec 2009 13:44:30 -0000 Received: (qmail 42271 invoked by uid 500); 15 Dec 2009 13:44:30 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 42235 invoked by uid 500); 15 Dec 2009 13:44:29 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 42223 invoked by uid 99); 15 Dec 2009 13:44:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 13:44:28 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-pw0-f50.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 13:44:26 +0000 Received: by pwi20 with SMTP id 20so2851951pwi.29 for <kimberlybell@example.org>; Tue, 15 Dec 2009 05:44:06 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id h8mr4465457rvm.116.1260884645562; Tue, 15 Dec 2009 05:44:05 -0800 (PST) In-Reply-To: <kimberlybell@example.org> References: <kimberlybell@example.org> <kimberlybell@example.org> Date: Tue, 15 Dec 2009 13:44:05 +0000 Message-ID: <kimberlybell@example.org> Subject: Re: Include output from another servlet From: Ben Short <kimberlybell@example.org> To: Velocity Users List <kimberlybell@example.org> Content-Type: text/plain; charset=ISO-8859-1 Thanks for this information. Has anyone had any luck getting velocity tools 2 working with spring? 2009/11/12 Antonio Petrelli <kimberlybell@example.org>: > 2009/11/12 Ben Short <kimberlybell@example.org>: >> Using jsp I can include the output of another servlet using the following >> >> <jsp:include page="/another/servlet"/> >> >> Can the same thing be done with velocity? > > Try with the import tool: > http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/view/ImportTool.html > > Ciao > Antonio > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kimberlybell@example.org > For additional commands, e-mail: kimberlybell@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Tue Dec 15 16:58:09 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 2356 invoked from network); 15 Dec 2009 16:58:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Dec 2009 16:58:09 -0000 Received: (qmail 34510 invoked by uid 500); 15 Dec 2009 16:58:08 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 34476 invoked by uid 500); 15 Dec 2009 16:58:08 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 34466 invoked by uid 99); 15 Dec 2009 16:58:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 16:58:07 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-px0-f191.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 16:58:05 +0000 Received: by pxi29 with SMTP id 29so45103pxi.1 for <kimberlybell@example.org>; Tue, 15 Dec 2009 08:57:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=vDadvFka+wE8IiR2J36PF6y54OnGqQylNodhuFWX6/8=; b=a7k7LPjREbYspSGHBGv6UoP7FHDLGUyLqy5ezIOPCaoCpi0crHEc18XSSGVvHmLmbs dLHrMyvec1IvlxKWlM9XNk/KSFf7vBjI2Z37ZBaz6H+sqg31D9MtSfXbiOnnbSR/jt3M N7sBK/jxPl2Anq0d4ck09nObi0cPDZWVv5dtU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=KWnjlVqRRvaNp9zaTOvoP5fwM+n+Rz6ylnPvL7mhvuj1zYeYpsZKxBNMgZucrioh+e bZrhW6ALFTI2EhvKxnDHscoFN8PFTkWqH6i94jov5t1IKdRaC77/Qzm4sOw5LTBwuCqV 6mi6tWB0JNNvMscJeHfhGeH9FkYOygWODeoJA= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id 24mr4287967wfd.109.1260896265090; Tue, 15 Dec 2009 08:57:45 -0800 (PST) In-Reply-To: <kimberlybell@example.org> References: <kimberlybell@example.org> <kimberlybell@example.org> <kimberlybell@example.org> Date: Tue, 15 Dec 2009 09:57:44 -0700 Message-ID: <kimberlybell@example.org> Subject: Re: Include output from another servlet From: Nathan Bubna <kimberlybell@example.org> To: Velocity Users List <kimberlybell@example.org> Content-Type: text/plain; charset=ISO-8859-1 With Spring MVC? Yeah, i have that running in an app somewhere, not sure offhand. Did you have particular questions? On Tue, Dec 15, 2009 at 6:44 AM, Ben Short <kimberlybell@example.org> wrote: > Thanks for this information. > > Has anyone had any luck getting velocity tools 2 working with spring? > > 2009/11/12 Antonio Petrelli <kimberlybell@example.org>: >> 2009/11/12 Ben Short <kimberlybell@example.org>: >>> Using jsp I can include the output of another servlet using the following >>> >>> <jsp:include page="/another/servlet"/> >>> >>> Can the same thing be done with velocity? >> >> Try with the import tool: >> http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/view/ImportTool.html >> >> Ciao >> Antonio >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: kimberlybell@example.org >> For additional commands, e-mail: kimberlybell@example.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kimberlybell@example.org > For additional commands, e-mail: kimberlybell@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Tue Dec 15 16:58:14 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 2360 invoked from network); 15 Dec 2009 16:58:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Dec 2009 16:58:14 -0000 Received: (qmail 34922 invoked by uid 500); 15 Dec 2009 16:58:13 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 34881 invoked by uid 500); 15 Dec 2009 16:58:13 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 34871 invoked by uid 99); 15 Dec 2009 16:58:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 16:58:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-gx0-f211.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 16:58:05 +0000 Received: by gxk3 with SMTP id 3so73392gxk.1 for <kimberlybell@example.org>; Tue, 15 Dec 2009 08:57:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=vDadvFka+wE8IiR2J36PF6y54OnGqQylNodhuFWX6/8=; b=sAuhOQLbmmGgNMflFBUhySG6lxt/MuuccNa77I0gn6SWK1Gl7JCR6o9WpJTU2GWivu yYvnjWT4Ol/Yj8hVVYXpUvkhCFLsj54Xwo2zPqMVD4QwLxfRdnZZbddQH9PK/Oj6e6DJ C1ou63oRwMnAhFjBwUYhLjOnFEbrDE9mwb4xo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=sAZFcnYpjMhukEXcZTaiZIboYZYFJslee6iBIQisMirQs8VjBAI4nJHS94AK2XVncq GasgyIPIvIkoDOh3KwlQEpgyxGxPP2HeReX6wi514E6YvyysJKxZ0xyPuWuDmB/wfbrv eqPRWK3DDmrTJW9Si5ao1qO+5PDpuxyjMJW3s= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id p3mr690949agg.22.1260896251071; Tue, 15 Dec 2009 08:57:31 -0800 (PST) In-Reply-To: <kimberlybell@example.org> References: <kimberlybell@example.org> <kimberlybell@example.org> <kimberlybell@example.org> Date: Tue, 15 Dec 2009 09:57:30 -0700 Message-ID: <kimberlybell@example.org> Subject: Re: Include output from another servlet From: Nathan Bubna <kimberlybell@example.org> To: Velocity Users List <kimberlybell@example.org> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org With Spring MVC? Yeah, i have that running in an app somewhere, not sure offhand. Did you have particular questions? On Tue, Dec 15, 2009 at 6:44 AM, Ben Short <kimberlybell@example.org> wrote: > Thanks for this information. > > Has anyone had any luck getting velocity tools 2 working with spring? > > 2009/11/12 Antonio Petrelli <kimberlybell@example.org>: >> 2009/11/12 Ben Short <kimberlybell@example.org>: >>> Using jsp I can include the output of another servlet using the following >>> >>> <jsp:include page="/another/servlet"/> >>> >>> Can the same thing be done with velocity? >> >> Try with the import tool: >> http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/view/ImportTool.html >> >> Ciao >> Antonio >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: kimberlybell@example.org >> For additional commands, e-mail: kimberlybell@example.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kimberlybell@example.org > For additional commands, e-mail: kimberlybell@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Thu Dec 17 20:31:35 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 94815 invoked from network); 17 Dec 2009 20:31:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 17 Dec 2009 20:31:35 -0000 Received: (qmail 12666 invoked by uid 500); 17 Dec 2009 20:31:35 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 12628 invoked by uid 500); 17 Dec 2009 20:31:34 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 12618 invoked by uid 99); 17 Dec 2009 20:31:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 20:31:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-bw0-f223.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 20:31:26 +0000 Received: by bwz23 with SMTP id 23so1799845bwz.29 for <kimberlybell@example.org>; Thu, 17 Dec 2009 12:31:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=2AQsuTjialIvYpmuxLM5iSlJ//WcgP7W8SXy8UM1oG8=; b=PXAvnHcx3ys/MeEV+fCiAYU39XIxE4BOrkgGnYc1FJz5hdJz0016wpj5lf2DHzchfz PLUgoORh29+SrrMEeRTjGsofO+hU3/DRXaJR5RabUyWc1/AR2QZKQYImxm3vSxGvjFK6 z37zFHmaBKOg8vkMBm31ZNkk+o8fEKUadympg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=VShG5FCU67MKX/6BiA5vZJ6p8tBZDAAGxaaibtSFd6hmKa7JfioOOVo6KkMpYBQ2bt JlG+aVLqorO1OcoLk32uGgD/xvDtL8kFF3c1IGfNnnN1TFAlHF4S/ONUYXlB3XGcH89B 2c6CNQ/IeTpUZPCHFEu1CEWLIKahcXoT7kDUQ= MIME-Version: 1.0 Sender: kimberlybell@example.org Received: by 83.161.120.155 with SMTP id h3mr1787688bkd.53.1261081864603; Thu, 17 Dec 2009 12:31:04 -0800 (PST) Date: Thu, 17 Dec 2009 20:31:04 +0000 X-Google-Sender-Auth: 53d30596c21f8199 Message-ID: <kimberlybell@example.org> Subject: Macros in macros From: Jude Robinson <kimberlybell@example.org> To: Velocity Users List <kimberlybell@example.org> Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi all - a concise question about VTL performance: referencing macros from within macros seems to be very expensive - do you know why this is? --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Thu Dec 17 23:44:25 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 26837 invoked from network); 17 Dec 2009 23:44:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 17 Dec 2009 23:44:25 -0000 Received: (qmail 62171 invoked by uid 500); 17 Dec 2009 23:44:24 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 62122 invoked by uid 500); 17 Dec 2009 23:44:23 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 62109 invoked by uid 99); 17 Dec 2009 23:44:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 23:44:23 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yx0-f178.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 23:44:17 +0000 Received: by yxe8 with SMTP id 8so2706631yxe.17 for <kimberlybell@example.org>; Thu, 17 Dec 2009 15:43:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=CDO6NrPDKfZAKFLtI0JAefdgXhbyCbLkah55v47s9t0=; b=TTc8C6vRSXUBVroL3n8YKIY6LxKUTzZVyXj/0eYLKMyduC+Tq4I8/PXl0sOjXEA+qM aIp1JDB2gxnBxW/EbUKk1iMByyf1qezYoGar5CEvkP2S1AQykrZuY+EGJAYVn/Qs5GeR 1AzjBgndBzwAwkWAo4XVcB6bCZMeghh6IqD6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=FjHjz3Mq2D/7rhHZPJMbm6lt7KAWuqSBeFLRUk5reSfnKs/v6ep4h79H+huB5UW+8o koB/M0vsmWSAZRu7EEkPvnfPuJOPzZvkVZgej6ni9OqXFF4aw7Ihnpq502nJKRnn9cUx RxwelWDdupapEZPvxpu1a2SqPQQEkW1c977XU= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id n32mr2203633ago.107.1261093432534; Thu, 17 Dec 2009 15:43:52 -0800 (PST) In-Reply-To: <kimberlybell@example.org> References: <kimberlybell@example.org> Date: Thu, 17 Dec 2009 16:43:52 -0700 Message-ID: <kimberlybell@example.org> Subject: Re: Macros in macros From: Nathan Bubna <kimberlybell@example.org> To: Velocity Users List <kimberlybell@example.org> Content-Type: text/plain; charset=ISO-8859-1 Expensive in cycles or memory? And in what version? Much optimization has been done, and i've yet to notice trouble in 1.6+ (at least compared to previous). On Thu, Dec 17, 2009 at 1:31 PM, Jude Robinson <kimberlybell@example.org> wrote: > Hi all - a concise question about VTL performance: referencing macros > from within macros seems to be very expensive - do you know why this > is? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: kimberlybell@example.org > For additional commands, e-mail: kimberlybell@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Fri Dec 18 00:22:56 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 39577 invoked from network); 18 Dec 2009 00:22:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 18 Dec 2009 00:22:56 -0000 Received: (qmail 96905 invoked by uid 500); 18 Dec 2009 00:22:56 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 96862 invoked by uid 500); 18 Dec 2009 00:22:55 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 96852 invoked by uid 99); 18 Dec 2009 00:22:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 00:22:55 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-bw0-f223.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 00:22:49 +0000 Received: by bwz23 with SMTP id 23so1912836bwz.29 for <kimberlybell@example.org>; Thu, 17 Dec 2009 16:22:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=hGwerBAei+8A7V8Pn/bExCoHSXdwbZGiNPlk2qDNgMs=; b=s4WB2jNryO0gAK0arvUkWya9jbzU9mN6BNryIsSbqWRUeh+BaVg/3ahNFCPk1/GDmG bF+PLYJolXI4YbOvEYPFDDzKwJJCXPqDSIf/ZL9QeNfsSF0iLY5k5sW2FyMjUQH0cmu6 nJRNUyBY38u8Q0a1gBEW7vjNaRlgMUkD6ObsU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=jq46bgMQvWs4fzgzDDNUzH4TvAvD6SqCewmna4iO5ze4bffgrIpqln1BpD3WtzozEA 2BmGOMTJ7TJptRjq5gCtCTQ0wvRSftQbqeV/YnqBYxu0JpFE4auENqQrLF8cCx4HRuF0 q1p15LWYiCgp2FDV6CBNIIEHLKYLsetfYWl5Y= MIME-Version: 1.0 Sender: kimberlybell@example.org Received: by 83.161.120.155 with SMTP id x19mr1902396bkb.189.1261095747584; Thu, 17 Dec 2009 16:22:27 -0800 (PST) In-Reply-To: <kimberlybell@example.org> References: <kimberlybell@example.org> <kimberlybell@example.org> Date: Fri, 18 Dec 2009 00:22:27 +0000 X-Google-Sender-Auth: d7c9c437fa667f96 Message-ID: <kimberlybell@example.org> Subject: Re: Macros in macros From: Jude Robinson <kimberlybell@example.org> To: Velocity Users List <kimberlybell@example.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable > Expensive in cycles or memory? =A0And in what version? =A0Much > optimization has been done, and i've yet to notice trouble in 1.6+ (at > least compared to previous). Sorry, should have stated the version: 1.6.2 In terms of cycles or memory: cycles *I guess* =85 I've simply noticed that when using apache bench on a page consisting of a few calls to a macro that references other macros - when said references to macros are replaced with the code contained in those macros the average response time drops significantly. Be gentle with me =85 I'm just a simple clientsider =85 --------------------------------------------------------------------- To unsubscribe, e-mail: kimberlybell@example.org For additional commands, e-mail: kimberlybell@example.org From userkimberlybell@example.org Fri Dec 18 00:28:08 2009 Return-Path: <userkimberlybell@example.org> Delivered-To: kimberlybell@example.org Received: (qmail 40143 invoked from network); 18 Dec 2009 00:28:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 18 Dec 2009 00:28:08 -0000 Received: (qmail 98198 invoked by uid 500); 18 Dec 2009 00:28:07 -0000 Delivered-To: kimberlybell@example.org Received: (qmail 98133 invoked by uid 500); 18 Dec 2009 00:28:07 -0000 Mailing-List: contact kimberlybell@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:kimberlybell@example.org> List-Unsubscribe: <mailto:kimberlybell@example.org> List-Post: <mailto:kimberlybell@example.org> List-Id: <user.velocity.apache.org> Reply-To: "Velocity Users List" <kimberlybell@example.org> Delivered-To: mailing list kimberlybell@example.org Received: (qmail 98123 invoked by uid 99); 18 Dec 2009 00:28:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 00:28:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kimberlybell@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-bw0-f223.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 00:27:59 +0000 Received: by bwz23 with SMTP id 23so1914589bwz.29 for <kimberlybell@example.org>; Thu, 17 Dec 2009 16:27:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ZyRBjmWJc3emfFBttRO8Y6eO/resDeIuvRwZwix7eX8=; b=Ifg87xfEy7GjHcZpyFGyvFAYnQ+9kjp+uaLzhhpL7XZOSWT2bA/KU62BI7cPrY1a6J BxpOhzR5nV72oZyokS53XOk/iw8c2V3V/Rq7hD07DXoarj/elB/XpVZFBMK6uw/Y6VzP fFNKgc4G/toSg5G4p7e/nqbsaurPVzx7SFNMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=QXNFs8/Ry66mg8IK/gxz1YzqjPZBTfQVADjOXG20hM2Xn9Iaf9QGOL/xIYqfADBX3w 2/ezlLPRwGcg752dO7NFW6Axn7IGDvMOt1g0JBZKhC6eY1r6yQk/OM0pUXG8HI4jwV3E toZw7nPdPDAQ+pAmftMetXPCq+1vhXb4HsL6M= MIME-Version: 1.0 Sender: kimberlybell@example.org Received: by 83.161.120.155 with SMTP id i1mr1934436bkd.75.1261096059311; Thu, 17 Dec 2009 16:27:39 -0800 (PST) In-Reply-To: <kimberlybell@example.org> References: <kimberlybell@example.org> <kimberlybell@example.org> <kimberlybell@example.org> Date: Fri, 18 Dec 2009 00:27:39 +0000 X-Google-Sender-Auth: b2d105e81d217cf8 Message-ID: <kimberlybell@example.org> Subject: Re: Macros in
{'source': 'Apache Software Foundation Public Mail Archives'}