1 Feb 16:12
[jira] [Commented] (VELOCITY-719) Unwritable velocity.log appears to cause Velocity initialization to fail, leaving velocity dead and useless.
Georg Kallidis (Commented) (JIRA <dev <at> velocity.apache.org>
2012-02-01 15:12:58 GMT
2012-02-01 15:12:58 GMT
[
https://issues.apache.org/jira/browse/VELOCITY-719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197896#comment-13197896
]
Georg Kallidis commented on VELOCITY-719:
-----------------------------------------
may be this is related. The definition in TR.properties
services.VelocityService.runtime.log=/log/velocity.log
If using as VelocityService org.apache.turbine.services.velocity.TurbineVelocityService in
createVelocityProperties(..) you find a condition: if (!key.endsWith(RESOURCE_LOADER_PATH) {...
continue } and only after pathes are resolved relative to the web-app. IF you consider this, then e.g
defining runtime.log as above you end up (in may case) with a log in C:/log/velocity.log.
> Unwritable velocity.log appears to cause Velocity initialization to fail, leaving velocity dead and
useless.
> -------------------------------------------------------------------------------------------------------------
>
> Key: VELOCITY-719
> URL: https://issues.apache.org/jira/browse/VELOCITY-719
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.6.2
> Reporter: Cott Lang
>
> When we upgraded to 1.6.2 from 1.5.0, we began experiencing failures:
(Continue reading)
RSS Feed