Hi,
the attached stresstest works without problems on mri (1.8.5), but
throws the following error on the first request:
jruby-1.1.2$ jruby websrv.rb
[2008-07-04 12:33:37] INFO WEBrick 1.3.1
[2008-07-04 12:33:37] INFO ruby 1.8.6 (2008-05-28) [java]
[2008-07-04 12:33:37] INFO WEBrick::HTTPServer#start: pid=6961
port=2000
localhost - - [04/Jul/2008:12:33:43 CEST] “GET /conf/ HTTP/1.1” 200 188
- -> /conf/
[2008-07-04 12:33:45] ERROR SystemExit: uninitialized constant
OpenURI::Net
/Users/dvl/local/jruby-1.1.2/lib/ruby/1.8/webrick/server.rb:91:in
`start’
localhost - - [04/Jul/2008:12:33:46 CEST] “GET /conf/ HTTP/1.1” 200 939 - -> /conf/
Fetching only a subset of the URLs which make up the main page.
All other GETs work.
Any hints how to debug this further?
Cheers,
Dirk