I've been playing around with getting jruby on rails to deploy in the geronimo application server. The one snag I ran into and had to patch was the issue posted here:

http://jira.codehaus.org/browse/JRUBY-438

Geronimo uses activemq as its underlying JMS implementation, so the deployment bombs. Once I patched this issue, however, the problem was fixed. I've attached the patch for it. Please reconsider fixing this issue so as to provide support for as many app servers as possible. Keep up the good work and can't wait to see the jruby presentation at railsconf. Thanks.
Index: src/org/jruby/environment/OSEnvironment.java
===================================================================
--- src/org/jruby/environment/OSEnvironment.java        (revision 3573)
+++ src/org/jruby/environment/OSEnvironment.java        (working copy)
@@ -141,7 +141,8 @@
                Map envs = new HashMap();
                for (Iterator iter = entrySet.iterator(); iter.hasNext();) {
                        Map.Entry entry  = (Map.Entry) iter.next();
-            
envs.put(runtime.newString((String)entry.getKey()),runtime.newString((String)entry.getValue()));
+            if (entry.getKey() instanceof String && entry.getValue() 
instanceof String)
+                
envs.put(runtime.newString((String)entry.getKey()),runtime.newString((String)entry.getValue()));
                }
                return envs;
        }

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

    http://xircles.codehaus.org/manage_email

Reply via email to