Posts

Showing posts from 2010

Some info on Weblogic clustering

Recently this question regarding Weblogic clustering came up on Stackoverflow . I put some time into researching the answer I provided, and thought of putting this up on the blog as well. Question from user Russell I've read http://download.oracle.com/docs/cd/E11035_01/wls100/cluster/overview.html and searched this topic on the internet but still had a hard time understanding some of weblogic's clustering concepts. Can anybody confirm/correct my understandings below? •a cluster contains one or more logical servers which can reside on one or many physical servers •when deploying a j2ee app to a cluster, it is tied to one server in that cluster •external users of the deployed app aren't aware of clustering •the log file of that app is located on the server it's deployed •if the server hosting the app fails, it's okay because the app is in a cluster and another server will pick up the work? •if the server hosting the app fails, what happens to logging? Maybe I got the...

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...

Postcards from New Zealand

Image
I spent 2 months on a client assignment in New Zealand last year. The summer was a great time to be there and here are some pictures. Auckland skyline Looking up at the SkyCity Tower Auckland Cathedral Cove in the North Island View of Auckland from Waiheke Island The Cruise on Milford Sound in the South Island. The view ahead is the Trans Tasman Sea. The seals at Milford Sound Birds at Queenstown Lake Pukaki on the way to Mount Cook View of Mount Cook from Lake Tekapo The Church of Good Shephed on the shores of Lake Tekapo View of Lake Tekapo from Mount John Observatory Two men playing chess at Christchurch City Centre. Let me know if it's you :)