RE: How to increase the stack memory for tomcat ?

2003-02-07 Thread Ming Zhao
If I want to increase the memory size of each process or session, how can I do for Tomcat only or Apache+Tomcat? --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Really? The stack, no the heap? You're sure? Why? Try -Xss a parameter into your java command line. Yoav Shapira

Pls help me on config of the memory problem

2003-02-06 Thread Ming Zhao
Hi, How to set the maximum number of threads or clients that the server can deal with simultonously? Running java bean takes much memory, so I want to control the number of users who can run it at the same time. I use Apache2, Tomcat4.1 and mod-Jk2 under win2k. Thx, Minger

Re: JSP's in other directories

2003-02-05 Thread Ming Zhao
You use JK2 as the connector between Apache and Tomcat? If so, you can map your jsp in the workers2.properties. Still I have a question: how can you set the main directory of your page files and call Tomcat to deal with jsp files under your main directory? --- Erik Price [EMAIL PROTECTED] wrote:

How to configure number of sessions, threads or connections of the server?

2003-02-04 Thread Ming Zhao
Hi, I met a problem on my server's configuration. On my website, the user can simulate the manufacturing systme (java bean) online. If I run the simulation offline (with the JBuilder), it's no problem to run for the real time from year 1990 to now. When I put it online, it can only run for short

RE: Help: Simple example to use tomcat 4.1.12 / Apache 1.3 and mo d_jk ??

2002-12-17 Thread Ming Zhao
Hi, John Is there any HOWTO for win2k? Similar to that for RH? For my setup and configure of Apache, Tomcat and JK2 on win2k, it seems that Apache and Tomcat can work well seperately. But it cannot work to open jsp file with Apache to acivate Tomcat to deal with. And I got the message on the

Apache,Tomcat and JK configuration problem

2002-12-16 Thread Ming Zhao
Hi, When I finished the configuration of Apache http 2.0.4, Tomcat 4.1.12 LE and mod_jk2-2.0.4, I got the information: org.apache.jk.server.JkMain start APR not loaded, disabling jni components: java.io.IOException: no jkjni in java.library.path org.apache.jk.server.JkMain start Jk running ID=0

RE: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)

2002-12-16 Thread Ming Zhao
Can it work on Win2k? Thanks, --- Luc Santeramo [EMAIL PROTECTED] wrote: Hi, there is a way to limit memory use by tomcat just specify it in your CATALINA_OPTS env var here is mine CATALINA_OPTS=-server -Xmx220m -Xms220m -Dfile.encoding=UTF-8 these are jvm parameter I think Xmx is the

How to set JVM memory size?

2002-12-05 Thread Ming Zhao
Hi, I have a question to seek for your help. How do I set the JVM memory size? I use Apache Tomcat4.1.16 and J2SDK1.3. Now it seems that I have a problem of not enough memory to implement the java bean. I want to set JVM memory with writing some commands to some file. So Tomcat can activate J2SDK

RE: How to set JVM memory size?

2002-12-05 Thread Ming Zhao
and set your max and min to whatever you want like this... -Xmx512m -Xms256m Brandon -Original Message- From: Ming Zhao [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 11:49 AM To: [EMAIL PROTECTED] Subject: How to set JVM memory size? Hi, I

Error on Java Bean running

2002-12-02 Thread Ming Zhao
I use Tomcat 4.1.16 as the server. And when I run java bean and got an error. It's a manufacturing-system simulation java bean. On the website, click one button to run the simulation. I can set the beginning simulation time (e.t.,from 01/01/2000 to current clicking time). It can work well for

StackOverflowError when running java bean

2002-11-26 Thread Ming Zhao
Hi there, I met a problem when running java bean online. Please take a look and give some advice. It's a manufacturing-system simulation java bean. On the website, click one button to run the simulation. I can set the beginning simulation time (e.t., from 01/01/2000 to current clicking time). It