[ 
https://issues.apache.org/jira/browse/QPID-6095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew MacBean reassigned QPID-6095:
------------------------------------

    Assignee: Andrew MacBean

> Deletion of an ERRORED JJSON VHN with an invalid store path causes an 
> exception
> -------------------------------------------------------------------------------
>
>                 Key: QPID-6095
>                 URL: https://issues.apache.org/jira/browse/QPID-6095
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Andrew MacBean
>            Assignee: Andrew MacBean
>
> On deletion of ERRORED Json VHN having an invalid store path an exception is 
> reported in the broker logs
> {noformat}
> 2014-09-05 10:43:37,438 ERROR [Broker-Configuration-Thread] 
> (util.ServerScopedRuntimeException) - Cannot rename file /blah to /blah.bak
> 2014-09-05 10:43:37,438 WARN [qtp1881162276-102] (rest.RestServlet) - 
> Unexpected exception processing request
> org.apache.qpid.server.store.StoreException: Cannot rename file /blah to 
> /blah.bak
>  at 
> org.apache.qpid.server.store.JsonFileConfigStore.renameFile(JsonFileConfigStore.java:223)
>  at 
> org.apache.qpid.server.store.JsonFileConfigStore.onDelete(JsonFileConfigStore.java:586)
>  at 
> org.apache.qpid.server.virtualhostnode.AbstractVirtualHostNode.doDelete(AbstractVirtualHostNode.java:194)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:606)
>  at 
> org.apache.qpid.server.model.AbstractConfiguredObject.attainState(AbstractConfiguredObject.java:737)
>  at 
> org.apache.qpid.server.model.AbstractConfiguredObject.attainStateIfResolved(AbstractConfiguredObject.java:717)
>  at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:606)
>  at 
> org.apache.qpid.server.model.AbstractConfiguredObject.automatedSetValue(AbstractConfiguredObject.java:384)
>  at 
> org.apache.qpid.server.model.AbstractConfiguredObject.changeAttribute(AbstractConfiguredObject.java:1045)
>  at 
> org.apache.qpid.server.model.AbstractConfiguredObject.changeAttributes(AbstractConfiguredObject.java:1348)
>  at 
> org.apache.qpid.server.model.AbstractConfiguredObject$11.execute(AbstractConfiguredObject.java:1327)
>  at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl$2.execute(TaskExecutorImpl.java:149)
>  at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl$2.execute(TaskExecutorImpl.java:145)
>  at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl.executeTask(TaskExecutorImpl.java:299)
>  at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl.submit(TaskExecutorImpl.java:131)
>  at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl.run(TaskExecutorImpl.java:251)
>  at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl.run(TaskExecutorImpl.java:144)
>  at 
> org.apache.qpid.server.model.AbstractConfiguredObject.runTask(AbstractConfiguredObject.java:1304)
>  at 
> org.apache.qpid.server.model.AbstractConfiguredObject.setAttributes(AbstractConfiguredObject.java:1321)
>  at 
> org.apache.qpid.server.model.AbstractConfiguredObject$7.execute(AbstractConfiguredObject.java:839)
>  at 
> org.apache.qpid.server.model.AbstractConfiguredObject$7.execute(AbstractConfiguredObject.java:824)
>  at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl.executeTask(TaskExecutorImpl.java:299)
>  at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl.access$400(TaskExecutorImpl.java:43)
>  at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper$1.run(TaskExecutorImpl.java:327)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at javax.security.auth.Subject.doAs(Subject.java:356)
>  at 
> org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper.call(TaskExecutorImpl.java:322)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> {noformat}



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

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

Reply via email to