Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

tomcat and python

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  ISS - virtual server has been deleted from this m..  
Author Message
buki

External


Since: Nov 19, 2004
Posts: 1



(Msg. 1) Posted: Fri Nov 19, 2004 5:38 pm
Post subject: tomcat and python
Archived from groups: alt>apache>configuration (more info?)

Hi,

I have a little python programm which should be executed
within the cgi of tomcat (5.0.27).
But every time I try to execute this programm I get the
following exception (although I already have tried to start
tomcat with more memory):


StandardWrapperValve[cgi]: Servlet.service() for servlet cgi threw exception
java.io.IOException: java.io.IOException: Cannot allocate memory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:143)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:428)
at
org.apache.catalina.servlets.CGIServlet$CGIRunner.run(CGIServlet.java:1670)
at
org.apache.catalina.servlets.CGIServlet.doGet(CGIServlet.java:600)
at
org.apache.catalina.servlets.CGIServlet.doPost(CGIServlet.java:562)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


and before that I geth this whole http header:


StandardContext[/hypermedia]cgi:
runCGI(envp=[{HTTP_USER_AGENT=Mozilla/5.0 (Windows; U; Windows NT 5.1; d
e-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0,
HTTP_ACCEPT_ENCODING=gzip,identity, REQUEST_METHOD=POST, AUTH_TYPE=,
HTTP_ACCEPT_
LANGUAGE=de-de,de;q=0.8,en-us;q=0.5,en;q=0.3,
SERVER_NAME=www.brotkastingsystem.de, SERVER_SOFTWARE=TOMCAT,
HTTP_CONTENT_TYPE
=application/x-www-form-urlencoded,
HTTP_ACCEPT_CHARSET=ISO-8859-1,utf-8;q=0.7,*;q=0.7,UCS-2;q=0, UCS-4;q=0,
UTF-1;q=0, HTTP_
HOST=www.brotkastingsystem.de, GATEWAY_INTERFACE=CGI/1.1,
X_TOMCAT_SCRIPT_PATH=/usr/java/jakarta-tomcat-5.0.27/webapps/hyperm
edia/WEB-INF/cgi/passwortmailer.py, REMOTE_ADDR=217.235.67.3,
SERVER_PROTOCOL=HTTP/1.1, PATH_INFO=, REMOTE_HOST=217.235.67.3,
QUERY_STRING=, HTTP_CONNECTION=close, SERVER_PORT=80,
HTTP_COOKIE=JSESSIONID=79C7DB609009DD3BE738AD4818BAA6E5, CONTENT_TYPE=
application/x-www-form-urlencoded, CONTENT_LENGTH=15,
HTTP_CONTENT_LENGTH=15, HTTP_ACCEPT=text/xml,application/xml,applicatio
n/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5,
SCRIPT_NAME=/hypermedia/cgi-bin/passwortmailer.py, REMOTE_U
SER=, REMOTE_IDENT=}],
command=/usr/java/jakarta-tomcat-5.0.27/webapps/hypermedia/WEB-INF/cgi/passwortmailer.py)

Best regards,

Andi

 >> Stay informed about: tomcat and python 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Python in Apache !? - Hi, I have a little python-file, which I would like to run under my Apache. The mod_python is installed. The script is the following: #!/usr/bin/python ############################################################################ ######## #news.py #..

How to set up Python on Apache 2 for Windows. - I am attempting to set up Python on Apache 2 for Windows so that I can run ViewCVS. ViewCVS works OK using its built-in mini web server and Python works ok on its own, but I cannot set up mod_python under Apache 2. The mod_python documentation says to..

tomcat - Hey, does anyone know when Tomcat 5 came out? Thanks

Tomcat 4.0 - I have installed Tomcat 4.0 and am attempting to set up a simple web app containing basic HTML and java servlets. I find I can set this up under the root or examples directories that are included with tomcat, but when I attempt to set up HTML files/Java...

Tomcat 4.0.6 - Where can I find a binary build of Tomcat 4.0.6 using Java 1.3 for Solaris 8?
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]