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

Keith Wall edited comment on QPID-7327 at 7/6/16 8:09 AM:
----------------------------------------------------------

I think we need:

# A DELETE state transition method for Redirector VHN to allow the *VHN* to be 
deleted.
# The Redirector VHN and VH operate as a pair and as such, it does not make 
sense for the Redirector VH to be deleted separately. The Redirector VH should 
continue to disallow itself from being deleted, but it should do so with an 
IllegalConfigurationException from the validateChange method, which will be 
handled gracefully, and avoid the 500.
# Description metadata should be added to the classes and attributes.

Separately, I notice the 0-10 code path in the 0-8..0-10 client fails to follow 
redirects properly.   There appears to be a state management problem which 
prevents the connection from opening properly (QPID-7343).




was (Author: k-wall):
I think we need:

# A DELETE state transition method for Redirector VHN to allow the *VHN* to be 
deleted.
# The Redirector VHN and VH operate as a pair and as such, it does not make 
sense for the Redirector VH to be deleted separately. The Redirector VH should 
continue to disallow itself from being deleted, but it should do so with an 
IllegalConfigurationException from the validateChange method, which will be 
handled gracefully, and avoid the 500.
# Description metadata should be added to the classes and attributes.

Separately, I notice the 0-10 code path in the 0-8..0-10 client fails to follow 
redirects properly.   There appears to be a state management problem which 
prevents the connection from opening properly.



> [Java Broker] Deleting Redirector VirtualHost results in IllegalStateException
> ------------------------------------------------------------------------------
>
>                 Key: QPID-7327
>                 URL: https://issues.apache.org/jira/browse/QPID-7327
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: qpid-java-6.0.3, qpid-java-6.1
>            Reporter: Lorenz Quack
>            Priority: Minor
>             Fix For: qpid-java-6.1
>
>
> When deleting a Redirector VirtualHost through the WMC you get a 500 
> response. The broker logs show the following error:
> {code}
> 2016-06-28 12:14:25,234 ERROR [HttpManagement-httpanon-108] 
> (o.a.q.s.m.p.f.ExceptionHandlingFilter) - Unexpected exception in servlet 
> '/api/latest/virtualhost/drgtde/drgtde': 
> java.lang.IllegalStateException: The virtual host state of UNAVAILABLE does 
> not permit this operation.
>         at 
> org.apache.qpid.server.virtualhostnode.RedirectingVirtualHostImpl.throwUnsupportedForRedirector(RedirectingVirtualHostImpl.java:509)
>  ~[classes/:na]
>         at 
> org.apache.qpid.server.virtualhostnode.RedirectingVirtualHostImpl.validateChange(RedirectingVirtualHostImpl.java:132)
>  ~[classes/:na]
>         at 
> org.apache.qpid.server.model.AbstractConfiguredObject$15.execute(AbstractConfiguredObject.java:1539)
>  ~[classes/:na]
>         at 
> org.apache.qpid.server.model.AbstractConfiguredObject$15.execute(AbstractConfiguredObject.java:1508)
>  ~[classes/:na]
>         at 
> org.apache.qpid.server.model.AbstractConfiguredObject$2.execute(AbstractConfiguredObject.java:567)
>  ~[classes/:na]
>         at 
> org.apache.qpid.server.model.AbstractConfiguredObject$2.execute(AbstractConfiguredObject.java:560)
>  ~[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.8.0_91]
>         at javax.security.auth.Subject.doAs(Subject.java:360) ~[na:1.8.0_91]
>         at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper.call(TaskExecutorImpl.java:335)
>  ~[classes/:na]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
> ~[na:1.8.0_91]
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  ~[na:1.8.0_91]
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  ~[na:1.8.0_91]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to