Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6898

[Java Broker] Entering relative path for DERBY VHN in web UI fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • qpid-java-6.0
    • qpid-java-6.0
    • Broker-J
    • None

    Description

      Steps to reproduce:

      1. start Broker
      2. click add Virtual Host
      3. enter arbitrary name
      4. select DERBY as type for the VHN
      5. enter relative path for the VHN store path
      6. select arbitrary VH type, e.g. memory
      7. 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'
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            lorenz.quack Lorenz Quack
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: