Hakkon If you dont mind taking advice from a norsk please read http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-permgen-outofmemoryerror
as this is related to the JVM and permgen settings you must tweak JAVA_OPTS env parameter please add these parameters to your JAVA_OPTS env variable switch garbage-collector to concurrent -XX:+UseConcMarkSweepGC collect in permgen space -XX:+CMSPermGenSweepingEnabled allow classes to be unloaded -XX:+CMSClassUnloadingEnabled tweak the Max Perm Gen size up to 128M -XX:MaxPermSize=128m SET JAVA_OPTS=-XX:UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=128m Takk Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Date: Thu, 26 Feb 2009 14:37:58 +0100 Subject: Memory problems using axis2 tomcat and ssl From: [email protected] To: [email protected] Hi all, I'm experimenting with web services deployed with axis2 in tomcat using ssl for securing them and noticed something strange. I can call one of the services many times and no problems, but when I want to call another service I get java.lang.OutOfMemoryError: PermGen space from tomcat. If I start tomcat without ssl enabled all services and container behaves normally, calling them multiple times works as it should. Have anyone experienced anything similar? I've not altered any of the web services just added the tomcat ssl connector and configured it like this <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="200" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" enableLookups="true" keystoreFile="${user.home}/my.jks" keystorePass="password" acceptCount="100" minSpareThreads="5" maxSpareThreads="75" disableUploadTimeout="true" /> I'm usign axis2-1.4.1, tomat 6.0.18 cheers, Håkon -- Håkon Sagehaug, Scientific Programmer Parallab, Bergen Center for Computational Science (BCCS) UNIFOB AS (University of Bergen Research Company) _________________________________________________________________ Windows Live™: Discover 10 secrets about the new Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!7540.entry?ocid=TXT_TAGLM_WL_t2_ugc_post_022009
