tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aldrin Leal <ald...@leal.eng.br>
Subject Re: TomEE on Amazon Beanstalk?
Date Wed, 02 May 2012 23:06:40 GMT
Romain,

What about JDBC drivers? lib dir or could be in the war?

If it seems easy, I'd be happy to do that AMI for you guys

--
-- Aldrin Leal, <aldrin@leal.eng.br> / http://meadiciona.com/aldrinleal


On Wed, May 2, 2012 at 8:00 PM, Romain Manni-Bucau <rmannibucau@gmail.com>wrote:

> of course datasources can be defined in the war ;) (just said of course
> cause i helper ;))
>
> 2 main ways:
> -> @DataSourceDefinition (or xml tag in web.xml)
> -> resources.xml (close to tomee.xml)
>
> - Romain
>
>
> 2012/5/3 Aldrin Leal <aldrin@leal.eng.br>
>
> > Unfortunately, Beanstalk needs a custom middleware, called the
> hostmanager.
> > You could boot an AMI with hostmanager and tweak. You're likely to need
> it,
> > since if you ever need to run into datasources, I'm not sure you could
> > handle them from a .war-only deployment (dblevins, correct me on this
> one).
> >
> > If I could help you with something else, check out my maven plugin for
> AWS
> > Beanstalk automation from Maven: http://beanstalker.ingenieux.com.br/
> >
> > --
> > -- Aldrin Leal, <aldrin@leal.eng.br> / http://meadiciona.com/aldrinleal
> >
> >
> > On Wed, May 2, 2012 at 7:53 PM, Fernando Lozano <fernando@lozano.eti.br
> > >wrote:
> >
> > > Hi,
> > >
> > > Do I *have* to create a Custom VM? How can I make  beanstalk use my VM
> > (so
> > > far I see only the standard VMs being offered)? I was hoping for an
> > easier
> > > way, I'm still learning my way on AWS.
> > >
> > > Maybe someone has an image ready to use. :-)
> > >
> > >
> > > []s, Fernando Lozano
> > >
> > >
> > >  You could create a Custom VM and modify the built-in tomcat with that.
> > For
> > >> best results, base your VM on the Tomcat 7 image.
> > >>
> > >> --
> > >> -- Aldrin Leal,<aldrin@leal.eng.br>  /
> > http://meadiciona.com/**aldrinleal<http://meadiciona.com/aldrinleal>
> > >>
> > >>
> > >> On Wed, May 2, 2012 at 7:48 PM, Fernando Lozano<
> fernando@lozano.eti.br
> > >**
> > >> wrote:
> > >>
> > >>  Hi there,
> > >>>
> > >>>
> > >>> I remeber reading somewhere (could not find it on google) that TomEE
> > >>> would
> > >>> be supported on the Amazon Beanstalk PaaS.
> > >>>
> > >>> Can anyone point me to instructions? I can't find how to depoy two
> wars
> > >>> (my app and tomee war) inside an EC2 instance managed by Beanstalk.
> > >>>
> > >>> I suppose I could force my way using a ssh connection to the instance
> > and
> > >>> alter the file system, but I also suppose this would not work well
> when
> > >>> beanstalk adds or removes instances from my app.
> > >>>
> > >>>
> > >>> []s, Fernando Lozano
> > >>>
> > >>>
> > >>>
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message