I do have the glassfish gem currently running a rails app using JRuby
1.4.0. With 1.6.0 on the horizon I wanted to do some cursory testing.
I initially was attempting install refinery but I had several issues
(previously posted) so I just created a simple rails app from scratch.
Even with the basic “blog” example I have a couple of issues. It will
run with Webrick but if I install the glassfish gem and then run it I
get the following:
glassfish -e development -p 4000
org/jruby/javasupport/JavaClass.java:1052:in for_name': cannot link Java class com.sun.akuma.CLibrary, probable missing dependency: jnidispatch (/com/sun/jna/os/400-ppc/jnidispatch.srvpgm) not found in resource path (NameError) from org/jruby/javasupport/JavaUtilities.java:34:in
get_proxy_class’
from
/usr/local/jruby-1.6.0.RC1/lib/ruby/site_ruby/shared/builtin/javasupport/core_ext/object.rb:46:in
java_import' from /usr/local/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.3-universal-java/lib/server.rb:56:in
(class Server)’
from
/usr/local/jruby-1.6.0.RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.3-universal-java/lib/server.rb:53:in
`(class GlassFish)’
This is running in an AIX shell environment and I am not sure this is a
native extension problem or not.
Any suggestions on how to get to the bottom of this?
–
Pete H.
Value Added Software, Inc
www.asaap.com
www.opensource4i.com