You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2002/06/26 00:36:07 UTC
DO NOT REPLY [Bug 7639] -
init( {java.util.Properties} ) fails to set Velocity & VelocityEngine properties
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7639>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7639
init( {java.util.Properties} ) fails to set Velocity & VelocityEngine properties
------- Additional Comments From mikem@timerasolutions.com 2002-06-25 22:36 -------
I am seeing almost the same problem: Velocity 1.2, Tomcat 4.0.4 but using JDK
1.3.1. I have a webapp that runs fine under Weblogic, but when deploying it
under Tomcat, I can't get a template to display - same exception -
ResourceNotFoundException. Below is part of the velocity.log
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : initialization starting.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : adding VMs from VM library
template : ./templates/common/ewm_form_common.vm
Tue Jun 25 17:11:12 CDT 2002 [error] ResourceManager : unable to find
resource './templates/common/ewm_form_common.vm' in any resource loader.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : error using VM library
template ./templates/common/ewm_form_common.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource './templates/common/ewm_form_common.vm'
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : VM library template macro
registration complete.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : adding VMs from VM library
template : ./conf/guiconf.vm
Tue Jun 25 17:11:12 CDT 2002 [error] ResourceManager : unable to find
resource './conf/guiconf.vm' in any resource loader.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : error using VM library
template ./conf/guiconf.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource './conf/guiconf.vm'
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : VM library template macro
registration complete.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : adding VMs from VM library
template : ./templates/common/ewm_datetimeduration_common.vm
Tue Jun 25 17:11:12 CDT 2002 [error] ResourceManager : unable to find
resource './templates/common/ewm_datetimeduration_common.vm' in any resource
loader.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : error using VM library
template ./templates/common/ewm_datetimeduration_common.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource './templates/common/ewm_datetimeduration_common.vm'
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : VM library template macro
registration complete.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : adding VMs from VM library
template : ./templates/timepay/ewm_timepay_common.vm
Tue Jun 25 17:11:12 CDT 2002 [error] ResourceManager : unable to find
resource './templates/timepay/ewm_timepay_common.vm' in any resource loader.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : error using VM library
template ./templates/timepay/ewm_timepay_common.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource './templates/timepay/ewm_timepay_common.vm'
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : VM library template macro
registration complete.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : adding VMs from VM library
template : ./templates/reports/ewm_report_common.vm
Tue Jun 25 17:11:12 CDT 2002 [error] ResourceManager : unable to find
resource './templates/reports/ewm_report_common.vm' in any resource loader.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : error using VM library
template ./templates/reports/ewm_report_common.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource './templates/reports/ewm_report_common.vm'
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : VM library template macro
registration complete.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : adding VMs from VM library
template : ./templates/common/ewm_common_strings.vm
Tue Jun 25 17:11:12 CDT 2002 [error] ResourceManager : unable to find
resource './templates/common/ewm_common_strings.vm' in any resource loader.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : error using VM library
template ./templates/common/ewm_common_strings.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource './templates/common/ewm_common_strings.vm'
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : VM library template macro
registration complete.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : allowInline = true : VMs
can be defined inline in templates
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : allowInlineToOverride =
true : VMs defined inline may replace previous VM definitions
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : allowInlineLocal = false :
VMs defined inline will be global in scope if allowed.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : messages on : VM system
will output logging messages
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : autoload on : VM system
will automatically reload global library macros
Tue Jun 25 17:11:12 CDT 2002 [info] Velocimacro : initialization complete.
Tue Jun 25 17:11:12 CDT 2002 [info] Velocity successfully started.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>