Hello
First of all thank you for your answer. The owner of tomcat it's my
user, but the problem is that my system doesn't have the group (or user)
tomcat. I tried to launch tomcat as root (just as a test) moving the
folder to the same place as the .class is, and later the same moving the
fold
If my quick read of your problem is correct, (only works when run from
command line) then I would venture to say that you may have a rights issue.
Who owns the app? By default Tomcat starts from the scripts as owner tomcat
where as from the command line it is running as you (root or some admin