 |
| Main Menu |  |
| Other Modules |  |
| Who's Online |  |
There are currently, 90 guest(s) and 0 member(s) that are online.
You are Anonymous user. You can register for free by clicking here | |
| User's Login |  |
|
Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name. | |
| GameHighScores |  |
|  |
 | Tracking CPU consumption programmatically in zWAS |
This API is very handy if you need to figure out which part of your code is consuming MIPS on zWAS. WebSphere on zOS has special API [pdf] to retrieve that information.
|
|
|
Posted by billylo on Thursday, May 10 @ 09:40:09 EDT (1610 reads)
(comments? | Score: 0)
|
|
 | Auto-generate a thread dump when WAS suspects the existence of a hung thread |
WebSphere has built-in hung thread detection, but it does not show you the full stack trace of the hung thread or what's blocking the execution of the offending thread. The solution is to enable an automatic thread dump when WebSphere finds a suspicious hung thread. This technote describes how to do it.
I'd consider this a best practice and would recommend it to most installations. Thread dump is fairly lightweight (unlike heap dumps) and can provide very valuable debugging information.
|
|
|
Posted by billylo on Thursday, March 17 @ 15:50:35 EDT (2520 reads)
(comments? | Score: 0)
|
|
 | Sizing WebSphere systems |
There are a few good tools out there for sizing WebSphere systems:
Hope you find them useful too.
|
|
|
Posted by billylo on Tuesday, November 09 @ 23:05:56 EST (1785 reads)
(comments? | Score: 5)
|
|
 | Setting JAX-WS web services client timeout in WebSphere |
A few of my teammates find it difficult to
get this working properly. I hope this write-up and example code below
would help you. It's actually not too hard.
What can I adjust?
There are
three timeouts you can set:
1. CONNECTION_TIMEOUT: The amount of
time WebSphere JAX-WS client would wait to establish a http/https
connection (default is 180 seconds) 2. WRITE_TIMEOUT: The amount of
time the client would wait to finish sending the request (default is
300 seconds) 3. RESPONSE_TIMEOUT: The amount of time the client
would wait to finish receiving the response (default is 300 seconds)
How can I set them in my application code?
You
can adjust them by setting properties on the requestContext. See code
sample below.
HelloWorldSOAPProxy
proxy = new HelloWorldSOAPProxy(); // generated proxy class
Map requestContext =
((BindingProvider)proxy._getDescriptor().getProxy()).getRequestContext();
requestContext.put(com.ibm.wsspi.webservices.Constants.CONNECTION_TIMEOUT_PROPERTY
, "1"); requestContext.put(com.ibm.wsspi.webservices.Constants.WRITE_TIMEOUT_PROPERTY
, "2"); requestContext.put(com.ibm.wsspi.webservices.Constants.RESPONSE_TIMEOUT_PROPERTY
, "40");
proxy.sayHello("Billy");
Note: The property value in the Map must be a
String; and in seconds.
My code
does not work in my environment. How do I troubleshoot it?
Use
the WebSphere AdminConsole to enable this trace specification (on the
client side):
"com.ibm.ws.websvcs.*=all=enabled:org.apache.axis2.*=all=enabled"
You
should see something like this in the trace (if you set the response
timeout).
[04/08/2009
19:28:37:937 EDT] 00000000 >
ibm.ws.websvcs.transport.http.SOAPOverHTTPSender
prepareHttpRequestHeaders():
com.ibm.ws.websvcs.transport.http.SOAPOverHTTPSender@33233323 Entry [04/08/2009 19:28:37:953 EDT] 00000000 3
ibm.ws.websvcs.transport.common.ConfigFromJAX_WS
...ConfigFromJAX_WS.getReadTimeout() : 40 [04/08/2009 19:28:37:953 EDT] 00000000 3
ibm.ws.websvcs.transport.http.SOAPOverHTTPSender syncTimeoutValue 40000
ms for http
Additional
tip:
If you are using a standalone Java client
(outside of the J2EE container), you can set the WebSphere traceSpec
using system properties.
System.setProperty("java.util.logging.manager","com.ibm.ws.bootstrap.WsLogManager"); System.setProperty("traceSettingsFile","MyTraceSettings.properties"); System.setProperty("java.util.logging.configureByServer","true");
and
put your traceSpec in a file (e.g. MyTraceSettings.properties) on the
working directory.
traceFileName=c:/temp/trace.log com.ibm.ws.websvcs.*=all=enabled:org.apache.axis2.*=all=enabled
|
|
|
Posted by billylo on Sunday, March 28 @ 16:43:04 EDT (8586 reads)
(comments? | Score: 4.66)
|
|
 | websphere 7 performance in windows |
greensky writes "Check out this pdf on websphere 7 performance benchmark http://go.microsoft.com/?linkid=9664195 and the site http://www.websphereloveswindows.com/ "
|
|
|
Posted by billylo on Friday, June 26 @ 07:48:33 EDT (1684 reads)
(Read More... | 1 comment | Score: 0)
|
|
 | My WebSphere application is running slow, but I can't figure out what's wrong |
|
|
Posted by billylo on Sunday, June 14 @ 17:43:52 EDT (1480 reads)
(Read More... | 1 comment | Score: 0)
|
|
 | WAS Cache Monitor |
gr8shadow writes "The IBM Extended Cache Monitor for IBM WebSphere Application Server
provides you with functionality not available with the cache monitor
that is supplied with WebSphere Application Server."
|
|
|
Posted by billylo on Monday, April 07 @ 08:24:15 EDT (1848 reads)
(comments? | Score: 0)
|
|
 | New tool for analyzing verbose gc output |
|
|
Posted by billylo on Monday, October 15 @ 11:32:22 EDT (3280 reads)
(Read More... | 5 comments | Score: 0)
|
|
 | Web Services maxConnection switch |
In WAS 6.1, you can control the maximum number of outbound web services connections using a property. It was limited to 5 to 25. If you need a higher number, you can apply this fix from IBM support.
|
|
|
Posted by billylo on Tuesday, October 09 @ 09:32:13 EDT (1703 reads)
(Read More... | 1 comment | Score: 0)
|
|
 | New tool that measures SI-Bus performance |
|
|
Posted by billylo on Wednesday, January 31 @ 07:32:27 EST (1777 reads)
(comments? | Score: 0)
|
|
 | C/C++ and Java Performance Analysis Toolkit |
The Performance Inspector for
Windows package is a suite of performance analysis tools that can be used to identify
performance issues in C/C++ programs and Java applications. It
generates a detailed analysis with graphical and textual views to improve the
performance of developing products in a way that’s less intrusive than most analysis
tools.
|
|
|
Posted by billylo on Friday, October 06 @ 11:35:22 EDT (1479 reads)
(Read More... | 1 comment | Score: 0)
|
|
 | HeapAnalyzer v1.4.2 for Java on Linux Released |
HeapAnalyzer version 1.4.2, a
graphical tool for discovery of Java heap leaks, is an update that fixes
defects in the Java profiler parser. Through use of a heuristic search engine
and analysis of heap dumps, it can reduce the amount of time spent on digging
through code in search of leaks in Java applications on Unix and Windows.
|
|
|
Posted by billylo on Friday, October 06 @ 11:33:08 EDT (1719 reads)
(comments? | Score: 0)
|
|
 | Eclipse Real-Time JVM Analysis Tool for Linux |
IBM TuningFork:
Visualization of Real-Time Systems is an Eclipse-based visualization and
performance analysis tool for real-time applications with support for Java,
C++, Real-time JVM, and Linux. TuningFork enhances
data exploration and performance analysis by coupling a powerful
data-processing mechanism with a high-performing user interface.
|
|
|
Posted by billylo on Friday, October 06 @ 11:28:46 EDT (1216 reads)
(comments? | Score: 0)
|
|
|  |
| Search Box |  |
| Related Sites |  |
| Links |  |
| 
|