cPanel & WHM Version 92 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!
This object is in archive! 

Support for JBoss AS 7

ylluminate shared this idea 6 years ago
Needs Feedback

Recently I saw some benchmarks that really opened my eyes on our ability to get Ruby on Rails apps running at about the same speed as Go. Of course if you know anything about Go, you know that that is incredibly impressive since Go's target is C/C++ performance and is only about 10-20% off from that in most use cases.


The trick is installing JBoss AS on cPanel and then deploying TorqueBox atop that. The new upcoming 4.x (codename TorqBox) release brings us to the performance level just shy of Go and far ahead of all the other options right now.


It would be nice to have out of box support for JBoss AS 7 so that we don't have to hack in support on a per deployment basis so that we can have superior Java app and Ruby / Ruby on Rails support that is first class.


Here is, for example, a walkthrough of installing TorqueBox on a debian based (ubuntu) server, but it should still act as baseline for some understanding: http://www.amberbit.com/blog/2014/1/20/torquebox-3-rails-4-zero-downtime-deployment-ubuntu-12-04/


Obviously the main goal here, though, is to have JBoss support so that we can just drop in a JBoss EAP overlay:

http://torquebox.org/news/2014/01/30/torquebox-3-0-2-released/


Of course please chime in if there are superior options to make this work better. We like to use cPanel for Ruby (Rails and Sinatra) deployments, but Passenger just isn't as superior a solution as TorqueBox.

Best Answer
photo

Significant research and investigation would need to occur from our development teams before JBoss / TorqueBox could be realistically considered. If there is significant interest in this feature request through customer voting/interest, then that investigation may be justified.


For example, among standard compatibility considerations with all other portions of our product, a major question here would relate to its support of a shared hosting environment. Our existing and planned infrastructures surrounding Java and Ruby on Rails all support running users' applications as the user itself as opposed to under a shared/daemon user.


Does this feature exist within the technologies you're proposing? Passenger supporting this crucial functionality is one of the reasons that it was chosen for future inclusion to the product.

Comments (2)

photo
1

Significant research and investigation would need to occur from our development teams before JBoss / TorqueBox could be realistically considered. If there is significant interest in this feature request through customer voting/interest, then that investigation may be justified.


For example, among standard compatibility considerations with all other portions of our product, a major question here would relate to its support of a shared hosting environment. Our existing and planned infrastructures surrounding Java and Ruby on Rails all support running users' applications as the user itself as opposed to under a shared/daemon user.


Does this feature exist within the technologies you're proposing? Passenger supporting this crucial functionality is one of the reasons that it was chosen for future inclusion to the product.

photo
1

Here is a useful script for setting torquebox up on a centos base (older version, but easily adapted):

https://github.com/Dariusp/torquebox-install-script/blob/master/torquebox-production.sh


Will work on getting more input regarding the individual user execution vs shared.