Re: Running Perl in Tomcat

2010-06-10 Thread Sravan Suryadevara
Okay, after looking through the logs, I decided to check my web.xml and context.xml files, so I realized that the servlet mapping included for the CGI Servlet, maps to within the ROOT directory (where my webapp is sitting). I also had to put the script in ROOT/WEB-INF/cgi. So now it's working. Tha

Re: Running Perl in Tomcat

2010-06-10 Thread Pid
On 10/06/2010 09:54, Sravan Suryadevara wrote: >> "Only Contexts which are marked as privileged may use the CGI servlet" >> >> Did you mark the context as privileged? >> >> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html > > I have, in conf/context.xml. Since I'm only running one app

Re: Running Perl in Tomcat

2010-06-10 Thread Sravan Suryadevara
> "Only Contexts which are marked as privileged may use the CGI servlet" > > Did you mark the context as privileged? > >  http://tomcat.apache.org/tomcat-6.0-doc/config/context.html I have, in conf/context.xml. Since I'm only running one app I figured it wouldn't really be terrible if it was globa

Re: Running Perl in Tomcat

2010-06-10 Thread Pid
On 10/06/2010 08:30, Sravan Suryadevara wrote: > Hi, > > So I'm trying run a perl script within tomcat. Since I need to run > only one script, I figured itd be easier to just include it in tomcat > than install Apache HTTP server. > I'm currently using Tomcat 6.0.26 on CentOS 5. I'm using port 810

Running Perl in Tomcat

2010-06-10 Thread Sravan Suryadevara
Hi, So I'm trying run a perl script within tomcat. Since I need to run only one script, I figured itd be easier to just include it in tomcat than install Apache HTTP server. I'm currently using Tomcat 6.0.26 on CentOS 5. I'm using port 8100 (has worked before the cgi stuff), and my webapp is runni