Forum: JRuby glassfish on jruby HEAD

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9d7ceca3c2fd90d61c6ea950f42b3a9a?d=identicon&s=25 marc (Guest)
on 2009-01-02 19:25
(Received via mailing list)
Hi,

Is glassfish expected to run on jruby head?

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)

--
Cheers,
Marc


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Ede2aa10c6462f1d825143879be59e38?d=identicon&s=25 Charles Oliver Nutter (Guest)
on 2009-01-02 23:30
(Received via mailing list)
marc wrote:
> 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 Barnett 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 topic is locked and can not be replied to.