You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2016/07/12 16:01:20 UTC

[jira] [Commented] (QPID-7347) [Java Broker, WMC] Opening a BDBHA Replica VirtualHost tab results in a 404 error

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

Keith Wall commented on QPID-7347:
----------------------------------

The error is coming from the attempt to show the virtual host's details (VirtualHost.js:566).  For VHs of type BDB_HA_REPLICA, there is no corresponding javascript, so the attempt to load the fragment fails.  The WMC console application seems to survive the error and usability seems unaffected.  You notice the error if you happen to check the log.

In the case where the HA virtualhost is not replica, the details view displays the syntonisation policy.  This information is not available when the node in a replica state.

The solution is to provide a stub JS file (js/qpid/management/virtualhost/bdb_ha_replica/show.js) that is a no-op.


> [Java Broker, WMC] Opening a BDBHA Replica VirtualHost tab results in a 404 error
> ---------------------------------------------------------------------------------
>
>                 Key: QPID-7347
>                 URL: https://issues.apache.org/jira/browse/QPID-7347
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: qpid-java-6.0, qpid-java-6.0.4
>            Reporter: Lorenz Quack
>            Priority: Minor
>             Fix For: qpid-java-6.1
>
>
> When opening the VirtualHost tab of a BDBHA Replica node I see a 404 error in the JavaScript console:
> {code}GET http://localhost:8080/js/qpid/management/virtualhost/bdb_ha_replica/show.js{code}
> followed by a rather unhelpful script error:
> {code}
> Error: scriptError                                            dojo.js:15:20424
> Stack trace:
> _f@http://localhost:8080/dojo/dojo/dojo.js:15:436
> req.injectUrl/_10c<@http://localhost:8080/dojo/dojo/dojo.js:15:18391
> <anonymous>                                            dojo.js:15
> req.signal/<()                                            dojo.js:15
> _9()                                            dojo.js:15
> req.signal()                                            dojo.js:15
> req.injectUrl/_10c<()                                            dojo.js:15
> {code}



--
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