Bug 1096723 - [QE] (6.3.0) 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.3.0) No org.jboss.as.testsuite.integration.secman test can run on IBM...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Testsuite
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Josef Cacek
QA Contact: Pavel Jelinek
URL:
Whiteboard:
Depends On:
Blocks: 1099517
TreeView+ depends on / blocked
 
Reported: 2014-05-12 10:45 UTC by Pavel Jelinek
Modified: 2014-10-25 12:02 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
: 1099517 (view as bug list)
Environment:
IBMJDK 1.6
Last Closed: 2014-05-21 09:40:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pavel Jelinek 2014-05-12 10:45:09 UTC
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 1 Pavel Jelinek 2014-05-21 09:40:34 UTC
Cloned by mistake. In EAP 6.3.0 AS TS secman tests are skipped if java vendor is IBM.


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