Minimum Memory Requirement for TC 5.0.x

2005-01-12 Thread Yang Xiao
Hi all, What is the minimum memory requirement to run TC 5.0.x in a Linux environment? or is there such a thing? I can't find it anywhere, which is kind of amusing. Many thanks, Yang - To unsubscribe, e-mail: [EMAIL PROTECTED]

Strange problem

2004-12-10 Thread Yang Xiao
Hi all, I'm running Tomcat 5.0.30 on FC2 with SUN 1.4.1_02 jdk I'm having this strange problem, I can not access any jsp or servlet pages using a browser, it seems to be timing out, but telnet to the port tomcat is listening then type GET ... works. I can see the directory structure and regular

Re: off topic - how do i convert an int to char

2004-12-07 Thread Yang Xiao
make a hash or array? On Tue, 7 Dec 2004 10:34:15 -0500, Nilesh Bhattad [EMAIL PROTECTED] wrote: folks, sorry for posting this offtopic qns here.. but would someone plz help me out in converting an int value to char? my requirement is very simple. i'm looping thro a list and for each

Question about memory

2004-05-06 Thread Yang Xiao
Hi list, I have 3 Tomcat 5.0.19 instances running with Apache 2.019 and JK2. I did a simple load testing with JMeter last night and stopped it just before I went home, so right now there's no incoming request whatsoever, but TOP still shows heavy memory usage and swapping, it looks like even

RE: Question about memory

2004-05-06 Thread Yang Xiao
%20Configuration I made some similar modifications and I noticed that tomcat started to release the memory when the server was not as busy. Randall -Original Message- From: Yang Xiao [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 9:07 AM To: Tomcat Users List Subject: Question about memory

RE: where to define path to workers2.properties

2004-05-06 Thread Yang Xiao
Hi, By default it's your ${serverRoot}/conf dir, but you can do this LoadModule jk2_module modules/mod_jk2.so JkSet config.file /usr/local/apache/conf/workers2.propertie yang -Original Message- From: Stefan Burkard [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 3:14 PM

RE: Question about memory

2004-05-06 Thread Yang Xiao
-Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 2:55 PM To: Tomcat Users List Subject: Re: Question about memory Yang Xiao wrote: Hi, I have development set to false and fork to true, tomcat still doesn't release the memory

RE: Question about memory

2004-05-06 Thread Yang Xiao
-Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 6:34 PM To: Tomcat Users List Subject: Re: Question about memory Yang Xiao wrote: -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06

RE: Mod_JK2 not sure if correctly setup!

2004-05-04 Thread Yang Xiao
The actual content of your workers2.properties and jk2.properties file would be helpful to us, don't you think? -Original Message- From: JimmiSeven Productions Inc. [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 1:01 PM To: [EMAIL PROTECTED] Subject: Mod_JK2 not sure if correctly

RE: Mod_JK2 not sure if correctly setup!

2004-05-04 Thread Yang Xiao
the desired handler list handler.list=request,container,channelSocket # Override the default port for the socketChannel channelSocket.port=8009 channelSocket.address=127.0.0.1 - Original Message - From: Yang Xiao [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, May 04

RE: servlet.http?

2004-04-23 Thread Yang Xiao
Hi You need to include the servlet-api.jar under $CATALINA_HOME/common/lib in your classpath. Yang -Original Message- From: Kalin Mintchev [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 4:03 AM To: [EMAIL PROTECTED] Subject: servlet.http? hi all... this is my first question on

RE: [newbie] tomcat5+apache2 virtual hosting

2004-04-22 Thread Yang Xiao
Wow, correct me if I'm wrong, but doesn't test.jsp have to be somewhere under $CATALINA_HOME/ROOT no matter how you configure your virtual host in Apache? Yang -Original Message- From: Mark Page [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 1:48 PM To: Tomcat Users List

Catalina.sh startup options

2004-04-21 Thread Yang Xiao
Hi list, Can someone point me to a link with the complete catalina.sh startup options and their descriptions? I'm trying to figure out some of the parameters I have seen people using, but can't find any documentation for it. Thanks, Yang

RE: Catalina.sh startup options

2004-04-21 Thread Yang Xiao
Sorry, I found those are the java options, not Catalina.sh specific. -Original Message- From: Yang Xiao [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 11:14 AM To: Tomcat Users List Subject: Catalina.sh startup options Hi list, Can someone point me to a link

RE: differences between java -s Vs java -X when the JVM is r unning

2004-04-21 Thread Yang Xiao
I think it might be java -server got cut off to java -s Try ps -elf see if that's the case, I don't see a -s option for java. Yang -Original Message- From: Software [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 21, 2004 11:40 AM To: Tomcat Users List Subject: differences between java

RE: Connecting the HTTP Server and Tomcat

2004-04-19 Thread Yang Xiao
Hi, The jsvc utility in commons-daemon is just for this purpose, it allows you to specify a user TC should run as, and if you read the INSTALL.txt and Tomcat5.sh under native/ you will know it's very easy to change the startup method. Yang -Original Message- From: SH Solutions

RE: Classpath problems with tomcat on Linux 9

2004-04-19 Thread Yang Xiao
Hi, You need the %@ page import=package % directive to tell it where to look for it. Yang -Original Message- From: Andy Wadsworth [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 3:11 PM To: Tomcat Users List Subject: Re: Classpath problems with tomcat on Linux 9 Still no luck.

RE: How to really destroy a Session

2004-04-16 Thread Yang Xiao
That's if it's a session cookie, is it? You can always use the Cookie API to force the cookie to expire. -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 9:56 AM To: 'Tomcat Users List' Subject: RE: How to really destroy a Session The cookie is

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-15 Thread Yang Xiao
the differnet tomcat servers, and does not have anything to do with load balancing. Thanks, -Tom --- Yang Xiao [EMAIL PROTECTED] wrote: Hi, Did you restart the Apache2 server? My understanding is JK only reloads it only if the section you modified in workers.properties has ver defined. Also, check your

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-15 Thread Yang Xiao
timcatid values to the jvmRoute property, correct? Engine name=Catalina defaultHost=localhost debug=0 jvmRoute=psahammerhead -Tom --- Yang Xiao [EMAIL PROTECTED] wrote: This is pretty much what I have and it works fine. [logger] level=DEBUG [config:] debug=0 debigEnv=0 [uriMap:] info

Access Manager and Admin utilities with load balancing enabled

2004-04-15 Thread Yang Xiao
Hi list, I have to ask this one more time since no one replied to my last post. I have load balancing enabled with TC 5.0.19 and JK2 and I changed the line in server.xml that says Engine name=Catalina defaultHost=localhost debug=0 to: Engine name=Standalone defaultHost=localhost debug=0

RE: looking for jk2

2004-04-15 Thread Yang Xiao
http://www.reliablepenguin.com/clients/misc/tomcat/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 11:18 AM To: [EMAIL PROTECTED] Subject: looking for jk2 I'm running Tomcat 4.1.18 and apache 1.3 on linux Mandrake 9.0 I'm trying to

RE: auto generation of mod_jk.conf in tomcat 5

2004-04-15 Thread Yang Xiao
Hi, In httpd.conf: LoadModule jk_module modules/mod_jk.so JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties JkLogFile /usr/local/tomcat/logs/mod_jk.log JkLogLevel info JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat %w %V %T JkMount /jsp-examples/*

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-15 Thread Yang Xiao
balancing? -Tom --- Yang Xiao [EMAIL PROTECTED] wrote: Yes. -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 9:42 AM To: Tomcat Users List Subject: RE: Load balancing with apache2, mod_jk2 tomcat 5.0 Thanks. The only change

Tomcat 5 Manager utility + JVM Route

2004-04-14 Thread Yang Xiao
Yang Xiao Oak Hill Platinum Partners, L.L.C. 1100 King Street, Building #4 Rye Brook, NY 10573 Tel: (914) 690-2293 Fax: (914)690-2220 [EMAIL PROTECTED]

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-14 Thread Yang Xiao
Hi, I think you need to further define the workers with {ajp13:psahammerhead:8009] channel=channel.socket:psahammerhead:8009 group=lb ... etc hope this helps. Yang -Original Message- From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 10:17 AM To: [EMAIL

RE: Load balancing with apache2, mod_jk2 tomcat 5.0

2004-04-14 Thread Yang Xiao
:8009 group=lb tomcatId=psahammerhead It still only wants to use one of the servers. There are other properties that could be used but they're not documented too well. Any other suggestions would be greatly appreciated. -Tom --- Yang Xiao [EMAIL PROTECTED] wrote: Hi, I think you need to further

RE: Apache2+Jk2+Tomcat5

2004-04-13 Thread Yang Xiao
-Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 8:18 PM To: Tomcat Users List Subject: Re: Apache2+Jk2+Tomcat5 On Mon, Apr 12, 2004 at 07:37:31PM -0400, Yang Xiao wrote: : I'm trying to get Apache 2.0.49/JK2/Tomcat 5.0.19 to work : I was able to get

RE: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]

2004-04-13 Thread Yang Xiao
-Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 1:49 AM To: Tomcat Users List Subject: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5] Yang Xiao wrote: Hi list, I'm trying to get Apache 2.0.49/JK2/Tomcat 5.0.19 to work I was able

RE: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]

2004-04-13 Thread Yang Xiao
To: Tomcat Users List Subject: Re: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5] Yang Xiao wrote: Hi, Thanks for the help I went back and modified the Makefile with all 3 libraries as you have said, recompiled and now I'm getting a different error: INFO: APR not loaded, disabling jni components

Apache2+Jk2+Tomcat5

2004-04-12 Thread Yang Xiao
Hi list, I'm trying to get Apache 2.0.49/JK2/Tomcat 5.0.19 to work I was able to get JK2 to compile and placed the mod_jk2.so and libjkjni.so in /usr/local/apache/modules But when I start the Tomcat server, I'm getting this error INFO: APR not loaded, disabling jni components:

RE: Tomcat (4.1) doesn't answer

2004-04-08 Thread Yang Xiao
-Original Message- From: Gianni Pucciani [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 4:21 AM To: Tomcat Users List Subject: Re: Tomcat (4.1) doesn't answer Parsons Technical Services wrote: Gianni, Try using the IP. If you can get to it with an IP then your issue is

Apache with JK ApacheConfig Class not found!

2004-04-08 Thread Yang Xiao
Hi list, I'm trying to configure JK 1.2.5 with Apache 2.0.49 and Tomcat 5.0.19, and I have added the following lines to the server.xml file: Under Server container Listener className=org.apache.ajp.tomcat5.config.ApacheConfig modJk=/usr/local/apache/modules/mod_jk.so / and under Host Listener

RE: Apache with JK ApacheConfig Class not found!

2004-04-08 Thread Yang Xiao
Argh, found through the old archives, it's changed to org.apache.jk.config.ApacheConfig Yang -Original Message- From: Yang Xiao [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 2:16 PM To: 'Tomcat Users List' Subject: Apache with JK ApacheConfig Class not found! Hi list, I'm