Hi,
i installed Tomcat4.03 on windows 2000 advanced server.
if i have in my jsp code :
<%
Process p=Runtime.getRuntime().exec(Myexe)
or
Process p=Runtime.getRuntime().exec("cmd Myexe")
or
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 :
java.io.FilePermission("<<ALL FILES>>", "execute"))
and
java.lang.RuntimePermission
this class permit to execute Runtime.exec() from jsp file i think so
any help ?
thx
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>