JBoss Community

Re: Classloading for a Tomcat war under Jboss 5.1

created by spulci in JBoss Microcontainer - View the full discussion

Thanks, btw I tried to remove hibernate-validator.jar from common/lib to see my app correctly deployed...at least it starts but there's one more issue. My Jboss distribution is bundled inside Liferay CMS; I can't touch common/lib anymore and my web app is using Struts 1.3. Integrating into a liferay portlet Struts is no more recognized obtaining a 500 error and this stack trace:

 

[code]

javax.servlet.ServletException: Cannot find catalog 'struts'

org.apache.struts.chain.ComposableRequestProcessor.init(ComposableRequestProcessor.java:161)

org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.java:620)

org.apache.struts.action.ActionServlet.process(ActionServlet.java:1910)

org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)

javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

[/code]

 

I suspect for this error I should check liferay community even if I'm using the classloading descriptor above to give precedence to my web-inf/lib.

 

It's a real nightmare!

 

Thanks for your help

 

Simon

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community