DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8106>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8106

Concurrency problem in date deserializer

           Summary: Concurrency problem in date deserializer
           Product: Axis
           Version: beta-1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Basic Architecture
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The SimpleDateFormat object used in 
org.apache.axis.encoding.ser.DateDeserialiser is a static object used to parse 
the dates. This blows up with NumberFormatExceptions when used in a 
multithreaded client. The problem is that SimpleDateFormat is not threadsafe 
when used in this way. On the serialiser side it is indirectly protected by 
syncing on the static calendar object. It either needs to be protected in a 
sync block or make it non-static.

Reply via email to