[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-514) MemManagerFile doesn't take relative paths

Michal Karm Babacek (JIRA) issues at jboss.org
Wed Dec 14 08:34:01 EST 2016


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

Michal Karm Babacek commented on MODCLUSTER-514:
------------------------------------------------

Assigning to [~gzaronikas]. It is not a "hot potato" issue; I'm just load balancing work. THX.

> MemManagerFile doesn't take relative paths
> ------------------------------------------
>
>                 Key: MODCLUSTER-514
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-514
>             Project: mod_cluster
>          Issue Type: Bug
>          Components: Native (httpd modules)
>    Affects Versions: 1.3.1.Final, 1.2.13.Final
>            Reporter: Michal Karm Babacek
>            Assignee: George Zaronikas
>            Priority: Minor
>
> This is mostly a user experience issue.
> According to what {{LoadModule}} and other directives do, one would expect that a path without leading slash is a relative one to the server root.
> h3. Setting
>  * {{MemManagerFile cache/mod_cluster}}
>  * {{ServerRoot "/home/karm/Projects/MOD_CLUSTER/httpd-2.4.20-build"}}
> h3. Expected result
> {noformat}
> /home/karm/Projects/MOD_CLUSTER/httpd-2.4.20-build/cache/mod_cluster/
> manager.balancer.balancers          manager.context.contexts          manager.domain.domain          manager.host.hosts          manager.node.nodes
> manager.balancer.balancers.lock     manager.context.contexts.lock     manager.domain.domain.lock     manager.host.hosts.lock     manager.node.nodes.lock
> manager.balancer.balancers.slotmem  manager.context.contexts.slotmem  manager.domain.domain.slotmem  manager.host.hosts.slotmem  manager.node.nodes.slotmem
> {noformat}
> h3. Actual result
> {noformat}
> /cache/mod_cluster/
> manager.balancer.balancers          manager.context.contexts          manager.domain.domain          manager.host.hosts          manager.node.nodes
> manager.balancer.balancers.lock     manager.context.contexts.lock     manager.domain.domain.lock     manager.host.hosts.lock     manager.node.nodes.lock
> manager.balancer.balancers.slotmem  manager.context.contexts.slotmem  manager.domain.domain.slotmem  manager.host.hosts.slotmem  manager.node.nodes.slotmem
> {noformat}
> and an empty directory is created in the directory from which the httpd root process was started:
> {{/home/karm/Projects/MOD_CLUSTER/httpd-2.4.20-build/bin/cache/mod_cluster/}}.
> h3. Fix
>  * leading {{/}} should mean absolute path
>  * without leading {{/}} should be relative to ServerRoot



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the mod_cluster-issues mailing list