My Oracle Support Banner

Warning "Unable to connect to the policy access service" During Admin Server Startup. (Doc ID 1948727.1)

Last updated on JULY 27, 2018

Applies to:

Oracle Web Services Manager - Version 11.1.1.6.0 to 12.1.3.0.0 [Release 11gR1 to 12c]
Information in this document applies to any platform.

Symptoms

wsm-pm is correctly targeted to one or several Managed Servers, but not to the Admin Server.
When the Admin Server is started up, error messages "Unable to connect to the policy access service" are observed.


Example error messages from 12.1.3:

####<Nov 11, 2014 3:59:37 AM CST> <Warning> <oracle.wsm.resources.policymanager> <labhost044> <AdminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <8168dddc-1e5e-4ef4-80f1-25ffd6022c57-00000004> <1415699977896> <WSM-02141> <Unable to connect to the policy access service.
oracle.wsm.policymanager.PolicyManagerException: WSM-02141 : Unable to connect to the policy access service.
at oracle.wsm.policymanager.BeanFactory.getInitialContext(BeanFactory.java:810)
at oracle.wsm.policymanager.BeanFactory.getJndiObj(BeanFactory.java:844)
at oracle.wsm.policymanager.BeanFactory.lookupJndiObj(BeanFactory.java:1175)
at oracle.wsm.policymanager.BeanFactory.getUsageTrackerBeanEJB(BeanFactory.java:1019)
at oracle.wsm.policymanager.BeanFactory.getBeanEJB(BeanFactory.java:544)
at oracle.wsm.policymanager.BeanFactory.getBean(BeanFactory.java:451)
at oracle.wsm.config.ConfigurationManager$2.run(ConfigurationManager.java:1589)
at java.security.AccessController.doPrivileged(Native Method)
...
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:548)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Caused By: javax.naming.CommunicationException: t3://labhost044:42711: Destination 11.12.13.14, 42711 unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination [Root exception is java.net.ConnectException: t3://labhost044:42711: Destination 11.12.13.14, 42711 unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:808)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
at weblogic.jndi.Environment.getContext(Environment.java:319)

 

Example error messages from 11.1.1.7:

<Nov 26, 2014 4:33:06 PM CET> <Error> <oracle.wsm.resources.policymanager> <WSM-02120> <Unable to connect to the policy access service.
oracle.wsm.policymanager.PolicyManagerException: WSM-02120 : Unable to connect to the policy access service.
        at oracle.wsm.policymanager.BeanFactory.getInitialContext(BeanFactory.java:753)
        at oracle.wsm.policymanager.BeanFactory.getJndiObj(BeanFactory.java:780)
        at oracle.wsm.policymanager.BeanFactory.lookupJndiObj(BeanFactory.java:1061)
        at oracle.wsm.policymanager.BeanFactory.getUsageTrackerBeanEJB(BeanFactory.java:952)
        at oracle.wsm.policymanager.BeanFactory.getBeanEJB(BeanFactory.java:550)
        at oracle.wsm.policymanager.BeanFactory.getBean(BeanFactory.java:433)
        at oracle.wsm.config.ConfigurationManager$1.run(ConfigurationManager.java:1539)
        at java.security.AccessController.doPrivileged(Native Method)
        at oracle.wsm.config.ConfigurationManager.getBean(ConfigurationManager.java:1535)
        at oracle.wsm.config.ConfigurationManager.access$900(ConfigurationManager.java:109)
        at oracle.wsm.config.ConfigurationManager$ContextualAccessor.configureBean(ConfigurationManager.java:627)
        at oracle.wsm.config.ConfigurationManager$ContextualAccessor.configure(ConfigurationManager.java:568)
[...]
Caused By: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://labhost.oracle.com:8825: Destination unreachable; nested exception is:
        java.net.ConnectException: Connection refused; No available router to destination]
        at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
        at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:792)
        at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:368)
        at weblogic.jndi.Environment.getContext(Environment.java:315)
        at weblogic.jndi.Environment.getContext(Environment.java:285)

 

 

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!


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