RE: HELP Tomcat CGI

2005-04-12 Thread zhicheng wang
hi, first you need to test if the script will be happy to execute: leave it where you want it to be called from the browser and in shell to type /path/to/script/test.pl if it execute, then you know it is your tomcat config problem. you may need to restart tomcat after change the .xml file(?)

Re: How can I deploy 2 tomcat and work on both of them at the same ti me?

2004-09-29 Thread zhicheng wang
you should not have problem to run two or more if they do not use the port. for your test one, you may not want to use port 80. cheng --- Bachler, Elisabeth (Elisabeth) [EMAIL PROTECTED] wrote: Hello, I have tomcat jakarta-tomcat-5.0.19 installed on my machine under /opt Now, I have

Re: custom error page for 403

2004-09-03 Thread zhicheng wang
, Sep 02, 2004 at 10:39:28AM +0100, zhicheng wang wrote: : can any one tell me how to config tomcat 5.0.25 to use : custom error 403 page? I can config it for 404, but : 403 apparently does not work, even though some : articles say that the configs are the same. apparently does not work

custom error page for 403

2004-09-02 Thread zhicheng wang
hi, can any one tell me how to config tomcat 5.0.25 to use custom error 403 page? I can config it for 404, but 403 apparently does not work, even though some articles say that the configs are the same. thanks cheng = Best wishes Z C Wang

how to set up Valve for a directory

2004-08-20 Thread zhicheng wang
Dear all i need to protect a subdirectory and a serlet by resticting the requesting IP. I can use Valve to control the whole site, a context. but do not know how to do this to a subdirectory and a servlet. any help is highly appreciated. thanks cheng = Best wishes Z C Wang

Re: tomcat 5.0.25 and windows 2003

2004-06-24 Thread zhicheng wang
thanks --- Joao Medeiros [EMAIL PROTECTED] wrote: I'm running Tomcat 5.0.25 on 2003 with Apache and JK2 and it works fine --JM zhicheng wang wrote: dear all does any one know if tomcat 5.0.25 runs on windows server 2003 smoothly? also if IIS also running (on different port

tomcat 5.0.25 and windows 2003

2004-06-23 Thread zhicheng wang
dear all does any one know if tomcat 5.0.25 runs on windows server 2003 smoothly? also if IIS also running (on different port), will they live in the same server well? thanks cheng = Best wishes Z C Wang

error 403 redirect

2004-06-18 Thread zhicheng wang
hi, can any one tell me why i cannot redirect http 403 to my nown page? It works fine for code 404. but not 403 (i used valve to restrict certain ips) I am using tomcat 5.0.19 on redhat as3 error-page error-code403/error-code locationerror403.html/location /error-page thanks cheng =

Exception starting filter BalancerFilter

2004-05-26 Thread zhicheng wang
dear all i have the following error in the log of tomcat, but the website seems working fine. how to fix it please? 2004-05-26 09:28:08 StandardContext[/balancer]Exception starting filter BalancerFilter java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester = Best

RE: Exception starting filter BalancerFilter

2004-05-26 Thread zhicheng wang
stable one) is the one you should use. Yoav Shapira Millennium Research Informatics -Original Message- From: zhicheng wang [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 4:45 AM To: [EMAIL PROTECTED] Subject: Exception starting filter BalancerFilter dear all i have

why my servlet does not work?

2004-05-26 Thread zhicheng wang
Dear all, please help to see any thing wrong on my setup? servlet: a.b.c.ServletA.calss has been placed under: WEB-INF/classes/a/b/c/ in WEB-INF/web.xml, web-app servlet servlet-namedjs/servlet-name servlet-classa.b.c.ServletA/servlet-class init-param

RE: tomcat 5 and cgi-bin

2004-04-24 Thread zhicheng wang
/servlet servlet-mapping servlet-namecgi/servlet-name url-pattern/cgi-bin/*/url-pattern /servlet-mapping Alternatively you can put this in the web.xml for you web app. Note that XXXapp must be on your path. Mark From: zhicheng wang [mailto:[EMAIL PROTECTED

tomcat 5 and cgi-bin

2004-04-23 Thread zhicheng wang
dear all i am trying to upgrade our server to t5, but the cgi-bin now only allows perl programs to be executed (by default). for compiled c or c++ etc, how do i modify the web.xml? many thanks cheng = Best wishes Z C Wang

tomcat 5.0.19

2004-04-14 Thread zhicheng wang
Dear experts We are using tomcat4.1.27 for our web server. We recently have revamped our site and I am considering upgrading to tomcat5.0.19. But I have been following the user group messages and it seems that 5.0.19 has memory leaking problem. Can any one tell me how serious this is and under

Re: tomcat sends every email 3 times

2004-03-31 Thread zhicheng wang
a servlet that sends emails whenever you get a 404 ? Or when you get a 404, Tomcat directs the request to a JSP or servlet that sends an email ? I'm pretty sure Tomcat does not have a built-in facility that sends email. Regards. zhicheng wang wrote: Hi if i config tomcat (both 4

tomcat 5 send emails

2004-03-30 Thread zhicheng wang
dear all i am trying to upgrade form tomcat4 to 5. but the send mail does not work. can any one please let me know how to config tomcat5 to be able to send emails. i have my own code such as SendMailServlet, the problem lies in the resources for javax.mail.Session, the way this is configured in

Re: tomcat 5 send emails

2004-03-30 Thread zhicheng wang
thanks for the messages any security implications? --- QM [EMAIL PROTECTED] wrote: On Tue, Mar 30, 2004 at 11:35:44AM +0100, zhicheng wang wrote: : i am trying to upgrade form tomcat4 to 5. but the send : mail does not work. Tomcat5 no longer ships with the JavaMail and Activation jars

tomcat sends every email 3 times

2004-03-30 Thread zhicheng wang
Hi if i config tomcat (both 4 AND 5) to send email for error code 404, it always send THREE emails. this is true regardless if i use a servlet of perl cgi any ideas? please let me know if i call the servlet or cgi directly, things are fine. thanks cheng = Best wishes Z C Wang

how to disable TRACE|TRACK method in tomcat

2004-03-18 Thread zhicheng wang
Dear all can any one tell me how to disbale the TRACE|TRACK method in tomcat (4.1.27 i am using) any suggesstions are welcome many thanks = Best wishes Z C Wang ___ Yahoo! Messenger - Communicate

Re: how to disable TRACE|TRACK method in tomcat

2004-03-18 Thread zhicheng wang
thanks for the very good solution if there is no way to config cheng --- Philipp Taprogge [EMAIL PROTECTED] wrote: Hi! zhicheng wang wrote: can any one tell me how to disbale the TRACE|TRACK method in tomcat (4.1.27 i am using) any suggesstions are welcome Well then, here goes. I

Re: how to disable TRACE|TRACK method in tomcat

2004-03-18 Thread zhicheng wang
hi, my colleague has find the solution is here: http://archives.real-time.com/pipermail/tomcat-users/2003-June/115025.html if your website provides login functions, i do recommend that you apply this restrictions. regards cheng --- Philipp Taprogge [EMAIL PROTECTED] wrote: Hi! zhicheng

Re: how to disable TRACE|TRACK method in tomcat

2004-03-18 Thread zhicheng wang
thnaks for Phil and Shapira it seems that a beeter solution is to migrate to t5 cheng --- Philipp Taprogge [EMAIL PROTECTED] wrote: Hi! zhicheng wang wrote: hi, my colleague has find the solution is here: http://archives.real-time.com/pipermail/tomcat-users/2003-June/115025.html