My Oracle Support Banner

WSM-02118 Error Occurring When Attempting To List OWSM Policies (Doc ID 2215171.1)

Last updated on JUNE 01, 2018

Applies to:

Oracle Web Services Manager - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.6.0 version, Configuration & Deployment Issues (WSM in EM and WLS Consoles, Attaching Policies, OWSM-MDS Data Source, etc)

When attempting to list the policies from OSB the next error is reported:

ERROR
-----------------------

<2016-10-27_15:03:14> oracle.wsm.policyManagerException: WSM-02118 : The query service cannot be created. [Possible Cause : While trying to lookup 'QueryService#o
racle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved '']
com.bea.wli.sb.security.wss.PolicyManagementException: oracle.wsm.policymanager.PolicyManagerException: WSM-02118 : The query service cannot be created. [Possible Cause : While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved '']
  at com.bea.alsb.security.owsm.sdkadapter.OWSMPolicyManager.getPolicies(OWSMPolicyManager.java:250)
  at com.bea.wli.sb.management.configuration.PolicyBrowser.getPolicies(PolicyBrowser.java:73)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
  Truncated. see log file for complete stacktrace
Caused By: oracle.wsm.policymanager.PolicyManagerException: WSM-02118 : The query service cannot be created.
  at oracle.wsm.policymanager.PolicyManagerFactory.lookupJndiObj(PolicyManagerFactory.java:1028)
  at oracle.wsm.policymanager.PolicyManagerFactory.createQueryService(PolicyManagerFactory.java:552)
  at com.bea.alsb.security.owsm.sdkadapter.OWSMPolicyManager$WsmQueryServiceWrapper.(OWSMPolicyManager.java:1288)
  at com.bea.alsb.security.owsm.sdkadapter.OWSMPolicyManager$WsmQueryServiceWrapper.(OWSMPolicyManager.java:1283)
  at com.bea.alsb.security.owsm.sdkadapter.OWSMPolicyManager.getPolicies(OWSMPolicyManager.java:183)
  Truncated. see log file for complete stacktrace
Caused By: javax.naming.NameNotFoundException: While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved ''; remaining name 'QueryService#oracle/wsm/policymanager/ejb/IStringQueryServiceRemote'
  at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1148)
  at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:253)
  at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
  at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
  at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
  Truncated. see log file for complete stacktrace

 BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, it is not possible to attach any policy to the services in OSB.

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
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.