Glassfish.gem and Warble?

I’m starting to consider my app deployment. Currently, I’m just running
a
sinatra app from my source tree, but I’d like to package things up so I
can
deploy to a production server easily. I see that warble packs up things
and
offers configuration options, but how do I deploy to a
jruby+glassfish.GEM
deployment? There is no asadmin using the gem, for example. Can
someone
point me in the right direction?

Regards,
KenD

On Wed, Nov 25, 2009 at 2:17 PM, Ken at Inbox256 [email protected]
wrote:

I’m starting to consider my app deployment. Currently, I’m just running a
sinatra app from my source tree, but I’d like to package things up so I can
deploy to a production server easily. I see that warble packs up things and
offers configuration options, but how do I deploy to a jruby+glassfish.GEM
deployment? There is no asadmin using the gem, for example. Can someone
point me in the right direction?

You should be able to just run “jruby -S glassfish” in the current
directory where application lives. Warbler and the Glassfish gem don’t
overlap at all in that respect.

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Nick, I don’t believe that what you are saying I can just put the war in
a
directory and jruby -S glassfish would know to unpack it (since I tried
and
that doesn’t work!). I think youre saying just recopy my entire
application
directory to my production machine. But isn’t war’ing an application
directory for easier deployment meant to solve such a thing?

Ken at Inbox256 wrote:

Nick, I don’t believe that what you are saying I can just put the war
in a directory and jruby -S glassfish would know to unpack it (since I
tried and that doesn’t work!). I think youre saying just recopy my
entire application directory to my production machine. But isn’t
war’ing an application directory for easier deployment meant to solve
such a thing?

Yes, that is what Nick is saying. The glassfish gem doesn’t understand
war files.

You can use the Glassfish server, Tomcat or any other servlet container
if you choose to package and deploy your app using war files. We use
glassfish v2u1 to run kenai.com and netbeans.org for example.

Fred

Yes, but as described above, it appears this is for app server
containers
that support war files, not for users of the glassfish.gem. I’m
wondering
whether I should look toward using the glassfish server in lieu of the
gem.

currently we use a 2 step process:

We war up our application and then move it to the production machine
and use the asadmin command to deploy it.

Sounds like you are trying to something similar?

Jay

On Wed, Nov 25, 2009 at 4:17 PM, Frederic J. [email protected]
wrote:

wrote:

point me in the right direction?
http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Fri, Nov 27, 2009 at 6:30 PM, Ken at Inbox256 [email protected]
wrote:

Yes, but as described above, it appears this is for app server containers
that support war files, not for users of the glassfish.gem. I’m wondering
whether I should look toward using the glassfish server in lieu of the gem.

That’s correct; for production I think it’s worth your effort; it’s
pretty
straightforward to run Glassfish v2 or v3, and WARing up the app and all
its
dependencies (including JRuby) gives you the most options for
deployment.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email