You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Yang Sie (JIRA)" <je...@portals.apache.org> on 2006/01/05 15:10:01 UTC

[jira] Created: (JS2-462) Need to clean up Velocity logs, too many warnings and some errors even

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
    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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Closed: (JS2-462) Need to clean up Velocity logs, too many warnings and some errors even

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma closed JS2-462.
-------------------------

       Resolution: Fixed
    Fix Version/s: 2.1-dev
                   2.1

Fixed many common Velocity usage (and logging) problems.
Velocity is by no means perfect and it still produces WARNING and ERROR messages which really can be ignored.
Hopefully with the next version 1.5 it will have become a bit cleaner...  

> Need to clean up Velocity logs, too many warnings and some errors even
> ----------------------------------------------------------------------
>
>                 Key: JS2-462
>                 URL: https://issues.apache.org/jira/browse/JS2-462
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Layout
>    Affects Versions: 2.0-FINAL
>         Environment: Tomcat 5.5.12 under windows 2000
>            Reporter: Yang Sie
>         Assigned To: Ate Douma
>            Priority: Minor
>             Fix For: 2.1, 2.1-dev
>
>
> There are too many warnings and some error messages in velocity.log. Need a clean up.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (JS2-462) Need to clean up Velocity logs, too many warnings and some errors even

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
    [ 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">
        <props>
          <!-- clear out default global VM_global_library.vm leading to ERROR logging because its not available -->
          <prop key="velocimacro.library"></prop>
        </props>
      </property>
  </bean>


> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Assigned: (JS2-462) Need to clean up Velocity logs, too many warnings and some errors even

Posted by "Randy Watler (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-462?page=all ]

Randy Watler reassigned JS2-462:
--------------------------------

    Assign To: Randy Watler

> 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: Randy Watler
>     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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Assigned: (JS2-462) Need to clean up Velocity logs, too many warnings and some errors even

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-462?page=all ]

Ate Douma reassigned JS2-462:
-----------------------------

    Assign To: Ate Douma  (was: Randy Watler)

> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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