You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(68) |
Dec
(77) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(75) |
Feb
(84) |
Mar
(89) |
Apr
(96) |
May
(52) |
Jun
(73) |
Jul
(99) |
Aug
(46) |
Sep
(40) |
Oct
(46) |
Nov
(45) |
Dec
(25) |
2004 |
Jan
(13) |
Feb
(74) |
Mar
(40) |
Apr
(18) |
May
(31) |
Jun
(1) |
Jul
(16) |
Aug
(1) |
Sep
(21) |
Oct
(19) |
Nov
(10) |
Dec
(16) |
2005 |
Jan
(4) |
Feb
(12) |
Mar
(46) |
Apr
(33) |
May
(64) |
Jun
(1) |
Jul
(60) |
Aug
(31) |
Sep
(26) |
Oct
(24) |
Nov
(37) |
Dec
(10) |
2006 |
Jan
(3) |
Feb
(31) |
Mar
(122) |
Apr
(22) |
May
(4) |
Jun
|
Jul
|
Aug
(2) |
Sep
(4) |
Oct
(8) |
Nov
(3) |
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(8) |
From: Marc P. <ma...@an...> - 2006-09-22 18:10:54
|
On 22 Sep 2006, at 13:17, <Tap...@ti...> wrote: > Hello, > > I'm getting the following log, when I run my web-application. > The error is on the last line of the log. > What is the solution to this problem, can anyone help me? > > 06/09/22 14:43:57.78 sepe: WebMacro:engine ERROR Attempted to write > an undefined variable: $fx at D:\Oracle\product\10.1.3\OracleAS_1 > \j2ee\home\applications\sepe\sepe\WEB-INF\classes\SepeMap.wm:45.86 There is a reference to a variable $fx in SepeMap.wm but there is no value assigned to $fx. Marc ~ ~ ~ Marc Palmer (ma...@an...) Consultant/Analyst AnyWare Ltd. http://www.anyware.co.uk/ |
From: Keats K. <ke...@xa...> - 2006-09-22 16:10:52
|
The error message is pretty self-explanatory: 06/09/22 14:43:57.78 sepe: WebMacro:engine ERROR Attempted to write an undefined variable: $fx at D:\Oracle\product\10.1.3\OracleAS_1\j2ee\home\applications\sepe\sepe\WEB-INF\classes\SepeMap.wm:45.86 This means that at line 45, column 86 of the above template you are attempting to write out the value of a variable called $fx which has not been defined. You can guard against this in your template with an #if test, e.g., #if ($fx) { $fx } or you could set a default value for the variable (see http://webmacro.org/DefaultDirective): #default $fx This will set $fx to an empty string if it doesn't have a value. Hope this helps. Keats Tap...@ti... wrote: > Hello, > > I'm getting the following log, when I run my web-application. > The error is on the last line of the log. > What is the solution to this problem, can anyone help me? > > > > 06/09/22 14:43:44.203 sepe: WebMacro:LogFile NOTICE --- Log Started --- > 06/09/22 14:43:44.203 sepe: WebMacro:broker NOTICE Loaded settings from WebMacro.defaults, WEB-INF/WebMacro.properties, (WAR file), (System Properties) > 06/09/22 14:43:44.203 sepe: WebMacro:resource INFO SimpleCacheManager.PropertyOperator > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property CachingProvider.template.CacheManager: org.webmacro.resource.ReloadingCacheManager > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property CachingProvider.url.CacheManager: org.webmacro.resource.ReloadingCacheManager > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ContextAutoLoaders.ContextTools: org.webmacro.broker.DefaultContextAutoLoader > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ContextAutoLoaders.WebContextTools: org.webmacro.broker.DefaultContextAutoLoader > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ContextTools: > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ContextTools.List: org.webmacro.servlet.ListTool > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ContextTools.Math: org.webmacro.servlet.MathTool > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ContextTools.Text: org.webmacro.servlet.TextTool > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ContextTools.Type: org.webmacro.servlet.TypeTool > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ContextTools.Variable: org.webmacro.servlet.VariableTool > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property DelegatingTemplateProvider.EmulateTemplatePath: true > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives: > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.alternate: org.webmacro.directive.AlternateDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.attribute: org.webmacro.directive.AttributeDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.bean: org.webmacro.directive.BeanDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.comment: org.webmacro.directive.CommentDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.const: org.webmacro.directive.AttributeDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.count: org.webmacro.directive.CountDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.default: org.webmacro.directive.DefaultDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.eval: org.webmacro.directive.EvalDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.foreach: org.webmacro.directive.ForeachDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.if: org.webmacro.directive.IfDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.include: org.webmacro.directive.IncludeDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.macro: org.webmacro.directive.MacroDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.param: org.webmacro.directive.ParamDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.parse: org.webmacro.directive.IncludeDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.set: org.webmacro.directive.SetDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.setblock: org.webmacro.directive.SetblockDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.setprops: org.webmacro.directive.SetpropsDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.templet: org.webmacro.directive.TempletDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.text: org.webmacro.directive.TextDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives.type: org.webmacro.directive.TypeDirective > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Encoder.*.CacheManager: org.webmacro.resource.SimpleCacheManager > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ErrorTemplate: error.wm > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ErrorVariable: error > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ExceptionHandler: org.webmacro.engine.DefaultEvaluationExceptionHandler > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property FastWriter.DefaultBufferSize: 4096 > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.HTMLEscape: org.webmacro.util.HTMLEscaper.escape > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.URLDecode: org.webmacro.servlet.TextTool.URLDecode > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.URLEncode: org.webmacro.servlet.TextTool.URLEncode > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.abs: org.webmacro.servlet.MathTool.abs > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.eval: org.webmacro.util.Eval.eval > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.join: org.webmacro.servlet.TextTool.join > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.max: org.webmacro.servlet.MathTool.max > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.min: org.webmacro.servlet.MathTool.min > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.mod: org.webmacro.servlet.MathTool.mod > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.pow: org.webmacro.servlet.MathTool.pow > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.replace: org.webmacro.servlet.TextTool.replace > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.split: org.webmacro.servlet.TextTool.split > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.toBoolean: org.webmacro.util.CastUtil.toBoolean > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.toByte: org.webmacro.util.CastUtil.toByte > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.toChar: org.webmacro.util.CastUtil.toChar > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.toDouble: org.webmacro.util.CastUtil.toDouble > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.toFloat: org.webmacro.util.CastUtil.toFloat > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.toInt: org.webmacro.util.CastUtil.toInt > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.toList: org.webmacro.servlet.ListUtil.toList > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.toLong: org.webmacro.util.CastUtil.toLong > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Functions.toShort: org.webmacro.util.CastUtil.toShort > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property GenerationalCacheManager.*.RefreshRate: 1000 > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property GenerationalCacheManager.*.ReloadOnChange: true > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property LogLevel: DEBUG > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property LogTargets: org.webmacro.util.LogFile > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property LogTraceExceptions: TRUE > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property LogUsingServletLog: TRUE > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Parsers: > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Parsers.wm: org.webmacro.parser.WMParser > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property PropertyOperator.CacheManager: org.webmacro.resource.SimpleCacheManager > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Providers: > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Providers.config: org.webmacro.resource.ConfigProvider > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Providers.directive: org.webmacro.directive.DirectiveProvider > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Providers.encoder: org.webmacro.util.EncoderProvider > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Providers.parser: org.webmacro.engine.ParserProvider > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Providers.template: org.webmacro.resource.TemplateProvider > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Providers.url: org.webmacro.resource.UrlProvider > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property RelaxedDirectiveBuilding: False > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ReloadingCacheManager.*.ExpireTime: 30000 > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ReloadingCacheManager.*.ReloadOnChange: true > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ReloadingCacheManager.*.UseSoftReferences: TRUE > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property RestrictedClasses: java.lang.Class > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property RestrictedClasses.AllowedMethods.java.lang.Class: getName,isArray,isPrimitive,isAssignableFrom,isInstance > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Servlet22Broker.TemplateLocation: > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property TemplateEncoding: Cp1252 > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property TemplateLoader.broker: org.webmacro.resource.BrokerTemplateLoader > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property TemplateLoader.classpath: org.webmacro.resource.ClassPathTemplateLoader > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property TemplateLoader.default: org.webmacro.resource.FileTemplateLoader > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property TemplateLoader.file: org.webmacro.resource.FileTemplateLoader > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property TemplateLoader.webapp: org.webmacro.resource.ServletContextTemplateLoader > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property TemplateLoaderFactory: org.webmacro.resource.DefaultTemplateLoaderFactory > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property TemplateOutputEncoding: UTF-8 > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property TemplatePath: D:/Oracle/product/10.1.3/OracleAS_1/j2ee/home/applications/sepe/sepe/WEB-INF/classes > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property TemplateServlet.DefaultTemplate: index.tml > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property WebContextTools: > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property WebContextTools.CGI: org.webmacro.servlet.CGITool > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property WebContextTools.Cookie: org.webmacro.servlet.CookieTool > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property WebContextTools.Form: org.webmacro.servlet.FormTool > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property WebContextTools.FormList: org.webmacro.servlet.FormListTool > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property WebContextTools.Request: org.webmacro.servlet.RequestTool > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property WebContextTools.Response: org.webmacro.servlet.ResponseTool > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property WebContextTools.Session: org.webmacro.servlet.SessionTool > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property include.TemplateExtensions: .wm, .wmt, .tml, .tmpl, .wmm > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property parse.TemplateExtensions: .wm, .wmt, .tml, .tmpl, .wmm > 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property type.Enabled: true > 06/09/22 14:43:44.250 sepe: WebMacro:directive INFO Registered directive: eval > 06/09/22 14:43:44.250 sepe: WebMacro:directive INFO Registered directive: count > 06/09/22 14:43:44.250 sepe: WebMacro:directive INFO Registered directive: setprops > 06/09/22 14:43:44.250 sepe: WebMacro:directive INFO Registered directive: attribute > 06/09/22 14:43:44.265 sepe: WebMacro:directive INFO Registered directive: foreach > 06/09/22 14:43:44.265 sepe: WebMacro:directive INFO Registered directive: text > 06/09/22 14:43:44.265 sepe: WebMacro:directive INFO Registered directive: const > 06/09/22 14:43:44.265 sepe: WebMacro:directive INFO Registered directive: bean > 06/09/22 14:43:44.265 sepe: WebMacro:directive INFO Registered directive: param > 06/09/22 14:43:44.265 sepe: WebMacro:directive INFO Registered directive: templet > 06/09/22 14:43:44.281 sepe: WebMacro:directive INFO Registered directive: parse > 06/09/22 14:43:44.281 sepe: WebMacro:directive INFO Registered directive: include > 06/09/22 14:43:44.281 sepe: WebMacro:directive INFO Registered directive: alternate > 06/09/22 14:43:44.281 sepe: WebMacro:directive INFO Registered directive: setblock > 06/09/22 14:43:44.281 sepe: WebMacro:directive INFO Registered directive: if > 06/09/22 14:43:44.281 sepe: WebMacro:directive INFO Registered directive: macro > 06/09/22 14:43:44.296 sepe: WebMacro:directive INFO Registered directive: comment > 06/09/22 14:43:44.296 sepe: WebMacro:directive INFO Registered directive: set > 06/09/22 14:43:44.296 sepe: WebMacro:directive INFO Registered directive: type > 06/09/22 14:43:44.296 sepe: WebMacro:directive INFO Registered directive: default > 06/09/22 14:43:44.296 sepe: WebMacro:broker INFO Loaded provider org.webmacro.directive.DirectiveProvider@1ad65f7 > 06/09/22 14:43:44.296 sepe: WebMacro:engine INFO Registering parser: wm (org.webmacro.parser.WMParser) > 06/09/22 14:43:44.312 sepe: WebMacro:parser INFO parser created > 06/09/22 14:43:44.312 sepe: WebMacro:broker INFO Loaded provider org.webmacro.engine.ParserProvider@517bc3 > 06/09/22 14:43:44.312 sepe: WebMacro:broker INFO Loaded provider org.webmacro.util.EncoderProvider@e6f8d7 > 06/09/22 14:43:44.312 sepe: WebMacro:broker INFO Loaded provider org.webmacro.resource.ConfigProvider@1710374 > 06/09/22 14:43:44.328 sepe: WebMacro:resource INFO ReloadingCacheManager.template: ; expireTime=30000; reload=true; softReference=true; checkForReloadDelay=-1 > 06/09/22 14:43:44.343 sepe: WebMacro:broker INFO Loaded provider CachingProvider(type = template) > 06/09/22 14:43:44.343 sepe: WebMacro:resource INFO ReloadingCacheManager.url: ; expireTime=30000; reload=true; softReference=true; checkForReloadDelay=-1 > 06/09/22 14:43:44.343 sepe: WebMacro:broker INFO Loaded provider CachingProvider(type = url) > 06/09/22 14:43:44.343 sepe: WebMacro:broker INFO Registered automatic variable factory Text > 06/09/22 14:43:44.343 sepe: WebMacro:broker INFO Registered automatic variable factory List > 06/09/22 14:43:44.343 sepe: WebMacro:broker INFO Registered automatic variable factory Math > 06/09/22 14:43:44.343 sepe: WebMacro:broker INFO Registered automatic variable factory Variable > 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic variable factory Type > 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic variable factory Cookie > 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic variable factory FormList > 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic variable factory CGI > 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic variable factory Session > 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic variable factory Request > 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic variable factory Form > 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic variable factory Response > 06/09/22 14:43:44.375 sepe: WebMacro:wm NOTICE new WebMacro(sepe web-app) v2.0 > 06/09/22 14:43:44.375 sepe: WebMacro:servlet DEBUG No WebMacro.properties file was found. > 06/09/22 14:43:44.500 sepe: WebMacro:servlet NOTICE started: sepe.web.servlet.SepeServlet@1f49401 > 06/09/22 14:43:44.515 sepe: WebMacro:resource INFO Loading template: Login.wm > 06/09/22 14:43:44.515 sepe: WebMacro:resource DEBUG Looking for template in TemplatePath: Login.wm > 06/09/22 14:43:44.515 sepe: WebMacro:resource DEBUG TemplateProvider: Found Login.wm in D:/Oracle/product/10.1.3/OracleAS_1/j2ee/home/applications/sepe/sepe/WEB-INF/classes > 06/09/22 14:43:44.562 sepe: WebMacro:resource DEBUG Returning unmodified reload context > 06/09/22 14:43:44.562 sepe: WebMacro:resource DEBUG cached: Login.wm for 30000 > 06/09/22 14:43:44.562 sepe: WebMacro:resource INFO Creating new ClockDaemon thread > 06/09/22 14:43:44.562 sepe: WebMacro:servlet DEBUG TemplateLocale=null > 06/09/22 14:43:44.562 sepe: WebMacro:servlet DEBUG Using output encoding ISO-8859-1 > 06/09/22 14:43:44.593 sepe: WebMacro:resource INFO SimpleCacheManager.ISO-8859-1 > 06/09/22 14:43:44.593 sepe: WebMacro:IncludeDirective DEBUG Including 'D:/ytv_ohjeet/Login.html' as TEMPLATE > 06/09/22 14:43:44.593 sepe: WebMacro:resource INFO Loading template: D:/ytv_ohjeet/Login.html > 06/09/22 14:43:44.593 sepe: WebMacro:resource DEBUG Looking for template in TemplatePath: D:/ytv_ohjeet/Login.html > 06/09/22 14:43:44.593 sepe: WebMacro:resource DEBUG Looking for template in class path: D:/ytv_ohjeet/Login.html > 06/09/22 14:43:44.593 sepe: WebMacro:resource DEBUG BrokerTemplateProvider: Found D:/ytv_ohjeet/Login.html at file:D:/ytv_ohjeet/Login.html > 06/09/22 14:43:44.593 sepe: WebMacro:resource DEBUG Returning unmodified reload context > 06/09/22 14:43:44.593 sepe: WebMacro:resource DEBUG cached: D:/ytv_ohjeet/Login.html for 30000 > 06/09/22 14:43:56.984 sepe: WebMacro:resource INFO Loading template: Sepe.wm > 06/09/22 14:43:56.984 sepe: WebMacro:resource DEBUG Looking for template in TemplatePath: Sepe.wm > 06/09/22 14:43:56.984 sepe: WebMacro:resource DEBUG TemplateProvider: Found Sepe.wm in D:/Oracle/product/10.1.3/OracleAS_1/j2ee/home/applications/sepe/sepe/WEB-INF/classes > 06/09/22 14:43:57.0 sepe: WebMacro:resource DEBUG Returning unmodified reload context > 06/09/22 14:43:57.0 sepe: WebMacro:resource DEBUG cached: Sepe.wm for 30000 > 06/09/22 14:43:57.0 sepe: WebMacro:servlet DEBUG TemplateLocale=null > 06/09/22 14:43:57.0 sepe: WebMacro:servlet DEBUG Using output encoding ISO-8859-1 > 06/09/22 14:43:57.0 sepe: WebMacro:IncludeDirective DEBUG Including 'Header.wm' as TEMPLATE > 06/09/22 14:43:57.0 sepe: WebMacro:resource INFO Loading template: Header.wm > 06/09/22 14:43:57.0 sepe: WebMacro:resource DEBUG Looking for template in TemplatePath: Header.wm > 06/09/22 14:43:57.0 sepe: WebMacro:resource DEBUG TemplateProvider: Found Header.wm in D:/Oracle/product/10.1.3/OracleAS_1/j2ee/home/applications/sepe/sepe/WEB-INF/classes > 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG Returning unmodified reload context > 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG cached: Header.wm for 30000 > 06/09/22 14:43:57.15 sepe: WebMacro:IncludeDirective DEBUG Including 'D:/ytv_ohjeet/Etusivu.html' as TEMPLATE > 06/09/22 14:43:57.15 sepe: WebMacro:resource INFO Loading template: D:/ytv_ohjeet/Etusivu.html > 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG Looking for template in TemplatePath: D:/ytv_ohjeet/Etusivu.html > 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG Looking for template in class path: D:/ytv_ohjeet/Etusivu.html > 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG BrokerTemplateProvider: Found D:/ytv_ohjeet/Etusivu.html at file:D:/ytv_ohjeet/Etusivu.html > 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG Returning unmodified reload context > 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG cached: D:/ytv_ohjeet/Etusivu.html for 30000 > 06/09/22 14:43:57.15 sepe: WebMacro:IncludeDirective DEBUG Including 'SepeMap.wm' as TEMPLATE > 06/09/22 14:43:57.15 sepe: WebMacro:resource INFO Loading template: SepeMap.wm > 06/09/22 14:43:57.31 sepe: WebMacro:resource DEBUG Looking for template in TemplatePath: SepeMap.wm > 06/09/22 14:43:57.31 sepe: WebMacro:resource DEBUG TemplateProvider: Found SepeMap.wm in D:/Oracle/product/10.1.3/OracleAS_1/j2ee/home/applications/sepe/sepe/WEB-INF/classes > 06/09/22 14:43:57.62 sepe: WebMacro:resource DEBUG Returning unmodified reload context > 06/09/22 14:43:57.62 sepe: WebMacro:resource DEBUG cached: SepeMap.wm for 30000 > 06/09/22 14:43:57.78 sepe: WebMacro:engine ERROR Attempted to write an undefined variable: $fx at D:\Oracle\product\10.1.3\OracleAS_1\j2ee\home\applications\sepe\sepe\WEB-INF\classes\SepeMap.wm:45.86 > > ------------------------------------------ > Tapio Myllymäki > > TietoEnator GMR Oy > Puh. (014) 41 57452 > GSM 040 7477985 > Fax (014) 4157555 > E-mail tap...@ti... > > Ylistönmäentie 33 > PL 203, 40101 Jyväskylä > ------------------------------------------ > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > > |
From: <Tap...@ti...> - 2006-09-22 12:17:56
|
Hello, I'm getting the following log, when I run my web-application. The error is on the last line of the log. What is the solution to this problem, can anyone help me? 06/09/22 14:43:44.203 sepe: WebMacro:LogFile NOTICE --- Log Started --- 06/09/22 14:43:44.203 sepe: WebMacro:broker NOTICE Loaded settings from = WebMacro.defaults, WEB-INF/WebMacro.properties, (WAR file), (System = Properties) 06/09/22 14:43:44.203 sepe: WebMacro:resource INFO = SimpleCacheManager.PropertyOperator 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = CachingProvider.template.CacheManager: = org.webmacro.resource.ReloadingCacheManager 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = CachingProvider.url.CacheManager: = org.webmacro.resource.ReloadingCacheManager 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = ContextAutoLoaders.ContextTools: = org.webmacro.broker.DefaultContextAutoLoader 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = ContextAutoLoaders.WebContextTools: = org.webmacro.broker.DefaultContextAutoLoader 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property ContextTools: = 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = ContextTools.List: org.webmacro.servlet.ListTool 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = ContextTools.Math: org.webmacro.servlet.MathTool 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = ContextTools.Text: org.webmacro.servlet.TextTool 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = ContextTools.Type: org.webmacro.servlet.TypeTool 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = ContextTools.Variable: org.webmacro.servlet.VariableTool 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = DelegatingTemplateProvider.EmulateTemplatePath: true 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Directives:=20 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.alternate: org.webmacro.directive.AlternateDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.attribute: org.webmacro.directive.AttributeDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.bean: org.webmacro.directive.BeanDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.comment: org.webmacro.directive.CommentDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.const: org.webmacro.directive.AttributeDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.count: org.webmacro.directive.CountDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.default: org.webmacro.directive.DefaultDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.eval: org.webmacro.directive.EvalDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.foreach: org.webmacro.directive.ForeachDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.if: org.webmacro.directive.IfDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.include: org.webmacro.directive.IncludeDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.macro: org.webmacro.directive.MacroDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.param: org.webmacro.directive.ParamDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.parse: org.webmacro.directive.IncludeDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.set: org.webmacro.directive.SetDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.setblock: org.webmacro.directive.SetblockDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.setprops: org.webmacro.directive.SetpropsDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.templet: org.webmacro.directive.TempletDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.text: org.webmacro.directive.TextDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Directives.type: org.webmacro.directive.TypeDirective 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Encoder.*.CacheManager: org.webmacro.resource.SimpleCacheManager 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = ErrorTemplate: error.wm 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = ErrorVariable: error 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = ExceptionHandler: org.webmacro.engine.DefaultEvaluationExceptionHandler 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = FastWriter.DefaultBufferSize: 4096 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.HTMLEscape: org.webmacro.util.HTMLEscaper.escape 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.URLDecode: org.webmacro.servlet.TextTool.URLDecode 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.URLEncode: org.webmacro.servlet.TextTool.URLEncode 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.abs: org.webmacro.servlet.MathTool.abs 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.eval: org.webmacro.util.Eval.eval 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.join: org.webmacro.servlet.TextTool.join 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.max: org.webmacro.servlet.MathTool.max 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.min: org.webmacro.servlet.MathTool.min 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.mod: org.webmacro.servlet.MathTool.mod 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.pow: org.webmacro.servlet.MathTool.pow 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.replace: org.webmacro.servlet.TextTool.replace 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.split: org.webmacro.servlet.TextTool.split 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.toBoolean: org.webmacro.util.CastUtil.toBoolean 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.toByte: org.webmacro.util.CastUtil.toByte 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.toChar: org.webmacro.util.CastUtil.toChar 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.toDouble: org.webmacro.util.CastUtil.toDouble 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.toFloat: org.webmacro.util.CastUtil.toFloat 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.toInt: org.webmacro.util.CastUtil.toInt 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.toList: org.webmacro.servlet.ListUtil.toList 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.toLong: org.webmacro.util.CastUtil.toLong 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Functions.toShort: org.webmacro.util.CastUtil.toShort 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = GenerationalCacheManager.*.RefreshRate: 1000 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = GenerationalCacheManager.*.ReloadOnChange: true 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property LogLevel: = DEBUG 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property LogTargets: = org.webmacro.util.LogFile 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = LogTraceExceptions: TRUE 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = LogUsingServletLog: TRUE 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Parsers:=20 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Parsers.wm: = org.webmacro.parser.WMParser 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = PropertyOperator.CacheManager: org.webmacro.resource.SimpleCacheManager 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property Providers:=20 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Providers.config: org.webmacro.resource.ConfigProvider 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Providers.directive: org.webmacro.directive.DirectiveProvider 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Providers.encoder: org.webmacro.util.EncoderProvider 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Providers.parser: org.webmacro.engine.ParserProvider 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Providers.template: org.webmacro.resource.TemplateProvider 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Providers.url: org.webmacro.resource.UrlProvider 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = RelaxedDirectiveBuilding: False 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = ReloadingCacheManager.*.ExpireTime: 30000 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = ReloadingCacheManager.*.ReloadOnChange: true 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = ReloadingCacheManager.*.UseSoftReferences: TRUE 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = RestrictedClasses: java.lang.Class 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = RestrictedClasses.AllowedMethods.java.lang.Class: = getName,isArray,isPrimitive,isAssignableFrom,isInstance 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = Servlet22Broker.TemplateLocation:=20 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = TemplateEncoding: Cp1252 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = TemplateLoader.broker: org.webmacro.resource.BrokerTemplateLoader 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = TemplateLoader.classpath: org.webmacro.resource.ClassPathTemplateLoader 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = TemplateLoader.default: org.webmacro.resource.FileTemplateLoader 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = TemplateLoader.file: org.webmacro.resource.FileTemplateLoader 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = TemplateLoader.webapp: = org.webmacro.resource.ServletContextTemplateLoader 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = TemplateLoaderFactory: = org.webmacro.resource.DefaultTemplateLoaderFactory 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = TemplateOutputEncoding: UTF-8 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property TemplatePath: = D:/Oracle/product/10.1.3/OracleAS_1/j2ee/home/applications/sepe/sepe/WEB-= INF/classes 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = TemplateServlet.DefaultTemplate: index.tml 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = WebContextTools:=20 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = WebContextTools.CGI: org.webmacro.servlet.CGITool 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = WebContextTools.Cookie: org.webmacro.servlet.CookieTool 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = WebContextTools.Form: org.webmacro.servlet.FormTool 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = WebContextTools.FormList: org.webmacro.servlet.FormListTool 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = WebContextTools.Request: org.webmacro.servlet.RequestTool 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = WebContextTools.Response: org.webmacro.servlet.ResponseTool 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = WebContextTools.Session: org.webmacro.servlet.SessionTool 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = include.TemplateExtensions: .wm, .wmt, .tml, .tmpl, .wmm 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property = parse.TemplateExtensions: .wm, .wmt, .tml, .tmpl, .wmm 06/09/22 14:43:44.218 sepe: WebMacro:broker DEBUG Property type.Enabled: = true 06/09/22 14:43:44.250 sepe: WebMacro:directive INFO Registered = directive: eval 06/09/22 14:43:44.250 sepe: WebMacro:directive INFO Registered = directive: count 06/09/22 14:43:44.250 sepe: WebMacro:directive INFO Registered = directive: setprops 06/09/22 14:43:44.250 sepe: WebMacro:directive INFO Registered = directive: attribute 06/09/22 14:43:44.265 sepe: WebMacro:directive INFO Registered = directive: foreach 06/09/22 14:43:44.265 sepe: WebMacro:directive INFO Registered = directive: text 06/09/22 14:43:44.265 sepe: WebMacro:directive INFO Registered = directive: const 06/09/22 14:43:44.265 sepe: WebMacro:directive INFO Registered = directive: bean 06/09/22 14:43:44.265 sepe: WebMacro:directive INFO Registered = directive: param 06/09/22 14:43:44.265 sepe: WebMacro:directive INFO Registered = directive: templet 06/09/22 14:43:44.281 sepe: WebMacro:directive INFO Registered = directive: parse 06/09/22 14:43:44.281 sepe: WebMacro:directive INFO Registered = directive: include 06/09/22 14:43:44.281 sepe: WebMacro:directive INFO Registered = directive: alternate 06/09/22 14:43:44.281 sepe: WebMacro:directive INFO Registered = directive: setblock 06/09/22 14:43:44.281 sepe: WebMacro:directive INFO Registered = directive: if 06/09/22 14:43:44.281 sepe: WebMacro:directive INFO Registered = directive: macro 06/09/22 14:43:44.296 sepe: WebMacro:directive INFO Registered = directive: comment 06/09/22 14:43:44.296 sepe: WebMacro:directive INFO Registered = directive: set 06/09/22 14:43:44.296 sepe: WebMacro:directive INFO Registered = directive: type 06/09/22 14:43:44.296 sepe: WebMacro:directive INFO Registered = directive: default 06/09/22 14:43:44.296 sepe: WebMacro:broker INFO Loaded provider = org.webmacro.directive.DirectiveProvider@1ad65f7 06/09/22 14:43:44.296 sepe: WebMacro:engine INFO Registering parser: wm = (org.webmacro.parser.WMParser) 06/09/22 14:43:44.312 sepe: WebMacro:parser INFO parser created 06/09/22 14:43:44.312 sepe: WebMacro:broker INFO Loaded provider = org.webmacro.engine.ParserProvider@517bc3 06/09/22 14:43:44.312 sepe: WebMacro:broker INFO Loaded provider = org.webmacro.util.EncoderProvider@e6f8d7 06/09/22 14:43:44.312 sepe: WebMacro:broker INFO Loaded provider = org.webmacro.resource.ConfigProvider@1710374 06/09/22 14:43:44.328 sepe: WebMacro:resource INFO = ReloadingCacheManager.template: ; expireTime=3D30000; reload=3Dtrue; = softReference=3Dtrue; checkForReloadDelay=3D-1 06/09/22 14:43:44.343 sepe: WebMacro:broker INFO Loaded provider = CachingProvider(type =3D template) 06/09/22 14:43:44.343 sepe: WebMacro:resource INFO = ReloadingCacheManager.url: ; expireTime=3D30000; reload=3Dtrue; = softReference=3Dtrue; checkForReloadDelay=3D-1 06/09/22 14:43:44.343 sepe: WebMacro:broker INFO Loaded provider = CachingProvider(type =3D url) 06/09/22 14:43:44.343 sepe: WebMacro:broker INFO Registered automatic = variable factory Text 06/09/22 14:43:44.343 sepe: WebMacro:broker INFO Registered automatic = variable factory List 06/09/22 14:43:44.343 sepe: WebMacro:broker INFO Registered automatic = variable factory Math 06/09/22 14:43:44.343 sepe: WebMacro:broker INFO Registered automatic = variable factory Variable 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic = variable factory Type 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic = variable factory Cookie 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic = variable factory FormList 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic = variable factory CGI 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic = variable factory Session 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic = variable factory Request 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic = variable factory Form 06/09/22 14:43:44.359 sepe: WebMacro:broker INFO Registered automatic = variable factory Response 06/09/22 14:43:44.375 sepe: WebMacro:wm NOTICE new WebMacro(sepe = web-app) v2.0 06/09/22 14:43:44.375 sepe: WebMacro:servlet DEBUG No = WebMacro.properties file was found. 06/09/22 14:43:44.500 sepe: WebMacro:servlet NOTICE started: = sepe.web.servlet.SepeServlet@1f49401 06/09/22 14:43:44.515 sepe: WebMacro:resource INFO Loading template: = Login.wm 06/09/22 14:43:44.515 sepe: WebMacro:resource DEBUG Looking for template = in TemplatePath: Login.wm 06/09/22 14:43:44.515 sepe: WebMacro:resource DEBUG TemplateProvider: = Found Login.wm in = D:/Oracle/product/10.1.3/OracleAS_1/j2ee/home/applications/sepe/sepe/WEB-= INF/classes 06/09/22 14:43:44.562 sepe: WebMacro:resource DEBUG Returning unmodified = reload context 06/09/22 14:43:44.562 sepe: WebMacro:resource DEBUG cached: Login.wm for = 30000 06/09/22 14:43:44.562 sepe: WebMacro:resource INFO Creating new = ClockDaemon thread 06/09/22 14:43:44.562 sepe: WebMacro:servlet DEBUG TemplateLocale=3Dnull 06/09/22 14:43:44.562 sepe: WebMacro:servlet DEBUG Using output encoding = ISO-8859-1 06/09/22 14:43:44.593 sepe: WebMacro:resource INFO = SimpleCacheManager.ISO-8859-1 06/09/22 14:43:44.593 sepe: WebMacro:IncludeDirective DEBUG Including = 'D:/ytv_ohjeet/Login.html' as TEMPLATE 06/09/22 14:43:44.593 sepe: WebMacro:resource INFO Loading template: = D:/ytv_ohjeet/Login.html 06/09/22 14:43:44.593 sepe: WebMacro:resource DEBUG Looking for template = in TemplatePath: D:/ytv_ohjeet/Login.html 06/09/22 14:43:44.593 sepe: WebMacro:resource DEBUG Looking for template = in class path: D:/ytv_ohjeet/Login.html 06/09/22 14:43:44.593 sepe: WebMacro:resource DEBUG = BrokerTemplateProvider: Found D:/ytv_ohjeet/Login.html at = file:D:/ytv_ohjeet/Login.html 06/09/22 14:43:44.593 sepe: WebMacro:resource DEBUG Returning unmodified = reload context 06/09/22 14:43:44.593 sepe: WebMacro:resource DEBUG cached: = D:/ytv_ohjeet/Login.html for 30000 06/09/22 14:43:56.984 sepe: WebMacro:resource INFO Loading template: = Sepe.wm 06/09/22 14:43:56.984 sepe: WebMacro:resource DEBUG Looking for template = in TemplatePath: Sepe.wm 06/09/22 14:43:56.984 sepe: WebMacro:resource DEBUG TemplateProvider: = Found Sepe.wm in = D:/Oracle/product/10.1.3/OracleAS_1/j2ee/home/applications/sepe/sepe/WEB-= INF/classes 06/09/22 14:43:57.0 sepe: WebMacro:resource DEBUG Returning unmodified = reload context 06/09/22 14:43:57.0 sepe: WebMacro:resource DEBUG cached: Sepe.wm for = 30000 06/09/22 14:43:57.0 sepe: WebMacro:servlet DEBUG TemplateLocale=3Dnull 06/09/22 14:43:57.0 sepe: WebMacro:servlet DEBUG Using output encoding = ISO-8859-1 06/09/22 14:43:57.0 sepe: WebMacro:IncludeDirective DEBUG Including = 'Header.wm' as TEMPLATE 06/09/22 14:43:57.0 sepe: WebMacro:resource INFO Loading template: = Header.wm 06/09/22 14:43:57.0 sepe: WebMacro:resource DEBUG Looking for template = in TemplatePath: Header.wm 06/09/22 14:43:57.0 sepe: WebMacro:resource DEBUG TemplateProvider: = Found Header.wm in = D:/Oracle/product/10.1.3/OracleAS_1/j2ee/home/applications/sepe/sepe/WEB-= INF/classes 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG Returning unmodified = reload context 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG cached: Header.wm for = 30000 06/09/22 14:43:57.15 sepe: WebMacro:IncludeDirective DEBUG Including = 'D:/ytv_ohjeet/Etusivu.html' as TEMPLATE 06/09/22 14:43:57.15 sepe: WebMacro:resource INFO Loading template: = D:/ytv_ohjeet/Etusivu.html 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG Looking for template = in TemplatePath: D:/ytv_ohjeet/Etusivu.html 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG Looking for template = in class path: D:/ytv_ohjeet/Etusivu.html 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG = BrokerTemplateProvider: Found D:/ytv_ohjeet/Etusivu.html at = file:D:/ytv_ohjeet/Etusivu.html 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG Returning unmodified = reload context 06/09/22 14:43:57.15 sepe: WebMacro:resource DEBUG cached: = D:/ytv_ohjeet/Etusivu.html for 30000 06/09/22 14:43:57.15 sepe: WebMacro:IncludeDirective DEBUG Including = 'SepeMap.wm' as TEMPLATE 06/09/22 14:43:57.15 sepe: WebMacro:resource INFO Loading template: = SepeMap.wm 06/09/22 14:43:57.31 sepe: WebMacro:resource DEBUG Looking for template = in TemplatePath: SepeMap.wm 06/09/22 14:43:57.31 sepe: WebMacro:resource DEBUG TemplateProvider: = Found SepeMap.wm in = D:/Oracle/product/10.1.3/OracleAS_1/j2ee/home/applications/sepe/sepe/WEB-= INF/classes 06/09/22 14:43:57.62 sepe: WebMacro:resource DEBUG Returning unmodified = reload context 06/09/22 14:43:57.62 sepe: WebMacro:resource DEBUG cached: SepeMap.wm = for 30000 06/09/22 14:43:57.78 sepe: WebMacro:engine ERROR Attempted to write an = undefined variable: $fx at = D:\Oracle\product\10.1.3\OracleAS_1\j2ee\home\applications\sepe\sepe\WEB-= INF\classes\SepeMap.wm:45.86 ------------------------------------------ Tapio Myllym=E4ki TietoEnator GMR Oy Puh. (014) 41 57452 GSM 040 7477985 Fax (014) 4157555 E-mail tap...@ti... Ylist=F6nm=E4entie 33 PL 203, 40101 Jyv=E4skyl=E4 ------------------------------------------ |
From: Keats K. <ke...@xa...> - 2006-08-30 17:46:45
|
Hey AC, There are some notes about using Big5 encoding in the release notes. I've included it below in case it is helpful. As I understand it, there are two basic encoding issues, (1) the encoding with which the file is stored, and (2) the encoding for the output. The input encoding (1) is controlled by the "TemplateEncoding" property which you can set in your webmacro.properties file, or via the system properties collection (see http://webmacro.org/ConfiguringWebMacro). The output encoding (2) is controlled in various ways. You can set the TemplateOutputEncoding property in the properties file: TemplateOutputEncoding=Big5 You can also specify the encoding explicitly in your Servlet. See the following code sample from WMServlet: public void writeTemplate (String templateName, java.io.OutputStream out, String encoding, Context context) throws java.io.IOException, ResourceException, PropertyException { if (encoding == null) encoding = getConfig(WMConstants.TEMPLATE_OUTPUT_ENCODING); Template tmpl = getTemplate(templateName); tmpl.write(out, encoding, context); } If you use different output encodings for different templates, you may want to use the #param directive in your templates. WMServlet uses predefined parameter names, TemplateEncoding, and TemplateOutputEncoding. Look at the source for WMServlet.execute() for how this works. Hope this is helpful. Keats WebMacro 06-12-2000: RELEASE NOTES This release fixes a couple of bugs: I'm rolling it up mainly to make the character encoding fix available to more people. * Character Encoding To propertly internationalize characters in WebMacro you must: 1. Set the correct encoding on FastWriter when you create it. WMServlet defaults to setting it to whatever the HttpServletRequest object asks for so in WMServlet you may not need to do anything. If you run WM in standalone mode you must specify the correct encoding when you create a new FastWriter: FastWriter fw = FastWriter.getInstance(out, "Big5"); For example. 2. If there is internationalized text in your templates then you must also ensure that the templates are read in correctly by WebMacro. You do this by setting TemplateEncoding: Big5 or whatever in your WebMacro.properties. If yoru templates can be read as UTF-8 (they're ASCII++) then you don't need to do anything. AC wrote: > > Hi there, > > I was evaluating WebMacro with Servlet for one Web application, > fulfilling both English and Big5 Chinese UI. > > It worked very well and I could see the great convenience and > simplicity behind. However, when come to using a template for Chinese, > I found all big5 characters in my .wm files were strangely encoded > when viewing through a servlet. Wondering if this was experienced > before and have had solution or fix developed. > > My environment: > > Windows 2000 Professional > > Tomcat Apache 5.5.16 > > WebMacro 2.0 (build date, 1^st Nov 2005) > > Options I have tried: > > #1. use HttpServlet with WebMacro > --------------------------------------------------------------------------- > > public class WMHello extends HttpServlet { > > ... > > public void init() ..{ > > .. > > private WebMacro _wm = new WM(); > > } > > public void doGet(HttpServletRequest req, HttpServletResponse res) .. { > > .... > > res.setContentType("text/html;charset=big5"); > > res.setLocale(new Locale("tw","")); > > .... > > try { > > WebContext c = _wm.getWebContext(req,res); > > Template tmpl = _wm.getTemplate(WMFile); > > /* have tried all below options and none works */ > > //tmpl.write(res.getOutputStream(), res.getCharacterEncoding(), c); > > //tmpl.write(res.getOutputStream(), "BIG5", c); > > tmpl.write(res.getOutputStream(), c); > > > } > > catch (WebMacroException e) { > > throw new ServletException(e); > > ... > > } > > } > > #2, trying to directly use a WebMacro Servlet where “public class > WMServlet01 extends WMServlet() > “--------------------------------------------------- > > … > > out.println("<h2>hfdhfdsf </h2>”); > > //trying to include one WM writer > > RequestDispatcher disp = req.getRequestDispatcher("/WMServlet01"); > > disp.include(req, resp); > > out.println("<p>the end"); > > …….. > > ------------------------------------------------------------------------- > > > Attached .wm template and screen captures for reference. > > > Please let me know if more info if needed. Thanks for any help in advance. > > > AC@hongkong > > > << File: big5Problm.JPG >> << File: hello.wm >> > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: AC <ac...@ac...> - 2006-08-30 13:12:12
|
Hi there, I was evaluating WebMacro with Servlet for one Web application, fulfilling both English and Big5 Chinese UI. It worked very well and I could see the great convenience and simplicity behind. However, when come to using a template for Chinese, I found all big5 characters in my .wm files were strangely encoded when viewing through a servlet. Wondering if this was experienced before and have had solution or fix developed. My environment: Windows 2000 Professional Tomcat Apache 5.5.16 WebMacro 2.0 (build date, 1st Nov 2005) Options I have tried: #1. use HttpServlet with WebMacro --------------------------------------------------------------------------- public class WMHello extends HttpServlet { ... public void init() ..{ .. private WebMacro _wm = new WM(); } public void doGet(HttpServletRequest req, HttpServletResponse res) .. { .... res.setContentType("text/html;charset=big5"); res.setLocale(new Locale("tw","")); .... try { WebContext c = _wm.getWebContext(req,res); Template tmpl = _wm.getTemplate(WMFile); /* have tried all below options and none works */ //tmpl.write(res.getOutputStream(), res.getCharacterEncoding(), c); //tmpl.write(res.getOutputStream(), "BIG5", c); tmpl.write(res.getOutputStream(), c); } catch (WebMacroException e) { throw new ServletException(e); ... } } #2, trying to directly use a WebMacro Servlet where "public class WMServlet01 extends WMServlet() "--------------------------------------------------- . out.println("<h2>hfdhfdsf </h2>"); //trying to include one WM writer RequestDispatcher disp = req.getRequestDispatcher("/WMServlet01"); disp.include(req, resp); out.println("<p>the end"); .... ------------------------------------------------------------------------- Attached .wm template and screen captures for reference. Please let me know if more info if needed. Thanks for any help in advance. AC@hongkong << File: big5Problm.JPG >> << File: hello.wm >> |
From: Marcello H <mar...@gm...> - 2006-05-26 13:17:39
|
quiver, I don't know exactly what seems to be the problem, but hope to kick you in the right direction. I've got 2 possible ideas. -1- It seems to me that it has something to do with the sub.wmm-file. What if you made it a comment like this: ##include as macro "sub.wmm" Does the second #set $countX=3D.... work? If so, then uncomment the include and start analising the sub.wmm-file. You can do that by first commenting everything inside the file, and careful= ly uncomment 1 or several lines at a time. -2- If you downladed a WM 2.0, perhaps you also can take a good look at the wm.defaults-file, and see how the directives are configured. (It good be, that you have your own overriding config in WM.properties, that perhaps point to a old location. Good luck, Marcel 2006/5/25, quiver <qu...@se...>: > HI: > excause me , my english is not good , > thank you for reading my post > thank Marcello H 'reply > > my incompatible problem is like this : > now has two file , one is body.wm , another is sub.wmm > > sub.wmm has thereunder contents , not defined inside #macro , maybe li= ke > a global variable > > #set $countX=3D0 > > body.wm has thereunder contents > > #include as macro "sub.wmm" > > #set $countX=3D1 > > > in webMacro1.1 , these is can run normally, > but in webMacro2.0 , will produce these exception > > org.webmacro.directive.Directive$NotVariableBuildException: #set: Argumen= t > must be a variable > java.lang.ClassCastException: java.lang.Integer at ............ > > code like th is is many , it is hard to modify every where , thank you > again ..............^_^ > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications i= n > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat= =3D121642 > _______________________________________________ > Webmacro-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-user > |
From: quiver <qu...@se...> - 2006-05-25 17:30:44
|
HI: excause me , my english is not good , thank you for reading my post thank Marcello H 'reply my incompatible problem is like this : now has two file , one is body.wm , another is sub.wmm sub.wmm has thereunder contents , not defined inside #macro , maybe like a global variable #set $countX=0 body.wm has thereunder contents #include as macro "sub.wmm" #set $countX=1 in webMacro1.1 , these is can run normally, but in webMacro2.0 , will produce these exception org.webmacro.directive.Directive$NotVariableBuildException: #set: Argument must be a variable java.lang.ClassCastException: java.lang.Integer at ............ code like th is is many , it is hard to modify every where , thank you again ..............^_^ |
From: Marcello H <mar...@gm...> - 2006-05-21 18:19:44
|
UXVpdmVyLAoKWW91IGNhbiB0cnkgdG8gbG9vayBhdCB0aGUgd20ubG9nIGZpbGUgYW5kIHNlZSB3 aGF0IG1lc3NhZ2UgaXMgaW4gdGhlcmUuCgpZb3UgY2FuIGFsc28gdHJ5IHRvIGxvb2sgYXQgdGhl IHNwZWNpZmljIGZpbGUgdGhhdCBoYXMgdGhlIHJyb3IsCmFuZCBjb21tZW50IHBpZWNlcyBvdXQg YnkgZG9pbmcgbGlrZSB0aGlzCgojY29tbWVudCAjYmVnaW4KICBhIHBpZWNlIG9mIGNvZGUgdGhh dCdzIG5vdCByZW5kZXJlZCBieSBNVwojZW5kCgpGdXJ0aGVybW9yZToKWW91IGdldCBoYXZlIHBy b2JsZW1zIHdpdGggJC1zaWducywgIyAtc2lnbnMgaWYgdXNlZCBpbmNvcnJlY3RseS4KCkhvcGUg dGhhdCBoZWxwcyB5b3UgYSBsaXR0bGUgbW9yZS4KKG9yIGVsc2UsIGdpdmUgdXNlIHNhbWUgc2Ft cGxlIGNvZGUsIG9mIHdoYXQgZ29lcyB3cm9uZy4pCgoKR29vZCBMdWNrLApNYXJjZWwgKGZyb20g SG9sbGFuZCkKCjIwMDYvNS8yMSwgcXVpdmVyIDxxdWl2ZXJAc2VlZC5uZXQudHc+Ogo+Cj4KPiB0 aGFuayB5b3U6Cj4gbXkgZW5nbGlzaCBpcyB2ZXJ5IGJhZCAsIHNvb3J5Li4uLi4uLi4KPiBPcmln aW5hbCBzeXN0ZW0gaW4gbXkgY29tcGFueSBpcyB1c2UgV2ViTWFjcm8gMS4xICwKPiBmb3IgdXNl IG5ldyBmdW5jdGlvbiBvZiAyLjAgLCBleGFtcGxlICN0ZW1wbGV0ICAsCj4gSSByZXBsYWNlIHdl Ym1hY3JvMS4xICBieSAgd2VibWFjcm8gMi4wICAuCj4gY29tcGlsZSBpcyBPSyAsIGJ1dCBzb21l ICBXZWJNYWNybyBmaWlsZSBpcyBub3QgcnVuIG5vcm1hbGx5ICwKPiB3ZSBzaG91bGQgbGlrZSB0 byBhc2sgoUF3aGF0IHN5bnRheCBvciBzeW1ib2wgaXMgY2FuIHVzZWQgaW4gMS4xIGJ1dCBub3Qg T0sKPiBpbiAyLjAgPwo+IEkgZm5kIHNvbWUgYXJ0aWNsZSAsIGJ1dCBub3QgZm9yIHRoaXMgcHJv YmxlbSAuIHRoYW5rIHlvdSByZWFkIHRoIGlzIC4KPiB0aGFua3MgYSBsb3QgLgo+Cj4K |
From: quiver <qu...@se...> - 2006-05-21 17:58:19
|
thank you: my english is very bad , soory........ Original system in my company is use WebMacro 1.1 ,=20 for use new function of 2.0 , example #templet ,=20 I replace webmacro1.1 by webmacro 2.0 .=20 compile is OK , but some WebMacro fiile is not run normally ,=20 we should like to ask =A1Awhat syntax or symbol is can used in 1.1 but = not OK in 2.0 ? I fnd some article , but not for this problem . thank you read th is . thanks a lot .=20 |
From: Keats K. <ke...@xa...> - 2006-04-26 21:05:34
|
I'm not wild about that approach. This should be something that is handled by the EEH. Unfortunately the EEH interface was designed for handling problems evaluating Variables, not Directives or other Macro implementations. I'd like to fix that by making the EEH methods take Macro arguments. This would allow Directives like #include, and any other Macro implementation, to delegate error handling to the EEH, just like variables do. Then you could use an EEH implementation that does something special with this kind of exception, e.g., return an error string like "Failed to include file MyTemplate.wm: Error=File not found!" Keats Marcello H wrote: >Perhaps another possibility for not having include problems, is to >have a better exception handling on includes etc. (So you don't have >to visit the wm.log in case of fire...) > >workaround (in pseudo-code): >#set $includefile="myinc.inc" >#include $includefile >#if ($includefile != "") { >error in includefile : $includefile >} > >The last line in $includefile should then be: >#set $includefile="" > >This workaround did save me a couple of times, but is a bit nasty :-) > >Perhaps usable, you never know who need this. > >Greetings, >Marcel > > > |
From: Marcello H <mar...@gm...> - 2006-04-26 20:41:36
|
Perhaps another possibility for not having include problems, is to have a better exception handling on includes etc. (So you don't have to visit the wm.log in case of fire...) workaround (in pseudo-code): #set $includefile=3D"myinc.inc" #include $includefile #if ($includefile !=3D "") { error in includefile : $includefile } The last line in $includefile should then be: #set $includefile=3D"" This workaround did save me a couple of times, but is a bit nasty :-) Perhaps usable, you never know who need this. Greetings, Marcel |
From: Keats K. <ke...@xa...> - 2006-04-26 18:47:56
|
I think the problem is that WM is a framework that is designed to be useful in lots of different situations. This makes is difficult to define what reasonable OOTB behavior should be. The default template loading behavior has always been a bit of a pain point, because tries to find templates in various places depending on your setup. Maybe the solution would be to package different sample configurations and document how to use them. For example, if you will be loading templates from a single file system directory you could use one properties file, and if you always load your templates from <context-root>/WEB-INF/templates, you could use a different properties file. We could also distribute sample apps that run OOTB using these configurations. Keats Tim Pizey wrote: >On Wednesday 26 April 2006 18:12, Marcello H wrote: > > >>What Keats is suggesting, is exactly how I'm doing this. >> >> >Me too. > > > >>But not for this specific case. >>I do this because I've some includes in a specific directory related >>from the root-dir of the application. >>How can you handle your situaqtion if you want to move a main-template >>to another directory, and a template that uses a shared include is >>left in the old dir. >>(I think you have to copy the include-stuff, because it's expected on >>diverent locations.) >> >>Time to refrase your question , I guess...... >> >> > >Not sure if this is addressed to me. > >The use case is the 'not using anything bespoke, not needing to learn >anything' scenario. > >I believe that software is built upon metaphors, and that the all pervading >and intuitive metaphor of 'current directory' should be carried through >to template inclusion. > >To illustrate this - how did I discover that this metaphor does not apply to >WebMacro? >I tried a bald include, in the expectation that it would work, it didn't, I >had to investigate why not. > >This is not user-friendly, webmacro should require no knowledge to use, >it should 'just work', ie it should do what people expect. > >I don't think Alex's objections are really germane here, as he is a >'power user' and I am talking about the casual or central case user. > >I know this probably puts me in a minority of one, but I do not use >any of the configurable features of WM, deliberately. > >I want WM to work intuitively out-of-the-box, >to do what it says on the tin, and not to get in the way. > >I can continue with my context tool, but I had to write that, understand the >problem and bring the issue up on the developer's list. >The use case is not to have to do any of that. > >cheers >Tim > > > |
From: Tim P. <ti...@pa...> - 2006-04-26 18:19:10
|
On Wednesday 26 April 2006 18:12, Marcello H wrote: > What Keats is suggesting, is exactly how I'm doing this. Me too. > But not for this specific case. > I do this because I've some includes in a specific directory related > from the root-dir of the application. > How can you handle your situaqtion if you want to move a main-template > to another directory, and a template that uses a shared include is > left in the old dir. > (I think you have to copy the include-stuff, because it's expected on > diverent locations.) > > Time to refrase your question , I guess...... Not sure if this is addressed to me. The use case is the 'not using anything bespoke, not needing to learn anything' scenario. I believe that software is built upon metaphors, and that the all pervading and intuitive metaphor of 'current directory' should be carried through to template inclusion. To illustrate this - how did I discover that this metaphor does not apply to WebMacro? I tried a bald include, in the expectation that it would work, it didn't, I had to investigate why not. This is not user-friendly, webmacro should require no knowledge to use, it should 'just work', ie it should do what people expect. I don't think Alex's objections are really germane here, as he is a 'power user' and I am talking about the casual or central case user. I know this probably puts me in a minority of one, but I do not use any of the configurable features of WM, deliberately. I want WM to work intuitively out-of-the-box, to do what it says on the tin, and not to get in the way. I can continue with my context tool, but I had to write that, understand the problem and bring the issue up on the developer's list. The use case is not to have to do any of that. cheers Tim |
From: Marcello H <mar...@gm...> - 2006-04-26 17:12:17
|
What Keats is suggesting, is exactly how I'm doing this. But not for this specific case. I do this because I've some includes in a specific directory related from the root-dir of the application. How can you handle your situaqtion if you want to move a main-template to another directory, and a template that uses a shared include is left in the old dir. (I think you have to copy the include-stuff, because it's expected on diverent locations.) Time to refrase your question , I guess...... -Marcel- |
From: Tim P. <ti...@pa...> - 2006-04-23 19:28:55
|
Hi, I have just switched, temporarily, from WebMacro to Velocity, for no good reason other than to exercise some code that has been hanging around claiming to allow Velocity/WebMacro co-operation. After some fiddling I have http://melati.org/melati/org.melati.admin.Admin/contacts/Main running using Velocity as the template engine serving WebMacro templates. It uses an extended ClasspathResourceLoader http://melati.org/xref/org/melati/template/velocity/WebMacroClasspathResourceLoader.html so it loads templates out of the jar and a helper class to convert WM to Velocity using Perl5 http://melati.org/xref/org/melati/template/velocity/WebMacroConverter.html Hope this is of interest/use to someone on the list. yours Tim Pizey |
From: Marc P. <ma...@an...> - 2006-04-19 10:06:55
|
Guys, This one is rather confusing, and worrying me. I will be rifling through the WM source shortly to see what I can find but thought I'd raise it here first in case somebody has already been down this path. Basically, in -some- cases, but consistently, we are getting a garbled inline HTML comment error message coming out when evaluating a null. What is worrying about this is the nature of the garbling... see the output HTML: <h1>Game Referrals</h1> <table> <tr> <td>Total game referrals last month</td> <td>6</td> </tr> <tr><td valign="top">By game</td> <td> <table> <tr> <td>[<!-- Value is null: $Form.gameID at /var/www/ignition/ module]:</td> <td align="right">1</td> </tr> <tr> <td>[BIKE]:</td> <td align="right">1</td> </tr> </table> </td></tr> OK first problem, the "-->" is missing from the end of the comment. Then you realise that "/var/www/ignition/module" is not the full path to the template that caused the problem. So we have some error output truncation going on. Then you realise that $Form.gameID is not even the variable it was evaluating?! The template fragment that generates the above is here: <h1>Game Referrals</h1> <table> <tr> <td>Total game referrals last month</td> <td>$model.statsGameReferrals.c</td> </tr> <tr><td valign="top">By game</td> <td> <table> #foreach $row in $model.statsGameReferralsByGame <tr> <td>[$row.v]:</td> <td align="right">$row.c</td> </tr> #end </table> </td></tr> ...so any ideas why it is getting completely the wrong variable reference in the error here? $Form.gameID is not referenced anywhere in this template, nor any of its includes. This is worrying because it feels like a thread safety problem. Thanks in advance, Marc ~ ~ ~ Marc Palmer (ma...@an...) Consultant/Analyst AnyWare Ltd. http://www.anyware.co.uk/ |
From: Marcello H <mar...@gm...> - 2006-04-19 03:52:33
|
Can somebody write a little wiki page on this subject. I'm interrested, but don't know wehere to start. (So this would kick me in the right direction.) Thanks. Marcel 2006/4/13, Marc Palmer <ma...@an...>: > On 12 Apr 2006, at 20:52, Tim Pizey wrote: > > > > Hi, > > > > Am I right in thinking that TestSpringView fails out of the box? > > > > I have fixed locally, by changing to > > WM wm =3D new WM(); > > WebMacroView v =3D new WebMacroView(); > > v.setWebMacro(wm); > > > > // Setup dummy Spring context and provide a WM instance so > > that > > // It doesn't try to resolve test template from Servletcontext > > DefaultListableBeanFactory beanFactory =3D new > > DefaultListableBeanFactory(); > > beanFactory.registerSingleton("WebMacro", wm); > > > > > > ie explicitly setting the wm > > > > Shall I commit? > > > > If it works for you please do. I am pretty sure it wasn't failing for > me, at least I hope it wasn't :( > > Sorry. > > As far as I know only one other person has tried to use the Spring > MVC view for WebMacro. > > Cheers > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Webmacro-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-devel > |
From: Sven S. <sv...@sc...> - 2006-04-13 10:48:39
|
Hi, > I personally like the freedom you have when you use Ant, and Ant isn't > forcing any project structure. I experienced this "forcing" not to be a bad thing. Sure, it takes a bit of freedom. But if you are involved in many different projects you will be happy if you find a structure you know in every one of it. Also there are many possibilities to extend maven with ant(-tasks). So it's no complete non-ant solution. !vote pro maven Sven |
From: Marcello H <mar...@gm...> - 2006-04-12 21:30:02
|
Could it still be possible to have ant (for the Ant-lovers) together with M= aven? At my current job, we use Maven 2, but I'm not happy with that. (But probably because we use it on a big project with subprojects and dependencies etc.) I personally like the freedom you have when you use Ant, and Ant isn't forcing any project structure. There are lot's of plugins for ANT like PMD, Checkstyle, CPD and lots of other stuff (that I know are cool too in Maven...) Let Maven not be a goal, but a tool.... Greetings from the land with the wooden shoes! Marcel 2006/4/12, Tim Pizey <ti...@pa...>: > Hi gang, > > Trying to make good on my promise to Mavenise WM. > I would like to know who else is using WM in Maven projects. > > Maven is in a bit of a turmoil at the moment, with Maven and Maven2 > both in development, but hey that's open source. > > Maven has quite rigid ideas about how a project should be run, > which I am in agreement with. > > <rant> > I have had a down on Ant from the start, but as I have used > Maven and argued (successfully) with an anti-Maven friend > at length my view boils down to application developers and > tool developers should not try their hand at distribution management, > it is a large and mature discipline: respect it. > > The effect of ant on WM seems to have been to divorce the tests > from the gui, as tests only work within the ant script and > to introduce a dependency on ant for the whole test suit to run > (TestVersion). > </rant> > > The first thing to do is to make it so that all unit tests pass in Eclips= e, > straight out of the cvs tree. > This seems to involve > 1. A fix to TestSpringView, > 2. The renaming of > WebMacro.defaults.classic to WebMacro.defaults and > placing it in the classpath > 3. Removal of TestVersion and the ant filtering that it tests. > > I have now successfully produced a Maven 1 site: > http://paneris.org/~timp/webmacro/ > (oops, just noticed it still has Melati as browser title - will fix) > > I am still learning Maven2, but should be able to create a Maven2 site > sometime soon. > > The principle objective of this exercise is to get the next release of > WM into both the Maven 1 and Maven 2 repositories. > > Where we go with Maven is up to you: > 1. Minimal: configure Maven around WM ideosyncracies > (this is effectively what I have done). > 2. Total: redo the WM tree structure in accordance with > Maven best practice, remove the Ant build, > separate the tools, contrib, classic and minimal distributables > into separate Maven sub projects > > I am probably rather in favour of the latter, but it has taken this long = to > get to where I am now. > > cheers > Tim > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Webmacro-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webmacro-devel > |
From: <WebMacro@Stolsvik.com> - 2006-04-06 08:46:38
|
| Actually, SLF4J doesn't support the trace() method. From their FAQ: I know. jcl (clogging) has it. And have had to map it to log4j's debug. And JBoss have extended log4j to have it since beginning of time. It's a stupid decision to not have it, in my opionion. In _particular_ for libraries, the trace is much better than debug, since debug is more a "holistic" information than trace. Trace could display every load/entry of every little piece of information, and maybe even the merging process itself. One shouldn't have to _configure_ one's system to shut up about unimportant information, either. The debug/trace argument boils down to this: There are just _one_ "development-level" in the log4j system (and thus slf4j, due to Ceki), while there are (in log4j) _four_ for "production-level": fatal, error, warn and info. Thus you either get _absolutely every single idiotic debug/trace-line_, or _nothing_. This isn't good - it ruins the issue where you just need the "most important" contextual debug information - and trace would alleviates this considerably for most scenarios. And again - a library should really output much _debug_ information at all, sicen this is mostly up to the application using it, while it could output a good lot of _trace_ information, as that would help if you really had some strange problems going. In comparison, JSR 47 (JDK 1.4) have three levels that seems aimed at "development-levels": fine, finer, finest (in addition to method-entry and method-exit), in addition to their severe, warning, info and config "production" levels. Ceki has always been very against the TRACE level, and have refused to add it to log4j for many years, although that has always been the one single feature that has been requested the most by users and other communities (e.g. jcl and Jboss). He was finally overruled by the rest of the committers, and log4j 1.2.13 have it now. But forget this shit: my argument is still valid IMO - WebMacro is in need for some evaluation of its logging - just exchange "trace" with "debug" in my original post. The creation of a Context is e.g. not an "informational" issue. One shouldn't have to set the threshold to _warning_ to get WM to stop emitting absolutely non-essential trace/debug information. Regards, Endre. |
From: Keats K. <ke...@xa...> - 2006-04-05 21:38:27
|
Endre Stølsvik wrote: >On Tue, 4 Apr 2006, Keats Kirsch wrote: > >| I have also been reading up on SLF4J, and I think I'm convinced that it is a >| better approach. For me it's mainly because of the log interface, which seems >| more elegant and efficient.. They use formatted log messages which avoid >| having to guard your logging statements with level tests or build up strings >| that are never used. I also like that the Log4J founder is behind it. > >I don't think it's any more efficient as such. And for several >log-systems, they will still have to wrap the actual loggers (unless the >logging-system natively implement the interfaces, as log4j probably will >do at some point). > >The new "formatting methods" aren't all that fantastic in my opinion - as >I understand it, you can't shove primitives (numbers, booleans) in there - >and then you're back at unnecessary object-creation, or >string-convertions, or the "wrapping if". > > Well the boxing issue will always be there. Some say it's an inherent flaw in the design of Java vs a purely object oriented language like Smalltalk. Personally I think it was a reasonable compromise, but that's a religious war I don't care to fight. > The if (log.isDebugEnabled()) log.debug("lala"); semantics have never >bothered me at all - i have macros/templates for all these anyway - and >then I'm _sure_ that I won't create unnecessary objects or do conversions >or concatenations. > > I don't like having to type/look at the extra code. Sometimes you may still need it, but you should be able to skip it at least 90% of the time. > At any rate, I believe that these new methods will be incorporated in >log4j too, soon, as they are a novel solution to the "wrapping ifs" - but >not in all circumstance: log.trace("there are "+i+" items in the list"); > > That would be: log.debug("there are {} items in the list", new Integer(i)); or with auto-boxing: log.debug("there are {} items in the list", i); Yes, without the guarding "if" you would have to create an Object whether you have trace enabled or not. That's a simple optimization to make when it's warranted. >But yes, definately something to consider! At any rate, one should do a >overhaul of the entire logging strategy, cleaning up every log statement, >re-evaluate the level at which the log-statement outputs (there are way to >much at info level now - "trace" should be employed for most output), and >use the decided-upon native loggers instead of implementing some >inefficient wrapping or "containing" idea. > > Actually, SLF4J doesn't support the trace() method. From their FAQ: 2.6 Why doesn't the |org.slf4j.Logger| interface have methods for the TRACE level? The addition of the TRACE level has been frequently and hotly debated request. By studying various projects, it looks like the TRACE level is mostly used to disable logging output from certain classes without needing to configure logging for those classes. Indeed, the TRACE level is by default disabled in log4j and other logging systems. We believe that the same result could be achieved by adding the appropriate directives in configuration files. Thus, in the majority of cases the TRACE level has the same semantic meaning as DEBUG. In such case, the TRACE level merely saves a few configuration directives. In the rare but interesting cases where TRACE has a different meaning than DEBUG, Marker <http://www.slf4j.org/api/org/slf4j/Marker.html> objects can be put to use to convey the desired new meaning. |
From: Keats K. <ke...@xa...> - 2006-04-05 21:13:38
|
Yes I think SLF4J gives the best of both worlds ... you can plug in any of the major logging framework, or use their native implementation of the Log4J API and get native performance. Keats Marcello H wrote: >I would vote for a log-wrapper scenario, because everyone could use his personal >(or business) favorite logging system, and easily swap to another one >if the future >changes. > >So SLF4J or JCL are my two favorites right now. >(I just finisched reading the SLF4J site and I like their approach.) >Could we decide (vote?) on this issue and help me and others for the >logging problems >that might occur? > >Greetings from Holland, >Marcel > > > |
From: Marcello H <mar...@gm...> - 2006-04-05 20:42:26
|
I would vote for a log-wrapper scenario, because everyone could use his per= sonal (or business) favorite logging system, and easily swap to another one if the future changes. So SLF4J or JCL are my two favorites right now. (I just finisched reading the SLF4J site and I like their approach.) Could we decide (vote?) on this issue and help me and others for the logging problems that might occur? Greetings from Holland, Marcel |
From: <WebMacro@Stolsvik.com> - 2006-04-05 09:44:20
|
On Tue, 4 Apr 2006, Keats Kirsch wrote: | I have also been reading up on SLF4J, and I think I'm convinced that it is a | better approach. For me it's mainly because of the log interface, which seems | more elegant and efficient.. They use formatted log messages which avoid | having to guard your logging statements with level tests or build up strings | that are never used. I also like that the Log4J founder is behind it. I don't think it's any more efficient as such. And for several log-systems, they will still have to wrap the actual loggers (unless the logging-system natively implement the interfaces, as log4j probably will do at some point). The new "formatting methods" aren't all that fantastic in my opinion - as I understand it, you can't shove primitives (numbers, booleans) in there - and then you're back at unnecessary object-creation, or string-convertions, or the "wrapping if". The if (log.isDebugEnabled()) log.debug("lala"); semantics have never bothered me at all - i have macros/templates for all these anyway - and then I'm _sure_ that I won't create unnecessary objects or do conversions or concatenations. At any rate, I believe that these new methods will be incorporated in log4j too, soon, as they are a novel solution to the "wrapping ifs" - but not in all circumstance: log.trace("there are "+i+" items in the list"); But yes, definately something to consider! At any rate, one should do a overhaul of the entire logging strategy, cleaning up every log statement, re-evaluate the level at which the log-statement outputs (there are way to much at info level now - "trace" should be employed for most output), and use the decided-upon native loggers instead of implementing some inefficient wrapping or "containing" idea. Regards, Endre. |
From: Keats K. <ke...@xa...> - 2006-04-04 14:54:47
|
I have also been reading up on SLF4J, and I think I'm convinced that it is a better approach. For me it's mainly because of the log interface, which seems more elegant and efficient.. They use formatted log messages which avoid having to guard your logging statements with level tests or build up strings that are never used. I also like that the Log4J founder is behind it. Keats Endre Stølsvik wrote: >On Tue, 4 Apr 2006, Endre Stølsvik wrote: > >| On Mon, 3 Apr 2006, Keats Kirsch wrote: >| >| | Endre Stølsvik wrote: >| | >| | > I personally use log4j for our server, so log4j would in theory suit me >| | > totally nice, but considering that there are both log4j and the now rather >| | > prevalent jsr 47 (java.util.logging) and some other fringe stuff, it seems >| | > slightly backwards to go with one specific system. >| | > >| | > Regards, >| | > Endre >| | > >| | I agree. I think we should look at the JCL >| | (http://jakarta.apache.org/commons/logging/) since it already provides >| | adapters for java.logging and Log4J, etc. >| >| And again, SLF4J. >| http://www.slf4j.org/ >| >| This uses a very different "resolving" than clogging (==jcl), in that you >| actually include a specific implementation of the "logging facade": you >| simply add one of several jars to the classpath, e.g. a slf4j-log4j.jar, >| or slf4j-jsr47.jar, or a simple slf4j-stderr.jar. (Names have been faked, >| to protect me from actually having to look them up) >| Ceki Gülcü (the founder of log4j) started this as a reaction to lots of >| problems with the clogging-paradigm, that has to do with classloaders in >| multi-cl systems, _typically_ servlet containers, tomcat. Since slfj4 uses >| a _static_ linking, such problems are thus avoided. > >Reading this message, I find that I sound like an evangelist. I'm not. > >I just wanted to point out that there are _two_ solutions to the >underlying problem. The oldest is commons logging / jcl / "clogging". This >doesn't come without problems, in particular in servlet container >scenarios, and to address these problems, slf4j has been developed. These >are "very competing" in how they solve the problem at hand. > >I'm not sure which one is best - I don't think there is a clear-cut >answer, and the answer will probably be different for different settings. >One should be sure that one actually _understand_ the two solutions and >their problems before blasting out with "obviously slf4j is best, always!" >or the opposite. > But I do think that both solutions must be known by the community before >a decision is made! > >Regards, >Endre. > |