• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

Tld not found in jboss 6

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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]
 
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?
The new gardening playing cards kickstarter is now live!
https://www.kickstarter.com/projects/paulwheaton/garden-cards
reply
    Bookmark Topic Watch Topic
  • New Topic