Tomcat and Apache Web Server Integration with mod_proxy connector

Use case: I have only one public IP assigned to my hosting/private cloud, and I want to host multiple websites on a single machine. Scenario as given below. Site can be simple html or php or JSP/Servlet (Java). Prerequisites: Java, Tomcat, Apache, PHP installed. Steps to integrate Tomcat and Apache: Enable mod_proxy, mod_proxy_http, mod_proxy_ajp Configure virtual […]
Continue reading…

 

How to increase connection pool size in JBoss?

You can increase the connection pool size in JBoss application server in simple three steps. 1. Figure out the datasource.xml from JBOSS_HOME/SERVER_INSTANCE/deploy. In case of Oracle the file will be named as oracle-ds.xml. 2. Add below given tags into the xxxx-ds.xml file. 3. Restart the JBoss application server. You can verify the pool size in […]
Continue reading…

 

How to print the JBoss JNDI tree?

Even though JBoss comes with JMX console which gives you the graphical view of JNDI tree sometime you might need to print the JNDI tree to look at the absolute path of your boud resources. Here is an example program that can be used to print JBoss JNDI tree.

Continue reading…