You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Marcos Pazo <ki...@gmail.com> on 2006/09/07 12:11:16 UTC
Whitespaces in rtf file
Hi,
I'm a novice user of Velocity.
I'm using it for change some rtf templates but I have a problem; when I have
a tag ($date, i.e) in the middle of a paragraph,the following word always
appears beaten to tag without spaces, if the tag have a different format,
color, font, capital letters etc..
Sorry for my bad English.
I hope you can help me.
Re: Whitespaces in rtf file
Posted by Marcos Pazo <ki...@gmail.com>.
Sorry, the result is:
and the result is:
La empresa UNA EMPRESA S.L.(CIF: 99999999X) situada en Madrid- provincia de
Madrid.
2006/9/7, Paul Loy <pa...@peoplesarchive.com>:
>
> Sorry, totally thought that was an internal email!
>
> Send us the template and we'll be able to help more.
>
> Paul
>
> Marcos Pazo wrote:
> > Hi,
> >
> > I'm a novice user of Velocity.
> > I'm using it for change some rtf templates but I have a problem; when
> > I have
> > a tag ($date, i.e) in the middle of a paragraph,the following word
> always
> > appears beaten to tag without spaces, if the tag have a different
> format,
> > color, font, capital letters etc..
> >
> > Sorry for my bad English.
> > I hope you can help me.
> >
>
> This email has been scanned by Postini.
> For more information please visit http://www.postini.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
Re: Velocity-Struts resin configuration
Posted by Nathan Bubna <nb...@gmail.com>.
On 9/8/06, Anton Tonchev <to...@xi-tec.com> wrote:
> Is there anything specific about using Resin as application server?
>
> I have two errors, when i try to deploy it:
>
> 1. the ActionServlet init is throwing an exception:
>
> [2006/09/08 23:08:43] org.apache.struts.action.ActionServlet: init
> [2006/09/08 23:08:44] null
> javax.servlet.UnavailableException
> at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
> at javax.servlet.GenericServlet.init(GenericServlet.java:82)
> at com.caucho.server.http.Application.createServlet(Application.java:3114)
> at com.caucho.server.http.Application.loadServlet(Application.java:3065)
> at com.caucho.server.http.Application.initServlets(Application.java:1923)
> at com.caucho.server.http.Application.init(Application.java:1849)
> at com.caucho.server.http.VirtualHost.init(VirtualHost.java:728)
> at com.caucho.server.http.ServletServer.initHosts(ServletServer.java:887)
> at com.caucho.server.http.ServletServer.initInternal(ServletServer.java:729)
> at com.caucho.server.http.ServletServer.init(ServletServer.java:538)
> at com.caucho.server.http.ResinServer.init(ResinServer.java:406)
> at com.caucho.server.http.ResinServer.main(ResinServer.java:1167)
> at com.caucho.server.http.HttpServer.main(HttpServer.java:103)
> [2006/09/08 23:08:44] init exception for `action'
That very weird. Have you tried asking user@struts.apache.org or the
Resin user list about this? I've never seen anything like it, and
i've never used Resin.
> 2. When i try to access a template i get the following error:
>
> VelocityViewServlet : Error processing the template
>
> java.lang.NullPointerException
> at org.apache.velocity.tools.struts.StrutsUtils.getMessageResources(Unknown Source)
> at org.apache.velocity.tools.struts.MessageResourcesTool.init(Unknown Source)
> at org.apache.velocity.tools.view.ViewToolInfo.getInstance(Unknown Source)
> at org.apache.velocity.tools.view.servlet.ServletToolboxManager.getToolbox(Unknown Source)
> at org.apache.velocity.tools.view.servlet.VelocityViewServlet.createContext(Unknown Source)
> at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(Unknown Source)
> at org.ait.diplom.servlets.VMServlet.doRequest(VMServlet.java:85)
> at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(Unknown Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
> at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
> at com.caucho.server.http.Invocation.service(Invocation.java:315)
> at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
> at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
> at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
> at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
> at java.lang.Thread.run(Thread.java:595)
Yeah, this latter error is because the Struts servlet hasn't been
initialized yet. VelocityStruts requires Struts to be initialized for
most of the Struts-specific tools to work.
> Any ideas would be greatly appreciated :)
>
> Regards.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Velocity-Struts resin configuration
Posted by Anton Tonchev <to...@xi-tec.com>.
Is there anything specific about using Resin as application server?
I have two errors, when i try to deploy it:
1. the ActionServlet init is throwing an exception:
[2006/09/08 23:08:43] org.apache.struts.action.ActionServlet: init
[2006/09/08 23:08:44] null
javax.servlet.UnavailableException
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
at javax.servlet.GenericServlet.init(GenericServlet.java:82)
at com.caucho.server.http.Application.createServlet(Application.java:3114)
at com.caucho.server.http.Application.loadServlet(Application.java:3065)
at com.caucho.server.http.Application.initServlets(Application.java:1923)
at com.caucho.server.http.Application.init(Application.java:1849)
at com.caucho.server.http.VirtualHost.init(VirtualHost.java:728)
at com.caucho.server.http.ServletServer.initHosts(ServletServer.java:887)
at com.caucho.server.http.ServletServer.initInternal(ServletServer.java:729)
at com.caucho.server.http.ServletServer.init(ServletServer.java:538)
at com.caucho.server.http.ResinServer.init(ResinServer.java:406)
at com.caucho.server.http.ResinServer.main(ResinServer.java:1167)
at com.caucho.server.http.HttpServer.main(HttpServer.java:103)
[2006/09/08 23:08:44] init exception for `action'
2. When i try to access a template i get the following error:
VelocityViewServlet : Error processing the template
java.lang.NullPointerException
at org.apache.velocity.tools.struts.StrutsUtils.getMessageResources(Unknown Source)
at org.apache.velocity.tools.struts.MessageResourcesTool.init(Unknown Source)
at org.apache.velocity.tools.view.ViewToolInfo.getInstance(Unknown Source)
at org.apache.velocity.tools.view.servlet.ServletToolboxManager.getToolbox(Unknown Source)
at org.apache.velocity.tools.view.servlet.VelocityViewServlet.createContext(Unknown Source)
at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(Unknown Source)
at org.ait.diplom.servlets.VMServlet.doRequest(VMServlet.java:85)
at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
at com.caucho.server.http.Invocation.service(Invocation.java:315)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:595)
Any ideas would be greatly appreciated :)
Regards.
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Whitespaces in rtf file
Posted by Angelo zerr <an...@gmail.com>.
Hello Marcos,
With RTFTemplate you can design your model with word without editing (with
notepad) your RTF model.
RTFTemplate manage simple field and list of field. RTFTemplate is based on
Velocity.
Process of RTFTemplate is :
1. read RTF file and trasform it to RTFDocument to detect mergefield ans
bookmark.
2. replace mergefield RTF code to remove the "" character and generate
#foreach when object context found is the list (see documentation) => in
this step you have velocity RTF file.
3. Merge JAVA context with the RTF velocity
I hope RTFTemplate will please you.
Regards Angelo
2006/9/7, Matthias Hendler <ma...@siv.de>:
>
> Hello Marcos,
>
> well, I use Velocity for processing plsql source code. I don't have
> experienced any problems with missing spaces and so while velocity
> inserts values.
> Only the #if ... #end and so on statements eat up whitespaces.
>
> As I don't know much about rtf (but willing to learn) it would really
> help us, if you can send us a short template where the problem occurs.
>
> Just some ideas, which you can verify.
> 1. Which velocity version you use?
> 2. Perhaps its a problem with the file loader? Or in general the way the
> rtf is loaded into memory?
> 3. Perhaps its a problem how the template is written to disk?
>
> Ciao Matthias
>
>
> Marcos Pazo schrieb:
>
> > We have already proven all ways, tabs, spaces..
> > the only form is to write the words without format but that is not
> > what we
> > want
> >
> > I will try RTFTemplate project although we would like to do it with
> > Velocity.
> >
> > Thank you
> >
> > 2006/9/7, Paul Loy <pa...@peoplesarchive.com>:
> >
> >>
> >> Are you sure that the spaces in the document are actually spaces and
> not
> >> tab characters?
> >>
> >> try explicitly changing them into spaces.
> >>
> >> Marcos Pazo wrote:
> >> > Template is:
> >> >
> >> > La empresa $expediente.razonSocial (CIF: $expediente.cif) situada en
> >> > $expediente.ciudad - provincia de $expediente.provincia
> >> >
> >> > and the result is:
> >> > La empresa UNA EMPRESA S.L.(CIF: 99999999X) situada en Madrid-
> >> > provincia de
> >> > Madrid.
> >> >
> >> > | |
> >> >
> >> > Too, it occurs with word which are not tags...
> >> >
> >> > Example:
> >> > (rtf template)
> >> > it's a template
> >> > (result)
> >> > it's atemplate
> >> >
> >> >
> >> >
> >> > 2006/9/7, Paul Loy <pa...@peoplesarchive.com>:
> >> >>
> >> >> Sorry, totally thought that was an internal email!
> >> >>
> >> >> Send us the template and we'll be able to help more.
> >> >>
> >> >> Paul
> >> >>
> >> >> Marcos Pazo wrote:
> >> >> > Hi,
> >> >> >
> >> >> > I'm a novice user of Velocity.
> >> >> > I'm using it for change some rtf templates but I have a problem;
> >> when
> >> >> > I have
> >> >> > a tag ($date, i.e) in the middle of a paragraph,the following word
> >> >> always
> >> >> > appears beaten to tag without spaces, if the tag have a different
> >> >> format,
> >> >> > color, font, capital letters etc..
> >> >> >
> >> >> > Sorry for my bad English.
> >> >> > I hope you can help me.
> >> >> >
> >> >>
> >> >> This email has been scanned by Postini.
> >> >> For more information please visit http://www.postini.com
> >> >>
> >> >>
> >> >>
> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> >> >> For additional commands, e-mail:
> >> velocity-user-help@jakarta.apache.org
> >> >>
> >> >>
> >> >
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> >>
> >>
> >
>
>
> --
> Mit freundlichen Grüßen
>
> Matthias Hendler
>
> Technologie
>
> SIV.AG
> Konrad-Zuse-Str. 1
> 18184 Roggentin
>
> Telefon: +49 (0)3 81 / 25 24 - 0
> Telefax: +49 (0)3 81 / 25 24 - 4 99
>
>
>
>
> mailto:matthias.hendler@siv.de
> http://www.siv.de
>
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential
> and intended solely for the use of the individual or entity
> to whom they are addressed. The views expressed in this
> e-mail are those of the individual author and not necessarily
> those of SIV.AG.
>
> This footnote also confirms that this email message has
> been swept by serval anti-virus tools for the presence
> of computer viruses.
> *********************************************************************
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
Re: Whitespaces in rtf file
Posted by Matthias Hendler <ma...@siv.de>.
Hello Marcos,
well, I use Velocity for processing plsql source code. I don't have
experienced any problems with missing spaces and so while velocity
inserts values.
Only the #if ... #end and so on statements eat up whitespaces.
As I don't know much about rtf (but willing to learn) it would really
help us, if you can send us a short template where the problem occurs.
Just some ideas, which you can verify.
1. Which velocity version you use?
2. Perhaps its a problem with the file loader? Or in general the way the
rtf is loaded into memory?
3. Perhaps its a problem how the template is written to disk?
Ciao Matthias
Marcos Pazo schrieb:
> We have already proven all ways, tabs, spaces..
> the only form is to write the words without format but that is not
> what we
> want
>
> I will try RTFTemplate project although we would like to do it with
> Velocity.
>
> Thank you
>
> 2006/9/7, Paul Loy <pa...@peoplesarchive.com>:
>
>>
>> Are you sure that the spaces in the document are actually spaces and not
>> tab characters?
>>
>> try explicitly changing them into spaces.
>>
>> Marcos Pazo wrote:
>> > Template is:
>> >
>> > La empresa $expediente.razonSocial (CIF: $expediente.cif) situada en
>> > $expediente.ciudad - provincia de $expediente.provincia
>> >
>> > and the result is:
>> > La empresa UNA EMPRESA S.L.(CIF: 99999999X) situada en Madrid-
>> > provincia de
>> > Madrid.
>> >
>> > | |
>> >
>> > Too, it occurs with word which are not tags...
>> >
>> > Example:
>> > (rtf template)
>> > it's a template
>> > (result)
>> > it's atemplate
>> >
>> >
>> >
>> > 2006/9/7, Paul Loy <pa...@peoplesarchive.com>:
>> >>
>> >> Sorry, totally thought that was an internal email!
>> >>
>> >> Send us the template and we'll be able to help more.
>> >>
>> >> Paul
>> >>
>> >> Marcos Pazo wrote:
>> >> > Hi,
>> >> >
>> >> > I'm a novice user of Velocity.
>> >> > I'm using it for change some rtf templates but I have a problem;
>> when
>> >> > I have
>> >> > a tag ($date, i.e) in the middle of a paragraph,the following word
>> >> always
>> >> > appears beaten to tag without spaces, if the tag have a different
>> >> format,
>> >> > color, font, capital letters etc..
>> >> >
>> >> > Sorry for my bad English.
>> >> > I hope you can help me.
>> >> >
>> >>
>> >> This email has been scanned by Postini.
>> >> For more information please visit http://www.postini.com
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>> >> For additional commands, e-mail:
>> velocity-user-help@jakarta.apache.org
>> >>
>> >>
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>>
>>
>
--
Mit freundlichen Grüßen
Matthias Hendler
Technologie
SIV.AG
Konrad-Zuse-Str. 1
18184 Roggentin
Telefon: +49 (0)3 81 / 25 24 - 0
Telefax: +49 (0)3 81 / 25 24 - 4 99
mailto:matthias.hendler@siv.de
http://www.siv.de
**********************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity
to whom they are addressed. The views expressed in this
e-mail are those of the individual author and not necessarily
those of SIV.AG.
This footnote also confirms that this email message has
been swept by serval anti-virus tools for the presence
of computer viruses.
*********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Whitespaces in rtf file
Posted by Marcos Pazo <ki...@gmail.com>.
We have already proven all ways, tabs, spaces..
the only form is to write the words without format but that is not what we
want
I will try RTFTemplate project although we would like to do it with
Velocity.
Thank you
2006/9/7, Paul Loy <pa...@peoplesarchive.com>:
>
> Are you sure that the spaces in the document are actually spaces and not
> tab characters?
>
> try explicitly changing them into spaces.
>
> Marcos Pazo wrote:
> > Template is:
> >
> > La empresa $expediente.razonSocial (CIF: $expediente.cif) situada en
> > $expediente.ciudad - provincia de $expediente.provincia
> >
> > and the result is:
> > La empresa UNA EMPRESA S.L.(CIF: 99999999X) situada en Madrid-
> > provincia de
> > Madrid.
> >
> > | |
> >
> > Too, it occurs with word which are not tags...
> >
> > Example:
> > (rtf template)
> > it's a template
> > (result)
> > it's atemplate
> >
> >
> >
> > 2006/9/7, Paul Loy <pa...@peoplesarchive.com>:
> >>
> >> Sorry, totally thought that was an internal email!
> >>
> >> Send us the template and we'll be able to help more.
> >>
> >> Paul
> >>
> >> Marcos Pazo wrote:
> >> > Hi,
> >> >
> >> > I'm a novice user of Velocity.
> >> > I'm using it for change some rtf templates but I have a problem; when
> >> > I have
> >> > a tag ($date, i.e) in the middle of a paragraph,the following word
> >> always
> >> > appears beaten to tag without spaces, if the tag have a different
> >> format,
> >> > color, font, capital letters etc..
> >> >
> >> > Sorry for my bad English.
> >> > I hope you can help me.
> >> >
> >>
> >> This email has been scanned by Postini.
> >> For more information please visit http://www.postini.com
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
> >>
> >>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
Re: Whitespaces in rtf file
Posted by Paul Loy <pa...@peoplesarchive.com>.
Are you sure that the spaces in the document are actually spaces and not
tab characters?
try explicitly changing them into spaces.
Marcos Pazo wrote:
> Template is:
>
> La empresa $expediente.razonSocial (CIF: $expediente.cif) situada en
> $expediente.ciudad - provincia de $expediente.provincia
>
> and the result is:
> La empresa UNA EMPRESA S.L.(CIF: 99999999X) situada en Madrid-
> provincia de
> Madrid.
>
> | |
>
> Too, it occurs with word which are not tags...
>
> Example:
> (rtf template)
> it's a template
> (result)
> it's atemplate
>
>
>
> 2006/9/7, Paul Loy <pa...@peoplesarchive.com>:
>>
>> Sorry, totally thought that was an internal email!
>>
>> Send us the template and we'll be able to help more.
>>
>> Paul
>>
>> Marcos Pazo wrote:
>> > Hi,
>> >
>> > I'm a novice user of Velocity.
>> > I'm using it for change some rtf templates but I have a problem; when
>> > I have
>> > a tag ($date, i.e) in the middle of a paragraph,the following word
>> always
>> > appears beaten to tag without spaces, if the tag have a different
>> format,
>> > color, font, capital letters etc..
>> >
>> > Sorry for my bad English.
>> > I hope you can help me.
>> >
>>
>> This email has been scanned by Postini.
>> For more information please visit http://www.postini.com
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Whitespaces in rtf file
Posted by Marcos Pazo <ki...@gmail.com>.
Template is:
La empresa $expediente.razonSocial (CIF: $expediente.cif) situada en
$expediente.ciudad - provincia de $expediente.provincia
and the result is:
La empresa UNA EMPRESA S.L.(CIF: 99999999X) situada en Madrid- provincia de
Madrid.
| |
Too, it occurs with word which are not tags...
Example:
(rtf template)
it's a template
(result)
it's atemplate
2006/9/7, Paul Loy <pa...@peoplesarchive.com>:
>
> Sorry, totally thought that was an internal email!
>
> Send us the template and we'll be able to help more.
>
> Paul
>
> Marcos Pazo wrote:
> > Hi,
> >
> > I'm a novice user of Velocity.
> > I'm using it for change some rtf templates but I have a problem; when
> > I have
> > a tag ($date, i.e) in the middle of a paragraph,the following word
> always
> > appears beaten to tag without spaces, if the tag have a different
> format,
> > color, font, capital letters etc..
> >
> > Sorry for my bad English.
> > I hope you can help me.
> >
>
> This email has been scanned by Postini.
> For more information please visit http://www.postini.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
Re: Whitespaces in rtf file
Posted by Paul Loy <pa...@peoplesarchive.com>.
Sorry, totally thought that was an internal email!
Send us the template and we'll be able to help more.
Paul
Marcos Pazo wrote:
> Hi,
>
> I'm a novice user of Velocity.
> I'm using it for change some rtf templates but I have a problem; when
> I have
> a tag ($date, i.e) in the middle of a paragraph,the following word always
> appears beaten to tag without spaces, if the tag have a different format,
> color, font, capital letters etc..
>
> Sorry for my bad English.
> I hope you can help me.
>
This email has been scanned by Postini.
For more information please visit http://www.postini.com
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Whitespaces in rtf file
Posted by Paul Loy <pa...@peoplesarchive.com>.
Whereabouts are you sitting? I've got a little experience with velocity,
Paul.
Marcos Pazo wrote:
> Hi,
>
> I'm a novice user of Velocity.
> I'm using it for change some rtf templates but I have a problem; when
> I have
> a tag ($date, i.e) in the middle of a paragraph,the following word always
> appears beaten to tag without spaces, if the tag have a different format,
> color, font, capital letters etc..
>
> Sorry for my bad English.
> I hope you can help me.
>
This email has been scanned by Postini.
For more information please visit http://www.postini.com
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org