Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

JForum on Linux, Resin 2.1.14, and IBM Java 1.4.1

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use Tomcat the system works fine?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Anonymous wrote: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>

jfhgsdjk

slakSHAJLKJLJ

JLJLKJL


[originally posted on jforum.net by Anonymous]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic