I am trying to set up a new maven repository server (Artifactory). The repository server is deployed as a .war-file in a Tomcat instance running under Apache.
In order to reach the applications running in Tomcat, we have set up a virtualhost. For Tomcat the config is like this:
In order to make setup of pom.xml/settings.xml easier I would like to set up a virtual host for my maven repository server as well. Artifactory suggest something like this:
Due to some weird conflict, we are already running two instances of tomcat. Since the AJP port is not always bound to the same tomcatserver, I cannot be certain that port 8009 goes to the correct
tomcat instance, i.e. 8009 might already be bound when my relevant tomcatserver is started.
We are also running tomcat using the https protocol.
Do any of you have any suggestions of how to set up the virtual server?
Question 2 (just in case I am not doing this correct):
What is the difference between:
/sbin/service httpd reload
The idea is to just reread the config file(s).