Sunday, November 13, 2011

Managing Apex Listener on Apache Tomcat

On my previous post I have blogged about installing Apex Listener on Apache Tomcat. In this post I will cover, creating Admin user for Apex Listener and managing it.


Open up "tomcat-users.xml" file present in the <Tomcat Home>/conf location.
Add the following lines of code under tomcat-users element.

 <role rolename="Manager"/>
 <role rolename="Admin"/>
 <role rolename="manager-status"/>
 <role rolename="manager-gui"/>
 <role rolename="manager-script"/>
 <role rolename="manager-jmx"/>
 <user username="apexStatus" password="apex Status Password goes here" roles="Manager"/>
 <user username="apexAdmin"  password="apex Admin Password goes here" roles="Admin,manager-status,manager-gui,manager-script,manager-jmx"/>

Restart Tomcat and now you can access Apex Listener using


You can as well access administer Tomcat using the same password and following URL

Perhaps you can use the same to deploy war files

Note: You must access Tomcat directly to gain access. If you are trying to access Tomcat through Reverse Proxy server like ISA or if you have internet facing Apache infront of Tomcat, you will not be able to gain access to Admin module. I learned it in a hard way.

I will blog about connecting to multiple Databases from single Apex Listener seperately.

No comments:

Post a Comment