aspose file tools*
The moose likes JBoss/WildFly and the fly likes Tld not found in jboss 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Tld not found in jboss 6" Watch "Tld not found in jboss 6" New topic
Author

Tld not found in jboss 6

barbar beb
Greenhorn

Joined: Apr 01, 2011
Posts: 2
Hi, I had an application working perfectly in jboss 5. But in jboss 6 i encountered errors. I changed my spring libraries into newest spring libraries online, it fixed some issues. However, now I have problem with tld's not found.



In JbOSS 5 I didnt have this issue, I wrote tld folder in same level of web-inf, not inside it. When I reference it on top of jsp page , it finds it in JBOSS 5 ( <%@ taglib uri="/tld/CustomSprinSecTags.tld" prefix="sec" %> ) . However in Jboss 6, page crashes when i open it, saying tld not found.



When I changed this <%@ taglib uri="/tld/CustomSprinSecTags.tld" prefix="sec" %> into <%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %> the page worked again. How can I solve this issue, and make tld's be found.


this solution didnt help my case

<bean name="TldParsingDeployer" class="org.jboss.deployment.TldParsingDeployer">
<property name="relativeOrder">2002</property>
<property name="useSchemaValidation">false</property>
</bean>


why isnt it finidng the tld that I have written in jboss 6?
barbar beb
Greenhorn

Joined: Apr 01, 2011
Posts: 2
2011-04-01 10:07:58,468 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/newApplication].[jsp]] (http-127.0.0.1-8080-1) Servlet.service() for servlet jsp threw exception: org.apache.jasper.JasperException: File "/tld/CustomSprinSecTags.tld" not found
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51) [:6.0.0.Final]
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409) [:6.0.0.Final]
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116) [:6.0.0.Final]
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:177) [:6.0.0.Final]
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:386) [:6.0.0.Final]
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:448) [:6.0.0.Final]
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1398) [:6.0.0.Final]
at org.apache.jasper.compiler.Parser.parse(Parser.java:130) [:6.0.0.Final]
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255) [:6.0.0.Final]
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103) [:6.0.0.Final]
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:196) [:6.0.0.Final]
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:358) [:6.0.0.Final]
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:338) [:6.0.0.Final]
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:325) [:6.0.0.Final]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tld not found in jboss 6
 
Similar Threads
Issue when deploying Struts app that runs on weblogic 8.1 to weblogic 11g
include taglibs problem
No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or
"WEB-INF/lib/struts-html.tld" not Found
html:checkbox disable property