Re: Diagnosing problem loading "theme.properties" on JBoss 7 with Struts 2.3.16

2013-12-15 Thread Lukasz Lenart
Hi, I see the problem, BaseTemplateEngine#getThemeProps(Template template) doesn't use ServletContext to resolve possible paths where theme.properties can be found. The solution is easy - move theme.properties under classpath and the reset can lay where it is right now. The second option is to m

Diagnosing problem loading "theme.properties" on JBoss 7 with Struts 2.3.16

2013-12-12 Thread rgm
I'm trying to figure out why "theme.properties" isn't loaded from the filesystem on my JBoss 7 system and believe that this is a useful change to BaseTemplateEngine.java: private InputStream createFileInputStream(File propFile) throws FileNotFoundException { InputStream is = null;