-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
awaiting responseMore information is needed in order to reproduce the issue.More information is needed in order to reproduce the issue.
Description
Hi, just tried out this nice app, thanks ; )
I came across an issue (because my controller-config.xml file is not standard : <root pattern="/app" path="xmldb:exist:///db/apps"/> ). Instead of requesting jmx status with urls like /localhost:8080/status/..., the app was sending /localhost:8080/exist/app/index.html/status/... .
changing the url para in (exadmin.js. line 90)
var url = location.pathname.replace(/^(.*)\/app\/.*$/, "$1");
$.ajax({
url: url + "/status?c=instances&c=processes&c=locking&c=memory&c=caches&c=system",
type: "GET",
success: function(xml) {
$("#jmx-system-info").each(function() {
to just (without the regex on the url - which is not adding much here) :
url: "/status?c=instances&c=processes&c=locking&c=memory&c=caches&c=system",
made it back to work.
This might help make the app more robust when users do not have standard configs.
Cheers,
C.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
awaiting responseMore information is needed in order to reproduce the issue.More information is needed in order to reproduce the issue.