In nb I can run jruby head rails projects on glassfish using the inbuilt
jruby 1.1.4, but when I try glassfish on jruby head, I get:
INFO: Jruby version is: 1.1.7
INFO: Starting Rails instances
INFO: Loading Rails application RailsApplication2 at /RailsApplication2
INFO: Loading RailsApplication2 Application done is 6891 ms
INFO: GlassFish v3 Prelude startup time : Felix(2688ms) startup services
(10921ms) total(13609ms)
SEVERE: Exception in thread “pool-11-thread-1”
SEVERE: D:/jruby/lib/ruby/1.8/pathname.rb:420:in `realpath_rec’:
SEVERE: No such file or directory - No such file or directory -
C:/Program Files/glassfish-v3-prelude-b28c/glassfish/C: (Errno::ENOENT)
INFO: Loading RailsApplication2 Application done is 6891 ms
INFO: GlassFish v3 Prelude startup time : Felix(2688ms) startup services
(10921ms) total(13609ms)
SEVERE: Exception in thread “pool-11-thread-1”
SEVERE: D:/jruby/lib/ruby/1.8/pathname.rb:420:in `realpath_rec’:
SEVERE: No such file or directory - No such file or directory -
C:/Program Files/glassfish-v3-prelude-b28c/glassfish/C: (Errno::ENOENT)
That looks like an issue with the pathname library that I thought we
had patched. Check through Jira for it. Basically I think it has
different behavior when run on Windows, but it’s not properly detecting
Windows in JRuby.
I think Logan B. may have been the one that found the actual issue,
or maybe we just talked about it. Have a look at pathname.rb too and see
if you can see it.
Charlie
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.