Simone Lazzaris wrote:
> 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.

Hi, thanks for the hint. That problem came up for some times now, I
added a page in the wiki (http://en.opensuse.org/Swamp/KnownIssues)

> 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.

The torque-gen lib should only be needed during build time. It's
included in the source tarball.

> 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;

It seems webswamp cannot access the SWAMPUser.getPerm(String, String)
method from SWAMP core. Could this also be related to the security
constraints of tomcat? Is the SWAMP core lib correctly installed?

Greetings

-- 
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development :: Internal Tools
"A strange game.
The only winning move is not to play.", Wargames

-------------------------------------------------------------------------
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