Transport out has not been set

I’ve was banging my head against the wall all yesterday evening trying to work out why Axis2 was erroring out with ‘Transport out has not been set’. All my searching for similiar problems was returning the same mailing list entries, replicated all across the internet, none of them having anything useful.

For me at least (and some of the problem is that it can be caused by more than one thing), was that I’d commented one URL out when I went home and created my home one, without including ‘http://’ on the front of my URL.

Rack – NoMethodError: undefined method `call’ for nil:NilClass

Turns out Rack doesn’t read minds. I just spent the better part of the morning troubleshooting a stupid error, convinced there was something wrong with JRuby/Rack/Sinatra. As it turns out the error was caused by having a blank config.ru file,  I was editing one that was in a different directory (and believing that it was the correct file). My own stupidity aside, the error message wasn’t helpful, mostly because google didn’t return any results related to the same error. So while this admits my mistake, hopefully the next person who comes across this error will spend less time scratching their heads.