google-code-export / rubycas-client

Automatically exported from code.google.com/p/rubycas-client
1 stars 1 forks source link

ruby casclient throws IOError when using jruby on rails in Tomcat #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create new ruby on rails app, install rubycasclient, export to war using
goldspike 
2. deploy on tomcat
3. goto a page that is CAS protected

The problem occurs because the root path differs between tomcat and
script/server. In tomcat, the root path is tomcat_home/webapps, not
rails_app_home. I have submitted a patch to join RAILS_ROOT to the path,
and I tested it w/ tomcat and script/server.

Thanks,
Jin Lee

Original issue reported on code.google.com by jins...@gmail.com on 9 May 2008 at 7:02

Attachments:

GoogleCodeExporter commented 9 years ago
Changed the code slightly so that it adheres more with the code conventions 
(using
configure method)

Original comment by jins...@gmail.com on 9 May 2008 at 7:42

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by matt.zuk...@gmail.com on 23 Sep 2008 at 5:42

GoogleCodeExporter commented 9 years ago
Fixed as of rev 173.

Original comment by matt.zuk...@gmail.com on 1 Oct 2008 at 8:50