[ 
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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to