Hi, I am using tomcat 6.0.18. I am running a multi process environment, where the client and server processes communicate through ActiveMQ.
Client is on top of tomcat 6.0.18, server is on top of Spring 2.5.6. I am using 2 web application contexts in tomcat. I am implementing on the client side a callback method for the AMQ. Some times after restart, I see that when entering onMessage, The Thread.currentThread.getContextLoader() shows a wrong class loader, that of the other web context. This causes many problem. For some reason the current thread class loader is mixed from a different web application. If I create a new object the right class loader is used but if I check the class loader of the thread it is a different class loader. Any ideas what this means? What should be done? Thanks, Michal Singer Expand Networks 6 Hanechoshet Street Tel Aviv, Israel 69710 Voice: +972.3.766.8039 E-mail: michal.sin...@expand.com<mailto:michal.sin...@expand.com> Expand View www.expand.com<http://www.expand.com/>