My Oracle Support Banner

Getting portalCreateError When Creating a New Portal With Log Error: java.io.FileNotFoundException: /tmp/component_event.<EVENT_ID>.jar (Operation not permitted) (Doc ID 2801981.1)

Last updated on AUGUST 27, 2021

Applies to:

Oracle WebCenter Portal - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms


Attempting to create a portal in a fresh WebCenter Portal install fails with the following error:

ERROR
portalCreateError 

The Portal managed server log shows the following errors:

<Aug 2, 2021 5:23:42,949 PM EDT> <Error> <oracle.webcenter.createportal.view.CreatePortalBean> <BEA-000000> <
oracle.webcenter.portal.api.FailedToSetPermissionsException: Failed to set permissions for portal <PORTAL_NAME>
       at oracle.webcenter.portal.spacesintegration.PortalEventHandler.initializePortalRolesAndPermissions(PortalEventHandler.java:346)
       at oracle.webcenter.portal.spacesintegration.PortalEventHandler.access$100(PortalEventHandler.java:77)
       at oracle.webcenter.portal.spacesintegration.PortalEventHandler$1.run(PortalEventHandler.java:160)
       at java.security.AccessController.doPrivileged(Native Method)
       at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
...

Caused By: oracle.webcenter.webcenterapp.security.WCSecurityException: Unable to grant permission <PORTAL_NAME>
       at oracle.webcenter.webcenterapp.internal.model.security.WCSecurityManagerImpl.grantPermission(WCSecurityManagerImpl.java:1986)
       at oracle.webcenter.spaces.internal.model.security.SpacesSecurityManagerImpl.grantPermission(SpacesSecurityManagerImpl.java:3846)
       at oracle.webcenter.spaces.internal.model.security.SpacesSecurityManagerImpl.setPermissionToRole(SpacesSecurityManagerImpl.java:1906)
       at oracle.webcenter.portal.spacesintegration.PortalEventHandler.setPermissionToRole(PortalEventHandler.java:814)
...

Caused By: oracle.security.jps.service.policystore.PolicyStoreException: JPS-04602: Cannot log policy management event to the audit service.
       at oracle.security.jps.internal.policystore.util.PolicyAuditUtil.auditGrant(PolicyAuditUtil.java:260)
       at oracle.security.jps.internal.policystore.JpsPolicy.grant_common(JpsPolicy.java:1164)
       at oracle.security.jps.internal.policystore.JpsPolicy.grant(JpsPolicy.java:1071)
       at oracle.security.jps.internal.policystore.JpsAppAuditPolicy.grant(JpsAppAuditPolicy.java:455)
...

Caused By: oracle.security.jps.service.audit.AuditException: JPS-00054: Failed to create the auditor for JPS.
       at oracle.security.jps.internal.audit.DelegateAuditor$DynAuditor.<init>(DelegateAuditor.java:190)
       at oracle.security.jps.internal.audit.AuditServiceImpl.getAuditor(AuditServiceImpl.java:321)
       at oracle.security.jps.internal.audit.AuditServiceImpl.getAuditor(AuditServiceImpl.java:450)
       at oracle.security.jps.internal.audit.AuditServiceImpl$1.run(AuditServiceImpl.java:627)
...

Caused By: oracle.security.jps.JpsException: oracle.security.audit.config.dynamic.DynAuditDefinitionException: java.io.FileNotFoundException: /tmp/component_event.<EVENT_ID>.jar (Operation not permitted)
       at oracle.security.audit.config.dynamic.persistence.internal.ldap.AuditStoreDataManager12_1_3Impl.convertXlfBinaryToComponentXlf(AuditStoreDataManager12_1_3Impl.java:153)
       at oracle.security.audit.config.dynamic.persistence.internal.ldap.AuditStoreDataManager12_1_3Impl.getXlf(AuditStoreDataManager12_1_3Impl.java:88)
       at oracle.security.audit.config.dynamic.persistence.internal.ldap.AuditStoreDataManager.getSystemXlf(AuditStoreDataManager.java:1104)
       at oracle.security.audit.config.dynamic.persistence.internal.ldap.AuditStoreDataManager.searchAuditDefinition(AuditStoreDataManager.java:377)
...

Caused By: oracle.security.audit.config.dynamic.DynAuditDefinitionException: java.io.FileNotFoundException: /tmp/component_event.<EVENT_ID>.jar (Operation not permitted)
       at oracle.security.audit.config.dynamic.jaxb.AuditConfigEntityFactory.parseXlf(AuditConfigEntityFactory.java:911)
       at oracle.security.audit.config.dynamic.jaxb.AuditConfigEntityFactory.parseXlf(AuditConfigEntityFactory.java:741)
       at oracle.security.audit.config.dynamic.persistence.internal.ldap.AuditStoreDataManager12_1_3Impl.convertXlfBinaryToComponentXlf(AuditStoreDataManager12_1_3Impl.java:147)
       at oracle.security.audit.config.dynamic.persistence.internal.ldap.AuditStoreDataManager12_1_3Impl.getXlf(AuditStoreDataManager12_1_3Impl.java:88)
...

Caused By: java.io.FileNotFoundException: /tmp/component_event.<EVENT_ID>.jar (Operation not permitted)
       at java.util.zip.ZipFile.open(Native Method)
       at java.util.zip.ZipFile.<init>(ZipFile.java:225)
       at java.util.zip.ZipFile.<init>(ZipFile.java:155)
       at java.util.jar.JarFile.<init>(JarFile.java:167)
       at java.util.jar.JarFile.<init>(JarFile.java:131)
       at oracle.security.audit.config.dynamic.jaxb.XmlUtil.createJarFile(XmlUtil.java:141)
...

 



STEPS
The issue can be reproduced at will with the following steps:

  1. Connect to WebCenter Portal.
     
  2. Try creating a new portal.
    The error occurs.

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.