Re: [POLL] Who is using CGIServlet, and why?

2019-10-07 Thread Chuck Caldarale
On Mon, Oct 7, 2019 at 10:22 AM Christopher Schultz < ch...@christopherschultz.net> wrote: I'm interested in what the community is doing with the CGIServlet, if > anything. Please do NOT reply if you don't use the CGIServlet. Please > DO reply if you fit into any of these categories:

[POLL] Who is using CGIServlet, and why?

2019-10-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm interested in what the community is doing with the CGIServlet, if anything. Please do NOT reply if you don't use the CGIServlet. Please DO reply if you fit into any of these categories: 1. Using Tomcat as a primary web server without

Re: CGIServlet - Disregarding 404 error-page

2015-03-16 Thread Jacob Haverkost
for a file that does not exist. Since the file doesn't exist, I actually wanted to show a proper 404 error page matching the error pages for the rest of my server. Currently, all I see is a blank page from the CGIServlet since my debug level doesn't meet the logging condition. Thanks for the help, Jake

Re: CGIServlet - Disregarding 404 error-page

2015-03-16 Thread Konstantin Kolinko
2015-03-16 21:52 GMT+03:00 Jacob Haverkost jdh5...@gmail.com: Version: 6.0.43 OS: Win7 x64 Currently, the CGIServlet does not appear to support using the 404 error-page specified in the web.xml (ROOT). The error-pages work fine This appears to be due to the line, res.setStatus(404);, inside

CGIServlet - Disregarding 404 error-page

2015-03-16 Thread Jacob Haverkost
Version: 6.0.43 OS: Win7 x64 Currently, the CGIServlet does not appear to support using the 404 error-page specified in the web.xml (ROOT). The error-pages work fine This appears to be due to the line, res.setStatus(404);, inside of doGet(). According to the documentation

Re: CGIServlet - Disregarding 404 error-page

2015-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jacob, On 3/16/15 2:52 PM, Jacob Haverkost wrote: Version: 6.0.43 OS: Win7 x64 Currently, the CGIServlet does not appear to support using the 404 error-page specified in the web.xml (ROOT). The error-pages work fine This appears to be due

Re: CGIServlet - php

2011-09-04 Thread throwsCode
://old.nabble.com/CGIServlet---php-tp32390310p32396552.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: CGIServlet - php

2011-09-03 Thread throwsCode
. Looking back I never should have jumped on that Woodstock ride. Too soon old, too late smart. TC -- View this message in context: http://old.nabble.com/CGIServlet---php-tp32390310p32392261.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: CGIServlet - php

2011-09-03 Thread Konstantin Kolinko
2011/9/3 throwsCode donmillho...@yahoo.com: I do not quite understand you. I'm trying to implement PHP on tomcat 7.0.20 with no luck.  Does anyone know how I can tell whether the CGIServlet is running? I uncommented all of the sections indicated in the Tomcat document. What sections? What

Re: CGIServlet - php

2011-09-03 Thread throwsCode
to Tomcat 7 the main document is CGI How To (very small) this I believe I implemented, no joy. The second document that had some value was the CGIServlet Class document. I did go through FAQ and copied some stuff but its not at my finger tips, I'll include the references in my reply

Re: CGIServlet - php

2011-09-03 Thread Terence M. Bandoian
On 1:59 PM, Konstantin Kolinko wrote: 2011/9/3 throwsCodedonmillho...@yahoo.com: I do not quite understand you. I'm trying to implement PHP on tomcat 7.0.20 with no luck. Does anyone know how I can tell whether the CGIServlet is running? I uncommented all of the sections indicated

Re: CGIServlet - php

2011-09-03 Thread Ken Bowen
...@yahoo.com: I do not quite understand you. I'm trying to implement PHP on tomcat 7.0.20 with no luck. Does anyone know how I can tell whether the CGIServlet is running? I uncommented all of the sections indicated in the Tomcat document. What sections? What document did you read

Re: CGIServlet - php

2011-09-03 Thread Mark Eggers
- Original Message - From: throwsCode donmillho...@yahoo.com To: users@tomcat.apache.org Cc: Sent: Saturday, September 3, 2011 11:44 AM Subject: Re: CGIServlet - php Wow thanks Konstantin a lot of good questions and suggestions.  Please give me some time to put together

Re: CGIServlet - php

2011-09-03 Thread Mark Eggers
- Original Message Edited - From: Mark Eggers its_toas...@yahoo.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Saturday, September 3, 2011 3:53 PM Subject: Re: CGIServlet - php C. Configure web.xml I put everything into my web application's web.xml since I didn't

Re: CGIServlet - php

2011-09-03 Thread throwsCode
/CGIServlet---php-tp32390310p32394151.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: CGIServlet - php

2011-09-03 Thread Mark Eggers
- Original Message - From: throwsCode donmillho...@yahoo.com To: users@tomcat.apache.org Cc: Sent: Saturday, September 3, 2011 5:13 PM Subject: Re: CGIServlet - php Terence, Ken, Mark thanks for all your input.  Much to consider. Mark your the first person who replied who

Re: CGIServlet - php

2011-09-02 Thread throwsCode
/load-on-startup /servlet AND servlet-mapping servlet-namecgi/servlet-name url-pattern/cgi-bin/*/url-pattern /servlet-mapping I would appreciate any advice you might offer. TC -- View this message in context: http://old.nabble.com/CGIServlet---php

Re: CGIServlet - php

2011-09-02 Thread Hassan Schroeder
On Fri, Sep 2, 2011 at 5:06 PM, throwsCode donmillho...@yahoo.com wrote: I'm trying to implement PHP on tomcat 7.0.20 Dear god, why? I would rather duct-tape rabid weasels inside my shorts than do, well, anything with PHP again, but if you must -- just use Apache HTTPD. Seriously. -- Hassan

Re: CGIServlet - php

2011-09-02 Thread throwsCode
the Tomcat approach. Thanks for you comments. TC -- View this message in context: http://old.nabble.com/CGIServlet---php-tp32390310p32390812.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: CGIServlet - php

2011-09-02 Thread Hassan Schroeder
On Fri, Sep 2, 2011 at 9:25 PM, throwsCode donmillho...@yahoo.com wrote: I am predominantly a JSF/Facelets/IceFaces developer but recently I have been asked to assist some non-profits which calls for php. Yeah, that's similar to how I got sucked into doing PHP too :-) (Fool me once, shame on

RE: CGIServlet followed by a Filter that modifies the response

2010-07-26 Thread Caldarale, Charles R
From: Anthony Brew [mailto:atb...@gmail.com] Subject: Re: CGIServlet followed by a Filter that modifies the response Unfortunately I am coming across the following: java.lang.IllegalStateException: getWriter() has already been called for this response Since the CGI servlet uses

Re: CGIServlet followed by a Filter that modifies the response

2010-07-25 Thread Anthony Brew
I had hoped to use a CGIServlet to do some stuff for me and then modify the response on the fly on the way back with a like this: filter filter-namemod/filter-name filter-classcom.util.web.PageFilter/filter-class /filter filter-mapping filter-namemod

Enabling CGIServlet causes SecurityException in Tomat 6

2010-06-02 Thread Joe Hansen
Hey All, We are using Tomcat 6 on a RedHat box. Today I installed AWStats and AWStats needs CGI. So I enabled the CGIServlet in the Tomcat's web.xml file. When I restarted Tomcat, I got the following error message: SEVERE: Error deploying web application directory docs

Re: Enabling CGIServlet causes SecurityException in Tomat 6

2010-06-02 Thread Joe Hansen
to the webapplication's web.xml file. Thanks, Joe On Wed, Jun 2, 2010 at 5:07 PM, Joe Hansen joe.hansen...@gmail.com wrote: Hey All, We are using Tomcat 6 on a RedHat box. Today I installed AWStats and AWStats needs CGI. So I enabled the CGIServlet in the Tomcat's web.xml file. When I restarted Tomcat, I got

Re: CGIServlet in Tomcat 6

2008-09-10 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of a User In order to add privileged=true property simply edit $CATALINA_HOME/conf/context.xml replace tag Context by Context privileged=true In Response To: Hi all, I'm using CGI servlet in Tomcat 5 without any

RE: CGIServlet in Tomcat 6

2008-08-13 Thread Martin Gainty
this transmission. Date: Tue, 12 Aug 2008 14:32:50 -0500 From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: CGIServlet in Tomcat 6 See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of a User Add it where exactly? In $CATALINA_HOME/conf

Re: CGIServlet in Tomcat 6

2008-08-13 Thread Mark Thomas
Martin Gainty wrote: grant tomcat access to CGIServlet.jar edit $TOMCAT_HOME/conf/catalina.policy grant codeBase file:${catalina.home}/webapps/YourWebApp/WEB-INF/lib/CGIServlet.jar { permission java.security.AllPermission; }; HTH That won't help at all. The CGIServlet bypasses

Re: CGIServlet in Tomcat 6

2008-08-13 Thread Konstantin Kolinko
2008/8/13 Mark Thomas [EMAIL PROTECTED]: The privileged attribute needs to be set on the context. In your own web application create a file, META-INF/context.xml, with the following content: ?xml version=1.0 encoding=UTF-8? Context privileged=true / See the manager application for an

Re: CGIServlet in Tomcat 6

2008-08-12 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of a User Add it where exactly? In $CATALINA_HOME/conf/context.xml? In $CATALINA_HOME/conf/server.xml? Please provide the exact path and a snippet of the code... In Response To: Hi all, I'm using CGI servlet in

Tomcat 5.0.27, JDK 1.3.1 - NoSuchMethodError in CGIServlet$CGIEnvironment

2008-07-03 Thread sridharmnj
this message in context: http://www.nabble.com/Tomcat-5.0.27%2C-JDK-1.3.1---NoSuchMethodError-in-CGIServlet%24CGIEnvironment-tp18260158p18260158.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new

Re: CGIServlet in Tomcat 6

2008-03-14 Thread rachmat
See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of a User Sorry for a kind of a necropost, but is't enough to add privileged=true to the root tag of main context.xml which is in $CATALINA_HOME/conf/context.xml In Response To: Hi all, I'm using CGI servlet in

Re: CGIServlet in Tomcat 6

2008-03-13 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of a User Sorry for a kind of a necropost, but is't enough to add privileged=true to the root tag of main context.xml which is in $CATALINA_HOME/conf/context.xml In Response To: Hi all, I'm using CGI servlet in

Re: CGIServlet

2007-07-02 Thread Robert J. Carr
that processes the servlet mappings, so the CGIServlet needs to be visible only to Tomcat, not the rest of the webapp. GREAT explanation ... I hadn't looked at it this way. Thank you very much! Knowing is half the battle

RE: CGIServlet

2007-07-01 Thread Caldarale, Charles R
From: Robert J. Carr [mailto:[EMAIL PROTECTED] Subject: Re: CGIServlet http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html So I'm not following, are the resources TOTALLY invisible to web applications or are they made visible through this class loader? Both. You've made

Re: CGIServlet

2007-06-30 Thread Mark Thomas
Robert J. Carr wrote: To do this, I simply put the servlet definitions into my own web.xml, and then put the servlets-cgi.jar into my own lib. When doing this, I get a ClassNotFound exception on CGIServlet. Try just putting the definition in your web.xml and leave the jar where it is. Mark

Re: CGIServlet

2007-06-30 Thread Robert J. Carr
Thanks for the quick reply, I don't believe I've tried that, but it isn't the complete solution I was looking for. Remember, tomcat (5.5) is shipped with the CGIServlet jar in a package named /server/lib/servlets-cgi.renametojar. Using your solution would remove the servlet setup from

CGIServlet

2007-06-29 Thread Robert J. Carr
I'd like to use some basic CGI in my webapp but I don't want to rely on server admins to set it up per the directions of the how to (found at http://tomcat.apache.org/tomcat-5.5-doc/cgi-howto.html). When I follow those directions, everything works fine, however I'd like to put the CGIServlet

CGIServlet in Tomcat 6

2007-01-23 Thread Yannick Haudry
Hi all, I'm using CGI servlet in Tomcat 5 without any problem, but with Tomcat 6 I get this error when deploying my web application: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.CGIServlet is privileged and cannot be loaded by this web application In Tomcat 6, I

Re: CGIServlet in Tomcat 6

2007-01-23 Thread Martin Dubuc
Not sure if this is all that is required, but in the Context section of the webapp context.xml file, you need to add privileged=true property. Martin On 1/23/07, Yannick Haudry [EMAIL PROTECTED] wrote: Hi all, I'm using CGI servlet in Tomcat 5 without any problem, but with Tomcat 6 I get this

Re: CGIServlet in Tomcat 6

2007-01-23 Thread Yannick Haudry
ok, now it works ! thanks for your answer Martin Yannick On 1/23/07, Martin Dubuc [EMAIL PROTECTED] wrote: Not sure if this is all that is required, but in the Context section of the webapp context.xml file, you need to add privileged=true property. Martin On 1/23/07, Yannick Haudry [EMAIL