JDveloper连接不到SOA Suit 解决方案

Jdeveloper 连接不到 soa suit 出现Error getting OC4J Process for: opmn-oc4j_soa+oc4j-10.3.6.101-6003-default:
Error connecting to OPMN (is it running?): Connection refused: connect
的解决方案

Unique IP Address Is Needed to Create an Application Server Connection
In Oracle JDeveloper, when you create a connection to a 10.1.3 application server that has multiple IP addresses, the Test Connection function returns the following error message:
Error getting OC4J Process for: ... : Error connecting to OPMN (is it running?): Connection refused: connect

You must specify a unique IP address when creating a connection to the server from Oracle JDeveloper.

具体修改如下

In $ORACLE_HOME/opmn/conf/opmn.xml there is a <notification-server> element, by default it looks something like this:
<notification-server>
<port local="6100" remote="6200" request="6003"/>
<ssl enabled="true" wallet-file="$ORACLE_HOME\opmn\conf\ssl.wlt\default"/>
</notification-server>


I added a ip-addr tag as follows:
<notification-server>
<ipaddr remote="0.0.0.0" request="0.0.0.0"/>
<port local="6100" remote="6200" request="6003"/>
<ssl enabled="true" wallet-file="$ORACLE_HOME\opmn\conf\ssl.wlt\default"/>
</notification-server>


That way the opmn server listens to all IP adresses instead of just to 127.0.0.1 (which apparently is the default). Note that there may be security issues with this as I haven't looked into that (my goal was just to get it working).

After changing the config you'll have to reload opmn.xml (or just reset opmn) and voila.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值