Look at the following chapter in rhoconnect deployment docs: http://edgedocs.rhomobile.com/rhoconnect/deploying#deploying-into-j2ee-environment.
We tested war file for Tomcat/JBoss only, but it should work in any other java web sever.
Rhoconnect under Jruby uses puma app server for any platform (windows/linux), and included in .war file.
Thank you for the response. I will try to deploy on one of our application servers.
When you generated a .war file(rhoconnect war using jRuby), what os did you generate it from? I used windows and seems like I had to do alot to get it to compile. I had to copy gcc.exe to cc.exe in mingw and then find jruby-cext.dll on the internet and put that in the lib directory in order to get thin to compile. I have a war file, but will start testing on one of our app servers.
You don't need thin for Rhoconnect in JRuby environment.
If you have a choice, I recommend use either Mac OSX or Ubuntu (Cent OS) for rhoconnect project under JRuby.
On Windows you also can do it, but in such case you need to install and configure much more things:
- jruby binaries http://jruby.org.s3.amazonaws.com/downloads/1.7.4/jruby_windows_x64_1_7_4.exe
- MinGW - Minimalist GNU for Windows http://sourceforge.net/projects/mingw/files/latest/download?source=files
- Redis port for windows https://github.com/dmajkic/redis/
After it's done, you should install bundler, rhoconnect gems, and make sure that rhoconnect CLI works for you. Then generate sample app, start redis server, and rhoconnect app.
Thank you very much, that was the detail I was looking for to get JRuby going and understand it better for someone that is new to this.
I was also to build a .war file and deploy to JBoss on windows, but when I tried in our websphere environment, it doesn't work. I will continue to work with it. Thanks again.