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.0_16 Java

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

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 capacity automatically is 262M

Why HttpSessionEvent comes prior to ServletRequestEvent

2010-04-01 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: 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 calls

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: 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 2 I need to compile

JMX authentication failure

2010-03-15 Thread Mercy
: *... **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:~/workspace/website/etc/tomcat/jmx$ pwd /home/mercy

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 techme...@gmail.com Hi there, I'd like to enable JMX on Tomcat 6.0.16/Linux, export environment

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 cgurkanerdo...@gmail.com wrote: then you answer question :) 2010/3/15

Re: JspServlet Issue

2009-10-10 Thread Mercy
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 JSP compiler is based on JspServletWrapper(Jasper

Re: JspServlet Issue

2009-10-09 Thread Mercy
, it's wrong when separates them.Kind regards,Mercy On Thu, 08 Oct 2009 20:26:33 +0800, Mark Thomas ma...@apache.org wrote: Mercy wrote: Hi, Yes, it just does on the first time request,I need to compile the page when I need. What is wrong with the process described in JSP.11.4.2? Mark Kind regards

Re: JspServlet Issue

2009-10-09 Thread Mercy
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:39 +0800, Christopher Schultz

Re: JspServlet Issue

2009-10-09 Thread Mercy
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/ the JSP? No,here means

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, I has found a way

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 knst.koli...@gmail.com wrote: 2009/10/8 Mercy techme...@gmail.com: Hi Kolinko, In order to implement requirement

Re: Running tomcat as native

2009-10-07 Thread Mercy
into those paths, it may help you! Kind regards, Mercy On Wed, 07 Oct 2009 15:35:11 +0800, Vivek Shanmughan vivsh...@cisco.com 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 Native

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 ma...@apache.org wrote: From: Mercy Ma techme...@gmail.com To: users@tomcat.apache.org Sent: 07/10/09, 06:42:17 Subject

Re: JspServlet Issue

2009-10-07 Thread Mercy
or URLClassLoader? I expect you response, thank you. :) Kind regards, Mercy On Wed, 07 Oct 2009 16:13:41 +0800, Mark Thomas ma...@apache.org wrote: --- Original Message --- From: Mercy techme...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: 07/10/09

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 vivsh...@cisco.com wrote: Thank you Mercy, I tried copying the dll to one of the folders in java.library.path

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 srinivas2...@gmail.com wrote: I really appriciate your help but got one more problem,please find

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, Mercy

Re: JspServlet Issue

2009-10-07 Thread Mercy
. Thank you for your time. Kind regards, Mercy On Wed, 07 Oct 2009 18:15:29 +0800, Mark Thomas ma...@apache.org 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

JspServlet Issue

2009-10-06 Thread Mercy Ma
regards, Mercy