tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phife757 <matthewrren...@gmail.com>
Subject Jakarta request taglib
Date Thu, 31 Jan 2008 14:12:29 GMT

Hey,

I'm porting my application from a custom jsp based security, to the build-in
Glassfish V2 application server based security.    I am building it on
Netbeans 6.0 on Windows with JDK 6.0.  Now the problem I am having happens
when I add the request tag "isUserInRole" from the jakarta taglibs project. 
When I build and run the program on Glassfish, I receive the following error
when I navigate to a page that contains my request tag "<req:isUserInRole
role="ADMIN">:

...

EJBClassLoader : 
urlSet = []
doneCalled = false 
 Parent -> java.net.URLClassLoader@153b2cb
  Loading class from local repository
*** InstanceEvent: afterService
*** InstanceEvent: afterFilter
StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw
exception
java.lang.AbstractMethodError:
org.apache.crimson.tree.XmlDocument.setDocumentURI(Ljava/lang/String;)V
        at
org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:226)
        at
org.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:291)
        at
org.apache.jasper.compiler.TldLocationsCache.getUriFromTld(TldLocationsCache.java:562)
        at
org.apache.jasper.compiler.TldLocationsCache.scanJar(TldLocationsCache.java:449)
        at
org.apache.jasper.compiler.TldLocationsCache.scanJars(TldLocationsCache.java:626)
        at
org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:315)
        at
org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:272)
        at
org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:556)
        at
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:480)
        at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:562)
        at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1626)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:165)
        at
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:223)
        at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:140)
        at
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:374)
        at
org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:411)
        at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:554)
        at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1626)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:165)
        at
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:223)
        at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:140)
        at
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:374)
        at
org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:411)
        at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:554)
        at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1626)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:165)
        at
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:223)
        at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:124)
        at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:184)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:409)
        at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
        at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
        at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
        at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
        at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
        at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
        at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
        at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
        at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
        at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Got encoding: ISO-8859-1
realWrite(b, 0, 1530) org.apache.coyote.Response@1c02db5

...

Has anyone encountered this problem or have any idea why there is a problem?

-Matt
-- 
View this message in context: http://www.nabble.com/Jakarta-request-taglib-tp15205595p15205595.html
Sent from the Taglibs - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message