Search |
||||||||
Redmine on GlassFish - Ruby-on-Rails Project Management ApplicationPosted by arungupta on May 23, 2008 at 6:08 AM PDT
Redmine is a flexible project management web application written using Ruby on Rails framework. The feature list is pretty comprehensive from the usual suspects like multiple projects, role-based control, forums/wikis/SCM for each project to enterprise level features such as LDAP-authentication and multiple languages. It is cross-platform and cross-database and deploys very nicely on GlassFish v3. GlassFish v3 modularity and extensibility allows Rails applications to be deployed without any modification (no WARing). This blog explains the steps on how to deploy Redmine on GlassFish and shows some screenshots later. More documentation is available in Redmine Guide.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Rails powered by the GlassFish Application Server provides all the good reasons on why you should consider using GlassFish instead of the traditional deployment models for Ruby-on-Rails applications. This application is also covered in LAB 5539 as part of FREE 20-week Ruby-on-Rails course by Sang "with Passion" Shin. Technorati: web2.0 rubyonrails jruby ruby glassfish redmine »
Related Topics >>
Web Applications Comments
Comments are listed in date ascending order (oldest first)
Submitted by liwan on Tue, 2008-05-27 02:39.
The fourth wow power leveling latest game in wow power leveling Warcraft series is ‘wow power leveling’. Also known as wow power leveling, it represents a wow power leveling multiplayer online wow power leveling game, the best of wow power leveling kind. Initially, it was wow gold it be released in 2001, but wow powerleveling was delayed wow powerleveling 2004, thus wow powerleveling the 10 years ofwow powerleveling franchise of thiswow gold series. The world of warcraft power leveling was not world of warcraft power levelingfulfilling, because wow power levelproblems with wow power level server’s stability power leveling wow performance occurred, but power leveling wow game still power leveling wow a financial success powerleveling wow the most powerleveling wow game of its kind. The number cheap wow power leveling users that play Maple Story mesos, exceeds 8.5 MapleStory mesos, worldwide.As a form ms mesos,recognition for mesos,outstanding popularity, the game SilkRoad Gold, received aSRO Gold, of awards. Now the question eq2 plat, why is eq2 gold, game eq2 Platinum, popular? For anyoneEverQuest 2 Platinum, played the previous EverQuest 2 gold, and EverQuest 2 plat, already initiated lotro gold, the mysterious world lotr gold, the breathtaking Lord of the Rings online Gold, this Rolex Replica nothing but an Replica Rolex adventure that continues the story of ‘Warcraft III: Frozen Throne’, four years after conclusion, in the world of Azeroth. The game is online role-playing, the previous versions being online and offline strategy games. The major thrills and unique features are present as in every Blizzard game.
Submitted by arungupta on Tue, 2008-06-10 13:10.
This is a known problem as described at:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=5046
Please follow the workaround mentioned in the bug report.
Submitted by dbozeman on Sat, 2008-06-07 15:22.
Firstly, I'd like to thank you for your great tutorial. Everything was very simple to get started! However, when I attempted to deploy a second application to the Glassfish v3 server, using the applications led to unexplained routing errors. I made sure to use all the same software versions as you, to make sure my applications were created with the same version of Rails/JRuby, etc. I was just curious if you had any experience with deploying multiple applications to a single instance of Glassfish, or any ideas as to what the problem might be. Thanks!
Submitted by pasi on Tue, 2008-12-02 08:50.
Hi Arun,
Thanks for the awesome tutorial. Have you possibly tried it with the following combination of software:
glassfishv3-prelude
jruby-1.1.5
redmine-0.7.3
postgresql-8.2
When accessing the website (remote-address:8080/redmine-0.7.3) the browser just sits a while (around 5 minutes) and then shows a blank page and the following exception is printed in the Glassfish log:
[#|2008-12-02T17:45:30.366+0200|SEVERE|glassfish|javax.enterprise.system.core|_ThreadID=29;_ThreadName=Thread-3;|service exception
java.lang.IllegalStateException: No Rails Instances available to satisfy the current request
at com.sun.grizzly.jruby.RailsAdapter.service(RailsAdapter.java:272)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:147)
at org.glassfish.scripting.rails.RailsApplication.service(RailsApplication.java:165)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
at com.sun.enterprise.v3.services.impl.VsAdapter.service(VsAdapter.java:136)
at com.sun.enterprise.v3.services.impl.VirtualHostMapper.service(VirtualHostMapper.java:121)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
|#]
Do you have any idea what might be the issue?
Thanks!
Submitted by pasi on Wed, 2008-12-03 04:48.
Hi,
Just a quick update: It's jruby that's the problem. With jruby-1.1.4 it works!
Thanks again for a great tutorial.
Submitted by arungupta on Wed, 2008-12-03 06:58.
Thanks pasi, did you file an JIRA issue for JRuby ?
Submitted by arungupta on Fri, 2008-12-05 18:43.
BTW, I tried with JRuby 1.1.3, Rails 2.0.2, MySQL and it worked!
Do you have a public facing website for your deployment ?
Submitted by jamesj777 on Fri, 2009-04-17 08:35.
I've installed Redmine using Apache and Thin, and successfully set up integration with Subversion. So, Redmine can create a new subversion repository for a project and can browse the repository. The repository creation works via mod_perl.
Does the integration with Subversion work when using Glassfish? If so, what steps are required to set that up?
Submitted by arungupta on Fri, 2009-04-17 16:01.
I've not tried setting up the subversion repository. You might consider asking that question on users@glassfish.dev.java.net.
|
||||||||
|
|