[ http://issues.apache.org/jira/browse/AXIS2-1035?page=all ]
Deepal Jayasinghe reassigned AXIS2-1035:
----------------------------------------
Assignee: Deepal Jayasinghe
> Services are not undeployed when deleting all the files in the Axis2
> repository
> -------------------------------------------------------------------------------
>
> Key: AXIS2-1035
> URL: http://issues.apache.org/jira/browse/AXIS2-1035
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: deployment
> Affects Versions: 1.0
> Environment: Axis2 runs under tomcat 5.5
> Reporter: Shahar Kedar
> Assigned To: Deepal Jayasinghe
> Priority: Minor
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]