BitNami's JRubyStack = JRuby + Rails + GlassFish Gem + MySQL all bundled together
The steps below walks you through installation of JRubyStack. It shows how this stack provides an integrated and ready-to-use bundle for hosting your applications on GlassFish:
- Install JRubyStack
- Download JRubyStack from
here. Click on the
installer to see:

- Clicking on "Next >" brings the following screen:

Even though it shows "JRuby on Rails" component but it includes everything, including GlassFish v3 Gem & MySQL server, in it. - Further in the installation process, change the database user name from default "jrubystack" to "root". Take all other defaults through out the installation process.
- After the installation is completed, the following program menu is
added

- Download JRubyStack from
here. Click on the
installer to see:
- After the bundle is installed, it's ready to use - MySQL server is
started, a default application is created in "C:\Users\Arun Gupta\BitNami
JRubyStack projects\jrubystack" and hosted using
GlassFish v3 gem at "http://localhost:3000". Here is the output
shown in the console window started by JRubyStack:
Mar 10, 2008 2:49:26 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Init service : com.sun.enterprise.v3.services.impl.CmdLineParamProcessor@1d9e5ad
Mar 10, 2008 2:49:26 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Init service : com.sun.enterprise.v3.server.SystemTasks@33c3e6
Mar 10, 2008 2:49:26 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Init service : com.sun.enterprise.v3.services.impl.LogManagerService@1b70f9e
Mar 10, 2008 2:49:26 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Init service : com.sun.enterprise.v3.services.impl.HouseKeeper@666d83
Mar 10, 2008 2:49:26 PM com.sun.enterprise.v3.services.impl.DeploymentService postConstruct
INFO: Supported containers : web,jruby,phobos
Mar 10, 2008 2:49:26 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Startup service : Deployment
Mar 10, 2008 2:49:26 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Startup service : org.glassfish.deployment.autodeploy.AutoDeployService@15925c0
Mar 10, 2008 2:49:27 PM com.sun.enterprise.v3.services.impl.GrizzlyAdapter <init>
INFO: Listening on port 3000
Mar 10, 2008 2:49:27 PM com.sun.enterprise.v3.services.impl.GrizzlyAdapter <init>
INFO: Listening on port 3131
Mar 10, 2008 2:49:27 PM com.sun.enterprise.v3.services.impl.GrizzlyAdapter <init>
INFO: Listening on port 3838
Mar 10, 2008 2:49:27 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Startup service : com.sun.enterprise.v3.services.impl.GrizzlyService@eccfe7
Mar 10, 2008 2:49:28 PM com.sun.grizzly.standalone.StaticResourcesAdapter <init>
INFO: New Servicing page from: C:\Users\Arun Gupta\BitNami JRubyStack projects\jrubystack\public
Mar 10, 2008 2:49:28 PM com.sun.enterprise.rails.RailsDeployer load
INFO: Loading application . at /
Starting Rails instances
Mar 10, 2008 2:49:58 PM com.sun.grizzly.jruby.RubyObjectPool$1 run
INFO: Rails instance instantiation took : 30451ms
Mar 10, 2008 2:49:58 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Startup service : Application Loader
Mar 10, 2008 2:49:58 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: Glassfish v3 started in 32229 ms
Now you have a template app that can be used to experiment with different features of GlassFish Gem. A similar bundle can be easily hand-crafted using the steps described here.
More details about GlassFish and JRuby can be found @
GlassFish wiki
and JRuby wiki.
Help us test your application on the v3 gem and file issues in JIRA
or GlassFish
Issue Tracker.
Please use the gem and send us feedback on
GlassFish forums,
dev@glassfish or
gem mailing list.
Technorati: bitnami jrubystack jruby ruby rubyonrails glassfish v3 gem
- Login or register to post comments
- Printer-friendly version
- arungupta's blog
- 785 reads





