Bug 1099517 - [QE] (6.2.x) No org.jboss.as.testsuite.integration.secman test can run on IBMJDK 1.6 due to java.security.AccessControlException: Access denied (java.util.PropertyPermission os.name read) preventing container from starting
Summary: [QE] (6.2.x) No org.jboss.as.testsuite.integration.secman test can run on IBM...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Testsuite, Security
Version: 6.2.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR1
: EAP 6.2.4
Assignee: Josef Cacek
QA Contact: Pavel Jelinek
URL:
Whiteboard:
Depends On: 1096723
Blocks: eap62-cp04-blockers 1099440
TreeView+ depends on / blocked
 
Reported: 2014-05-20 13:58 UTC by Pavel Jelinek
Modified: 2014-08-07 12:12 UTC (History)
3 users (show)

Fixed In Version:
Clone Of: 1096723
: 1100295 (view as bug list)
Environment:
IBMJDK 1.6
Last Closed: 2014-08-07 12:12:49 UTC
Type: Bug
Embargoed:
smumford: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBQA-10137 0 Major Open No org.jboss.as.testsuite.integration.secman test can run on IBMJDK 1.6 due to java.security.AccessControlException: Acc... 2014-08-12 06:42:54 UTC

Description Pavel Jelinek 2014-05-20 13:58:20 UTC
+++ This bug was initially created as a clone of Bug #1096723 +++

See:
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP-6.2.x-CP/view/EAP-6.2.x-CP-jobs/job/eap-62x-patched-as-testsuite-RHEL-matrix-IBMJDK6/25/jdk=ibm16,label_exp=RHEL6%26%26x86_64/testReport/org.jboss.as.testsuite.integration.secman/

especially: 
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP-6.2.x-CP/view/EAP-6.2.x-CP-jobs/job/eap-62x-patched-as-testsuite-RHEL-matrix-IBMJDK6/25/jdk=ibm16,label_exp=RHEL6%26%26x86_64/testReport/org.jboss.as.testsuite.integration.secman/FilePermissionTestCase/org_jboss_as_testsuite_integration_secman_FilePermissionTestCase/

...
Caused by: org.jboss.msc.service.StartException in service jboss.as: Failed to start service
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:906)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:929)
	at java.lang.Thread.run(Thread.java:761)
Caused by: java.security.AccessControlException: Access denied (java.util.PropertyPermission os.name read)
	at java.security.AccessController.throwACE(AccessController.java:100)
	at java.security.AccessController.checkPermission(AccessController.java:174)
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
	at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1297)
	at java.lang.System.getProperty(System.java:404)
	at java.lang.System.getProperty(System.java:388)
	at com.ibm.crypto.provider.IBMJCE.<init>(Unknown Source)
	at java.lang.J9VMInternals.newInstanceImpl(Native Method)
	at java.lang.Class.newInstance(Class.java:1549)
	at org.apache.harmony.security.fortress.Services$1.run(Services.java:1209)
	at org.apache.harmony.security.fortress.Services$1.run(Services.java:1206)
	at java.security.AccessController.doPrivileged(AccessController.java:273)
	at org.apache.harmony.security.fortress.Services.newInstance(Services.java:1206)
	at org.apache.harmony.security.fortress.Services.access$800(Services.java:60)
	at org.apache.harmony.security.fortress.Services$NormalServices.createProviderInstance(Services.java:360)
	at org.apache.harmony.security.fortress.Services$NormalServices.createDefaultProviderInstance(Services.java:317)
	at org.apache.harmony.security.fortress.Services$NormalServices.getService(Services.java:559)
	at org.apache.harmony.security.fortress.Services$NormalServices.access$2900(Services.java:165)
	at org.apache.harmony.security.fortress.Services.getService(Services.java:1138)
	at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:145)
	at java.security.MessageDigest.getInstance(MessageDigest.java:75)
	at org.jboss.as.repository.ContentRepository$Factory$ContentRepositoryImpl.<init>(ContentRepository.java:155)
	at org.jboss.as.repository.ContentRepository$Factory.addService(ContentRepository.java:119)
	at org.jboss.as.server.ApplicationServerService.start(ApplicationServerService.java:137)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
	... 3 more

Comment 2 Pavel Jelinek 2014-05-20 14:07:12 UTC
In 6.2.2 there weren't secman tests yet.

Comment 4 Josef Cacek 2014-05-22 13:03:33 UTC
Sorry, wrong PR linked. 
This is the correct one for 6.2.x: https://github.com/jbossas/jboss-eap/pull/1360

Comment 5 Pavel Jelinek 2014-06-19 11:03:58 UTC
Skipped in EAP 6.2.4.CP.CR1 for IBMJDK 1.6.


Note You need to log in before you can comment on or make changes to this bug.