【问题标题】:WebLogic 12.1.2 Domain Creation ErrorWebLogic 12.1.2 域创建错误
【发布时间】:2015-07-15 00:41:48
【问题描述】:

我在使用 Java 7 的 Windows 7 64 位机器上安装了 WebLogic 12.1.2。安装成功,但在尝试创建新域时遇到以下错误。它在我今天早些时候在一台类似的计算机上工作,所以它一定是关于这台特定机器的。关于问题可能是什么的任何想法?

    2015-07-14 20:23:42,509 INFO  [AWT-EventQueue-0] com.oracle.cie.wizard.help.DefaultHelpProvider - Initializing help implementation....
    2015-07-14 20:23:42,759 INFO  [AWT-EventQueue-0] com.oracle.cie.domain.DomainLoader - domain C:\Oracle\Middleware\Oracle_Home\user_projects\domains\learn is not a valid BEA domain
    2015-07-14 20:23:42,759 INFO  [AWT-EventQueue-0] com.oracle.cie.domain.DomainRegistryWrapper - need to initialize domainRegistrydocument object
    2015-07-14 20:23:42,759 INFO  [AWT-EventQueue-0] com.oracle.cie.domain.DomainLoader - domain C:\Oracle\Middleware\Oracle_Home\user_projects\domains\learn is not a valid BEA domain
    2015-07-14 20:24:33,597 INFO  [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.wls.core.app.server version 12.1.2.0.0 to oracle.wls.core.app.server_12.1.2.0.0/wlserver_ORACLE_HOME
    2015-07-14 20:24:33,612 INFO  [AWT-EventQueue-0] com.oracle.cie.domain.AbstractTemplate - Setting symbol for component oracle.wls.core.app.server version 12.1.2.0.0 to oracle.wls.core.app.server_12.1.2.0.0/wlserver_ORACLE_HOME
    2015-07-14 20:25:11,741 WARNING [AWT-EventQueue-0] com.oracle.cie.domain.gui.panel.ConfigVPanel - Ajusted ordering index 5 is out of bounds.
    2015-07-14 20:25:11,741 WARNING [AWT-EventQueue-0] com.oracle.cie.domain.gui.panel.ConfigVPanel - Ajusted ordering index 6 is out of bounds.
    2015-07-14 20:25:11,741 WARNING [AWT-EventQueue-0] com.oracle.cie.domain.gui.panel.ConfigVPanel - Ajusted ordering index 7 is out of bounds.
    2015-07-14 20:25:19,962 SEVERE [Thread-7] com.oracle.cie.domain.DomainGenerator - Domain Creation Failed!

    Domain Location: C:\Oracle\Middleware\Oracle_Home\user_projects\domains\learn

    Reason: java.lang.NoSuchFieldError: CN

    Exception:

    java.lang.NoSuchFieldError: CN

    java.lang.NoSuchFieldError: CN
        at com.oracle.cie.security.impl.BCSecurityHandlerImpl.generateSubjectPrincipal(BCSecurityHandlerImpl.java:214)
        at com.oracle.cie.security.impl.BCSecurityHandlerImpl.generateV3Certificate(BCSecurityHandlerImpl.java:79)
        at com.oracle.cie.security.impl.BCSecurityHandlerImpl.sign(BCSecurityHandlerImpl.java:60)
        at com.oracle.cie.security.impl.BaseSecurityHandler.initDefaultKeyStore(BaseSecurityHandler.java:94)
        at com.oracle.cie.domain.security.WLSSecurityHelper.createDefaultKeyStores(WLSSecurityHelper.java:66)
        at com.oracle.cie.domain.DomainGenerator.run(DomainGenerator.java:468)
        at java.lang.Thread.run(Thread.java:744)
    2015-07-14 20:27:51,631 INFO  [AWT-EventQueue-0] com.oracle.cie.common.util.BrowserLauncher - jdk used is : 1.7.0_51

【问题讨论】:

  • wlserver_ORACLE_HOME 似乎是关键......这就像 weblogic 安装脚本不知道 weblogic 实际安装在哪里/你的环境是错误的。将您在主机上运行的环境变量与失败的主机进行比较?

标签: weblogic


【解决方案1】:

原来这是一个与我今年早些时候在我的 JDK 中为另一个项目所做的 java.security 文件所做的更改有关的问题。这一变化带来了与 WebLogic 12.1.2 不一致的 Bouncy Castle 版本,它显然需要该库的旧版本。我的解决方案是完全重新安装 JDK 以取消我的更改。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-08-12
    • 1970-01-01
    • 2021-09-23
    相关资源
    最近更新 更多