The objective of this blog is to start multiple apex application in a single instance. While doing so, we get an issue in apex applications.

 

Issue:

We have about three apex application running in same instance. If we try to startup one apex application the other one automatically went down or we were unable to start the application. But the apache tomcat services of those apex applications are gets started and running.

 

 

Cause:

All the applications are using same server port. In order to use multiple apex application at the same time, the server port and connector port must be different.

 

 

Solution:

Edit the server.xml file in tomcat folder, change the server port and connector port of tomcat service so that it may not conflict with other running tomcat services.

 

[oradb@apps conf]$ cat server.xml | grep -i port

<Server port=”8005″ shutdown=”SHUTDOWN”>

Define a non-SSL/TLS HTTP/1.1 Connector on port 8080

<Connector port=”8084″ protocol=”HTTP/1.1″

redirectPort=”8443″ />

port=”8080″ protocol=”HTTP/1.1″

redirectPort=”8443″ />

<!– Define an SSL/TLS HTTP/1.1 Connector on port 8443

<Connector port=”8443″ protocol=”org.apache.coyote.http11.Http11NioProtocol”

<!– Define an SSL/TLS HTTP/1.1 Connector on port 8443 with HTTP/2

<Connector port=”8443″ protocol=”org.apache.coyote.http11.Http11AprProtocol”

<!– Define an AJP 1.3 Connector on port 8009 –>

<Connector port=”8009″ protocol=”AJP/1.3″ redirectPort=”8443″ />

<!– You should set jvmRoute to support load-balancing via AJP ie :

 

 

After changing the server and connector port. Now we are able to start multiple Apex application services running at same time in a single instance.

 

Here In our case we have already changed the connector port (8084). So we have only changed the server port to (8006).

 

 

[oradb@apps conf]$ cat server.xml | grep -i port

<Server port=”8006″ shutdown=”SHUTDOWN”>

Define a non-SSL/TLS HTTP/1.1 Connector on port 8080

<Connector port=”8084″ protocol=”HTTP/1.1″

redirectPort=”8443″ />

port=”8080″ protocol=”HTTP/1.1″

redirectPort=”8443″ />

<!– Define an SSL/TLS HTTP/1.1 Connector on port 8443

<Connector port=”8443″ protocol=”org.apache.coyote.http11.Http11NioProtocol”

<!– Define an SSL/TLS HTTP/1.1 Connector on port 8443 with HTTP/2

<Connector port=”8443″ protocol=”org.apache.coyote.http11.Http11AprProtocol”

<!– Define an AJP 1.3 Connector on port 8009 –>

<Connector port=”8009″ protocol=”AJP/1.3″ redirectPort=”8443″ />

<!– You should set jvmRoute to support load-balancing via AJP ie :

 

 

 

Recent Posts

Start typing and press Enter to search