Comments (12)
@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.
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
from hawtio-jmx.
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/workspace/hawtio-jmx (master)/$
davsclaus:
from hawtio-jmx.
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
ECONNREFUSEDI do not have any ENV setup that uses 8282 etc
davsclaus:
/workspace/hawtio-jmx (master)/$ export | grep 8282/workspace/hawtio-jmx (master)/$
davsclaus:—
Reply to this email directly or view it on GitHub
#7 (comment).
from hawtio-jmx.
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.
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.
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.
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.
@davsclaus should be better now...
from hawtio-jmx.
Hm, should probably not bother showing a jolokia url for any ObjectName attribute, those are calculated locally.
from hawtio-jmx.
+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.
@gashcrumb this looks much better.
from hawtio-jmx.
Related Issues (20)
- Improve Diagnostics UI HOT 15
- Various shortcomings in jvm/connect compared to 1.x
- Diagnostics - Class Histogram: use pfTableView with toolbar HOT 1
- Diagnostics - Hotspot Diagnostics: use pfTableView with toolbar HOT 2
- Connect plugin - Update Instructions HOT 6
- More intuitive feedback on connecting to other JVM HOT 2
- Refactor jolokiaService.ts into multiple files
- Error callback is always ignored in JolokiaService HOT 3
- Set up unit testing with Karma, Jasmine, and CircleCI 2.0 HOT 1
- Connect options token is not used anymore HOT 5
- Consider using hawtio-oauth and removing ConnectOptions.token support HOT 6
- Log entry modal dialog displays HTML encoded data for message field
- Move hawtio-log to hawtio-jmx
- Replace remote connection login dialog box with a full page HOT 6
- Connection details dialog allows duplicate names
- Log - Filtering doesn't seem to work
- Connect: move Remote instructions to popover
- Sort diagnostics class histogram table by bytes column
- Spring Boot runtime metrics card remains in loading state
- Move code to hawtio-integration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hawtio-jmx.