Thanks to Alexander in my previous post, I was able to generate a war file using jRuby on Windows. I then tested it out using tomcat on my local machine and it works out perfectly. For our production application servers, we use WebSphere 7 and 8. We would prefer to deploy to Websphere in our environment, which is already there, instead of setting up new servers for RhoConnect. The war file deploys fine to websphere without errors, but when I try to run, I get the following error:
org.jruby.rack.RackInitializationException: missing run or map statement from /www/INTAPP_RHO/lwi/conf/org.eclipse.osgi/bundles/198/1/bundlefile/WEB-INF/gems/gems/rack-1.5.2/lib/rack/builder.rb:133:in `to_app' from :1:in `(root)' at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:29)
I have been looking around and found a posting back in 2008 about JRuby and Websphere and possible changes needed to the web.xml.erb file to get it to work properly on Websphere => http://www.jairrillo.com/blog/2008/07/24/deploying-jruby-application-on-tomcat-glassfish-and-websphere-61/
I tried that as well and still no luck. I will keep looking, but wondering if anyone has some ideas or has it working on websphere.