tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David L. Wasler" <dwas...@yahoo.com>
Subject access denied (java.lang.RuntimePermission error message
Date Fri, 11 Apr 2003 01:08:33 GMT
Hi All:

Once again thank you for get support.

I trying to use Catilina.policy in my startup script.

I added the following info to my startup script.

-Djava.security.manager
Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy

Should I removed -Djava.security.manager I note to
sure. 


I get the following error.

java.security.AccessControlException: access denied
(java.lang.RuntimePermission
accessClassInPackage.org.apache.jasper.resources)
        at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:267)
        at
java.security.AccessController.checkPermission(AccessController.java:394)
        at
java.lang.SecurityManager.checkPermission(SecurityManager.java:540)
        at
java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1496)
        at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:1056)
        at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:992)
        at
java.util.ResourceBundle.loadBundle(ResourceBundle.java:905)
        at
java.util.ResourceBundle.findBundle(ResourceBundle.java:786)
        at
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:616)
        at
java.util.ResourceBundle.getBundle(ResourceBundle.java:541)
        at
org.apache.jasper.Constants.initResources(Constants.java:215)
        at
org.apache.jasper.Constants.getString(Constants.java:235)
        at
org.apache.jasper.parser.MyEntityResolver.resolveEntity(ParserUtils.java:413)
        at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:755)
        at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubset(DefaultEntityHandler.java:571)
        at
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1139)
        at
org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2145)
        at
org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2100)
        at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:831)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
        at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:195)
        at
javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:122)
        at
org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:201)
        at
org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:165)
        at
org.apache.jasper.compiler.TldLocationsCache.<init>(TldLocationsCache.java:138)
        at
org.apache.jasper.EmbededServletOptions.<init>(EmbededServletOptions.java:350)
        at
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:918)
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3279)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
        at
org.apache.catalina.startup.Catalina.start(Catalina.java:781)
        at
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native
Method)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

Thank You
David l.wasler
dwasler@yahoo.com


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

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


Mime
View raw message