[jboss-user] [JBoss Cache] - Deployment Error / Caching issue

Akhtar Bhat do-not-reply at jboss.com
Fri Aug 24 00:41:38 EDT 2012


Akhtar Bhat [https://community.jboss.org/people/akhtarbhat] created the discussion

"Deployment Error / Caching issue"

To view the discussion, visit: https://community.jboss.org/message/755622#755622

--------------------------------------------------------------
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
[https://community.jboss.org/message/755622#755622]

Start a new discussion in JBoss Cache at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120824/e24da51a/attachment.html 


More information about the jboss-user mailing list