I have been working on a deployment of TorqueBox which is dependent upon JBoss AS 7. I have been discussing the potential of integration of this into cPanel (which would be a great win for JBoss and TorqueBox) since there is some fantastic discussion about some incredible performance improvements for Ruby and Rails apps via TorqueBox. Certainly would be a win-win. The big thing that cPanel needs is to be able to run each application on a per user basis so that users can deploy their own applications and so that the system can control memory usage, etc.
Is this multiuser capacity possible and, if so, how? I'm attempting to set this up "properly" as an example that I can give their developers for review and potential usage for integration.