JRuby Mongrel does not work - Connot load Java Class
----------------------------------------------------

                 Key: JRUBY-3542
                 URL: http://jira.codehaus.org/browse/JRUBY-3542
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.1.6
         Environment: OS= MacOS 10.5; JRuby=jruby 1.1.6RC1 (ruby 1.8.6 
patchlevel 114); mongrel=1.1.5; Java=1.5.0_16; 
            Reporter: Christian Göhring


I deployed a Jruby-On-Rails-Application on mongrel. The rails-part works fine, 
but as soon as I try to call the include_class-method, it does not find the 
reuired java-class. Suprisingly, the java-package works fine in the same code 
(for example java.lang.System.out.println "hello from java") ...

require "java"
require "#{RAILS_ROOT}/lib/checkout/checkout.jar"
require "#{RAILS_ROOT}/lib/checkout/svnkit.jar"
include_class "checkout.Files"

Files.main main_args.to_java :String
                

-- 
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