Posts

Showing posts from February, 2010

Weblogic JDK 1.6 Error Could not reserve enough space for object heap

Weblogic 10 running on HP-UX throws this error on startup when we try to give 3 GB Xms and Xmx. -Dweblogic.system.BootIdentityFile=/portalapp/bea/user_projects/domains/MSD4/servers/MS4/data/nodemanager/boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false -server -Xms3g -Xmx3g -Xmn1024m -XX:+AggressiveHeap -XX:+UseParallelGC -XX:ParallelGCThreads=20 -XX:PermSize=1024m -XX:MaxPermSize=1024m -XX:MaxTenuringThreshold=3 -XX:LargePageSizeInBytes=4m -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:SurvivorRatio=8 -XX:-UseAdaptiveSizePolicy -Xloggc:/portal_logs/gclog/MS4_gclog.log weblogic.Server > <Feb 17, 2010 10:56:06 AM> <Info> <NodeManager> <Working directory is "/portalapp/bea/user_projects/domains/MSD4"> <Feb 17, 2010 10:56:06 AM> <Info> <NodeManager> <Server output log file is "/portalapp/bea/user_projects/domains/MSD...

More tuning tips on slow Weblogic 10

In the earlier parts of this article I described some technical tuning tips specific to a slow-performing Weblogic JEE server. Another earlier post has looked at how to set the JSP check seconds values. This is a follow-up article specifically for tuning the similar settings for Weblogic 10 - since the syntax has changed. In weblogic.xml, ensure the following are set as below: <wls:session-descriptor> <wls:encode-session-id-in-query-params>true</wls:encode-session-id-in-query-params> <wls:cookie-comment>mysessioncookie</wls:cookie-comment> <wls:cookie-max-age-secs>-1</wls:cookie-max-age-secs> <wls:cookie-name>JSESSIONID</wls:cookie-name> <wls:cookie-path>/</wls:cookie-path> <wls:cookies-enabled>true</wls:cookies-enabled> <wls:timeout-secs>1200</timeout-secs> <wls:cookie-domain>@MY_COOKIE_DOMAIN@</wls:cookie-domain> </wls:session-descriptor> Assuming that no JSPs are being hot de...