Terrence,

On 9/20/2021 11:49 AM, Terrence Rideau wrote:
I have a new Linux install of Apache Tomcat/9.0.52.   When I start Tomcat using 
"/bin/systemctl start tomcat" it starts with 2 Tomcat services.

My webapp runs but I have a issue importing and the application support team 
thinks it is related to my having 2 Tomcat Services.

How do I remove the 2nd Tomcat service or is this normal?

Terrence

I think that we'll need a lot more information before we can be helpful.

Things like:

1. What platform?
2. How did you install Tomcat?
3. How did you enable Tomcat with systemd / systemctl?
4. What's the content of /etc/systemd/system/multi-user.target.wants?

If this is a custom systemd script, then maybe post that with all secrets (passwords, etc.) replaced.

I have two types of systems that use systemd - CentOS 7 and Ubuntu 20.04. I wrote my own systemctl script and installed Tomcat from tomcat.apache.org using the tar.gz file.

My script is sort of hackish, so I'm not really keen to share it. It's also different between CentOS 7 and Ubuntu due to the way positional parameters seem to be handled in Ubuntu vs. CentOS 7.

Or maybe it's my lack of understanding concerning systemd (more likely).

Anyway, start with that set of questions, and hopefully someone will be able to help out.

. . . just my two cents
/mde/

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to