Access Denied Error Installing OWSM Policy to GenericSoapService: "GenericSoapPort" failed to preload on startup in Web application: "idcws.war"" (Doc ID 1304441.1)

Last updated on DECEMBER 08, 2016

Applies to:

Oracle WebCenter Content - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

After assigning the Oracle Web Services Manager (OWSM) policy to Oracle Universal Content Management's (UCM's) GenericSoapPort service, an access denied error is displayed when updating the deployment plan.  The error states:

Error [HTTP:101216]Servlet: "GenericSoapPort" failed to preload on startup in Web application: "idcws.war". java.lang.SecurityException: WSM-06303 : The method "registerListener" was not called with required permission "oracle.wsm.policyaccess" at
oracle.wsm.policyaccess.PolicyAccessPoint.checkPermission(PolicyAccessPoint.j ava:182) at
oracle.wsm.policyaccess.PolicyAccessPoint.registerListener(PolicyAccessPoint. java:357) at
oracle.wsm.agent.handler.WSMEngineInvoker$2.run(WSMEngineInvoker.java:815) at
oracle.wsm.agent.handler.WSMEngineInvoker$2.run(WSMEngineInvoker.java:813) at
java.security.AccessController.doPrivileged(Native Method) at
oracle.wsm.agent.handler.WSMEngineInvoker.invokePAP(WSMEngineInvoker.java:812 ) at
oracle.wsm.agent.handler.WSMEngineInvoker.initAgent(WSMEngineInvoker.java:176 ) at
oracle.wsm.agent.handler.wls.WSMAgentHook.init(WSMAgentHook.java:261) at
weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.newHandler(TubeFactory.java: 108) at
weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.createServer(TubeFactory.jav a:81) at
weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl.createS erver(WLSTubelineAssemblerFactory.java:216) at
com.sun.xml.ws.server.WSEndpointImpl.<init>(WSEndpointImpl.java:213) at
weblogic.wsee.jaxws.WLSContainer$WLSEndpointFactory$WLSEndpointImpl.<init>(WL SContainer.java:623) at
weblogic.wsee.jaxws.WLSContainer$WLSEndpointFactory.createEndpoint(WLSContain er.java:576) at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:231 ) at
com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:496) at
com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:539) at
weblogic.wsee.jaxws.JAXWSDeployedServlet.getEndpoint(JAXWSDeployedServlet.jav a:183) at
weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:138) at
weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:67) at
weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:54) at
javax.servlet.GenericServlet.init(GenericServlet.java:241) at
weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecuri tyHelper.java:283) at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject .java:321) at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at
weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper .java:64) at
weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycle Helper.java:58) at
weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java :48) at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java :539) at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletCo ntext.java:1985) at
weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppSe rvletContext.java:1959) at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServlet Context.java:1878) at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.jav a:3153) at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508) at
weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver .java:425) at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.ja va:52) at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver. java:119) at
weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDrive r.java:200) at
weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListener Invoker.java:247) at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver .java:425) at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.ja va:52) at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver. java:119) at
weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow .java:27) at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636) at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.ja va:52) at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205 ) at
weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDep loyment.java:43) at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentState Checker.java:161) at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContain erInvoker.java:79) at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(A bstractOperation.java:569) at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDe ployment(ActivateOperation.java:150) at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(A ctivateOperation.java:116) at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(Abs tractOperation.java:323) at
weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommi t(DeploymentManager.java:844) at
weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentLis t(DeploymentManager.java:1253) at
weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(Deployme ntManager.java:440) at
weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(Depl oymentServiceDispatcher.java:163) at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliv erer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliv erer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliv erun(DeploymentReceiverCallbackDeliverer.java:68) at
weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkMan agerImpl.java:528) at
weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at
weblogic.work.ExecuteThread.run(ExecuteThread.java:176) Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission oracle.wsm.policyaccess) at
java.security.AccessControlContext.checkPermission(AccessControlContext.java: 323) at
java.security.AccessController.checkPermission(AccessController.java:546) at
oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(Jps Auth.java:379) at
oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:439) at
oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:460) at
oracle.wsm.policyaccess.PolicyAccessPoint.checkPermission(PolicyAccessPoint.j ava:179) ... 63 more

access denied (java.lang.RuntimePermission oracle.wsm.policyaccess)

Changes

This only happens if you start with UCM 11.1.1.3 and then upgrade it to PS3 (11.1.1.4) before extending the domain to add OWSM.

This does not occur if you installed UCM 11.1.1.4 without upgrading from an older version.

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