Re: MaxPermSize / Threads

2010-05-17 Thread Mercy
Thank you. Mercy On 05/17/2010 08:58 PM, Pid wrote: On 17/05/2010 13:18, Mercy wrote: Hi, Please take a look at this: http://java.sun.com/javase/6/docs/technotes/guides/vm/gc-ergonomics.html *maximum heap size:* Smaller of 1/4th of the physical memory or 1GB. Before J2SE 5.0

Re: MaxPermSize / Threads

2010-05-17 Thread Mercy
| command-line option. It does not mean just only use 1/4th, it will increase overload to system if more than 1/4th of the physical memory. If you had more practical setting , please tell me. Kind regards, Mercy On 05/17/2010 06:49 PM, Pid wrote: On 17/05/2010 10:29, Mercy wrote: Hi

Re: MaxPermSize / Threads

2010-05-17 Thread Mercy
Hi, You could set the one fourth of physical memory size(the recommended heap size) for -Xms,-Xmx arguments. What's more, you also analyze the heap using jmap. Mercy On 05/17/2010 05:16 PM, André Warnier wrote: Ozgur Ozdemircili wrote: Hi, -Rhel 5.3 x64 -java version "1.6.

Re: gc new capacity of JVM is gradually reducing when webapp(tomcat) started

2010-04-21 Thread Mercy
Hi, You could add a JVM runtime parameter like this : -Xmn256M to fix the size of new generation. Kind regards, Mercy 塗 wrote: > > hi,all > > there is a problem with my webapp. > > by manual configuration, i allocated 1G(1024M) memory for webapp. > where the gc new capa

Re: How to run second instance of Tomcat 6.0.20 on separate port

2010-04-21 Thread Mercy
Hi, Please try to execute *startup.bat* in bin folder to startup your tomcat instance. Kind regards, Mercy Kapil Godara wrote: Hi, My requirement: To install Opensso and Policy agent on Tomcat 6.0.20 on single windows server. I installed Opensso on default tomcat port 8080 but to

Re: Why HttpSessionEvent comes prior to ServletRequestEvent

2010-04-01 Thread Mercy
Thanks,but I can't understand why not ServnetRequestEvent comes first? Kind regards, Mercy Mark Thomas wrote: On 01/04/2010 07:19, Mercy wrote: Hi, I declared two listeners , the former is a ServletRequestListener, the later is HttpSessionListener. When a client request call

Why HttpSessionEvent comes prior to ServletRequestEvent

2010-03-31 Thread Mercy
Hi, I declared two listeners , the former is a ServletRequestListener, the later is HttpSessionListener. When a client request calls the application first, why a HttpSessionEvent comes prior to ServletRequestEvent? Kind regards, Mercy

Re: Compiling JSP with SMAP

2010-03-24 Thread Mercy
Hi TWönlìnè, Did you a project named "Server" with a sub folder whose name is like "Tomcat v6.0 Server at localhost-config"? If you had, please set these values into web.xml in. Kind regards, Mercy TWönlìnè wrote: I'm using apache-tomcat-6.0.20 with JASPER

Re: The requested resource ... is not available

2010-03-24 Thread Mercy
You could access http://localhost:8080/myapp/myfile.html, or check the path is right or not in $CATALINA_HOME/conf/context.xml. Mercy mehar300 wrote: hi i installed apache-tomcat-6.0.20 and set path variable accordingly then i access http://localhost:8080/ and it shows default apache tomcat

Re: JMX authentication failure

2010-03-15 Thread Mercy
JMX does not need to authenticate for access. My question that is how to enable authentication on Tomcat. Regards, Mercy Paolo Santarsiero wrote: Is your system firewalled? On 15 March 2010 14:17, Gurkan Erdogdu wrote: then you answer question :) 2010/3/15 Mercy Hi Gurkan

Re: JMX authentication failure

2010-03-15 Thread Mercy
Hi Gurkan, it's false; regards, Mercy Gurkan Erdogdu wrote: -Dcom.sun.management.jmxremote.authenticate=$JMX_SSL_ENABLED what is the $JMX_SSL_ENABLED value? Thanks; 2010/3/15 Mercy Hi there, I'd like to enable JMX on Tomcat 6.0.16/Linux, export environment

JMX authentication failure

2010-03-15 Thread Mercy
$CATALINA_OPTS"* The console outputs: *... **Is JMX authenticated ? true The location of password file of JMX : /home/mercy/workspace/website/etc/tomcat/jmx/jmxremote.password ...* The password(/owner read-only privilege/) and access file are existed, *me...@workspace:~/w

Re: JspServlet Issue

2009-10-10 Thread Mercy
has implemented this requirement,but still do not know the reason why the whole operation can't be separated. Thank you for your time. :-) Kind regards, Mercy Christopher Schultz 写道: -----BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mercy, On 10/9/2009 10:06 PM, Mercy wrote: My

Re: JspServlet Issue

2009-10-09 Thread Mercy
;t find. Should it pass the recompiled ClassLoader to loader ClassLoader as parent ClassLoader? :-) Kind regards, Mercy Christopher Schultz 写道: -BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mercy, On 10/9/2009 1:53 PM, Mercy wrote: * Did you mean "compiles and /executes/ th

Re: JspServlet Issue

2009-10-09 Thread Mercy
l (and generate some type of message), or does it not meet your requirements (please describe what way). I need to compile Jsp on one request, and then load on another one. The JspServlet throws an exception of ClassNotFoundException. Kind regards, Mercy On Sat, 10 Oct 2009 00:00:3

Re: JspServlet Issue

2009-10-08 Thread Mercy
tions is executed at time time , it's wrong when separates them.Kind regards,Mercy On Thu, 08 Oct 2009 20:26:33 +0800, Mark Thomas wrote:> Mercy wrote:>> Hi,>>>> Yes, it just does on the first time request,I need to compile the>> page when I need.>> What is wron

Re: JspServlet Issue

2009-10-08 Thread Mercy
Hi, Yes, it just does on the first time request,I need to compile the page when I need. Kind regards, Mercy On Thu, 08 Oct 2009 20:00:50 +0800, Konstantin Kolinko wrote: 2009/10/8 Mercy : Hi Kolinko, In order to implement requirement is that our application can't

Re: JspServlet Issue

2009-10-08 Thread Mercy
, the JspServlet can't find the class. I debuged it and found that JapserLoader can't find it,so I suspect that it's a problem about class loader. Thank you for your response. Kind regards, Mercy Mercy wrote: Hi Mark, Thank you for your response, actually,

Re: JspServlet Issue

2009-10-07 Thread Mercy
asses. Thank you for your time. Kind regards, Mercy On Wed, 07 Oct 2009 18:15:29 +0800, Mark Thomas wrote: Mercy wrote: Hi Mark, Thank you for your response, actually, I has found a way to fulfill my requirement that it can compile the JSP pages when development parameter is

Re: how to integrate tomcat with IDE tools like eclipse,Netbeans?

2009-10-07 Thread Mercy
Hi, At first , you need to create a web project , and the add it into tomcat server. Later, you create a new jsp page, select it and click right button, the pop-up menu dispears, select Run As -> Run on Server, the server is Ok when that page is present. :-) Kind regards, Me

Re: how to integrate tomcat with IDE tools like eclipse,Netbeans?

2009-10-07 Thread Mercy
Hi, You could add the src.zip under JDK folder instead of JRE,please take a look at the attached image file. Kind regards, Mercy On Wed, 07 Oct 2009 17:34:18 +0800, srinivas2828 wrote: I really appriciate your help but got one more problem,please find attached copy of image http

Re: Running tomcat as native

2009-10-07 Thread Mercy
binaries were build using the following dependent libraries: APR 1.2.8 OpenSSL 0.9.8i The Apache Tomcat ProjectKind regards,MercyOn Wed, 07 Oct 2009 16:36:26 +0800, Vivek Shanmughan wrote:>> Thank you Mercy,>> I tried copying the dll to one of the folders in java.library.path. >

Re: JspServlet Issue

2009-10-07 Thread Mercy
rLoader or URLClassLoader? I expect you response, thank you. :) Kind regards, Mercy On Wed, 07 Oct 2009 16:13:41 +0800, Mark Thomas wrote: --- Original Message --- From: Mercy To: "Tomcat Users List" Sent: 07/10/09, 08:57:24 Subject: Re: JspSe

Re: JspServlet Issue

2009-10-07 Thread Mercy
Hi Mark, What did you mean "change" the app? Could you give more information? Thank you. Kind regards, Mercy On Wed, 07 Oct 2009 15:50:28 +0800, Mark Thomas wrote: From: Mercy Ma To: users@tomcat.apache.org Sent: 07/10/09, 06:42:17 Subject: JspServlet Issue Hi

Re: Running tomcat as native

2009-10-07 Thread Mercy
file into those paths, it may help you! Kind regards, Mercy On Wed, 07 Oct 2009 15:35:11 +0800, Vivek Shanmughan wrote: Hi all, I am trying to run tomcat as native. I downloaded tcnative-1.dll and copied it to tomcat/bin. Still am getting the INFO : "The Apache Tomcat Nativ

JspServlet Issue

2009-10-06 Thread Mercy Ma
ou in advanced. :-) Kind regards, Mercy