I've just tried with jetty.
I could add things to the cart, and empty it.
The admin page would throw a NPE when I tried to create a new item.

I did this to run it:
+ script/plugin install 
svn://rubyforge.org/var/svn/jruby-extras/trunk/rails-integration/plugins/war-snapshot
+ created depot_production in mysql
+ env RAILS_ENV=production rake db:migrate
+ rake war:standalone:run

Cheers,
Robert


Ashish Sahni wrote:
> Hi Folks,
> I'm running in failures while running the depot_k  version of
> the depot apps as a web app. Code can be downloaded here
> http://www.pragmaticprogrammer.com/titles/rails/code.html
>
> The wierd thing is that the failure are intermittent(more failures than 
> not)
> and there are no error messages in the logs and the http return code
> in case of failure is 500(internal server error).
> Has anybody run the depot apps successfully as web application ?
> And maybe more importantly how does one go about debugging rails
> as the return from the rails-integration servlet code seems to be without
> any error/exceptions. No idea whats failing where.
>
> All combinations seem to be failing - jruby trunk/0.9.8, GlassFish v2, 
> Tomcat
> 6.x, firefox, IE. Though I could never get the request to fail if I sent 
> the http
> request from command line ie GET /depot_k/store HTTP/1.0
>
> Any ideas ?
>
> Thanks
> Ashish
>
>
> _______________________________________________
> Jruby-extras-devel mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/jruby-extras-devel
>   
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to