-
1. Re: Error: Unable to initialize TldLocationsCache
inkimar Nov 6, 2006 5:09 AM (in response to inkimar)-using Apache Ant version 1.6.5 to compile
-
2. Re: Error: Unable to initialize TldLocationsCache
khanrahan1 Nov 7, 2006 6:04 PM (in response to inkimar)I was having this same issue until I discovered that one of my third party jars was corrupt. When I would make a request that included a custom tag in the response (the first time the custom tag was accessed) all of my jars were being searched/scanned until the tag library was found.
Once I fixed the corrupt jar, this issue went away. I tested all of my jars, by trying to unjar them, via jar xvf *
I hope this helps. -
3. Re: Error: Unable to initialize TldLocationsCache
cl20008jboss Oct 15, 2008 4:19 PM (in response to inkimar)khanrahan I was having this same issue until I discovered that one of my third party jars was corrupt. When I would make a request that included a custom tag in the response (the first time the custom tag was accessed) all of my jars were being searched/scanned until the tag library was found.
khanrahan - your post was EXACTLY what I needed to fix this problem that plagued me. I did a jar xvf commons-collections-3.2.jar and it revealed an error with that jar that somehow crept in.
THANK YOU from MN! -
4. Re: Error: Unable to initialize TldLocationsCache
sourabh11 Dec 9, 2008 5:58 AM (in response to inkimar)hi...............
i am also getting same problem......i am using jboss-4.0.3SP1
error:-
org.apache.jasper.JasperException: /index.jsp(1,1) Unable to initialize TldLocationsCache: XML parsing error on file /WEB-INF/tld/c.tld: (line 2, col 1)
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:86)
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:339)
org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:372)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:475)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
can any one help