Re: Calling a CGI script from Servlet

2010-08-01 Thread troylparrish
Right you are, this is a system call, sorry for the mislabeling. I will do that. Thanks for the pointer. -Original Message- From: Mark Thomas To: Tomcat Users List Sent: Sun, Aug 1, 2010 10:07 am Subject: Re: Calling a CGI script from Servlet On 01/08/2010 13:19

Re: Calling a CGI script from Servlet

2010-08-01 Thread Mark Thomas
On 01/08/2010 13:19, troylparr...@aol.com wrote: > > > > Mark, > > Thanks for the reply. I am using Tomcat 6.0.20. The script is located in > WEB-INF/cgi and in the call I am using an absolute path: > > //System Call > String[cmd] = {"python", > 'home/troy/NetBeansProjects/GSMFilter/web/WEB

Re: Calling a CGI script from Servlet

2010-08-01 Thread troylparrish
Yes, I mean /home/troy . . . -Original Message- From: Jason Pyeron To: 'Tomcat Users List' Sent: Sun, Aug 1, 2010 9:19 am Subject: RE: Calling a CGI script from Servlet > -Original Message- > From: troylparr...@aol.com [mailto:troylparr...@a

RE: Calling a CGI script from Servlet

2010-08-01 Thread Jason Pyeron
> -Original Message- > From: troylparr...@aol.com [mailto:troylparr...@aol.com] > Sent: Sunday, August 01, 2010 8:19 > To: users@tomcat.apache.org > Subject: Re: Calling a CGI script from Servlet > > > > > Mark, > > Thanks for the reply. I am us

Re: Calling a CGI script from Servlet

2010-08-01 Thread troylparrish
t;file:${catalina.home}/webapps/GSMFilter/-"{ permission java.lang.RuntimePermission "/home/troy/NetBeansProjects/GSMFilter/web/WEB-INF/storage/<>", "read,write,execute,delete"; -----Original Message- From: Mark Thomas To: Tomcat Users List Sent:

Re: Calling a CGI script from Servlet

2010-08-01 Thread Mark Thomas
On 01/08/2010 03:32, troylparr...@aol.com wrote: > At this point I am at a loss. Any help would be greatly appreciated. With the information you have provided so far, I don't think anyone here is going to be able to help you. As a minimum, you'll need to provide the following: - Tomcat version -

Calling a CGI script from Servlet

2010-07-31 Thread troylparrish
I am new to configuring tomcat (I have run it for a few years as it is packaged with Netbeans) and new to linux and I am stuck on a particular problem. I have a project in which I am trying to call a python code from a servlet. I am using tomcat6 on Ubuntu 10.04. I have used both Runtime.exe