cgi-problem
Hi! I try to set up some cgis and it doesn't work. Using default settings tomcat looks them in tomcat_root_context_dir/WEB-INF/cgi, so I put the script in that dir but tomcat returns empty page and there is error in the logs: snip 2003-11-18 19:52:44 cgi: runCGI (stderr):Can't open perl script /opt/jakarta-tomcat-4.1.29/webapps/ROOT/WEB-INF/cgi/arpwatch.cgi: No such file or directory 2003-11-18 19:52:44 cgi: runCGI: 1 lines received on stderr /snip But $ls /opt/jakarta-tomcat-4.1.29/webapps/ROOT/WEB-INF/cgi/arpwatch.cgi /opt/jakarta-tomcat-4.1.29/webapps/ROOT/WEB-INF/cgi/arpwatch.cgi What could be wrong? Is it ok that tomcat searches it in root context's subdir? Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ot] Re: JSP vs C#/.NET
on Mon, 25 Aug 2003 20:26:50 -0400 Tim Funk [EMAIL PROTECTED] wrote: Please don't start a flame war. Please do that in Usenet. This group is for solving tomcat problems, not discussing the merits of one technology over another. Oh, so Usenet is for flame wars now? Thanx Rufio, the Usenet user To Xingqun: don't ask such questions on java nor ms releated groups. -- nmap -sS -O -p80,81 www.microsoft.com [..] Running: Linux 2.5.X OS details: Linux Kernel 2.4.18 - 2.5.70 (X86) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: high memory usage ....
on Wed, 20 Aug 2003 15:55:50 +0200 (MET DST) Mipam [EMAIL PROTECTED] wrote: Hi, [..] Furthermore, all the java processes are started under user root. Actually it's not up to java or tomcat. Is there a way to start the java processes under another user? su user -c path_to_executable or login as user and then run the code. Also it's possible but unprobable that your java is suided (no way!) Any particular version of java and/or tomcat adviced to deal with these problems? No, you rather should experiment with options liek (sun java) -Xm* and/or gc options I guess auditing the java applications which are written is also very nice to do and fixup some memory leaks if they're there? IMO it's hard to make a real memory leak in java. Regards, Rufio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]