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
[target=[com.lehman.corpsec.web.UpdateDailyCheckoutStatusXMLServlet@15
0b 99d, com.opensymphony.xwork2.DefaultTextProvider@162ac83],
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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...