I used to constantly get out of memory perm gen space error until about
a month back -
Then I read in detail the various garbage collectors for JDK 1.6
*Throughput Collector
*Concurrent Low Pause Collector
*Incremental Low Pause Collector
I decided to use the concurrent collector as described
Off lately I have been running into PermGenSpace Out of memory errors.
07/15/2010 20.08.12
java.lang.OutOfMemoryError: PermGen space
After reading few posts I even start the tomcat using the following
parameter:
-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server
I have two instances of tomcat 6.0.24 running on a 64bit OS(Win 2008)
and 64 bt JVM.
Both are listening on separate IP addresses and ports.
One instance was installed using the windows installer, the other was
installed by expanding the zip file.
Both instances contain tomcat6.exe file
I just finished installing 64 bit tomcat (6.0.24) on 64 bit JVM
(1.6.0_18)on 64 bit OS (WIN 2008). I was able to install it as a service
without any problems.
The trick is to start with the zip file distribution (64 bit). Do not
use the windows installer as it is for 32 bit.
Here are the steps:
My current setup: Windows Server 2003 on X86 (32bit).
Apache Tomcat 6.0.16
Apache Httpd server 2.059 with mod_jk
Using JVM 1.6.0_06
Current setting for the JVM used by tomcat is as follows:
Initial Memory pool - 768MB
Max Memory pool - 1536MB
Is there a way to go beyond 2GB for the max
If you are using vista 64 bit, do not use the windows installer/exe.
Instead unzip the tomcat zip file and then create shortcuts to startup and
shutdown batch file found under ../bin folder.
You will also have to install JRE 1.5.0. Tomcat complained about the JRE when I
tried using the 64 bit
I just came across 2 war files within tomcat6.0/webapps folder:
fexcep.war and safe2.war. Both applications were deployed.
I was watching the thread Possible virus uploaded to Tomcat 5.5.3 very
closely so the presence of these files alerted me.
Like the original thread nobody has access to the
Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 22, 2008 2:33 PM
To: Tomcat Users List
Subject: Re: mod jk and workers file
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anurag,
Mehrotra, Anurag wrote:
| I now have to connect the same instance of web server
I am using apache 2.0.59 to connect to Tomcat 6.0.16 using mod_jk 1.2.26.
Current configuration is working just fine. I have specified my
worker.properties file location under httpd.conf (apache web server) as
follows:
JkWorkersFile D:\Apache Software Foundation\Tomcat
I have been trying to connect tomcat 6.0.16 (using JVM 1.5.0_15) on windows
32 bit platform to connect to apache web server httpd 2.0.59 with mod_jk.
I have defined the following entries in my worker.properties:
workers.tomcat_home
workers.java_home
ps
I loaded the mod_jk.so as follows:
10 matches
Mail list logo