1

我需要帮助来解决这个问题:

我已经使用开发包(来自 oracle 官方下载)安装了 Oracle SOA Suite 12c。当我尝试启动集成 weblogic 服务器(在 Jdeveloper 菜单运行中)时,它启动并显示正在侦听端口,但立即停止并出现以下错误:

Could: Not find or load main class
Stopping Derby Server
Derby Server Stopped

我的配置:

  • Windows 2003 服务器企业版 x64
  • 杰瑞 7
  • JDK 1.7 x64
  • 甲骨文 soa 套件 12c
4

1 回答 1

1

我在家里遇到了同样的错误,但在我的办公室里没有,两个 Windows 环境。

发生的事情是在家里我的用户名中有一个空格,例如“John Doe”。

我所做的是运行一个小的 PowerShell 脚本,以使用 Windows 8.3 表示法更改 Weblogic 域bin上所有 *.cmd 文件中的所有匹配项。

这是 Powershell 脚本:

$configFiles = Get-ChildItem . *.cmd -rec
foreach ($file in $configFiles)
{
    (Get-Content $file.PSPath) |
    Foreach-Object { $_ -replace "Firstname Secondname", "FIRSTN~1" } |
    Set-Content $file.PSPath
} 

您可以通过查看 Oracle JDeveloper 12c 的控制台来获取 Weblogic 本地域实例的位置。

我的 Weblogic 域位于

C:\Users\<username>\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\DefaultDomain
于 2016-03-31T01:23:15.573 回答