Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1379412

Summary: tomcat6 is not starting when using security manager on IBM JDK6
Product: Red Hat Enterprise Linux 6 Reporter: Jan Onderka <jonderka>
Component: tomcat6Assignee: Coty Sutherland <csutherl>
Status: CLOSED WONTFIX QA Contact: tomcat-qe
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.8CC: snagar
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: tomcat6 is not starting when using security manager on IBM JDK6
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: JBEWS-90 Environment:
RHEL 6.8 java-1.6.0-ibm
Last Closed: 2016-11-01 18:53:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Onderka 2016-09-26 15:49:37 UTC
Description of problem:
tomcat6 is not starting when using security manager on IBM JDK6 with 

How reproducible:
set at tomcat6.conf: SECURITY_MANAGER="true"
add to catalina.polisy:
// ========== SYSTEM CODE PERMISSIONS =========================================
grant codeBase "file:${catalina.home}/webapps/examples/-" {
  permission "java.lang.RuntimePermission" "accessClassInPackage.org.apache.catalina";
  permission "java.lang.RuntimePermission" "accessClassInPackage.org.apache.catalina.*";
};

and try to start tomcat6 service

Actual results:
service tomcat6 status
PID file exists, but process is not running                [FAILED]

catalina.out:
Exception in thread "main" java.lang.ExceptionInInitializerError
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:221)
        at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:171)
        at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:243)
        at org.apache.juli.logging.LogFactory.getLog(LogFactory.java:298)
        at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:55)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:199)
Caused by: java.security.AccessControlException: Access denied (java.util.PropertyPermission java.util.logging.config.class read)
        at java.security.AccessController.throwACE(AccessController.java:121)
        at java.security.AccessController.checkPermission(AccessController.java:194)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1293)
        at java.lang.System.getProperty(System.java:404)
        at java.lang.System.getProperty(System.java:388)
        at org.apache.juli.logging.DirectJDKLog.<clinit>(DirectJDKLog.java:43)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:199)
        ... 6 more
Could not find the main class: org.apache.catalina.startup.Bootstrap.  Program will exit.


Expected results:
normal start like with openJDK1.6

Comment 4 RHEL Program Management 2016-11-01 18:53:00 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 5 Red Hat Bugzilla 2023-09-14 03:31:24 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days