[
https://issues.apache.org/jira/browse/AXIS2-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andun Sameera Liyanagunawardana updated AXIS2-5361:
---------------------------------------------------
Attachment: ArchiveReader.patch
I have debugged the code and analyzed it with the released version of the code.
This happens because the way of setting the ServiceGroup name of the service is
false in the current trunk. The error exists in the
org.apache.axis2.deployment.repository.util.ArchiveReader class. It reads
service group name like this,
if(extractService){
axisServiceGroup.setServiceGroupName(
DescriptionBuilder.getShortFileName(currentFile.getName()));
} else {
axisServiceGroup.setServiceGroupName(currentFile.getName());
}
But according to the logic it have to corrected like this,
if(!extractService){
axisServiceGroup.setServiceGroupName(
DescriptionBuilder.getShortFileName(currentFile.getName()));
} else {
axisServiceGroup.setServiceGroupName(currentFile.getName());
}
So here is the patch to correct it.
> Hot Undeployment feature doesn't work due to false ServiceGroup name
> assignment
> --------------------------------------------------------------------------------
>
> Key: AXIS2-5361
> URL: https://issues.apache.org/jira/browse/AXIS2-5361
> Project: Axis2
> Issue Type: Bug
> Components: deployment
> Affects Versions: 1.7.0
> Environment: Ubuntu 12.04
> Reporter: Andun Sameera Liyanagunawardana
> Fix For: 1.7.0
>
> Attachments: ArchiveReader.patch
>
>
> While we are running the axis2server, when we try to undeploy a service(Here
> SimpleService) by deleting it from the repository/service directory,
> following exception shows in the console.
> [INFO] org.apache.axis2.deployment.DeploymentException: The SimpleService
> service group name is not valid.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.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]