You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lorenz Quack (JIRA)" <ji...@apache.org> on 2015/11/25 16:59:11 UTC

[jira] [Commented] (QPID-6898) [Java Broker] Entering relative path for DERBY VHN in web UI fails

    [ https://issues.apache.org/jira/browse/QPID-6898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15026980#comment-15026980 ] 

Lorenz Quack commented on QPID-6898:
------------------------------------

log with TRACE enabled:
{noformat}
2015-11-25 15:57:17,613 TRACE [HttpManagement-HTTP-153] (o.a.q.s.c.u.TaskExecutorImpl) - Submitting Task['create child' on 'BrokerAdapter [id=2403d2ed-2ec0-4a21-81f1-40b61e0c04f9, name=Broker]' with arguments 'childClass=VirtualHostNode, name=foo, type=DERBY'] to executor Broker-Config
2015-11-25 15:57:17,613 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Performing Task['create child' on 'BrokerAdapter [id=2403d2ed-2ec0-4a21-81f1-40b61e0c04f9, name=Broker]' with arguments 'childClass=VirtualHostNode, name=foo, type=DERBY']
2015-11-25 15:57:17,623 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Starting task executor VirtualHostNode-foo-Config
2015-11-25 15:57:17,624 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Task executor is started
2015-11-25 15:57:17,624 TRACE [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Running Task['create' on 'DerbyVirtualHostNodeImpl [id=be2f4d20-4076-4b01-821d-472ee6973178, name=foo, storePath=null]'] immediately
2015-11-25 15:57:17,624 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Performing Task['create' on 'DerbyVirtualHostNodeImpl [id=be2f4d20-4076-4b01-821d-472ee6973178, name=foo, storePath=null]']
2015-11-25 15:57:17,632 TRACE [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Running Task['set desired state' on 'DerbyVirtualHostNodeImpl [id=be2f4d20-4076-4b01-821d-472ee6973178, name=foo, storePath=aaa]' with arguments 'DELETED'] immediately
2015-11-25 15:57:17,632 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Performing Task['set desired state' on 'DerbyVirtualHostNodeImpl [id=be2f4d20-4076-4b01-821d-472ee6973178, name=foo, storePath=aaa]' with arguments 'DELETED']
2015-11-25 15:57:17,643 TRACE [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Running runnable com.google.common.util.concurrent.Futures$6@1d9741b through executor interface
2015-11-25 15:57:17,643 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Task['set desired state' on 'DerbyVirtualHostNodeImpl [id=be2f4d20-4076-4b01-821d-472ee6973178, name=foo, storePath=aaa]' with arguments 'DELETED'] performed successfully with result: null
2015-11-25 15:57:17,643 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Task['create' on 'DerbyVirtualHostNodeImpl [id=be2f4d20-4076-4b01-821d-472ee6973178, name=foo, storePath=aaa]'] performed successfully with result: null
2015-11-25 15:57:17,645 TRACE [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Running runnable com.google.common.util.concurrent.Futures$6@17b0b9 through executor interface
2015-11-25 15:57:17,645 TRACE [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Running runnable com.google.common.util.concurrent.Futures$6@15365a2 through executor interface
2015-11-25 15:57:17,645 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Task['create child' on 'BrokerAdapter [id=2403d2ed-2ec0-4a21-81f1-40b61e0c04f9, name=Broker]' with arguments 'childClass=VirtualHostNode, name=foo, type=DERBY'] performed successfully with result: null
2015-11-25 15:57:17,645 WARN  [HttpManagement-HTTP-153] (o.a.q.s.m.p.s.r.RestServlet) - IllegalConfigurationException processing request : The store path is not writable directory
2015-11-25 15:57:17,655 TRACE [HttpManagement-HTTP-153] (o.a.q.s.m.p.s.r.RestServlet) - IllegalConfigurationException processing request
org.apache.qpid.server.configuration.IllegalConfigurationException: The store path is not writable directory
        at org.apache.qpid.server.virtualhostnode.derby.DerbyVirtualHostNodeImpl.validateOnCreate(DerbyVirtualHostNodeImpl.java:91) ~[classes/:na]
        at org.apache.qpid.server.model.AbstractConfiguredObject$6.execute(AbstractConfiguredObject.java:744) ~[classes/:na]
        at org.apache.qpid.server.model.AbstractConfiguredObject$6.execute(AbstractConfiguredObject.java:718) ~[classes/:na]
        at org.apache.qpid.server.model.AbstractConfiguredObject$2.execute(AbstractConfiguredObject.java:520) ~[classes/:na]
        at org.apache.qpid.server.model.AbstractConfiguredObject$2.execute(AbstractConfiguredObject.java:513) ~[classes/:na]
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$TaskLoggingWrapper.execute(TaskExecutorImpl.java:270) ~[classes/:na]
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.submitWrappedTask(TaskExecutorImpl.java:154) ~[classes/:na]
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.submit(TaskExecutorImpl.java:142) ~[classes/:na]
        at org.apache.qpid.server.model.AbstractConfiguredObject.doOnConfigThread(AbstractConfiguredObject.java:512) ~[classes/:na]
        at org.apache.qpid.server.model.AbstractConfiguredObject.createAsync(AbstractConfiguredObject.java:717) ~[classes/:na]
        at org.apache.qpid.server.model.AbstractConfiguredObjectTypeFactory.createAsync(AbstractConfiguredObjectTypeFactory.java:76) ~[classes/:na]
        at org.apache.qpid.server.model.ConfiguredObjectFactoryImpl.createAsync(ConfiguredObjectFactoryImpl.java:125) ~[classes/:na]
        at org.apache.qpid.server.model.adapter.BrokerAdapter.createVirtualHostNodeAsync(BrokerAdapter.java:556) ~[classes/:na]
        at org.apache.qpid.server.model.adapter.BrokerAdapter.addChildAsync(BrokerAdapter.java:610) ~[classes/:na]
        at org.apache.qpid.server.model.AbstractConfiguredObject$18.execute(AbstractConfiguredObject.java:1851) ~[classes/:na]
        at org.apache.qpid.server.model.AbstractConfiguredObject$18.execute(AbstractConfiguredObject.java:1846) ~[classes/:na]
        at org.apache.qpid.server.model.AbstractConfiguredObject$2.execute(AbstractConfiguredObject.java:520) ~[classes/:na]
        at org.apache.qpid.server.model.AbstractConfiguredObject$2.execute(AbstractConfiguredObject.java:513) ~[classes/:na]
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$TaskLoggingWrapper.execute(TaskExecutorImpl.java:270) ~[classes/:na]
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper$1.run(TaskExecutorImpl.java:342) ~[classes/:na]
        at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_80]
        at javax.security.auth.Subject.doAs(Subject.java:356) ~[na:1.7.0_80]
        at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper.call(TaskExecutorImpl.java:335) ~[classes/:na]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_80]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_80]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_80]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80]
{noformat}

> [Java Broker] Entering relative path for DERBY VHN in web UI fails
> ------------------------------------------------------------------
>
>                 Key: QPID-6898
>                 URL: https://issues.apache.org/jira/browse/QPID-6898
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Lorenz Quack
>            Assignee: Lorenz Quack
>
> Steps to reproduce:
> # start Broker
> # click add Virtual Host
> # enter arbitrary name
> # select DERBY as type for the VHN
> # enter relative path for the VHN store path
> # select arbitrary VH type, e.g. memory
> # click add
> results in: "422 - The store path is not writable directory"
> Broker log:
> {noformat}
> 2015-11-24 11:34:43,722 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Performing Task['create child' on 'BrokerAdapter [id=3cf073fb-da56-4c09-bbeb-fa6bb1d8286e, name=Broker]' with arguments 'childClass=VirtualHostNode, name=foo, type=DERBY']
> 2015-11-24 11:34:43,723 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Starting task executor VirtualHostNode-foo-Config
> 2015-11-24 11:34:43,724 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Task executor is started
> 2015-11-24 11:34:43,724 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Performing Task['create' on 'DerbyVirtualHostNodeImpl [id=408527d1-57ad-422c-aa91-ffc0e8f98342, name=foo, storePath=null]']
> 2015-11-24 11:34:43,725 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Performing Task['set desired state' on 'DerbyVirtualHostNodeImpl [id=408527d1-57ad-422c-aa91-ffc0e8f98342, name=foo, storePath=abc/def]' with arguments 'DELETED']
> 2015-11-24 11:34:43,726 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Task['set desired state' on 'DerbyVirtualHostNodeImpl [id=408527d1-57ad-422c-aa91-ffc0e8f98342, name=foo, storePath=abc/def]' with arguments 'DELETED'] performed successfully with result: null
> 2015-11-24 11:34:43,726 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Task['create' on 'DerbyVirtualHostNodeImpl [id=408527d1-57ad-422c-aa91-ffc0e8f98342, name=foo, storePath=abc/def]'] performed successfully with result: null
> 2015-11-24 11:34:43,727 WARN  [HttpManagement-HTTP-145] (o.a.q.s.m.p.s.r.RestServlet) - IllegalConfigurationException processing request : The store path is not writable directory
> 2015-11-24 11:34:43,726 DEBUG [Broker-Config] (o.a.q.s.c.u.TaskExecutorImpl) - Task['create child' on 'BrokerAdapter [id=3cf073fb-da56-4c09-bbeb-fa6bb1d8286e, name=Broker]' with arguments 'childClass=VirtualHostNode, name=foo, type=DERBY'] performed successfully with result: null
> 2015-11-24 11:34:43,728 DEBUG [HttpManagement-HTTP-145] (o.a.q.s.m.p.f.LoggingFilter) - RESPONSE user='[/0:0:0:0:0:0:0:1:58703, admin]' method='POST' url='http://localhost:8080/api/latest/virtualhostnode' status='422'
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org