0 Replies Latest reply on Aug 24, 2012 12:41 AM by Aki Bhat

    Deployment Error / Caching issue

    Aki Bhat Newbie

      I have deployed 2 applications in Jboss 5.1 instance. One is Struts custom application and the other one is not.


      Scenario :


      After restarting of Jboss JVM, If I am accessing Struts application first and then other application I get the following error :


      ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]........

      Servlet.service() for servlet jsp threw exception java.lang.ClassNotFoundException: org.apache.struts2.views.jsp.ActionTag


      And If I access the other app first and then the Struts application, it works fine with no error.

      Both the applications have welcome.jsp as start up page.


      How JBOSS caches pages in this scenario and why it is cross referencing the start pages as the application context is different for both the applications?

      Also If I keep the start up page name different for both the applications then it throws no error.


      Please Advise !