Hi,

I'm running tomcat 5.5.25 under ubuntu. However with the default setup i get 
the following exeception when a try to use my webapp:

org.apache.jasper.JasperException: The absolute uri: 
http://struts.apache.org/tags-html cannot be resolved in either web.xml or the 
jar files deployed with this application
        
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
        
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
        
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
        
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:317)
        
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148)
        org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:424)
        org.apache.jasper.compiler.Parser.parseDirective(Parser.java:493)
        org.apache.jasper.compiler.Parser.parseElements(Parser.java:1557)
        org.apache.jasper.compiler.Parser.parse(Parser.java:127)
        
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:212)
        
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
        
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:597)
        org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
        
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)

The I've tried to grant all rights to my webapp with:

grant codeBase "file:${catalina.base}/webapps/myapp/-" {
  permission java.security.AllPermission;
};

and everything works fine. Is there anybody that can give me some
hints about how this problem should be handled? I'm sure that give 
full rights to the webapp is not the best solutions.

Thanks
Roberto

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to