Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
qpid-java-6.0
-
None
Description
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:
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'