Re: CGI script to work on Tomcat

2014-06-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 6/20/14, 7:59 PM, David Kerber wrote: > On 6/20/2014 6:19 PM, André Warnier wrote: > > ... > >>> Finally, if the Perl script isn't that complicated, you should >>> consider re-writing it in Java since you are using a Java >>> applicatio

Re: CGI script to work on Tomcat

2014-06-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 6/20/14, 6:19 PM, André Warnier wrote: > Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Rahul, >> >> On 6/20/14, 3:10 PM, Rahul R wrote: >>> This is from my conf/web.xml >>> >>> cgi >>> >>> org.apa

Re: CGI script to work on Tomcat

2014-06-20 Thread David Kerber
On 6/20/2014 6:19 PM, André Warnier wrote: ... Finally, if the Perl script isn't that complicated, you should consider re-writing it in Java since you are using a Java application server. It will be much easier to deal with everything that way. Who said that the cgi-bin script was perl ? (no

Re: CGI script to work on Tomcat

2014-06-20 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rahul, On 6/20/14, 3:10 PM, Rahul R wrote: This is from my conf/web.xml cgi org.apache.catalina.servlets.CGIServlet debug 0 cgiPathPrefix WEB-INF/cgi passShellEnvironment true executable perl 5

Re: CGI script to work on Tomcat

2014-06-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rahul, On 6/20/14, 3:10 PM, Rahul R wrote: > This is from my conf/web.xml > > cgi > > org.apache.catalina.servlets.CGIServlet > > > debug 0 > cgiPathPrefix > WEB-INF/cgi > passShellEnvironment > true > executable > perl > > 5 >

Re: CGI script to work on Tomcat

2014-06-20 Thread Rahul R
This is from my conf/web.xml cgi org.apache.catalina.servlets.CGIServlet debug 0 cgiPathPrefix WEB-INF/cgi passShellEnvironment true executable perl 5

Re: Webapps directory query

2014-06-20 Thread Terence M. Bandoian
On 6/20/2014 12:53 AM, vicky wrote: Thanks Mark, but it doesn't have the details of scenario when we'll carry out a redeployment along with a restart/ How the exploded directories will then be updated , is it only the files are going to be updated within it ? Please give some directions. V

Re: server.xml socketBuffer setting

2014-06-20 Thread Wang, John
It was caused by a bug in Windows Server 2008 R2. Take a look at this http://support.microsoft.com/kb/2577795 On 6/18/14, 15:18, "David kerber" wrote: >On 6/17/2014 11:34 AM, David kerber wrote: >> Running TC 7.0.54 as a service with JRE 7u60, on Windows Server 2008 R2. >> >> What should I use

Re: Browsers suddenly start timing out when accessing port 80 of secure site

2014-06-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 6/20/14, 10:24 AM, Jeffrey Janner wrote: >> -Original Message- From: Bruce Lombardi >> [mailto:brlom...@gmail.com] Sent: Thursday, June 19, 2014 11:33 >> AM To: users@tomcat.apache.org Subject: Browsers suddenly start >> timing o

Re: Problem with Transfer-Encoding: chunked (and AJP?)

2014-06-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Markus, On 6/20/14, 7:30 AM, Markus Dörschmidt wrote: > Hi Björn, > > I think, the problem is the content-type, you're using. It is set > to "text/xml", but you don't send correct XML. The error messages > seems also to be sent by some SOAP framewo

RE: Browsers suddenly start timing out when accessing port 80 of secure site

2014-06-20 Thread Jeffrey Janner
> -Original Message- > From: Bruce Lombardi [mailto:brlom...@gmail.com] > Sent: Thursday, June 19, 2014 11:33 AM > To: users@tomcat.apache.org > Subject: Browsers suddenly start timing out when accessing port 80 of > secure site > > We have a Java application running on Tomcat 7.0.52 on an

Re: CGI script to work on Tomcat

2014-06-20 Thread André Warnier
Rahul R wrote: More info: http://localhost:8180/toggle_read.html is html. But after using in the html the url loading is http://localhost:8180/read_toggle.cgi and again its giving 404 error. :( Are you listening to what you are told ? Did you read https://tomcat.apache.org/tomcat-7.0-doc/cgi-

Re: CGI script to work on Tomcat

2014-06-20 Thread Rahul R
More info: http://localhost:8180/toggle_read.html is html. But after using in the html the url loading is http://localhost:8180/read_toggle.cgi and again its giving 404 error. :( On Fri, Jun 20, 2014 at 5:59 PM, Rahul R wrote: > Thanks Mark for your suggestion. But by privileged, did you mean

Re: CGI script to work on Tomcat

2014-06-20 Thread Rahul R
Thanks Mark for your suggestion. But by privileged, did you mean to add an entry like below on context.xml? On Fri, Jun 20, 2014 at 5:46 PM, Mark Thomas wrote: > On 20/06/2014 12:49, Rahul R wrote: > > Hi > > > > I am trying to migrate something which was working under apache to > tomcat.

Re: CGI script to work on Tomcat

2014-06-20 Thread Mark Thomas
On 20/06/2014 12:49, Rahul R wrote: > Hi > > I am trying to migrate something which was working under apache to tomcat. > I had an html form which takes user input values and pass those values and > executes some cgi scripts. But when I moved html and cgi under tomcat, the > html form is loading

Re: Problem with Transfer-Encoding: chunked (and AJP?)

2014-06-20 Thread Mark Thomas
On 20/06/2014 11:58, Björn Höfling wrote: > Hello, > > summary of my Problem: > > When a client POSTs with Tranfer-Encoding:chunked, my server is not > processing the request. > > Full details: > > I have an Apache 2.2.10 connected via AJP to a Tomcat 8.0.3 (Java > 1.7.x) or Tomcat 6.0.18 (Jav

CGI script to work on Tomcat

2014-06-20 Thread Rahul R
Hi I am trying to migrate something which was working under apache to tomcat. I had an html form which takes user input values and pass those values and executes some cgi scripts. But when I moved html and cgi under tomcat, the html form is loading properly, but when I click submit, its giving 40

Re: Problem with Transfer-Encoding: chunked (and AJP?)

2014-06-20 Thread Markus Dörschmidt
Hi Björn, I think, the problem is the content-type, you're using. It is set to "text/xml", but you don't send correct XML. The error messages seems also to be sent by some SOAP framework. Try sending some correct XML data. Best regards, Markus Am 20.06.2014 12:58, schrieb Björn Höfling:

Problem with Transfer-Encoding: chunked (and AJP?)

2014-06-20 Thread Björn Höfling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, summary of my Problem: When a client POSTs with Tranfer-Encoding:chunked, my server is not processing the request. Full details: I have an Apache 2.2.10 connected via AJP to a Tomcat 8.0.3 (Java 1.7.x) or Tomcat 6.0.18 (Java 1.6.x) (I change

Re: Webapps directory query

2014-06-20 Thread André Warnier
Vicky, please do not top-post. Reply below the paragraph you are responding to. vicky wrote: Thanks Mark, but it doesn't have the details of scenario when we'll carry out a redeployment along with a restart/ How the exploded directories will then be updated , is it only the files are going to