public
Description:
Homepage:
Clone URL: git://github.com/tobowers/broken-multi-threaded-rack.git
tobowers (author)
Wed May 27 14:40:28 -0700 2009
commit  e4a36d3cb49dd130db4ac72373b9fdf2fba16bda
tree    86b3bbcc2f29e30ccd9bb96b9c66d6e34adb2426
parent  fc9c2c8fd85477627e196bbafd32b8ac33587987
name age message
file .gitignore Wed May 27 13:21:32 -0700 2009 this app doesn't work [tobowers]
file README Wed May 27 13:30:52 -0700 2009 deploy step [tobowers]
file Rakefile Wed May 27 12:23:29 -0700 2009 initial checkin [tobowers]
directory app/ Wed May 27 14:40:28 -0700 2009 fix latest [tobowers]
directory config/ Wed May 27 14:36:47 -0700 2009 no db, more logging [tobowers]
directory doc/ Wed May 27 12:23:29 -0700 2009 initial checkin [tobowers]
file post_file.txt Wed May 27 13:29:40 -0700 2009 repeat steps [tobowers]
directory public/ Wed May 27 12:23:29 -0700 2009 initial checkin [tobowers]
directory script/ Wed May 27 12:23:29 -0700 2009 initial checkin [tobowers]
directory test/ Wed May 27 13:21:32 -0700 2009 this app doesn't work [tobowers]
directory vendor/ Wed May 27 12:23:29 -0700 2009 initial checkin [tobowers]
README
install apache ab

change database.yml (just so it doesn't error - don't need a db)

deploy your app to glassfish (jruby -S warble && asadmin deploy thread_test.war)

cd into app directory and
ab -p post_file.txt -n 10 -c 3 
http://<your_glassfish_server>/thread_test/thread_test/test?data=aklsjdfakjsdfalkjsdflkasdjflkasjdflksj

you will notice that between 1-2 requests will have a nil request.raw_post