tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tarek gh" <>
Subject Urgent (SecurityManager and Tomcat services and Runtime.getRuntime().exec ) ??
Date Sun, 28 Apr 2002 09:03:38 GMT

i installed Tomcat4.03 on windows 2000 advanced server.

if i have in my jsp code  :
     Process p=Runtime.getRuntime().exec(Myexe)
     Process p=Runtime.getRuntime().exec("cmd Myexe")
Process p=Runtime.getRuntime().exec("c:\\winnt\\system32\\cmd Myexe")

when i used the Apache Tomcat services, this command did not worked
if i stoped this services and started the startup batch file from 
tomcat_dir/bin the command worked properly

and my idea to :
SecurityManager and Tomcat
i don't know how can i pass an parameter to apache tomcat nt services to get 
my securityManager file in dirctory  : tomcat_home/bin
because the security manager include :"<<ALL FILES>>", "execute"))
this class permit to execute Runtime.exec() from jsp file i think so

any help ?

MSN Photos is the easiest way to share and print your photos:

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message