TROUBLE SHOOTING: OWSM PolicyManagerException: WSM-02120 [Possible Cause : Destination unreachable]

来源:互联网 发布:打字软件赚钱平台 编辑:程序博客网 时间:2024/04/30 03:06

在启动Weblogic的时候,出现下面的异常;可以发布ADF应用并能正常运行。

主要错误信息如下:

oracle.wsm.policymanager.PolicyManagerException: WSM-02120 : Unable to connect to the Oracle WSM Policy Manager due to the following error "javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://shawn-Lou:7101: Destination unreachable; nested exception is: java.net.ConnectException: Connection refused; No available router to destination]".at oracle.wsm.policymanager.BeanFactory.getInitialContext(BeanFactory.java:619)at oracle.wsm.policymanager.BeanFactory.getJndiObj(BeanFactory.java:648)at oracle.wsm.policymanager.BeanFactory.lookupJndiObj(BeanFactory.java:910)............Caused By: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://shawn-Lou:7101: Destination unreachable; nested exception is: java.net.ConnectException: Connection refused; No available router to destination]............Caused By: java.net.ConnectException: t3://shawn-Lou:7101: Destination unreachable; nested exception is: java.net.ConnectException: Connection refused; No available router to destination............

修改Weblogic的listen address可以去除该问题:

1)在Weblogic控制台中,指定固定的IP地址:

 Environment -> Servers -> servername -> Configuration -> General -> Listen Address



2)修改Weblogic域的配置文件config.xml中的listen address

  <server>    <name>DefaultServer</name>    <ssl>      <enabled>false</enabled>    </ssl>    <listen-port>      7101    </listen-port>    <listen-port-enabled>true</listen-port-enabled>    <listen-address>127.0.0.1</listen-address>    <java-compiler>javac</java-compiler>    <tunneling-enabled>true</tunneling-enabled>    <server-life-cycle-timeout-val>30</server-life-cycle-timeout-val>    <startup-timeout>0</startup-timeout>    <graceful-shutdown-timeout>0</graceful-shutdown-timeout>    <ignore-sessions-during-shutdown>false</ignore-sessions-during-shutdown>    <client-cert-proxy-enabled>false</client-cert-proxy-enabled>    <server-diagnostic-config>      <name>DefaultServer</name>      <diagnostic-context-enabled>true</diagnostic-context-enabled>      <wldf-diagnostic-volume>Low</wldf-diagnostic-volume>    </server-diagnostic-config>  </server>

卢玉双 2012/01/14 @上海

参考:http://jvzoggel.wordpress.com/2011/08/29/oracle-wsm-policymanager-policymanagerexception-wsm-02120-possible-cause-destination-unreachable/

原创粉丝点击