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(?) the

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

Re: custom error page for 403

2004-09-03 Thread zhicheng wang
forbidden. Apache Tomcat/5.0.19 --- QM <[EMAIL PROTECTED]> wrote: > On Thu, Sep 02, 2004 at 10:39:28AM +0100, zhicheng > wang wrote: > : can any one tell me how to config t

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 > &

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 403 error403.html thanks cheng = Best wishes Z C Wang

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, djs a.b.c.ServletA configfile /WEB-INF/jobs.properties djs /djs* anyth

RE: Exception starting filter BalancerFilter

2004-05-26 Thread zhicheng wang
er jar and keep only > one. 1.6 (the latest > 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,

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 wishes

RE: tomcat 5 and cgi-bin

2004-04-24 Thread zhicheng wang
in/* > > > 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] > > > i am trying to upgrade our server to t5, but the > > cgi-bin n

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 wha

Re: tomcat sends every email 3 times

2004-03-31 Thread zhicheng wang
is? Do you have 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. &

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

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

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 t

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

Re: how to disable TRACE|TRACK method in tomcat

2004-03-18 Thread zhicheng wang
: > 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 don't know if there's a configuration option in > tomcat somewhere (I

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 sugges

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 ins