Reference: https://forums.oracle.com/forums/thread.jspa?threadID=2174509&start=15&tstart=0
Open up "tomcat-users.xml" file present in the <Tomcat Home>/conf location.
Add the following lines of code under tomcat-users element.
<tomcat-users>
<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"/>
</tomcat-users>
Restart Tomcat and now you can access Apex Listener using
http://localhost:8080/apex/listenerAdmin
You can as well access administer Tomcat using the same password and following URL
http://localhost:8080/manager/
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