Hi,

I'm trying to deploy Struts 2 on JBoss but I would like to keep the struts2 jar 
inside the server lib directory instead of WEB-INF/lib so that many apps can 
share it . . . 
When I do this, the struts2 JAR's classes are loaded and my application deploys 
successfully. The action servlet is called and runs successfully and forwards 
to a JSP. However, the JSP cannot be loaded because the struts TLD file cannot 
be found (see log below). The struts TLD is in the Struts 2 Core jar. How can I 
have my app search in the JAR for the TLD?

Thanks in Advance,

Dave

LOG:
> ....
> 2008-06-23 17:12:49,085 DEBUG
> [com.opensymphony.xwork2.util.InstantiatingNullHandler] Entering 
> nullPropertyValue 
>[EMAIL PROTECTED]
> 0b 99d, [EMAIL PROTECTED], 
> property=org]
> 2008-06-23 17:12:49,280 DEBUG
> [org.jboss.web.tomcat.service.jasper.TagLibCache] Scanning for tlds in:
> file:/home/nycco2q/jboss/eap4.2/deploy/jboss-web.deployer/jsf-libs/jsf
> -i
> mpl.jar
> 2008-06-23 17:12:49,420 DEBUG
> [org.jboss.web.tomcat.service.jasper.TagLibCache] Scanning for tlds in:
> file:/home/nycco2q/jboss/eap4.2/deploy/jboss-web.deployer/jstl.jar
> 2008-06-23 17:12:49,513 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/CO2/
> Da ilyCheckout].[jsp]] Servlet.service() for servlet jsp threw 
> exception
> org.apache.jasper.JasperException: File "/struts-tags" not found
>        at
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHa
> nd
> ler.java:51)
> ....


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160274#4160274

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160274
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to