Glassfish gem requires jna.jar
------------------------------

                 Key: JRUBY-4793
                 URL: http://jira.codehaus.org/browse/JRUBY-4793
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.5
            Reporter: Timothy Jones
            Assignee: Thomas E Enebo


Not certain if this is a JRuby issue or a Glassfish issue, but installing JRuby 
1.5.0 followed by Glassfish gem 1.0.2 results in the following:

Starting Glassfish... Parsing config file: 
/home/waiter/apps/production/releases/20100513194300/config/glassfish.yml
org/glassfish/scripting/gem/GlassFishMain.java:267:in `start': 
java.lang.NoClassDefFoundError: com/sun/jna/Pointer (NativeException)
        from 
/usr/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/server.rb:146:in
 `start'
        from 
/usr/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/server.rb:146:in
 `start'
        from 
/usr/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/bin/glassfish:55
        from 
/usr/local/jruby-1.5.0/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/bin/glassfish:19:in
 `load'
        from /usr/local/jruby/bin/glassfish:19

Installing jna.jar in JRuby's lib directory seems to fix the problem.

This looks very much like JRUBY-4752.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to