Advertise with Googlier.com Comments for A Day At The Races http://blog.jetztgrad.net Programming was my first love, and it will be my last. Fri, 13 Apr 2012 10:54:50 +0000 hourly 1 https://wordpress.org/?v=5.7.21 Comment on How to customize an Amazon Elastic Beanstalk instance by Wolfgang Schell http://blog.jetztgrad.net/2011/02/how-to-customize-an-amazon-elastic-beanstalk-instance/comment-page-1/#comment-1496 Fri, 13 Apr 2012 10:54:50 +0000 http://blog.jetztgrad.net/?p=345#comment-1496 In reply to me.

No difference to stock AMI: hostmanager, which must also be present on the custmized AMI, handles everything. The startup data contains all information on where to download the WAR file from and which parameters to apply.

]]>
Comment on How to customize an Amazon Elastic Beanstalk instance by me http://blog.jetztgrad.net/2011/02/how-to-customize-an-amazon-elastic-beanstalk-instance/comment-page-1/#comment-1495 Fri, 13 Apr 2012 05:49:03 +0000 http://blog.jetztgrad.net/?p=345#comment-1495 How does uploading a new version work in a customized ami scenario?

]]>
Comment on How to customize an Amazon Elastic Beanstalk instance by Wolfgang Schell http://blog.jetztgrad.net/2011/02/how-to-customize-an-amazon-elastic-beanstalk-instance/comment-page-1/#comment-1469 Sun, 01 Apr 2012 07:51:28 +0000 http://blog.jetztgrad.net/?p=345#comment-1469 In reply to Danilo.

You can Launch and use this AMI, but in order to use hostmanager, you would need to provide it with some input it expects, such as where to download the WAR from (including signed S3 link), etc.

I haven’t looked into the startup for a while, so, sorry, I can’t help you here…

]]>
Comment on How to customize an Amazon Elastic Beanstalk instance by Danilo http://blog.jetztgrad.net/2011/02/how-to-customize-an-amazon-elastic-beanstalk-instance/comment-page-1/#comment-1467 Sat, 31 Mar 2012 23:30:51 +0000 http://blog.jetztgrad.net/?p=345#comment-1467 Is it possible to actually use the Beanstalk AMI without Beanstalk, I mean, launching through EC2 manually, start the services, interact with HostManager, etc?

I’m trying, but It’s not working. The _hostmanager url return 503. httpd and hostmanager seems to be running.

Thanks.

]]>
Comment on Groovy & Grails on OSGi by Wolfgang Schell http://blog.jetztgrad.net/grails-on-osgi/comment-page-1/#comment-1423 Wed, 21 Mar 2012 06:33:10 +0000 http://blog.jetztgrad.net/?page_id=69#comment-1423 In reply to Peter Ledbrook.

Hi Peter,

thanks for the heads up!

Yes, that would affect the plugin if used in a modular manner (more below). But when running a WAR-ed Grails app as a monolithic OSGi bundle (see here for a definition of monolithic in this case), it should still work, though. I saw another commit yesterday, which disables generation of OSGi headers when generating a WAR file. But as this can still be activated in (Build)Config.groovy, this shouldn’t matter too much.

Do you know why the Grails JARs no longer contain OSGi headers? That would affect running a Grails app (or multiple thereof) in an OSGi container in a modular manner, i.e. with each Jar as its own bundle.

But as the OSGi plugin does not currently work with Grails versions newer than 1.3.4 (or so), I’ll have to update it anyway.

]]>
Comment on Groovy & Grails on OSGi by Peter Ledbrook http://blog.jetztgrad.net/grails-on-osgi/comment-page-1/#comment-1419 Tue, 20 Mar 2012 15:52:16 +0000 http://blog.jetztgrad.net/?page_id=69#comment-1419 Grails 2 JARs no longer have OSGi manifest headers. I don’t know whether this affects the plugin or not.

]]>
Comment on Groovy & Grails on OSGi by Wolfgang Schell http://blog.jetztgrad.net/grails-on-osgi/comment-page-1/#comment-1265 Mon, 06 Feb 2012 21:40:18 +0000 http://blog.jetztgrad.net/?page_id=69#comment-1265 In reply to Jon.

Hi Jon,

the OSGi plugin replaces some of Grails’ dependencies with corresponding bundles from SpinrgSource Enterprise Bundle Repository (EBR), which contains bundle-ized versions of many standard java library. The problem is, that these dependencies are currently more or less hard coded. You might be able to get it to run by tweaking scripts/_Osgi.groovy and scripts/_Events.groovy, where all the replacement bundles and dependencies are defined. You can find the complete source code of the OSGi plugin here.

When running it in Virgo, you should remove all tomcat bundles referenced in the scripts mentioned above, as Tomcat is provided in the Virgo Web and Virgo Nano Web installations.

HTH,

Wolfgang

]]>
Comment on Groovy & Grails on OSGi by Jon http://blog.jetztgrad.net/grails-on-osgi/comment-page-1/#comment-1264 Mon, 06 Feb 2012 18:00:37 +0000 http://blog.jetztgrad.net/?page_id=69#comment-1264 @Wolfgang Schell Thanks for the reply. I’m working with a Grails 1.3.7 app at the moment (Haven’t moved to 2.0 yet). I’m trying to get the app running as a OSGi bundle. I’m new to OSGi and have been fighting with it for a week now. I’ve been bundling a default grails app with only the OSGi plugin installed and have been getting a lot of dependency errors on startup in both virgo 2.1.1 and 3.0.2. The use case is a web platform that can be built upon by adding many separate web applications. I believe that OSGi is the answer to our problems but can’t seem to get it figured out.

]]>
Comment on Groovy & Grails on OSGi by Wolfgang Schell http://blog.jetztgrad.net/grails-on-osgi/comment-page-1/#comment-1231 Mon, 30 Jan 2012 21:51:45 +0000 http://blog.jetztgrad.net/?page_id=69#comment-1231 In reply to Jon.

Hi Jon,

I did not get that much feedback on the OSGi plugin and am currently working on other stuff (as time permits, the Grails OSGi plugin is a hobby only). Do you have interest in the plugin? Or do you use it already with an older Grails version? What is your environment and use case? I still want to update the plugin to Grails 2.0, but didn’t get around to it yet.

Cheers,

Wolfgang

]]>
Comment on Groovy & Grails on OSGi by Jon http://blog.jetztgrad.net/grails-on-osgi/comment-page-1/#comment-1230 Mon, 30 Jan 2012 21:25:14 +0000 http://blog.jetztgrad.net/?page_id=69#comment-1230 I take it since it’s been a year and a half since the 0.2.1 release, that development on this plug-in is no longer happening?

]]>