Hi all

I have an app running on the following config:
- Windows 2000 Advanced server (Dual PIII 1GHz CPU with 4GB RAM)
- IIS 5
- Tomcat 3.3 (NOT 3.3.x)
- ISAPI redirector 1.2 (size = 128K)
- JDK 1.3.1_09
- Oracle 8.1.7

Tomcat is locking up almost everyday.  Log files show a lot of bad DB
connections that cannot be reset.  The app that I deployed gets connected to
by about 130 - 140 users at peak times (which doesn't really seem to be that
much.....).

Some advice that I received (not in the Tocat user forum) is the following :
A)  Confirm that TC uses "Server" version of JVM.  (I presume this is the
jvm.dll in the JAVA_HOME\JRE\BIN\SERVER folder?)
I found the following line in the workers.properties :
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p
s)jvm.dll

I changed it to :
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)server$(ps
)jvm.dll

Is this the correct place to make TC 3.3 use "Server" version of JVM?

B) Set memory parameters -Xms and - Xmx to allocate TC more memory.
I am not sure where to do this . . .:-0

I have seen in this forum previously that someone said it must be specified
in the "start parameters" in the General Tab screen of the Tomcat Service
properties.  Is it possible to specify these parameters in the
wrapper.properties file (which seem to be used by the Tomcat service for
startup)?

What is the correct place to do this?  Even registry perhaps . . . ?

Is this exact syntax correct for the Windows OS?  -Xms128 -Xmx1024

I am not very experienced in using Tomcat and is hesitant to Upgrade to, say
, 4.1x.  But if you reckon it maybe a better alternative, I will certainly
consider.

Thanks in advance.

Sarel Bester
Laragh Skills
Work:  +27 11 2340690
Fax:  +27 11 2340790
Cell:  +27 82 8825009
e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to