Re: Dedicated Thread Pool

2009-11-19 Thread Mohsen Saboorian
Then is it normal that an executor stops and removes a thread from the pool? Mohsen On Thu, Nov 19, 2009 at 1:24 PM, Mark Thomas ma...@apache.org wrote: Mohsen Saboorian wrote: I'm using Lambda Probe http://www.lambdaprobe.org/ to monitor threads of my Tomcat Connector. In the first few

Re: Dedicated Thread Pool

2009-11-18 Thread Mohsen Saboorian
-8080-exec-481, etc. How can a thread be removed from a thread pool? I can imagine a thread being suspended or waiting on a busy resource, but how can it be removed? Mohsen On Sat, Nov 14, 2009 at 8:55 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Mohsen Saboorian

Dedicated Thread Pool

2009-11-14 Thread Mohsen Saboorian
Hi, I have a web application in Tomcat 6 which goes out of thread (thread starvation) after working some hours. Now I want to install a monitoring tool which is a webapp itself installed inside tomcat webapp folder. Is this possible to devote a special threadpool to one web application, so that I

Re: Dedicated Thread Pool

2009-11-14 Thread Mohsen Saboorian
Thanks for the answers. Chuck, how can I bind the new Connector to a different webapp directory? Mohsen On Sat, Nov 14, 2009 at 8:26 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Mohsen Saboorian [mailto:mohs...@gmail.com] Subject: Dedicated Thread Pool

Tomcat Reload Problem with .zul file

2009-01-09 Thread Mohsen Saboorian
Hi, I'm developing an application with ZK. The standard file names for ZK page is .zul, which is an XML files being parsed and interpreted by a filter. Whenever I change something in a zul file, Tomcat fully reloads the module. Is this possible to specify some file extensions for tomcat, to

Re: Tomcat Reload Problem with .zul file

2009-01-09 Thread Mohsen Saboorian
On Fri, Jan 9, 2009 at 6:39 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Mohsen Saboorian [mailto:mohs...@gmail.com] Subject: Tomcat Reload Problem with .zul file Whenever I change something in a zul file, Tomcat fully reloads the module. Don't suppose you'd want to tell

Re: UTF-8 charset encoding

2007-11-16 Thread Mohsen Saboorian
Hi, I don't know if this is the best solution. You can create a filter for *.* in your web.xml, with the following piece of code: response.setCharacterEncoding(UTF-8); Mohsen. On Nov 16, 2007 4:44 PM, Tremal Naik [EMAIL PROTECTED] wrote: Hello Tomcat users, I'm developing an application in

Re: Tomcat plugn for Eclipse

2007-02-04 Thread Mohsen Saboorian
Hi, User WTP (Web Tools Project), plugin: http://www.eclipse.org/webtools For simplicity, you would better download an all-in-one package. On 2/5/07, Awaneesh Shatmanyu [EMAIL PROTECTED] wrote: Hi All, I want Tomcat plug-in for Eclipse 3.2 Can anyone mail me the link where to download.

Re: how to add a library path in build.xml?

2007-02-02 Thread Mohsen Saboorian
-Djava.library.path=yourpath On 2/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dear all, I want to run an application which requires a special native libray as the following error shows: There was 1 error: [java] 1) testQuery(its.prolog.Test)java.lang.UnsatisfiedLinkError: no jpl in

Re: Different request.getLocalName() values

2006-08-23 Thread Mohsen Saboorian
Thank you Mark. On 8/23/06, Mark Thomas [EMAIL PROTECTED] wrote: Mohsen Saboorian wrote: Hi, I tested request.getLocalName() on two different WinXP machines, one returning 127.0.0.1 and the other localhost. What is the problem? No problem, just different configurations. Check: - DNS config

Different request.getLocalName() values

2006-08-22 Thread Mohsen Saboorian
Hi, I tested request.getLocalName() on two different WinXP machines, one returning 127.0.0.1 and the other localhost. What is the problem? Thanks in advance. - To start a new topic, e-mail: users@tomcat.apache.org To

Re: Initializing session in a Filter

2006-08-10 Thread Mohsen Saboorian
Better to change my question: When a session associated with a client is created? Hi, I have a filter (for /*) in which I'm caching something in the session. Here is a piece of code: public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) {

Initializing session in a Filter

2006-08-09 Thread Mohsen Saboorian
Hi, I have a filter (for /*) in which I'm caching something in the session. Here is a piece of code: public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) { HttpServletRequest req = (HttpServletRequest) request; HttpSession session =

Re: Writing files accessible from a browser

2006-08-07 Thread Mohsen Saboorian
You can use a servlet init param inside web.xml for avoiding hardcoded solutions. e.g. context-param param-nameMY_PATH/param-name param-valuec:\my\path\to\imgs/param-value /context-param On 8/7/06, Romain Quilici [EMAIL PROTECTED] wrote: Hi, Hope I will be clear enough: One part of my web

Re: decompile java class

2006-07-26 Thread Mohsen Saboorian
Use JAD instead. It is quite simple and fast. http://www.kpdus.com/jad.html On 7/26/06, Tomcat [EMAIL PROTECTED] wrote: Hello I am trying to decompile the java class file with javap command but it returns my-class-name.class contains some-other-package so I am unable to decompile it . is