Giter Site home page Giter Site logo

Comments (12)

gashcrumb avatar gashcrumb commented on August 11, 2024

@davsclaus wouldn't mind some feedback on this change also, switched this dialog to hawtio-form-2 and reworked it a bit so the value is show via hawtio-editor, so big values are easier to look at.

from hawtio-jmx.

davsclaus avatar davsclaus commented on August 11, 2024

When I run hawtio-jmx locally with gulp, then I get javascript errors and the page cannot load

I did

git pull --rebase
bower update --force
gulp

And then open localhost:2772

screen shot 2015-05-28 at 9 54 22 am

from hawtio-jmx.

davsclaus avatar davsclaus commented on August 11, 2024

I found this in jolokia 1.1 js

error proxying to "http://localhost:8282/hawtio/jolokia/": Error: connect ECONNREFUSED

I do not have any ENV setup that uses 8282 etc

davsclaus:/workspace/hawtio-jmx (master)/$ export | grep 8282
davsclaus:
/workspace/hawtio-jmx (master)/$

from hawtio-jmx.

gashcrumb avatar gashcrumb commented on August 11, 2024

Have you tried clearing your local storage by any chance?

On Thu, May 28, 2015, 3:51 AM Claus Ibsen [email protected] wrote:

I found this in jolokia 1.1 js

error proxying to "http://localhost:8282/hawtio/jolokia/": Error: connect
ECONNREFUSED

I do not have any ENV setup that uses 8282 etc

davsclaus:/workspace/hawtio-jmx (master)/$ export | grep 8282
davsclaus:
/workspace/hawtio-jmx (master)/$


Reply to this email directly or view it on GitHub
#7 (comment).

from hawtio-jmx.

davsclaus avatar davsclaus commented on August 11, 2024

Yes its still the same problem. I havent found a nice ui in chrome so I clear from the js console

window.localStorage.clear();
undefined
window.localStorage.length
0
Navigated to http://localhost:2772/
jquery.js:8630 GET http://localhost:2772/jolokia 500 (Internal Server Error)jQuery.ajaxTransport.send @ jquery.js:8630jQuery.extend.ajax @ jquery.js:8166checkNext @ hawtio-jmx.js:4673(anonymous function) @ hawtio-jmx.js:4702self.loadPlugins.executeTask @ hawtio-core.js:348self.loadPlugins.bootstrap @ hawtio-core.js:353self.loadPlugins.loadScripts @ hawtio-core.js:400self.loadPlugins @ hawtio-core.js:405(anonymous function) @ hawtio-core.js:651jQuery.Callbacks.fire @ jquery.js:3099jQuery.Callbacks.self.fireWith @ jquery.js:3211jQuery.extend.ready @ jquery.js:3417completed @ jquery.js:3433
jquery.js:8630 GET http://localhost:2772/jolokia 500 (Internal Server Error)jQuery.ajaxTransport.send @ jquery.js:8630jQuery.extend.ajax @ jquery.js:8166checkNext @ hawtio-jmx.js:4673maybeCheckNext @ hawtio-jmx.js:4668(anonymous function) @ hawtio-jmx.js:4698jQuery.Callbacks.fire @ jquery.js:3099jQuery.Callbacks.self.fireWith @ jquery.js:3211done @ jquery.js:8266jQuery.ajaxTransport.send.callback @ jquery.js:8605
angular.js:4167 Uncaught TypeError: Cannot read property 'hostname' of null

from hawtio-jmx.

gashcrumb avatar gashcrumb commented on August 11, 2024

So when running 'gulp' the gulpfile sets up a proxy for /jolokia, it's set up out of the box to hit an instance started from "hawtio-web" in the hawtio 1.x branch via "mvn exec java -DstartLR=false".

Let me see if I can tidy up that error a bit now that I can see what's going on :-) Was just going to post that I haven't been able to reproduce it...

from hawtio-jmx.

davsclaus avatar davsclaus commented on August 11, 2024

Ah yeah I found the port 8282 which was hardcoded in the gulp settings file. So I kind though that that a Java JVM was needed to run along side.

Though I recall using hawtio-jmx in the past without having a JVM running.

from hawtio-jmx.

gashcrumb avatar gashcrumb commented on August 11, 2024

Yeah, you should be able to and then use the connect dialog... about to push a fix for it + some improved logging. BTW, the local storage reset button is back in the preferences.

from hawtio-jmx.

gashcrumb avatar gashcrumb commented on August 11, 2024

@davsclaus should be better now...

from hawtio-jmx.

gashcrumb avatar gashcrumb commented on August 11, 2024

Hm, should probably not bother showing a jolokia url for any ObjectName attribute, those are calculated locally.

from hawtio-jmx.

davsclaus avatar davsclaus commented on August 11, 2024

+1 to not show the jolokia url - its more of a distraction for the end users / and maybe also a bit confusing for some users what it is.

from hawtio-jmx.

davsclaus avatar davsclaus commented on August 11, 2024

@gashcrumb this looks much better.

from hawtio-jmx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.