We're running JForum on Linux, Resin 2.1.14, and IBM
Java 1.4.1.
I've got the configuration I want to use working just fine on windows xp with Resin 2.1.14 and Sun's JDK 1.4.2.
The problem seems to be with Macros: Whenever I load a forum page I get the following:
on line 28, column 19 in default/forum_show.htm pagination.doPagination not found. The problematic instruction: ---------- ==> user-directive pagination.doPagination [on line 28, column 19 in default/forum_show.htm] in include moduleAction [on line 66, column 21 in default/forum_base.htm] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: on line 28, column 19 in default/forum_show.htm pagination.doPagination not found. at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136) at freemarker.core.Environment.visit(Environment.java(Compiled Code)) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java(Compiled Code)) at freemarker.core.Environment.include(Environment.java:1256) at freemarker.core.Include.accept(Include.java:156) at freemarker.core.Environment.visit(Environment.java(Compiled Code)) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java(Compiled Code)) at freemarker.core.Environment.process(Environment.java:156) at freemarker.template.Template.process(Template.java:219) at net.jforum.JForum.service(JForum.java:519) at javax.servlet.http.HttpServlet.service(HttpServlet.java:103) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:568)
Clearly the problem is with freemaker and macros. I tried changing the macro import directive at the top to ensure that it was loading correctly, and sure enough a change to it results in an error about not being able to read that file.
Any idea what's going on here? I have it working fine on windows....
-Travis Savo <
tsavo@ifilm.com>
[originally posted on jforum.net by Anonymous]