Hi,

Do you have a relative path in the exec call? AFAIK,
windows services start running in the c:\WINNT\system32
folder (unless the tomcat service changes it when running,
does anybody know if that's the case?), so your exec call 
will fail unless it uses an absolute path.

Hope it helps,

   Ion

-----Mensaje original-----
De: Tarek gh [mailto:[EMAIL PROTECTED]]
Enviado el: viernes, 26 de abril de 2002 15:09
Para: [EMAIL PROTECTED]
Asunto: Please Help (Apache Tomcat services and
Runtime.getRuntime().exec ) ??




Hi,

i installed Tomcat4.03 on windows 2000 advanced server.

if i have in my jsp code  :
    <%
    Process p=Runtime.getRuntime().exec(Myexe)
    ....
    %>
when i used the Apache Tomcat services, this command did not worked
if i started the startup batch file and stoped this services the command 
worked properly
please any help ???


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to