Re: Executing binary from Servlet

2006-09-13 Thread William Bonnet
Hi > Tomcat is started using the startup.sh script provided and it runs using > a specific tomcat account which has admin type rights. > I am beginning to wonder what sort of problem this may be, as I must > emphasise that: > The runtime.exec() DOES work sometimes, and not others. There does not >

Re: Executing binary from Servlet

2006-09-13 Thread Sriram Narayanan
On 9/12/06, Mark HB <[EMAIL PROTECTED]> wrote: I have ensured that the permissions are set to at least 755 and am now at a bit of a loss. Any ideas? I'd faced a similar problem yesterday when adding some features to Sahi (http://sahi.sourceforge.net/). But this was on Windows. I took the syst

Re: Executing binary from Servlet

2006-09-13 Thread Sameer Acharya
was updating to the >>> latest release of jre and recompiled the servlet with 1.5.0 and now it >>> works. >>> Previously I was using 1.3.1. >>> So there we go. >>> >>> Cheers >>> Mark >>> >>> Enrico Giurin wrot

Re: Executing binary from Servlet

2006-09-13 Thread Mark HB
From: "Mark HB" To: Sent: Tuesday, September 12, 2006 10:16 AM Subject: Executing binary from Servlet Hi, I am looking for some help on a problem I have encountered with executing a binary from a servlet using Runtime.getRuntime().exec() The code that I have is simply exe

Re: Executing binary from Servlet

2006-09-12 Thread Sameer Acharya
gt; I guess yours is a problem of security manager of tomcat. >>> I think you have to modify some entries of the catalina.policy file. >>> http://tomcat.apache.org/tomcat-5.0-doc/security-manager-howto.html >>> >>> >>> Enrico. >>> >>> -

Re: Executing binary from Servlet

2006-09-12 Thread Martin Gainty
ginal message without making a copy. Thank you. - Original Message - From: "Santosh Puranshettiwar" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, September 12, 2006 8:56 AM Subject: Re: Executing binary from Servlet > >Specifically its bee

Re: Executing binary from Servlet

2006-09-12 Thread Santosh Puranshettiwar
OTECTED]> To: "Tomcat Users List" Sent: Tuesday, September 12, 2006 8:27 AM Subject: Re: Executing binary from Servlet HI, It all runs fine as a standalone, and when I print the command that I am running using exec to the screen and then run it myself, it works fine. I had t

Re: Executing binary from Servlet

2006-09-12 Thread Martin Gainty
one or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Mark HB" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, September 12, 2006 8:27 AM Subject: Re: Executing binary from Servlet > HI, > It a

Re: Executing binary from Servlet

2006-09-12 Thread Mark HB
tomcat. I think you have to modify some entries of the catalina.policy file. http://tomcat.apache.org/tomcat-5.0-doc/security-manager-howto.html Enrico. - Original Message - From: "Mark HB" To: Sent: Tuesday, September 12, 2006 10:16 AM Subject: Executing binary from Servlet

Re: Executing binary from Servlet

2006-09-12 Thread Santosh Puranshettiwar
- Original Message - From: "Mark HB" To: Sent: Tuesday, September 12, 2006 10:16 AM Subject: Executing binary from Servlet Hi, I am looking for some help on a problem I have encountered with executing a binary from a servlet using Runtime.getRuntime().exec() The code tha

Re: Executing binary from Servlet

2006-09-12 Thread Sameer Acharya
hink you have to modify some entries of the catalina.policy file. > http://tomcat.apache.org/tomcat-5.0-doc/security-manager-howto.html > > > Enrico. > > - Original Message - From: "Mark HB" > > To: > Sent: Tuesday, September 12, 2006 10:16 AM > Subject: Exe

Re: Executing binary from Servlet

2006-09-12 Thread David Delbecq
ink you have to modify some entries of the catalina.policy file. >> http://tomcat.apache.org/tomcat-5.0-doc/security-manager-howto.html >> >> >> Enrico. >> >> - Original Message - From: "Mark HB" >> <[EMAIL PROTECTED]> >> To: >> Sen

Re: Executing binary from Servlet

2006-09-12 Thread Mark HB
PROTECTED]> To: Sent: Tuesday, September 12, 2006 10:16 AM Subject: Executing binary from Servlet Hi, I am looking for some help on a problem I have encountered with executing a binary from a servlet using Runtime.getRuntime().exec() The code that I have is simply executing a binary called "c

Re: Executing binary from Servlet

2006-09-12 Thread Mark HB
bject: Executing binary from Servlet Hi, I am looking for some help on a problem I have encountered with executing a binary from a servlet using Runtime.getRuntime().exec() The code that I have is simply executing a binary called "cimmsim": File theDir = new File(curdir+"WORK/&q

Re: Executing binary from Servlet

2006-09-12 Thread Enrico Giurin
]> To: Sent: Tuesday, September 12, 2006 10:16 AM Subject: Executing binary from Servlet Hi, I am looking for some help on a problem I have encountered with executing a binary from a servlet using Runtime.getRuntime().exec() The code that I have is simply executing a binary called "cimmsim

Executing binary from Servlet

2006-09-12 Thread Mark HB
Hi, I am looking for some help on a problem I have encountered with executing a binary from a servlet using Runtime.getRuntime().exec() The code that I have is simply executing a binary called "cimmsim": File theDir = new File(curdir+"WORK/"+rand); java.lang.String cmdline = theDir+"/cimmsim -f