Uploaded image for project: 'JBoss Enterprise Web Server'
  1. JBoss Enterprise Web Server
  2. JBEWS-290

EWS: tomcat5 cannot start with security manager enabled

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EWS 1.0.2
    • Fix Version/s: EWS 2.0.0
    • Labels:
      None
    • Environment:

      RHEL6 - zip distribution

    • Steps to Reproduce:
      Hide

      1. $EWS_HOME/tomcat5/bin/startup.sh -security
      2. see the log file

      Show
      1. $EWS_HOME/tomcat5/bin/startup.sh -security 2. see the log file

      Description

      starting tomcat5 using security manager fails with following excaption:
      INFO: XML validation disabled
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      Caused by: org.apache.commons.logging.LogConfigurationException: java.security.AccessControlException: access denied (java.util.logging.LoggingPermission control) (Caused by java.security.AccessControlException: access denied (java.util.logging.LoggingPermission control))
      at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:630)
      at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
      at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:704)
      at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:381)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:998)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      ... 6 more
      Caused by: java.security.AccessControlException: access denied (java.util.logging.LoggingPermission control)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
      at java.security.AccessController.checkPermission(AccessController.java:546)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
      at java.util.logging.LogManager.checkAccess(LogManager.java:930)
      at java.util.logging.Logger.checkAccess(Logger.java:255)
      at java.util.logging.Logger.setUseParentHandlers(Logger.java:1239)
      at org.apache.juli.ClassLoaderLogManager.addLogger(ClassLoaderLogManager.java:132)
      at java.util.logging.LogManager.demandLogger(LogManager.java:391)
      at java.util.logging.Logger.getLogger(Logger.java:288)
      at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:181)
      at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:61)
      at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:608)
      ... 16 more

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  permaine Permaine Cheung
                  Reporter:
                  pskopek Peter Škopek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: