JBoss Community

Deployment Error / Caching issue

created by Akhtar Bhat in JBoss Cache - View the full discussion

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 !

 

Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community