ARGH! I’d love some help on this one.
As far as I know I haven’t changed anything in my webapp or in my JBoss config. When I start JBoss my log looks good. When I open my broser I get the following error message:
HTTP Status 500
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Mandatory TLD element missing or empty: jsp-version
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:118)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:283)
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:162)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:470)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 logs.
The same error is in my server.log starting with the message:
11:40:12,375 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception…
Any ideas would be much appreciated….
Looks like one of your TLD descriptors needs a tag.
Email me if you still have problems
Google gives me the answer:
http://jboss.org/index.html?module=bb&op=viewtopic&p=3889809
HTH,
-Frank
Frank….
Thanks for the tip, but I don’t have j2ee.jar in my war file.
Erik@WeibustLaptop ~/c/jbossdev/server/default/deploy/webreportal.war/WEB-INF/lib $ ls -m
commons-beanutils.jar*, commons-collections.jar*, commons-dbcp.jar*,
commons-digester.jar*, commons-fileupload.jar*, commons-httpclient-2.0.jar*,
commons-lang.jar*, commons-logging-api.jar*, commons-logging.jar*,
commons-net.jar*, commons-pool.jar*, commons-validator.jar*, crimson.jar*,
dragonflysc.jar*, dsc-dfl.jar*, jakarta-oro.jar*, jaxp.jar*, jsp-api.jar*,
jstl.jar*, junit.jar*, log4j.jar*, poi-contrib.jar*, poi.jar*, standard.jar*,
struts.jar*, tiles.jar*
Any other ideas?
Dan…
Thanks for the tip. I’m checking my tlds right now. Any idea why this problem would show up out of the blue?
Erik
hmmmmm………
I would try working down these links (sorry for the url!)
http://www.google.com/search?q=org.apache.jasper.JasperException%3A+Mandatory+TLD+element+missing+or+empty%3A+jsp-version&sourceid=mozilla&start=0&start=0&ie=utf-8&oe=utf-8
It seems that a lot of people had similar problems, I am sure one will provide a solution for you. You may want to start making your search more specific (i.e. add JBoss to the terms)
Good luck!
-Frank