Hello,
I've found that the exception which I was experiencing was due to a security 
error: the code was not able to write the logs (and maybe more). Disabling 
the security feature of tomcat (enabled by ubuntu by default) fixed that 
problem.


So I could go a bit further; I've reached the login page, but then I've found 
that the torque-gen-3.1.1.jar was not installed on the sistem, so I've got 
many error regarding .vm file not found.

i've downloaded the file from the apache website, and placed 
in /var/lib/tomcat5/webapps/webswamp/templates. Ant that was (seemed) OK.


Now I have another issue: 

22.01 11:26:29 [ERROR] Method tr threw exception for reference $ui in template 
messages.vm at  [1,1]
22.01 11:26:29 [ERROR] Error rendering Velocity template: screens/Index.vm
org.apache.velocity.exception.MethodInvocationException: Invocation of 
method 'tr' in  class de.suse.swamp.webswamp.SwampUIM
anager threw exception class java.lang.NoSuchMethodError : 
de.suse.swamp.core.security.SWAMPUser.getPerm(Ljava/lang/String;L
java/lang/String;)Ljava/lang/String;
        at 
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:246)
        at 
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
        at 
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
        at 
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
        at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181)
        at 
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
        at 
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
        at org.apache.velocity.Template.merge(Template.java:256)
        at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449)
        at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418)
        at 
org.apache.turbine.services.velocity.TurbineVelocityService.executeRequest(TurbineVelocityService.java:415)
        at 
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:281)
        at 
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:71)
        at 
org.apache.turbine.modules.screens.VelocityScreen.buildTemplate(VelocityScreen.java:119)
        at 
org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.java:101)
        at org.apache.turbine.modules.Screen.build(Screen.java:57)
        at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:107)
        at 
org.apache.turbine.modules.layouts.VelocityOnlyLayout.doBuild(VelocityOnlyLayout.java:92)
        at org.apache.turbine.modules.Layout.build(Layout.java:53)
        at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:101)
        at 
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:146)
        at org.apache.turbine.modules.Page.build(Page.java:53)
        at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:101)
        at org.apache.turbine.Turbine.doGet(Turbine.java:789)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
        at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

The method 'tr' is not found. Why ? Am I missing something ?


-- 
Simone Lazzaris
Interactive S.r.L.

-------------------------------------------------------------------------
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
_______________________________________________
swamp-devel mailing list
swamp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net 

Reply via email to