Re: How to set global variable in Tomcat 5.5.17

2007-03-06 Thread tang jie
Kathy Lo: I think you can use the interface javax.servlet.ServletContextListener.In you implementation's method contextInitialized(ServletContextEvent sce),you can parse these configuration files and save the parsing result in the application scope,for example: sce.getServletContext().setAttrib

Re: mod_jk Submounts

2006-05-06 Thread tang jie
On 5/2/06, Mike Bydalek <[EMAIL PROTECTED]> wrote: I think you should add the following: Because i think you should tell Tomcat the other 2 webapp's location.

Re: i want to know load on Tomcat

2006-04-27 Thread tang jie
On 4/27/06, Tim Lucia <[EMAIL PROTECTED]> wrote: > > > > > >Rajeev i need some more Help, I searched in my Tomcat manager but did not > >find any link of 'server status'. Can u tell where it resides!, i am > using > >Tomcat 4.1 ver. In Tomcat5,I use www.xxx.com/manager/html, the username and p

Re: jk can't connect to tomcat

2006-04-27 Thread tang jie
On 4/27/06, fooshyn <[EMAIL PROTECTED]> wrote:When the problem occured,i visited Tomcat using www.xxx.com:8081.It can response successfully and quickly.And the situation occured again a few minutes ago,I studied the mod_jk.log,it has no log information the application inside Tomcat that caused thi

Re: i want to know load on Tomcat

2006-04-27 Thread tang jie
I think you can use JMeter to execute load test on web server. On 4/27/06, balaraju mandala <[EMAIL PROTECTED]> wrote: > > Dear Comunity, > > I want to know how much load is on my Tomcat. How can i do this? > > I hav a Client, which continues calls set of Servlets. I want to test how > many Clien

Re: jk can't connect to tomcat

2006-04-27 Thread tang jie
gt; > HTH > > FooShyn > > > -----Original Message- > From: tang jie [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 27, 2006 2:07 PM > To: users@tomcat.apache.org > Subject: jk can't connect to tomcat > > I sometimes met the problem that apache can't connect

jk can't connect to tomcat

2006-04-26 Thread tang jie
I sometimes met the problem that apache can't connect to tomcat through jk.Iwant to know why,the records of mod_jk.log like: [Wed Apr 26 18:46:54 2006] [error] ajp_service::jk_ajp_common.c (1758): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker