OSB receives 'Permission Denied' when activating a session (Doc ID 1913257.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Service Bus - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

When deploying  /importing OSB projects through the OSB console there are "Permission Denied" errors when activating the session. The following error appears in the log:

####<Jul 25, 2014 10:10:39 AM HKT> <Error> <ConfigFwk> <localhost.localdomain> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <11d1def534ea1be0:-4282bc83:14768125ca6:-8000-0000000000000927> <1406254239386> <BEA-390101> <Activation of session weblogic failed: java.io.IOException: Permission denied
java.io.IOException: Permission denied
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(File.java:883)
    at com.bea.wli.sb.resources.archive.ArchiveRuntimeManager$ArchiveResourceLifecycleListener.createJarClassLoader(ArchiveRuntimeManager.java:109)
    at com.bea.wli.sb.resources.archive.ArchiveRuntimeManager$ArchiveResourceLifecycleListener.replaceClassLoader(ArchiveRuntimeManager.java:293)
    at com.bea.wli.sb.resources.archive.ArchiveRuntimeManager$ArchiveResourceLifecycleListener.replaceAncestorGraph(ArchiveRuntimeManager.java:266)
    at com.bea.wli.sb.resources.archive.ArchiveRuntimeManager$ArchiveResourceLifecycleListener.onUpdate(ArchiveRuntimeManager.java:196)
    at com.bea.wli.config.impl.ResourceListenerNotifier.sendChangeNotification(ResourceListenerNotifier.java:466)
    at com.bea.wli.config.impl.ResourceListenerNotifier.sendChangeNotificationsInContext(ResourceListenerNotifier.java:408)
    at com.bea.wli.config.impl.ResourceListenerNotifier.sendChangeNotifications(ResourceListenerNotifier.java:338)
    at com.bea.wli.config.impl.ResourceListenerNotifier.sendChangeNotifications(ResourceListenerNotifier.java:321)
    at com.bea.wli.config.impl.ResourceListenerNotifier.beforePrepare(ResourceListenerNotifier.java:97)
    at com.bea.wli.config.transaction.TransactionListenerWrapper.beforePrepare(TransactionListenerWrapper.java:64)
    at com.bea.wli.config.transaction.TransactionManager.notifyBeforePrepare(TransactionManager.java:1094)
    at com.bea.wli.config.transaction.TransactionManager._prepareForCommit(TransactionManager.java:654)
    at com.bea.wli.config.transaction.TransactionManager.prepareForCommit(TransactionManager.java:609)
    at com.bea.wli.config.deployment.server.ServerDeploymentReceiver._prepare(ServerDeploymentReceiver.java:417)
    at com.bea.wli.config.deployment.server.ServerDeploymentReceiver.access$700(ServerDeploymentReceiver.java:70)
    at com.bea.wli.config.deployment.server.ServerDeploymentReceiver$1.run(ServerDeploymentReceiver.java:246)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at com.bea.wli.config.deployment.server.ServerDeploymentReceiver.prepare(ServerDeploymentReceiver.java:213)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    


Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms