www-servers/tomcat does not support systemd.
Again, the archlinux's tomcat systemd file can be used as reference.
But obvious, it lacks mult-instance support.
I can neither see that support in Fedora, if you can provide some example services files supporting that would be nice
I just updated to systemd and discovered the problem... I hope that it will be solved quickly.
Thanks in advance.
If you are interested, OpenSuse has the multi instance support:
Be careful because the way to do this has changed recently. Fedora 21 has a different method to CentOS 7.
Is there any progress ?
We don't have the resources to put towards this at the moment but I'd be interested in contributions. Something that gels the latest Fedora approach with our existing multi-instance script would be good.
The existing multi-instance support is crap and it needs to be redone entirely. It creates a mess and way to many installed files that are not under the control of portage. Including the all important init script. Such that updates to the init file never effect the system as its only installed by the instance manger not by portage. Needs to be completely redone. Till that happens I do not see systemd support being feasible. Even once the instance manager is redone, there is a lack of man power, and not sure many are running systemd that are familiar with Tomcat. I used to maintain Tomcat and do not use systemd and will hopefully never.
Created attachment 429386 [details, diff]
patch against the recent tomcat repository
This patch is my (working) suggestion to support systemd. It contains sligtly modified ebuilds, two new files, a systemd unit file and a helper script installed in /usr/bin to start a tomcat instance. This script is based on the init.d script and supports the environment variables under /etc/conf.d/tomcat*. Last but not least there is an new modified tomcat-instance-manager script.
I added systemd with proper (imho, RHEL like) multi instance support to vortex overlay.
I will create PR at github after more tests