Warning about tools.xml
Christopher Schultz <[email protected]> Thu, 30 Jan 2014 20:30:25 -0500
| Newsgroups | gmane.comp.jakarta.velocity.user |
|---|---|
| Message-ID | <[email protected]> |
All,
I just noticed this warning in my startup logs:
Jan 30, 2014 8:21:33 PM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [trace] Searching for configuration at: /WEB-INF/tools.xml
Jan 30, 2014 8:21:33 PM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Loaded deprecated configuration from:
/WEB-INF/tools.xml
Jan 30, 2014 8:21:33 PM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [warn] Please upgrade to new "/WEB-INF/tools.xml"
format and conventional location. Support for "/WEB-INF/toolbox.xml"
format and conventional file name will be removed in a future version.
Jan 30, 2014 8:21:33 PM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Default tools configuration has been suppressed
to avoid conflicts with older application's context and toolbox definition.
Jan 30, 2014 8:21:33 PM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [trace] Searching for configuration at: /WEB-INF/tools.xml
Jan 30, 2014 8:21:33 PM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Loaded configuration from: /WEB-INF/tools.xml
Jan 30, 2014 8:21:33 PM org.apache.catalina.core.ApplicationContext log
INFO: Velocity [debug] Configuring factory with:
FactoryConfiguration from 4 sources with 2 toolboxes:
Toolbox 'application' with 1 properties [scope -auto-> application; ]
and 8 tools:
[lists 8 tools]
Toolbox 'request' with 2 properties [scope -auto-> request; xhtml
-auto-> true; ] and 7 tools:
[lists 7 tools]
I believe my toolbox file matches the "new" toolbox definition, and it
can be found under /WEB-INF/tools.xml:
<?xml version="1.0"?>
<!-- $Id: tools.xml 11728 2013-01-12 01:33:51Z schultz $ -->
<tools>
<toolbox scope="application">
<tool class="org.apache.velocity.tools.generic.AlternatorTool" />
[...]
</toolbox>
<toolbox scope="request" xhtml="true">
<tool class="org.apache.velocity.tools.struts.StrutsLinkTool" />
[...]
</toolbox>
</tools>
Am I missing something?
Thanks,
-chris
signature.asc
(application/pgp-signature, 924 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJS6vyxAAoJEBzwKT+lPKRYXuwQALfsYVcmrfkuo9Qh/gJUGN0X /VxzJm9Ypeok2pg39PKP9jSbsQ3H2TYMtK44NwFluvDIkQ/2uyDpr6QZPOJvYkD2 Jjse9ABwAFqFsVoNzBS3EDTzyA5bvAKquQN4Hd6nTDVdTIGaG7uYkd1gKyGkzjWH x3/zlxj0slV8gjsQlkQgKD3eq2bfhGnavtUOYVfQuqtBRKGRdjBOXRwpNK/uoicj l3EY5nI7Gx5qTeIjjDAYy85p0d9KOo8PaukXlM6vM9TseLB4JIYbB5zwrr/Su97d c/8RcOiQKqt9IeK0ZQMVG5kkWaVvutexD18KbWl0hdDX/FCqZuB1Sku0LagzGb8h ow8aL5ixtusii26pxcRtnsXEmO3ohrih0aMDwemXu3zyj69cADnJ0x6mAr3o9rlY XLC+vkEwBG6MAhi7oziS7fBgyNVy14Vc/zBrv+6p0kpyJ1HHEPMSddDouY0ULM6N adHE2OMGWOJSks4e9dKY2/LMJfX+P4Rn7+dRZaAu0Z4TbqI1oSt2ceJfOi871QzI 3Kobevpov75gZ4qjB4Ge/CREEKm5Whg8XpF09l6qYD9+v6zyIr4HdeAjOx4u24Rj Uic9IP5jU2XVel6Wkj6gugukA4Wv0OJjD/Q9m+7qnWMs4cSvVHqOJ4/SGc7ctpxv C1/s9dEz2M4WxD8/v5bZ =1SiR -----END PGP SIGNATURE-----