portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-462) Need to clean up Velocity logs, too many warnings and some errors even
Date Mon, 15 May 2006 14:45:08 GMT
    [ http://issues.apache.org/jira/browse/JS2-462?page=comments#action_12402321 ] 

Ate Douma commented on JS2-462:

One of the error messages is that the default global Velocity macros file VM_global_library.vm
isn't found.
Because Jetspeed doesn't provide this file, I've fixed this by correcting the initialization
of the default Velocity instance during VelocityViewServlet initialization,
as well as correcting Spring assembly of Velocity Engines for the adminVelocityEngine and
the AjaxVelocityEngine like this:

  <bean id="adminVelocityEngine" class="org.springframework.ui.velocity.VelocityEngineFactoryBean">
      <property name="resourceLoaderPath"><value>/WEB-INF/templates/</value></property>
      <property name="velocityProperties">
          <!-- clear out default global VM_global_library.vm leading to ERROR logging because
its not available -->
          <prop key="velocimacro.library"></prop>

> Need to clean up Velocity logs, too many warnings and some errors even
> ----------------------------------------------------------------------
>          Key: JS2-462
>          URL: http://issues.apache.org/jira/browse/JS2-462
>      Project: Jetspeed 2
>         Type: Improvement

>   Components: Layout
>     Versions: 2.0-FINAL
>  Environment: Tomcat 5.5.12 under windows 2000
>     Reporter: Yang Sie
>     Assignee: Ate Douma
>     Priority: Minor

> There are too many warnings and some error messages in velocity.log. Need a clean up.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message