On 5/7/07, Cliff Moon <[EMAIL PROTECTED]> wrote:
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.

This patch seems more innocuous, but should still appease AMQ.  I've
committed in 3638, it'll be in RC2.

Index: 
/Users/nicksieger/Projects/jruby/trunk/jruby/src/org/jruby/environment/OSEnvironment.java
===================================================================
--- 
/Users/nicksieger/Projects/jruby/trunk/jruby/src/org/jruby/environment/OSEnvironment.java
   (revision
3635)
+++ 
/Users/nicksieger/Projects/jruby/trunk/jruby/src/org/jruby/environment/OSEnvironment.java
   (working
copy)
@@ -141,7 +141,7 @@
                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()));
+            
envs.put(runtime.newString(entry.getKey().toString()),runtime.newString(entry.getValue().toString()));
                }
                return envs;
        }

/Nick

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

   http://xircles.codehaus.org/manage_email

Reply via email to