Johans notes, links etc RSS

This is just another unimportant web page with links and pictures of things that I like or just don't want to forget. Contact me
My lifestream

Archive

Feb
22nd
Sun
permalink
Comments (View)
Feb
20th
Fri
permalink

Remote testing with Jmeter and loopback issue

Had some problem when I setup a remote testing environment with Jmeter. I used my own macine as master to aggregate the test results, and a couple of other machines as slaves. All machines was running Ubuntu.

The problem I had was that the log on the servers said:

jmeter.samplers.RemoteListenerWrapper: testStarted(host)
java.rmi.ConnectException: Connection refused to host: 127.0.1.1;

To fix this problem I had to changed the /etc/hosts on the master and comment out the loopback entry 127.0.1.1 and replace it with my permanent or real ip address.

127.0.0.1        localhost
192.168.x.x     nowwhat
#127.0.1.1      nowwhat

I also had to comment out the 127.0.1.1 hostname entry in the hosts file on all the slaves, but no need to add the real ip on them.

This problem only affected the machines that was running Ubuntu.

Comments (View)
Feb
19th
Thu
permalink
Why should I care what color the bikeshed is? So true!
Comments (View)
Feb
18th
Wed
permalink
Comments (View)
Feb
17th
Tue
permalink
Loved this site and the concept of a Social Media Résumé
Comments (View)
permalink

My top 10 bash commands

  • 92 git
  • 86 cd
  • 82 ll
  • 22 find
  • 18 sudo
  • 14 rake
  • 10 apache2
  • 9 vi
  • 9 ls
  • 9 cat
history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head

From http://www.earobinson.org/2008/04/10/my-top-10-commands-20/

Comments (View)
Feb
11th
Wed
permalink
Comments (View)
Feb
5th
Thu
permalink
Comments (View)
Feb
3rd
Tue
permalink

A note on JPA and embeddable

Took me a while to figure out that I have to place my embeddable element below the entity elements, got validation errors about missing embeddable element otherwise.

Simplified example

<entity class="example.Person>
  <attributes>
    <embedded name="name" />
    ...
</entity>
<embeddable class="example.Name">
...
</embeddable>
Comments (View)
Jan
25th
Sun
permalink

My Schedule for Jfokus 2009

Trying to make a schedule for Jfokus 2009, There are some interesting sessions at the same time but I will probably attend these. I will also be standing in the bwin games information area between 12.45-13.15 so please come by and say hi if you like.

  • Guerilla SOA Campaign HTML 5 WebSockets
  • Concurrent and Performance Reloaded
  • Controlling Your Architecture
  • DSLs - what, why, how
  • @Spårbarhetslogga - Annoteringar i praktiken
  • Javaplattformens framtid
  • Introduction to Data Grids

Will also attend these tutorials on the first day.

  • Domain Driven Design, Demo applikationen
  • Qi4j workshop
Comments (View)
Jan
18th
Sun
permalink

phplifestream v0.9.1.1

Hotfix for phplifestreamer

  • All tags was not added to a stream
Comments (View)
permalink

phplifestreamer v0.9.1

0.9.1 of phplifestreamer is now released.

  • Aggregation of tags
  • Tagged streams
  • New Graphs

Download 0.9.1 or see complete changelog. Demo at johannilsson.me

Comments (View)
Jan
17th
Sat
permalink
Comments (View)
Jan
16th
Fri
permalink

My vimrc

Found Jonas vimrc and thought that could share mine.

syntax on
set ruler
set ts=4
set sw=4
set autowrite
set showmatch
set hlsearch
set incsearch
set ignorecase
filetype plugin indent on
colorscheme default
hi Number   ctermfg=yellow
hi Comment  ctermfg=yellow
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
set cot+=menuone
set makeprg=php\ -l\ %
set errorformat=%m\ in\ %f\ on\ line\ %l
nnoremap  :TagExplorer

Resources that might be interesting.

Comments (View)
Jan
14th
Wed
permalink

Comments via Disqus

Just added comment support to this blog, The comment system is powered by Disqus and it was really easy to integrate. So feel free to comment if you like.

Comments (View)