You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by BJ Selman <bj...@travelhost.com> on 2009/04/08 23:54:51 UTC

Odd Tomcat setup - graphics not displaying

We've got two identical tomcat servers load balanced with apache as frontend.  Our site has a private side where users can log in.  Once you've logged in, there is a link to a forum.  The forum ONLY resides on server1 at /tomcat/webapps/forum (on server2 there is NO /tomcat/webapps/forum and so any links in the code explicitly refer to the IP of server1).  Our main site is at /tomcat/webapps/thr4, so obviously the forum folder is outside the parent dir.  The problem happens when tomcat2 (server2) serves a session... then the forum is very unpredictable and inconsistent on whether or not it will display static graphic files.  When you hit refresh, some graphics display while others go away.... keep hitting refresh and its a different result every time.... maybe every blue moon, ALL graphics will display.  If a session is threaded on tomcat1 (server1), there's not a problem.



I'm an apache & tomcat newbie.  My IT dept (of 2 people) was asked to make our web server lb'd and replicated between two servers and we are not web devs/admins so I'm unsure what exactly is causing and what to do... I don't like the fact that the webapps dir structure is not the same on both servers, but as its only a forum, it doesn't need to replicate I don't guess? (I'm not in charge of where webapp folders go and the person who is isn't a web admin either).  Any suggestions?  Can post config files if need be...



Thanks so much!

BJ