Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for multiple tomcat instances with same user #326

Closed
ressl opened this issue Jun 30, 2018 · 2 comments
Closed

add support for multiple tomcat instances with same user #326

ressl opened this issue Jun 30, 2018 · 2 comments

Comments

@ressl
Copy link
Contributor

ressl commented Jun 30, 2018

Cookbook version

v3.0.0

Chef-client version

14.2.0

Platform Details

ubuntu debian redhat centos suse opensuse opensuseleap scientific oracle amazon zlinux

Scenario:

It should be possible to have multiple tomcat instances on the same node, which running under the same user. The init script should be able to handle this, because you like to start, stop, restart or look for the status of the instance.

Steps to Reproduce:

Create two or more tomcat instances, which run under the same user. The old style will give you all pids:

Expected Result:

The problem should be solved, if the script checks the install path of the running instance.

Actual Result:

The problem is to receive two pid's under CentOS release 6.9 (Final):

[root@tomcat ~]# /etc/init.d/tomcat_example2 status
tomcat_example2 (pid 5513,7619) is running...              [  OK  ]
[root@tomcat ~]# /usr/bin/pgrep -d , -u tomcat -G tomcat java
5513,7619
@rediculum
Copy link

Hi

How is the status of this pull request? This is a serious bug for SystemV distros and having multple instances running

@xorima
Copy link
Contributor

xorima commented May 5, 2020

Hi,

Sous-Chefs have just taken over this cookbook and are currently baselining issues, if you think this issue is still relevant please re-open it

Thanks!

@xorima xorima closed this as completed May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants