oracle-databaseweblogicsoasuite

Error in Integrated Weblogic 12C in SOA Suite - Derby server start and stop immediately


I need help to solve this problem:

I've already installed Oracle SOA Suite 12c using the developer pack (from oracle official downloads). When I try to start integrated weblogic server (in Jdeveloper menu Run) it starts and shows listening on the port but immediately stops with following error:

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

My config:


Solution

  • I've got the same error at home, but not in my office, both Windows environments.

    What happened is that at home I have a SPACE in the user name, like, "John Doe".

    What I did was run a small PowerShell script to change all occurrences in all *.cmd files on the Weblogic domain bin by the Windows 8.3 notation.

    Here is the Powershell script:

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

    You can get the location of your Weblogic local domain instance by looking in the console of Oracle JDeveloper 12c.

    My Weblogic domain is at

    C:\Users\<username>\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\DefaultDomain