Hi Elgar,

I'm used to use a nice little tool called supervisord. You can download and
install tomee with a non-privileged user and then use supervisord to run it
at startup time. Check out this documentation:
https://www.digitalocean.com/community/tutorials/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps

I've just tested it out in my own debian box with this configuration
file: /etc/supervisor/conf.d/tomee.conf

------------
[program:tomee]

command=/home/tveronezi/Documents/bin/apache-tomee-plus-1.7.4/bin/catalina.sh
run
autostart=true

autorestart=true

user=tveronezi

------------

It works like a charm.


​
[]s,
Thiago.


On Tue, Mar 22, 2016 at 7:15 AM, Romain Manni-Bucau <[email protected]>
wrote:

> Hi,
>
> this is not yet on the official website but wrote
> http://home.apache.org/~rmannibucau/tomeeng/advanced/setup/index.html
> which works great on ubuntu. This is not a mandatory setup but one
> oriented for production. Note also as mentionned on
> http://home.apache.org/~rmannibucau/tomeeng/admin/file-layout.html you
> have in bin a daemon.sh which can be used as init.d/service script.
>
> Finally I wouldn't use the drop in war approach but just download
> tomee.[zip|tar.gz] and extract it somewhere (/opt/tomee/tomee-x.y.z?
> for instance) instead of relying on tomcat deb packages + manual
> installation.
>
> Romain Manni-Bucau
> @rmannibucau |  Blog | Github | LinkedIn | Tomitriber
>
>
> 2016-03-22 11:09 GMT+01:00 Elgar <[email protected]>:
> > Id like to install TomEE as a drop in war under Ubuntu. It should be
> same on
> > Debian.
> >
> > So apt-get install tomcat7 and it works.
> > But i don't understand what i should do next. Is there any more detailed
> > instructions?
> >
> > http://tomee.apache.org/installation-drop-in-war.html
> >
> > Elgar
> >
>

Reply via email to