[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-341) REMOVE-APP with 2 Aliases removes only the first one

Jean-Frederic Clere (JIRA) jira-events at lists.jboss.org
Thu May 23 07:35:08 EDT 2013


    [ https://issues.jboss.org/browse/MODCLUSTER-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776310#comment-12776310 ] 

Jean-Frederic Clere commented on MODCLUSTER-341:
------------------------------------------------

Weird the hosts are removed in:
https://github.com/modcluster/mod_cluster/blob/master/native/mod_manager/mod_manager.c#L1440
                
> REMOVE-APP with 2 Aliases removes only the first one
> ----------------------------------------------------
>
>                 Key: MODCLUSTER-341
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-341
>             Project: mod_cluster
>          Issue Type: Feature Request
>    Affects Versions: 1.2.0.Final
>            Reporter: Radoslav Husar
>            Assignee: Jean-Frederic Clere
>
> Seems like only 1 Alias is removed if the application has been deployed with 2 different Aliases.
> This results in virtual host not being removed.
> Uncovered when testing with Undertow, since it has default-host and localhost defined in the stock config.
> {noformat}
> [Wed May 22 13:57:57 2013] [debug] mod_manager.c(1667): manager_trans INFO (/)
> [Wed May 22 13:57:57 2013] [debug] mod_manager.c(2323): manager_handler INFO (/) processing: ""
> [Wed May 22 13:57:57 2013] [debug] mod_manager.c(2366): manager_handler INFO  OK
> [Wed May 22 13:57:57 2013] [debug] mod_manager.c(1667): manager_trans CONFIG (/)
> [Wed May 22 13:57:57 2013] [debug] mod_manager.c(2323): manager_handler CONFIG (/) processing: "JVMRoute=5d08300e-37a2-390c-8197-142a84543d60&Host=127.0.0.1&Maxattempts=1&Port=8009&Reversed=true&StickySessionForce=No&Type=ajp&ping=10"
> [Wed May 22 13:57:57 2013] [debug] mod_manager.c(2366): manager_handler CONFIG  OK
> [Wed May 22 13:57:57 2013] [debug] mod_manager.c(1667): manager_trans ENABLE-APP (/)
> [Wed May 22 13:57:57 2013] [debug] mod_manager.c(2323): manager_handler ENABLE-APP (/) processing: "JVMRoute=5d08300e-37a2-390c-8197-142a84543d60&Alias=default-host%2Clocalhost&Context=%2Fclusterbench-ee6-web"
> [Wed May 22 13:57:57 2013] [debug] mod_manager.c(2366): manager_handler ENABLE-APP  OK
> [Wed May 22 13:58:19 2013] [debug] mod_manager.c(1667): manager_trans REMOVE-APP (/)
> [Wed May 22 13:58:19 2013] [debug] mod_manager.c(2323): manager_handler REMOVE-APP (/) processing: "JVMRoute=5d08300e-37a2-390c-8197-142a84543d60&Alias=default-host%2Clocalhost&Context=%2Fclusterbench-ee6-web"
> [Wed May 22 13:58:19 2013] [debug] mod_manager.c(2366): manager_handler REMOVE-APP  OK
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the mod_cluster-issues mailing list