dev@glassfish.java.net

Re: Problems running trunk on Glassfish

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Wed, 18 Oct 2006 21:29:44 -0700

Hi Henry,

Henry Story wrote On 10/18/06 11:03,:

> Hi,
>
> I am trying to run last week's trunk of roller (Revision: 453532) on
> Glassfish Edition 9.1 (build b19) following approximately Amy Roh's
> guidelines [1]. Everything works up to the point of deployment at
> which point I get the following error message:
>
> [[
> HTTP Status 500 -
>
> type Exception report
>
> message
>
> descriptionThe server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> org.apache.jasper.JasperException: /index.jsp(34,0) /taglibs.jsp
> (27,69) PWC6188: The absolute uri: http://www.rollerweblogger.org/
> tags cannot be resolved in either web.xml or the jar files deployed
> with this application
> ]]
>
>
>
> The log message is
>
>
>
> [[
>
> PWC1406: Servlet.service() for servlet jsp threw exception
> org.apache.jasper.JasperException: /index.jsp(34,0) /taglibs.jsp
> (27,69) PWC6188: The absolute uri: http://www.rollerweblogger.org/
> tags cannot be resolved in either web.xml or the jar files deployed
> with this application


Hmm, this is weird.

The taglib with this URI:

  "http://www.rollerweblogger.org/tags"

is defined in rollerweb.jar's META-INF/tlds/roller.tld, and
rollerweb.jar is bundled
in roller.war's WEB-INF/lib, so the taglib really should be found.

I'm wondering why the exception message has a space in front of "tags" in

  "http://www.rollerweblogger.org/ tags",

when the taglib's URI as defined in the TLD does not have any such space:

  "http://www.rollerweblogger.org/tags"

This mismatch in the imported and declared URIs could explain why the taglib
is not found.

Do you see any other exceptions in the server.log?


Jan

> at org.apache.jasper.compiler.DefaultErrorHandler.jspError
> (DefaultErrorHandler.java:49)
> at org.apache.jasper.compiler.ErrorDispatcher.dispatch
> (ErrorDispatcher.java:441)
> at org.apache.jasper.compiler.ErrorDispatcher.jspError
> (ErrorDispatcher.java:101)
> at org.apache.jasper.compiler.Parser.processIncludeDirective
> (Parser.java:367)
> at org.apache.jasper.compiler.Parser.parseIncludeDirective
> (Parser.java:400)
> at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:538)
> at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1612)
> at org.apache.jasper.compiler.Parser.parse(Parser.java:154)
> at org.apache.jasper.compiler.ParserController.doParse
> (ParserController.java:21
> ]]
>
> I was able to deploy on Tomcat.
> I am new to deploying on Glassfish, so it is quite likely that I have
> made a mistake. Any ideas?
>
> Henry
>
>
> [1] http://weblogs.java.net/blog/amyroh/archive/2006/02/
> roller_21_on_gl_1.html
>
>
>
> Home page: http://bblfish.net/
> Sun Blog: http://blogs.sun.com/bblfish/
> Foaf name: http://bblfish.net/people/henry/card#me
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>