Friday, 2013-04-19

*** kearls <kearls!~textual@209-6-50-13.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com> has quit IRC (Read error: Connection reset by peer)00:08
*** kearls <kearls!~textual@209-6-50-13.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com> has joined #hawtio00:09
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio00:14
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/mYAKTQ00:14
githubhawtio/gh-pages 8316654 FuseSource CI: Wagon: Deploying sitegen to repository00:14
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio00:14
*** scranton <scranton!~scranton@c-24-128-50-227.hsd1.ma.comcast.net> has quit IRC ()00:14
*** dbokde <dbokde!~Adium@76-220-59-86.lightspeed.sntcca.sbcglobal.net> has quit IRC (Quit: Leaving.)00:17
*** is-mw2 <is-mw2!~is-mw@p5087938B.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 246 seconds)03:20
*** is-mw <is-mw!~is-mw@p549A6BFD.dip0.t-ipconnect.de> has joined #hawtio03:21
*** rhuss <rhuss!~jolokia@p4FE1ABDF.dip0.t-ipconnect.de> has joined #hawtio05:40
*** kearls <kearls!~textual@209-6-50-13.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com> has quit IRC (Quit: Computer has gone to sleep.)05:49
*** davsclaus <davsclaus!~davsclaus@78-72-73-107-no33.tbcn.telia.com> has joined #hawtio06:09
*** jstrachan <jstrachan!~jstrachan@host86-147-244-126.range86-147.btcentralplus.com> has joined #hawtio07:00
*** vijaykiran <vijaykiran!~user@s53759f74.adsl.online.nl> has joined #hawtio07:17
*** dejanb <dejanb!~dejanb@cable-178-148-5-192.dynamic.sbb.rs> has joined #hawtio07:35
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio07:53
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/U8KmEw07:53
githubhawtio/master 6490fc2 James Strachan: added more configuration options so folks can set things via blueprint.properties files07:53
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio07:53
*** pulse00 <pulse00!~pulse00@fortinat.ifs.tuwien.ac.at> has joined #hawtio08:11
*** rajdavies <rajdavies!~textual@host86-145-92-116.range86-145.btcentralplus.com> has joined #hawtio08:15
*** pulse00 <pulse00!~pulse00@fortinat.ifs.tuwien.ac.at> has quit IRC (Remote host closed the connection)08:17
davsclauswonder if we could have the log plugin to show some "icon" if there is a stacktrace in or not08:21
davsclausyou may have WARN/ERROR with or without a stacktrace08:21
davsclaustoday you gotta + it to see first08:21
davsclausand maybe some "copy to clipboard" button or something if that is possible08:21
davsclausso you can get the raw text easily08:21
jstrachanyeah08:21
jstrachangood idea08:22
jstrachanreally wanna be able to post a stack frame & for it to link-ify it08:22
davsclausalso the spaces between the lines is too wide imho08:22
davsclauslet me log a ticket08:22
davsclauswonder if we can fix #5 bullet on08:27
davsclaushttps://github.com/hawtio/hawtio/issues/26708:27
davsclausthat is a bit annoying08:27
jstrachanjust fixing the missing poml.xml stuff - just using actual markup rather than pesky codemirror :)08:29
*** kearls <kearls!~textual@209-6-50-13.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com> has joined #hawtio08:30
jstrachanyay, fixed the pom.xml thing08:34
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio08:34
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/q4eV0w08:34
githubhawtio/master 27a7506 James Strachan: avoid using codemirror so we get pom xml rendering nicer in the maven plugin08:34
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio08:34
jstrachandavsclaus just looking at the line height08:36
*** iocanel <iocanel!~iocanel@athedsl-4513064.home.otenet.gr> has joined #hawtio08:39
davsclausadding a camel route to the dashboard08:41
davsclausthen the numbers do not live update08:41
jstrachanreduced line height on exceptions08:45
davsclausah great08:45
jstrachandavsclaus yeah, could you raise an issue about the line numbers not updating?08:45
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio08:45
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/fiYSHg08:45
githubhawtio/master e4bbede James Strachan: reduced the line height for stack traces for #26708:45
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio08:45
jstrachandavsclaus right - cutting the release!08:45
jstrachanbefore we find more stuff to fix :)08:45
davsclausyeah looks good on jboss08:46
davsclausthe edit charts still dont work for me though08:46
jstrachandavsclaus thx08:46
jstrachannot sure why charts don't work for you - fine here in chrome - lemme try other browsers08:46
davsclausme chrome too08:46
davsclauscool the dashboard got it working08:47
davsclauslove that i have a diagram + table08:47
davsclausthen i can pause the route08:47
davsclausand the diagram dont ++ the counters as expected08:47
davsclausand i can resume the route and it starts ++ countes again08:47
davsclausthat is good for demos08:47
jstrachandavsclaus does this work in your browser? https://hawtio-jstrachan.rhcloud.com/#/jmx/charts?tab=camel&nid=root-org.apache.camel-localhost%2Fcamel-1-routes-%22route2%2208:47
jstrachanworks for me in chrome / safari08:47
davsclausNo valid metrics to show for this mbean.08:48
jstrachanand ye old firefox08:48
davsclausi dont see a chart08:48
jstrachanwow08:48
jstrachanwonder if there's something wacky in the local storage08:48
davsclausVersion 26.0.1410.6508:48
davsclaus Google Chrome is up to date.08:48
jstrachan(for me or you)08:48
davsclausyeah not sure08:48
davsclauswell if it works for others :)08:48
jstrachansafari the same for you?08:48
jstrachan;)08:48
davsclausyep same problem08:49
jstrachandamn!08:49
* jstrachan starts release08:49
jstrachandavsclaus any JS exceptions in the console?08:49
davsclausno08:51
davsclauscannot find any08:51
davsclauswell get 1.1 out08:51
davsclausand we can have fun for 1.208:51
jstrachanyeah!08:51
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio08:57
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/lVDbdA08:57
githubhawtio/master 5f91ae6 James Strachan: improve the release guide08:57
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio08:57
*** pulse00 <pulse00!~pulse00@fortinat.ifs.tuwien.ac.at> has joined #hawtio08:59
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio09:03
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/p6v4kg09:03
githubhawtio/master 07e20d6 James Strachan: attempt to disable jasmine when running mvn release:prepare -P release09:03
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio09:03
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio09:06
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/8pMyJA09:06
githubhawtio/master b7e933c James Strachan: [maven-release-plugin] prepare release hawtio-1.1-SNAPSHOT09:06
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio09:06
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio09:08
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/snOZwA09:08
githubhawtio/master 62e29cb James Strachan: [maven-release-plugin] rollback the release of hawtio-1.109:08
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio09:08
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio09:10
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/lkXUcg09:10
githubhawtio/master 5316ad5 James Strachan: [maven-release-plugin] prepare release hawtio-1.1-SNAPSHOT09:10
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio09:10
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio09:11
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/yfGcqw09:11
githubhawtio/master c9fe605 James Strachan: [maven-release-plugin] prepare for next development iteration09:11
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio09:11
jstrachanyay, 3rd time lucky; release prepare worked!09:14
davsclausyay09:14
davsclausjust blogged a bit to help spread the love for hawtio09:14
davsclauswhile you guys are busy with the release09:15
jstrachanyay thx09:15
jstrachanwhoah - the wars don't have any html/css/js inside :(09:22
jstrachanah crap - think its the grunt stuff is disabled in the release build…09:23
davsclausah darn, that is needed i guess :)09:23
* jstrachan crosses fingers again09:28
jstrachanthat'll be why the jasmine tests failed - I should have listened more to jasmine :)09:30
jstrachandamn - now sonatype's nexus isn't letting me build - think dropping the previous staging repo may have jinxed me09:41
* jstrachan crosses fingers again09:41
jstrachanphew - we have js/html in the war now :)09:49
*** iocanel <iocanel!~iocanel@athedsl-4513064.home.otenet.gr> has quit IRC (Ping timeout: 256 seconds)09:53
*** iocanel <iocanel!~iocanel@athedsl-4522230.home.otenet.gr> has joined #hawtio09:55
pulse00hi there. do you guys know if the jolokia.js file is maintained in the main jolokia git repository? or is this a standalone project?10:35
jstrachanpulse00 its a separate project; jolokia.org10:36
jstrachanhttps://github.com/rhuss/jolokia10:37
pulse00jstrachan: yeah, so the github repository https://github.com/rhuss/jolokia is the one which should receive pull requests the javascript client library jolokia.js?10:37
*** davsclaus <davsclaus!~davsclaus@78-72-73-107-no33.tbcn.telia.com> has quit IRC (Quit: Computer has gone to sleep.)10:37
jstrachanyeah10:38
jstrachanpulse00 the main jolokia dude is rhuss btw :) and there's #jolokia if you ever wanna chat more detail about jolokia10:39
pulse00cool, thanks10:39
*** davsclaus <davsclaus!~davsclaus@78-72-73-107-no33.tbcn.telia.com> has joined #hawtio10:49
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio10:52
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/nUPhgA10:52
githubhawtio/gh-pages a39a575 FuseSource CI: Wagon: Deploying sitegen to repository10:52
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio10:52
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has joined #hawtio11:08
pulse00is it ok to add 3rd party dependencies in a pull request? i'd like to include https://code.google.com/p/jsuri/  to parse username:password from the jolokia url11:12
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio11:12
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/61K20g11:12
githubhawtio/gh-pages 96445e3 FuseSource CI: Wagon: Deploying sitegen to repository11:12
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio11:12
jstrachanpulse00 it is yeah - you sure there's nothing in angular for that?11:14
jstrachanI guess $location is only for the current location11:14
jstrachanthis is when parsing the URI parameter right?11:14
pulse00i haven't looked at angular.js functionality for that. i'm using it to parse the URI from the jolokiaUrl parameter: https://github.com/pulse00/hawtio/blob/master/hawtio-web/src/main/webapp/app/core/js/corePlugin.ts#L10011:17
jstrachanpulse00 or we could maybe make a minor tweak to this? https://github.com/hawtio/hawtio/blob/master/hawtio-web/src/main/webapp/app/core/js/hawtio-plugin-loader.js#L2611:17
*** iocanel <iocanel!~iocanel@athedsl-4522230.home.otenet.gr> has quit IRC (Quit: Computer has gone to sleep.)11:18
pulse00jstrachan: will do. thanks for the hint11:18
jstrachanjust about to commit fix for that function11:19
jstrachanjust checking I didn't break anything...11:19
*** iocanel <iocanel!~iocanel@athedsl-4522230.home.otenet.gr> has joined #hawtio11:22
pulse00jstrachan: could you ping me when you've pushed the changes? i'll add the username/password logic in there then11:35
jstrachanwill do, just doing a test build...11:36
pulse00great, thanks.11:37
jstrachanpulse00 sorry for the delay - the release caused the build to fail :)11:40
jstrachanalmsot there...11:40
pulse00no hurry here ;)11:40
jstrachanhttps://github.com/hawtio/hawtio/blob/master/hawtio-web/src/main/webapp/app/core/js/hawtio-plugin-loader.js#L3111:43
jstrachandone11:43
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio11:43
github[hawtio] jstrachan pushed 4 new commits to master: http://git.io/C8gadw11:43
githubhawtio/master c05aa96 James Strachan: updated change log count :)11:43
githubhawtio/master 2909e16 James Strachan: fixed the build :)11:43
githubhawtio/master 7474a8a James Strachan: updated the release guide to mention about fixing the build after a release :)11:43
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio11:43
jstrachanyou should be able to do hawtioPluginLoader.parseQueryString("?foo=bar&whatnot=something")11:43
jstrachanit assumes its just the search part - so you might wanna strip off the bit before ?11:43
jstrachanyay - finally - 1.1 is out! http://hawt.io/changelog.html11:44
jstrachanits in mvn central already too - that was fast11:46
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio11:49
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/HJULPw11:49
githubhawtio/gh-pages 6ff7ddd FuseSource CI: Wagon: Deploying sitegen to repository11:49
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio11:49
pulse00jstrachan: i don't wanna spoil the party, but parseQueryString fails for me now: Object [object Array] has no method 'substr'  ;)11:54
*** iocanel <iocanel!~iocanel@athedsl-4522230.home.otenet.gr> has quit IRC (Quit: Computer has gone to sleep.)12:00
pulse00jstrachan: why the substr(1) ?12:07
davsclausgave the 1.1 default WAR a test spin in tomcay712:08
davsclausworked fine12:08
pulse00not with this url: http://localhost:8080/hawtio/?url=http://test:test@localhost/?uri=192.168.168.196:9870/jolokia12:09
davsclausare you remote managing a remote tomcat server?12:10
pulse00no12:10
pulse00jolokia is running behind a dynamic proxy12:11
pulse00as our setup runs on amazon ec212:11
pulse00and the jolokia management urls change dynamically12:11
pulse00so we need to setup a secure proxy which handles authentication and passes the requests back to jolokia12:11
pulse00which works fine12:11
pulse00with some ajax authentication problems which i'm working on right now12:11
pulse00part of those problems are in jolokia.js: https://github.com/rhuss/jolokia/pull/9812:12
pulse00and hawt.io not passing the user/pass to the jolokia instance12:12
jstrachanpulse00 to take the ? off it12:15
jstrachanpulse00 lemme add a unit test for it :)12:15
jstrachanah you might be getting an array back (as uris can have multiple arguments)12:19
jstrachanso you may need to add [0] after it?12:19
jstrachane.g. see https://github.com/hawtio/hawtio/issues/26912:20
pulse00jstrachan: i've been thinking about something like this: https://gist.github.com/pulse00/5420009 what do think?12:25
jstrachansounds good to me12:26
jstrachanI was just wondering if we should detect arrays and just get the first one12:27
jstrachanthough maybe we should not modify the array?12:27
jstrachanquery[0] rather than pop?12:27
pulse00jstrachan: make sense.12:27
jstrachancoolio - want me to do that now or you cool to do it yourself?12:28
pulse00i'll send you a PR with all in one -> array/string issue and i'll add username/password to the map if present12:28
jstrachancool12:29
jstrachanpulse00 just pushed a fix for #269 which now works again (without security that is)12:40
pulse00so i don't need to handle this in the parseQueryString ?12:41
pulse00and return [url] ?12:41
jstrachanjust adding that too...12:42
pulse00k12:44
davsclausdid something bork?12:51
davsclausrunning mvn test exec:java12:51
davsclausand no plugins is avail12:51
davsclausand jmx is empty12:51
jstrachanpulse00 glad i tested it :)12:52
jstrachandavsclaus ah I think I broke something - just about to fix...12:52
davsclausk12:53
davsclausthen its coffee time12:53
jstrachanpushed12:54
*** iocanel <iocanel!~iocanel@athedsl-4522230.home.otenet.gr> has joined #hawtio12:54
* davsclaus wonder what that blue line on github issue tracker means, eg https://github.com/hawtio/hawtio/issues?state=open, such as ticket #26612:55
jstrachandavsclaus managed to get that versions issue on maven plugin failing for me - now its started working again! must be some timing issue12:55
jstrachanunread?12:56
jstrachanmaybe not :)12:56
davsclausyah thats it12:56
slewiswow, busy channel this morning :-)12:56
jstrachanslewis :)12:57
jstrachandavsclaus ah - its assigned12:57
davsclauswhen assigned there is a headshoot on the ticket12:57
davsclausfor one of the blue, i clicked it, read it, and clicked go back to list12:57
slewisthe blue highlighted row?12:58
davsclausand then the blue line was gone12:58
jstrachanyeah12:58
slewisseems to be a hover attribute12:58
davsclausthere is a blue horistonal thin line before the [x] in the ticket list12:58
jstrachanyeah - think its unread yeah12:58
davsclauseg on the left border12:58
slewisah,that one12:58
slewisyeah, unread stuff12:58
*** chirino <chirino!~chirino@pool-71-180-128-149.tampfl.fios.verizon.net> has joined #hawtio13:02
davsclauswell there is also a 1.1 release out, so yeah a busy day13:02
davsclausjstrachan yep works again13:03
jstrachanphew13:03
slewisyeah!  Nice work getting 1.1 out!13:04
*** scranton <scranton!~scranton@c-24-128-50-227.hsd1.ma.comcast.net> has joined #hawtio13:09
jstrachanthx :)13:12
davsclausyou can specify a width for the jmx tables / attributes13:12
davsclaus              {field: 'Id', displayName: 'Id', width: "***"},13:12
davsclausjust wonder whats the magic for "***"13:12
jstrachanjust makes it a bit wider :)13:13
davsclausi wonder if there is a min XX and otherwise try to use max length of the longest value in the rows13:13
davsclausokay 3 was too much13:13
davsclaustrying with 213:13
jstrachanyou can use % too I think; e.g. 10%13:14
davsclausah thx13:15
davsclaus2 * works great too13:15
*** dbokde <dbokde!~Adium@76-220-59-86.lightspeed.sntcca.sbcglobal.net> has joined #hawtio13:16
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio13:16
github[hawtio] davsclaus pushed 1 new commit to master: http://git.io/ORRicw13:16
githubhawtio/master 00c0c17 davsclaus: #270: Made the Camel thread pools JMX table nice.13:16
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio13:16
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio13:18
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/4CuKoA13:18
githubhawtio/master 43bbc83 James Strachan: updated to the latest jolokia13:18
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio13:18
davsclausholy smoke hawtio 1.1 is already in central13:19
jstrachanyeah! sync'd up really fast this time13:19
davsclausso only 6 artifacts has both 1.0 and 1.113:20
davsclausand hawtio-osgi died13:20
davsclausat 1.013:20
davsclausand i think we got slewis jvmmbean in there as 1.1 also :)13:20
davsclausso approx 6 werks since our 1.0 release13:21
davsclausthat is not to bad for release schedule13:21
jstrachanyeah13:21
slewisdavsclaus: lol yeah, not quite fully baked though :-)13:22
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio13:35
github[hawtio] davsclaus pushed 1 new commit to master: http://git.io/HX0Kwg13:35
githubhawtio/master 996e862 davsclaus: Polished Camel plugin13:35
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio13:35
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio13:46
github[hawtio] pulse00 opened pull request #272: added support for http basic auth in JVM URL (master...basicauth-patch)  http://git.io/oImnqw13:46
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio13:46
pulse00the basic auth is working now, however it is still depending on https://github.com/rhuss/jolokia/pull/98 if running jolokia behind a proxy not supporting the jquery pre-flight authentication13:47
jstrachanah cool13:48
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio13:48
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/p_RMqA13:48
githubhawtio/master 0388c49 James Strachan: fixes #27113:48
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio13:48
rhussI'm going to apply the pull request quite soon, thanks for this (hope APL is ok for you). It has also the advantage that authentication is then always preemptive avoiding the extra 401 roundtrip. 'guess I could then remove username and password from ajaxParams, too (though the dont hurt anywas)13:48
rhuss(i mean your jolokia pull request)13:49
pulse00rhuss: great thanks.13:50
pulse00our setup looks something like this, as our jolokia backends are spawned dynamically on amazon ec2: http://bit.ly/17vUg2213:51
pulse00i can put the nginx configuration also up somewhere, it took me half a day to get it working, might safe someones time ;)13:51
*** vijaykiran <vijaykiran!~user@s53759f74.adsl.online.nl> has quit IRC (Ping timeout: 264 seconds)13:52
rhusswould be quite valuable (maybe also as blog?). BTW, authentication is performed by nginx or by the jolokia agent ? I wonder, why the initial 401 response didn't get back to the browser in this setup, so that jquery performs a second request with the proper tokens in the header. Or do I understand sth wrong here ?13:54
pulse00rhuss: authentication is performed by nginx, here's the nginx.conf https://gist.github.com/pulse00/542052413:56
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio13:57
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/m8VwpA13:57
githubhawtio/master d97c77e James Strachan: add travis CI build config13:57
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio13:57
pulse00rhuss: the main problem was the CORS setup with nginx / jolokia13:58
pulse00because as far as i understand, jolokia sets the CORS headers only when the Origin header is present.13:58
rhussI see the point with Jolokia CORS support and a reverse proxy setup.13:58
pulse00and i wasn't able to make nginx properly pass those headers to the client13:59
jstrachanwhoah - after seeing the travis link on a jolokia issue I've tried adding hawtio - travis looks great https://travis-ci.org/hawtio/hawtio/13:59
pulse00so i've been hiding the CORS headers from the jolokia backend and set them manually in nginx.conf13:59
pulse00jstrachan: yeah, travis is pretty awesome13:59
rhussJolokia support full CORS including preflight checks (via OPTIONS). However, dependening on the security configuration (jolokia-access.xml), Jolokia sets the Allow-Origin: to the IP of the requestor (unfortunately the reverse proxy in this case).14:00
pulse00rhuss: ahh, that explains a lot ;)14:00
rhussMaybe it would be a nice addition to allow to specify, that an 'Allow-Origin: *' can be sent allways somehow.14:00
rhussDidn't thought about reverse proxy until now ;-)14:02
rhussBut nevertheless, I still do not fully understand why the Ajax authentication doesn't work with the standard jquery means (setting it in the Ajax params).14:03
pulse00rhuss: i think it's simply because nginx doesn't support it. i've tried this in a standalone setup (no jolokia involved). and using simply $.ajax() with username/password fails on nginx14:03
pulse00the first request from the client without the Authentication header triggers an error on nginx14:04
pulse00thus jquery never gets the chance to send the 2nd request - that's how i understood it. but i can be wrong on that14:04
rhussand nginx doesnt send back an authentication response (401) ? that's the normal HTTP basic authentication workflow, nothing specific to jquery  ...14:07
pulse00rhuss: let me check14:07
rhussJust looked into jQuery: It uses directly the authentication mechanism of the underlying XMLHttpRequest: xhr.open( s.type, s.url, s.async, s.username, s.password );14:12
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio14:12
github[hawtio] jstrachan pushed 2 new commits to master: http://git.io/mnE_FA14:12
githubhawtio/master ecc4f97 Robert Gruendler: added support for http basic auth in JVM URL14:12
githubhawtio/master 8e720c6 James Strachan: Merge pull request #272 from pulse00/basicauth-patch...14:12
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio14:12
pulse00rhuss: i think it's a combination of CORS and basic auth issues.14:14
pulse00if you run this on another domain than localhost, you'll run into 2 things at once: https://gist.github.com/anonymous/542062614:16
pulse001. Nginx throws an no user/password was provided for basic authentication error14:16
pulse002. The client throws the error: Origin http://foo.bar is not allowed by Access-Control-Allow-Origin.14:17
pulse00running this piece of code, and everything works: https://gist.github.com/anonymous/542063914:17
rhussI will have a look at is as well this evening (sorry, have to leave for now ....)14:17
pulse00no problem, thanks for your time14:18
pulse00i don't think it has anything todo with jolokia though14:18
pulse00at least the server implementation14:18
rhussno problem, I'm just curious what's the reason. I think applying the patch isn't harmful, so I probably will do it this evening.14:18
rhusssee you ...14:18
jstrachanslewis you tried doing remote JVM crack yet?14:20
slewisjstrachan: no, right now working on the local mbean, including attaching/detatching the jolokia vm agent14:20
jstrachanah cool14:21
slewisbasically re-using all of the agent stuff that's in jolokia already14:21
jstrachanah  - so we should be able to connect to any JVM and add the jolokia agent if its not in there?14:21
slewisyeah!14:21
jstrachanawesome! :)14:21
jstrachanoh thats hawt!14:21
slewisyeah, it's gonna be hawt!14:21
davsclauswoot that would be hawt14:37
slewisooh, and the jvm agent works really nicely14:46
jstrachanyay!14:46
jstrachanjolokia is hawt! :)14:47
slewisyeah, it really is14:47
slewishey, did we invite that guy to camel one?14:47
jstrachanslewis you mean rhuss? no I don't think so14:47
slewisah, bummer14:47
jstrachanrhuss wanna come to camelone?14:47
slewisbe good to have a session on jolokia anyway14:48
jstrachanyeah!14:48
jstrachanwe've no budget though :(14:49
slewis:-(14:49
jstrachanI was gonna talk about hawtio + jolokia in my keynote though14:50
slewisokay cool14:50
jstrachanslewis wanna be able to demo hawtio / jolokia / remote jvms / fabric though - so keep hacking! :)14:50
slewisyup, hacking away!14:50
slewisI think the UI for this mbean is gonna be awesome14:50
jstrachanyeah!14:51
slewisbasically thinking it can show if an agent is installed already14:51
*** is-mw <is-mw!~is-mw@p549A6BFD.dip0.t-ipconnect.de> has quit IRC (Quit: Nettalk6 - www.ntalk.de)14:51
jstrachanhawt!14:51
slewisand am thinking you just click on a process, it'll install the agent and open a new window14:51
jstrachanawesomeness!14:51
slewisyeah, it'll be as easy as IDE I think...14:51
slewisplus, since it's a bundle it'll be awsome with fabric14:52
jstrachanyeah :)14:52
slewisi.e. you can discover other java processes on a node and connect to 'em14:52
jstrachanthats the bit I"m really looking forward to; being able to connect into any JVM from fabric14:52
slewisyeah14:52
jstrachanI"d best get on the fabric cluster visualiser thingy since iocanel has done all the hard work on the back end for showing web apps etc...14:53
slewis:-)14:53
*** iocanel <iocanel!~iocanel@athedsl-4522230.home.otenet.gr> has quit IRC (Ping timeout: 248 seconds)14:56
*** iocanel <iocanel!~iocanel@athedsl-4522230.home.otenet.gr> has joined #hawtio14:59
davsclaushawtio-web is borked again15:04
davsclaushttps://gist.github.com/davsclaus/542093915:05
davsclausin that hawtio-plugin-loader.js15:05
davsclausI guess it doesnt know what new Uri is15:05
jstrachanjust fixing it15:09
jstrachansorry!15:10
jstrachanshould have tested the pull request a bit more15:10
jstrachanpushed15:11
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio15:11
github[hawtio] jstrachan pushed 1 new commit to master: http://git.io/v8PDeg15:11
githubhawtio/master 789bca1 James Strachan: added unit test case and fixed build (we can't rely on Uri being a class)15:11
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio15:11
pulse00sorry if i broke something :(15:14
slewisno worries, we break stuff all the time :-)15:14
jstrachanyeah no worries :)15:15
davsclausyeah 15 min after the 1.1 release it didnt work15:15
*** Guest59244 <Guest59244!~github@router1-ext.rs.github.com> has joined #hawtio15:22
Guest59244[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/vUO94g15:22
Guest59244hawtio/gh-pages 22df644 FuseSource CI: Wagon: Deploying sitegen to repository15:22
*** Guest59244 <Guest59244!~github@router1-ext.rs.github.com> has left #hawtio15:22
slewisdamn...  can't get the agent stuff here working in OSGi-land15:36
jstrachannever mind- get it working in web apps first :)15:37
jstrachanwe can always use tomcat15:37
slewistrue dat :-)15:37
slewishey, so how do you run hawtio-default?  Or do you still just run hawtio-web for coding?15:38
*** jstrachan <jstrachan!~jstrachan@host86-147-244-126.range86-147.btcentralplus.com> has quit IRC (Ping timeout: 272 seconds)15:41
*** jstrachan <jstrachan!~jstrachan@host86-147-244-126.range86-147.btcentralplus.com> has joined #hawtio15:43
slewisyay, at least it works in a normal webapp15:58
jstrachanyay!16:00
jstrachanwe can always get fabric to provision tomcat/jetty to run hawtio?16:00
slewisyeah!16:00
slewisand we can always use the jvm agent to attach to fabric/karaf16:00
slewiscool, I'll start working on a UI for it, wonder if it should just live in the preferences page or if we should show it in the top nav...16:01
slewistop nav is getting a little crowded these days16:02
jstrachanyeah, we probably need to add a way to group stuff together; another level of nesting or something16:05
jstrachanhow about for now a top level JVM page?16:05
slewisok, sounds good!16:05
*** pulse00 <pulse00!~pulse00@fortinat.ifs.tuwien.ac.at> has quit IRC (Remote host closed the connection)16:11
*** jstrachan <jstrachan!~jstrachan@host86-147-244-126.range86-147.btcentralplus.com> has quit IRC (Ping timeout: 256 seconds)16:12
*** iocanel <iocanel!~iocanel@athedsl-4522230.home.otenet.gr> has quit IRC (Quit: Computer has gone to sleep.)16:14
*** jstrachan <jstrachan!~jstrachan@host86-147-244-126.range86-147.btcentralplus.com> has joined #hawtio16:14
jstrachanslewis am tempted to switch hawtio to use fabric snapshot (though only if the fabric profile is enabled to avoid folks having to download fabric stuff)16:17
*** dejanb <dejanb!~dejanb@cable-178-148-5-192.dynamic.sbb.rs> has quit IRC (Quit: dejanb)16:17
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio16:22
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/2hLguA16:22
githubhawtio/gh-pages 2791d97 FuseSource CI: Wagon: Deploying sitegen to repository16:22
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio16:22
*** gnodet <gnodet!~gnodet@redhat/jboss/gnodet> has quit IRC (Quit: gnodet)16:26
slewisjstrachan: yeah, we should16:27
slewisthe container-create stuff I added earlier this week kinda requires it to work16:27
jstrachanok if you build with: mvn test-compile exec:java -PfabricSnapshot,grunt16:34
jstrachanit now tries to connect to a local fabric16:34
jstrachanif the fabricUrl system property is set16:35
jstrachanhttps://github.com/hawtio/hawtio/blob/master/example-services/example-fabric/src/main/java/io/hawt/example/fabric/FabricConnectorFactory.java#L4616:35
slewishonestly once we get this jvm list thing working16:35
jstrachanwe should maybe add something like that into fabric really; so its really easy to create a connection to fabric if you're outside of osgi16:35
jstrachanyeah!16:35
slewiswe actually won't need it16:35
jstrachanagreed16:35
jstrachanlooking forward to that!16:36
slewisworking on it now!16:36
slewishopefully I can get it working in some fashion this afternoon16:36
slewishave a few days off this next week, so I'll be offline really16:36
slewiswill be back Thursday16:36
jstrachancool - will hack on the fabric / zk / cluster visualisation next...16:37
slewisnice!16:37
slewisam hoping to get a treewatcher type thingie into fabric's JMX methods16:37
jstrachanwondering about making the wiki somehow reusable with different back ends (e.g. to use it to browse ZK)16:37
slewisso instead of polling the whole ZK tree we can just monitor a counter16:38
jstrachanah awesome16:38
slewisoh yeah, that'd be good16:38
slewisyeah, kinda getting complaints about FMC's CPU usage, figure that's a good solution to that16:38
jstrachannever quite figured out yet how to make a bunch of routes / controllers usable in a completely different context16:38
jstrachanyeah16:38
rhusssorry, was away. /w/r/t camel one: My conference budget for this year is also already exhausted unfortunately. But I wish you guys all the best, and thanks for spreading the word on Jolokia. hawt.io is really amazing and very unique. Will there be some sort of live stream ?16:38
jstrachanbbiab - dinner...16:39
jstrachanrhuss we'll have to meet in bavaria instead!16:39
slewisrhuss: ah,16:39
slewisbummer!16:39
rhussyeah ;-)16:39
*** rhuss1 <rhuss1!~jolokia@p4FE18431.dip0.t-ipconnect.de> has joined #hawtio16:47
*** davsclaus <davsclaus!~davsclaus@78-72-73-107-no33.tbcn.telia.com> has quit IRC (Quit: Computer has gone to sleep.)16:49
*** rhuss <rhuss!~jolokia@p4FE1ABDF.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 264 seconds)16:50
*** davsclaus <davsclaus!~davsclaus@78-72-73-107-no33.tbcn.telia.com> has joined #hawtio16:51
*** davsclaus <davsclaus!~davsclaus@78-72-73-107-no33.tbcn.telia.com> has quit IRC (Client Quit)16:53
*** vijaykiran <vijaykiran!~user@s53759f74.adsl.online.nl> has joined #hawtio16:56
*** jstrachan <jstrachan!~jstrachan@host86-147-244-126.range86-147.btcentralplus.com> has quit IRC (Quit: Leaving...)17:24
*** rajdavies <rajdavies!~textual@host86-145-92-116.range86-145.btcentralplus.com> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)17:35
*** scranton <scranton!~scranton@c-24-128-50-227.hsd1.ma.comcast.net> has quit IRC ()17:57
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio17:59
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/AAv0Nw17:59
githubhawtio/master 803e264 Stan Lewis: Fix #2117:59
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio17:59
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio18:03
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/y-Ps5g18:03
githubhawtio/master dedbe86 Stan Lewis: Make button size a fixed width18:03
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio18:03
*** iocanel <iocanel!~iocanel@athedsl-4522230.home.otenet.gr> has joined #hawtio18:12
*** iocanel <iocanel!~iocanel@athedsl-4522230.home.otenet.gr> has quit IRC (Quit: Computer has gone to sleep.)18:23
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio18:36
github[hawtio] gashcrumb pushed 1 new commit to master: http://git.io/bLq4zw18:36
githubhawtio/master 0839769 Stan Lewis: update jvm help a little bit18:36
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio18:36
*** iocanel <iocanel!~iocanel@athedsl-4522230.home.otenet.gr> has joined #hawtio18:47
*** iocanel <iocanel!~iocanel@athedsl-4522230.home.otenet.gr> has quit IRC (Quit: Computer has gone to sleep.)18:54
*** rhuss1 <rhuss1!~jolokia@p4FE18431.dip0.t-ipconnect.de> has quit IRC (Quit: Leaving.)19:09
*** scranton <scranton!~scranton@c-24-128-50-227.hsd1.ma.comcast.net> has joined #hawtio19:23
*** scranton <scranton!~scranton@c-24-128-50-227.hsd1.ma.comcast.net> has quit IRC ()19:53
*** vijaykiran <vijaykiran!~user@s53759f74.adsl.online.nl> has quit IRC (Ping timeout: 252 seconds)20:31
*** slewis <slewis!~quassel@redhat/jboss/slewis> has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)20:32
*** github <github!~github@router1-ext.rs.github.com> has joined #hawtio20:37
github[hawtio] fusesource-ci pushed 1 new commit to gh-pages: http://git.io/75euWg20:37
githubhawtio/gh-pages 7dac2a7 FuseSource CI: Wagon: Deploying sitegen to repository20:37
*** github <github!~github@router1-ext.rs.github.com> has left #hawtio20:37
*** vijaykiran <vijaykiran!~user@s53759f74.adsl.online.nl> has joined #hawtio20:41
*** vijaykiran <vijaykiran!~user@s53759f74.adsl.online.nl> has quit IRC (Ping timeout: 252 seconds)21:08
*** chirino <chirino!~chirino@pool-71-180-128-149.tampfl.fios.verizon.net> has quit IRC (Ping timeout: 264 seconds)22:03

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!