Threading Issue In WebLogic
Last updated on JUNE 09, 2016
Applies to:Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.
Data from one instance of a Web Service is seen bleeding into another instance of the same Web Service. This occurs when a variable is instantiated at the "class" level as opposed to in a method.
The "testSSN" method is exposed as a Web Service. It receives a string as input. It then sets the value of a "class" level variable and a "method" level variable to the value of the incoming string. It pauses for 5 seconds - this is to allow time to run another instance of the service.
It then returns the values of both the "class" level variable and the "method" level variable. The "class" level variable in the first instance of the Web Service has the value of the incoming string from the second instance of the Web Service. The "method" level variable does not have this issue.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms