9 articles WAS 7.0

WebSphere ThreadPool Performance Analysis

https://publib.boulder.ibm.com/httpserv/cookbook/WebSphere_Application_Server-WAS_Traditional-Thread_Pools.html Thread pools and their corresponding threads control all execution of the application. The more threads you have, the more requests you can be servicing at once. However, the more threads you have the more they are competing for shared resources such as CPUs and the slower the overall response time may become as these…

How to Generate and Analyse WebSphere Thread Dump?

BOOKMARK Link: https://geekflare.com/generate-and-analyse-websphere-thread-dump/ wsadmin>set jvm [$AdminControl completeObjectName type=JVM,process=server1,*] WebSphere:name=JVM,process=server1,platform=proxy,node=localhostNode01,j2eeType=JVM,J2EEServer=server1,version=8.5.5.0,type=JVM,mbeanIdentifier=JVM,cell=localhostCell01,spec=1.0 wsadmin>$AdminControl invoke $jvm dumpThreads # kill -3 $PID

Clear all websphere portal dynacache (distributedmap) with one click

http://www-10.lotus.com/ldd/portalwiki.nsf/dx/Clear_all_websphere_portal_dyna_caches_lprdistributedmaprpr_with_one_click Sample code to inject in cachemonitor We can clear all caches with single click by injecting the below small piece of code into the Cache Monitor JSP (WebSphere\wp_profile\installedApps\sivapcCell\Dynamic Cache Monitor.ear\CacheMonitor.war\selectInstance.jsp)   <form name=”clearAll” method=”get” action=”selectInstance.jsp”> <input type=”hidden” name=”clearAll” value=”true”>  <input type=”submit” value=”Clear All” class=”buttons”>  </form> <%  if (request.getParameter(“clearAll”) != null   && request.getParameter(“clearAll”).equals(“true”)) {…

Secure and HttpOnly flags for session cookie Websphere 7, 8.*

http://stackoverflow.com/questions/9193112/secure-and-httponly-flags-for-session-cookie-websphere-7 To set Secure flag to JSESSIONID cookie (same for WebSphere 7.x and 8.x): log in log in WebSphere admin console Navigate to Server > Server types > WebSphere application servers Click on server name (default is server1) Click on link Web Container settings > Web Container Click on link Session Management Click on link…

Java Garbage Collection: Best Practices for Sizing and Tuning the Java Heap (Chris Bailey)

http://www-01.ibm.com/support/docview.wss?uid=swg27013824&aid=1 Four GC “Policies”, optimized for different scenarios  -Xgcpolicy:optthruput   optimized for “batch” type applications  -Xgcpolicy:optavgpause optimized for applications withresponsiveness criteria  -Xgcpolicy:gencon optimized for highly transactionalworkloads  -Xgcpolicy:subpools optimized for large systems with allocationcontention  

JVM parameter “-Xmn” and recommendation for application with IBM JDK with Sterling Selling and Fulfillment Foundation

http://www-01.ibm.com/support/docview.wss?uid=swg21519763 What is the -Xmn parameter? Briefly, -Xmn decides the size of the young space in a JVM. When this parameter is not tuned, you may see some performance implications (for example, large spikes in the memory foot print). For more information on -Xmn, refer to Tuning performance > Tuning the application serving environment >…

Failed connection between Portal and Salesforce javax.net.ssl.SSLHandshakeException.

Failed connection between Portal and Salesforce with following exception: Caused by: com.sforce.ws.ConnectionException: Failed to send request to https://salesforce–blalba.cs15.my.salesforce.com/services/Soap/c/28.0/00De0000005PAIP/0DFc0000000Cadc at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:120) at com.sforce.soap.enterprise.EnterpriseConnection.query(EnterpriseConnection.java:674) at com.cochlear.sforce.connection.ManagedConnectionImpl.query(ManagedConnectionImpl.java:55) … 54 more Caused by: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.j: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: java.security.cert.CertPathValidatorException: The certificate issued by CN=Baltimore CyberTrust Root, OU=CyberTrust,…