• 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

SecurityException when rendering template

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe someone here will be able to help, I have taken this as far as I can for now...

I'm developing a web portal based around JForum, and rathe than integration JForum into a CMS I'm extending it to become the CMS. Right now I have two directories in my work dir: jforum and crapaud.

jforum is the CVS tree and crapaud contains the jars, my code, custom config, and a symlink to src/net/jforum. The idea is that I can continue to base my stuff around updates in CVS.

Anyway, as it stands there are very few changes from the base code right now, and so crapaud is very close to jforum in content, with only DB changes, and few small things (I've subclassed JForum to Crapaud as my entry point.

However, after building I try to access this page: http://testserver:8080/crapaud/forums/list.page and I get this Expcetion in the logs:



For some reason freemarker is trying to load the template from the wrong path.

My Context entry in server.xml looks like:




and web.xml is



Anyone know why this is happening?

Arawak
[originally posted on jforum.net by Arawak]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, everyone can relax now, I figured it out :-)

My templates/default was a symlink to the jforum directory!

Doh!

Arawak
[originally posted on jforum.net by Arawak]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah, I was going to ask if wasn't the symlink the root of the problem!!

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Farmers know to never drive a tractor near a honey locust tree. But a tiny ad is okay:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic