Quantcast
Channel: Indrayan's SOA Blog
Viewing all articles
Browse latest Browse all 62

Exception in thread "main" java.lang.RuntimeException: error in finding weblogic.Home

$
0
0
Error:Exception in thread "main" java.lang.RuntimeException: error in finding weblogic.Home
        at weblogic.Home.getInstance(Home.java:91)
        at weblogic.Home.getPath(Home.java:97)
        at weblogic.Home.getFile(Home.java:102)
        at weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:116)
        at weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:76)
                       at com.utility.bam.BAMWaitingThread.main(BAMWaitingThread.java:14)

Reason: In Home.java within weblogic.jar it looks for System.getProperty("weblogic.home").If not defined shows above error.
Resolution: Create a Folder Middleware/weblogic and run the java file


java -cp C:\POC\Required_Jars\Server\wlfullclient.jar;. -Dweblogic.home="C:\Temp\Middleware\weblogic"   client.BAMWaitingThread

Viewing all articles
Browse latest Browse all 62

Trending Articles