JAX-RPC Handlers must be programmed to be thread-safe
 Technote (troubleshooting)
 
Problem(Abstract)
If multiple services have the same handler specified in webservices.xml, they may share a single instance of the handler. JAX-RPC Handlers must be programmed to be thread-safe.
 
Cause
This is by design. The JAX-RPC specication states "Handler instances in a handler chain should not rely on the thread local state to share
state between handler instances." This means that the implementation of the Web Services engine may create a single instance or multiple instances of the handler.
 
Resolving the problem
Program your JAX-RPC handler to be thread-safe. There may be other web service implementations that create multiple handler instances, but to be safe the customer must make their handlers thread-safe.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Web Services (for example: SOAP or UDDI or WSGW or WSIF)
Operating system(s): Windows
Software version: 6.0
Software edition:
Reference #: 1215894
IBM Group: Software Group
Modified date: Aug 31, 2005