The World’s Largest Online Community for Developers

'; java - Apache load balancer data syncing across multiple applications - LavOzs.Com

I have a setup where two instances of same application deployed behind a load balancer and both of the applications are talking to the same database.

The issue I'm having is that when data inserted into the database via one of the application, the very same data is not accessible/visible to the other application.

These two applications have exactly same configuration in terms of database abstraction framework, spring framework, etc. In addition, these two applications run on different tomcat servers on different physical servers.

What could be the cause to the issue?

Under what conditions is a JSESSIONID created?
Dealing with “Xerces hell” in Java/Maven?
Tomcat responding success to load balancer port check before war files deployed
How to sync Ehcache data between spring web application running among different tomcat instances?
Apache mod_jk load balancing issue