An Exception Occurred

Message: "Could not open file"

Exception type: java.io.FileNotFoundException

Stack Trace:

  java.io.FileNotFoundException: /usr/share/tomcat/conf/ajp12.id (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:134)
        at java.io.FileWriter.<init>(FileWriter.java:73)
        at org.apache.tomcat.modules.server.Ajp12Interceptor.engineState(Unknown Source)
        at org.apache.tomcat.core.ContextManager.setState(Unknown Source)
        at org.apache.tomcat.core.ContextManager.start(Unknown Source)
        at org.apache.tomcat.startup.EmbededTomcat.start(Unknown Source)
        at org.apache.tomcat.startup.EmbededTomcat.execute1(Unknown Source)
        at org.apache.tomcat.startup.EmbededTomcat$1.run(Unknown Source)
        at org.apache.tomcat.util.compat.Jdk12Support$PrivilegedProxy.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.tomcat.util.compat.Jdk12Support.doPrivileged(Unknown Source)
        at org.apache.tomcat.startup.EmbededTomcat.execute(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:327)
        at org.apache.tomcat.util.IntrospectionUtils.execute(Unknown Source)
        at org.apache.tomcat.startup.Main.execute(Unknown Source)
        at org.apache.tomcat.startup.Main.main(Unknown Source)