Re: How to check my current JVM settings

2007-12-06 Thread Phi-Long LE
use the CATALINA_OPTS variable to set your JVM parameters... You can also define CATALINA_OPTS="-Xoptionsfile=toto.conf" and within toto.conf explicit JVM parameter P. Le 06/12/2007 17:02, Stefano Martines a écrit : Hi, it is Windows 2000, tomcat 5.0.28 tomcat runs as service (tomcat5.exe)

Re: Precompile JSPs

2007-10-11 Thread Phi-Long LE
You can precompile jsp using wget and jsp_precompile=true for example I use this: #!/usr/bin/posix/sh for aJSP in $(find $HELIOS -name "*.jsp" | sed -e "s:$HELIOS::g") ; do wget http://vhpuw51:$aJSP?jsp_precompile=true done Le 11/10/2007 15:26, Pid a écrit : Arun wrote: jspc:

Re: any limitation with Tomcat4 on AIX 6.1

2007-09-17 Thread Phi-Long LE
hi, more informations would be welcomed.. Le 17/09/2007 09:04, Hitesh Raghav a écrit : Hi, Is there any limitation for Tomcat4 on IBM AIX 6.1 platform? I'm trying to deploy Tomcat4 on AIX 6.1 using IBM JDK 1.4.2 (SR7). It's giving core dump. Thanks, -Hitesh ---

Re: I still cannot run a basic struts2 app on tomcat55

2007-07-23 Thread Phi-Long LE
try to comment this within catalina.policy: grant codeBase "file:${catalina.home}/webapps/-" { permission java.security.AllPermission; }; ** Le 21/07/2007 16:23, Michelle Baert a écrit : Hi all, I'm trying to start learning struts2. I have a tomcat 5.5 server running fine with simple jsp a

[TOMCAT 5.0.28 / mod_jk 1.2.23 / Apache 2.2.4] weird behaviour

2007-07-19 Thread Phi-Long LE
. The question is : why isn't it possible to define my servlet and its mapping in the same web.xml e.g. $CATALINA_BASE/conf/web.xml ?? is it an bug ?? or if not can someone explain me why ? Regards, Phi-Long LE - To st

[TOMCAT 5.0.28 / mod_jk 1.2.23 / Apache 2.2.4] weird behaviour

2007-07-18 Thread Phi-Long LE
tion to my webapp web.xml. The question is : why isn't it possible to define my servlet and its mapping in the same web.xml e.g. $CATALINA_BASE/conf/web.xml ?? is it an bug ?? or if not can someone explain me why ? Regards, Phi-Long LE --

Re: Mod_JK 1.2.23 error 200

2007-07-11 Thread Phi-Long LE
sorry for that stupid question... just find out the solution... if i want to increase MaxClients value, I have first to increase ServerLimit value Le 11/07/2007 12:22, Phi-Long LE a écrit : i probably find out the reason why connections failed... trying to load, my app with up to 1000

Re: Mod_JK 1.2.23 error 200

2007-07-11 Thread Phi-Long LE
of client abort messages might mean, that the system is to slow. Regards, Rainer Phi-Long LE schrieb: folks, I currently try to load my application using OpenSTA by simulating 1000 virtual users. having a quick look within mod_jk.log, it seems that I have a problem with my load balancer... c

Mod_JK 1.2.23 error 200

2007-07-10 Thread Phi-Long LE
folks, I currently try to load my application using OpenSTA by simulating 1000 virtual users. having a quick look within mod_jk.log, it seems that I have a problem with my load balancer... connections dropped ?? My configuration: apache 2.0.59 /mod_jk 1.2.23/tomcat 5.0.28 _LOG [Tue J

Re: JSP precompilation

2007-07-09 Thread Phi-Long LE
to compile all JSPS Or, you can simple not precompile... En l'instant précis du 09/07/07 15:50, Phi-Long LE s'exprimait en ces termes: hi there, currently, the project I work on, we deploy our application simply using tar file, now testing tomcat, we would use war file... that&#x

JSP precompilation

2007-07-09 Thread Phi-Long LE
hi there, currently, the project I work on, we deploy our application simply using tar file, now testing tomcat, we would use war file... that's ok for that in a meantime on our current production platform (iplanet) we precompile JSP and create an other tar file... what is then the best p

Re: [AIX 5.3] mod_jk 1.2.23

2007-07-05 Thread Phi-Long LE
I initially said that i did amend the code... however after thinking about the error I did prefer to amend the @INC to reflect the real path using perl -I path1:path2:path3... Le 05/07/2007 15:18, Phi-Long LE a écrit : yes indeed, an error occurs when tryng the a) command... vhqun02# /opt

Re: [AIX 5.3] mod_jk 1.2.23

2007-07-05 Thread Phi-Long LE
/apxs line 19. I do then edit the apxs amend the 19th line "use strict" and try again... looks like working fine now Thx a lot for your help. Regards, Phi-Long LE Le 05/07/2007 14:56, Rainer Jung a écrit : No experience with AIX compilation, but 2 infos: a) usually this measage me

[AIX 5.3] mod_jk 1.2.23

2007-07-05 Thread Phi-Long LE
folks, has someone already experienced compiling mod_jk 1.2.23 on AIX 5.3 platform ??? when executing the command ./configure --with-apxs=/opt/apache_2.2/bin/apxs, an error occurs telling that it is a wrong path but am sure about that. any help would be appreciated, regards, Phi-Long LE

Re: Two IIS web servers

2007-06-21 Thread Phi-Long LE
Ian, reading optional directives you should probably use the worker.xxx.method, its value is Request, session, traffic or busyness Le 21/06/2007 16:00, Ian Buzer a écrit : Thanks for that Rainer. How about when a new session comes in? Does mod_jk obtain information from each Tomcat about its

Re: how to generate java heap dump from tomcat 5.0.27

2007-06-20 Thread Phi-Long LE
I use the same method as you except the fact that all java options are within a file and I set the JAVA_OPTS to -Xoptionsfile= Le 21/06/2007 05:48, Guan Yu a écrit : > i need to generate java heap dump to trace memory leak in our web > application. We are using tomcat 5.0.27. > I added "-agen

Re: Session replication in tomcat5.5

2007-06-20 Thread Phi-Long LE
one crashes... well am not sure you can transfer a sessionID... never heard before about such possibilities(anyway am still young in IT ;-)) the session should be binded to one tomcat instance (default: sticky_session is set to true) Le 20/06/2007 12:32, Phi-Long LE a écrit : did you try

Re: Session replication in tomcat5.5

2007-06-20 Thread Phi-Long LE
did you try to add the address attribute within tag ? something looks strange in your worker.properties i.e. worker.tomcat1.lbfactor=1 worker.tomcat2.lbfactor=100 this two directive mean something like you will use 100 times tomcat2 for 1 time tomcat1... if you want to use the two tomcat at the