axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michele Mazzucco <Michele.Mazzu...@ncl.ac.uk>
Subject [Axis2] axis2 engine not thread safe
Date Mon, 10 Dec 2007 14:14:08 GMT
Hi all,

I was checking some code here [1] and I've noticed that the
configuration is stored in AxisConfiguration. 
However AxisConfiguration (and its super class AxisDescription) is *not*
thread safe. In particular it uses HashMap objects to store all the
parameters (and ParameterIncludeImpl -- which is used to store Parameter
objects -- is a wrapper around a HashMap as well). If parameters are set
only at startup everything works fine, however if one wishes to change
them at runtime it doesn't work (i.e. the code [2] is broken).

Best
Michele


[1]
http://wso2.org/repos/wso2/trunk/commons/statistics/modules/core/src/main/java/org/wso2/statistics/module/StatisticsModule.java
[2]
http://wso2.org/repos/wso2/trunk/commons/statistics/modules/core/src/main/java/org/wso2/statistics/module/ResponseTimeHandler.java


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message