Shahar,

Could you please log a bug report?

thanks,
dims

On 8/15/06, Kedar, Shahar <[EMAIL PROTECTED]> wrote:




Hi,



I think I found a bug in the Axis2 deployment mechanism. Looking at the code
of org.apache.axis2.deployment.RepositoryListener, it seems
that if there are no files under the services folder then Axis will not
check whether existing services were removed.



This is what I think is happening:

The method that checks whether certain services were removed is
checkForUndeployedServices() under the WSInfoList class. This method will
check for changes only if the check boolean is set to TRUE.
The check boolean is set to TRUE only by the addWSInfoItem() method under
the WSInfoList class. This method will be called by the RepsitoryListener
only if the file list of the services directory is not empty. This means,
that if I already have some service deployed, and I decide the delete all
the content of the services folder, those services will remain deployed
until Axis2 is restarted.



Any ideas how to bypass this bug (other than maintaining a dummy file under
the services folder)? Should I report this bug to the Axis2 team?



Thanks,

Shahar Kedar

Software AG Israel




--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to