Comments (13)
Hi,
systemd support right now is bad. This one tries to install a SysV script which is bad on EL7. Running tomcat with systemd requires jsvc, ... A lot of stuff which is currently not implemented, but we are working on it. Stay tuned.
from ansible-tomcat.
I have started EL7 support on my side. But first time playing with Ansible, if you have time to check modification I have committed on https://github.com/kakawait/ansible-tomcat/tree/el7-support (https://github.com/kakawait/ansible-tomcat/commit/1fd785abaed9e77107940143472d2a23179526cb).
If it is not so bad I can create a PR.
from ansible-tomcat.
I'd greatly appreciate PR on systemd support, especially for jsvc with ansible_os_family == RedHat.
from ansible-tomcat.
Ok I will run integration tests before PR (just tested manually atm)... Coming soon :)
from ansible-tomcat.
Any reason to use JSVC over systemd directly to manage tomcat lifecycle?
from ansible-tomcat.
Not an expert on that matter. From my understanding it's best to hand control over the processes to systemd completely, which is fine with jsvc. Wrapper like tanuki which in turn is managed with a shell script is not an option for systemd as systemd does not support running services without binaries. So either way it would be required to "wrap" tanuki binary or use jsvc.
Archlinux community suggests jsvc for java applications with systemd. Mostly these guys know what they are talking about. Long story short: I need to dive deeper into this.
Priority for now is
- several fixes with local download and upload of redistributables
- support for tomcat 8
- fix systemd support.
from ansible-tomcat.
Ok no probs. I'm neither ops or devops, I'm just a developer so I used to take the shortest way (avoiding security or other aspect hihi).
Actually my fork works goods with jsvc on Centos7 but I will take much time to improve logging:
- Jsvc is dumping tomcat log in
-errfile
instead of-outfile
even there is no error (o.O). - I didn't find a way to create a
catalina.out
perCATALINA_BASE
with correct owner (tomcat
user)
from ansible-tomcat.
Thanks for all the hints. I'll take all of them into account when I start on systemd/jsvc/wrapper stuff. I'll keep you updated.
from ansible-tomcat.
Some information about systemd vs jsvc (in case): http://stackoverflow.com/questions/28894008/what-benefit-do-i-get-from-jsvc-over-just-using-systemd
Otherwise thanks for quick support (and your ansible playbooks are really great, I have to change my old java playbook to yours ^^)
from ansible-tomcat.
Todos marked earlier are all implemented now. I'll have to wait for internal PR before releasing to general public. Stay tuned.
from ansible-tomcat.
Hi, have a look at feature/fix-systemd-instance-management branch. This will be the next release with fixes for all issues
from ansible-tomcat.
Nice I will check that at the end of week.
from ansible-tomcat.
Implemented/fixed with current release.
from ansible-tomcat.
Related Issues (20)
- Vanilla install fails HOT 2
- Sysvinit process owner HOT 6
- Allow facts.j2 override HOT 2
- Missing folders on catalina instance HOT 1
- authbind? HOT 3
- wrong permissions for conf HOT 4
- Default role does not seem to work with Ansible 2. HOT 3
- Push new versions to Ansible Galaxy HOT 5
- Hangs at TASK [groover.tomcat : include]
- how to find the webapp path?
- [Question] Option for changes, but not install
- Tomcat 8.5.x support HOT 1
- CATALINA_OPTS not supported in systemd
- Detect tomcat version upgrade error HOT 2
- CATALINA_BASE vs CATALINA_HOME
- "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'general'" HOT 2
- Commit PR #31
- Error While using in ansible 2.4.1.0 HOT 1
- task syntax error with tomcat 8.5
- silpion.tomcat was not found on https://galaxy.ansible.com
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-tomcat.