`
michales003
  • 浏览: 397111 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
文章分类
社区版块
存档分类
最新评论

"Unable to locate a valid OC4J URI"(Windows 2008)

 
阅读更多

OWSM Configuration Assistant on Windows 2008 Fails with Error "Unable to locate a valid OC4J URI"

 

https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=1206667.1

 

 

In this Document
  Symptoms
  Cause
  Solution
  References

Applies to:
Oracle Web Services Manager - Version: 10.1.3.1 to 10.1.3.1 - Release: AS10gR3 to AS10gR3
Microsoft Windows x64 (64-bit) - Version: 2008 R2
Symptoms

Installing SOA 10.1.3.1 on a Windows 2008 x64 machine SP1 or SP2, but the OWSM Configuration Assistant fails with the following :

    BUILD FAILED
    D:\product\10.1.3.1\OracleAS_1\owsm\scripts\install.xml:1996: The following error occurred while executing this line:
    D:\product\10.1.3.1\OracleAS_1\owsm\scripts\deploy.xml:395: The following error occurred while executing this line:
    D:\product\10.1.3.1\OracleAS_1\owsm\scripts\oc4j.xml:24: Unable to locate a valid OC4J URI. The server is probably down.

    Total time: 2 minutes 38 seconds
    Error 1


Cause

Internal BUG 9267853 - CERT: 10.1.3.1 SOA CONFIG FAILS ON WINDOWS 7

When you install AS with OC4J 10.1.3.1 into Windows 7, ompnctl stop will always fail with above message. Windows 7 adds the IPV6 ip address when trying to stop the OC4J instance.
Solution

Please try this workaround

Steps:

    Unzip soa_windows_x86_101310_disk1.zip
    Edit oc4j_opmn_windows.xml found in \stage\Components\oracle.as.j2ee.top\10.1.3.1.0\1\DataFiles\opmn.1.2.jar
    Add parameter "-Djava.net.preferIPv4Stack=true" to the stop-parameters options.
    <category id="stop-parameters">
    <data id="java-options"
    value="Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy
    -Djava.awt.headless=true -Dhttp.webdir.enable=false
    -Djava.net.preferIPv4Stack=true"/>
    Run the install.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics