tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Sch├Ânhaber <mailing-tomcat-u...@schoenhaber.de>
Subject Re: starting a binary by calling a servlet
Date Tue, 14 Jun 2005 13:29:44 GMT
Am Dienstag, 14. Juni 2005 14:52 schrieb Christian Stalp:
> I did it.
> I made this entry in catalina-policy:
>
>  // Mein Eintrag zum ausf├╝hren eines Prozesses:
> grant codeBase "file:${catalina.home}/webapps/my_exec/-" {
>     permission java.io.FilePermission "/home/chris/c/file-test","execute";
> };
>

Is the path really correct? Is the webapp's directory really named "my_exec"?

Try to use the absolute pathname of your webapp's directory, i. e. something 
like
grant codeBase "file:/opt/tomcat-4.1/webapps/my_exec_or_whatever/-" ...

Is the file really executable for the account tomcat runs under?

Regards
  mks

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message