Warning "Unable to connect to the policy access service" During Admin Server Startup.
(Doc ID 1948727.1)
Last updated on OCTOBER 07, 2022
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:
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://<HOST>:<PORT>: Destination <IP ADDRESS>, <PORT> unreachable; nested exception is:
java.net.ConnectException: Connection refused; No available router to destination [Root exception is java.net.ConnectException: t3://<HOST>:<PORT>: Destination <IP ADDRESS>, <PORT> 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:
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://<HOST>, <PORT>: 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)
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 |
References |