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

在启动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/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值