Sunday, July 8, 2012

error in finding weblogic.Home

java.lang.RuntimeException: error in finding weblogic.Home
weblogic.Home.getInstance(Home.java:91)
weblogic.Home.getPath(Home.java:97)
weblogic.Home.getFile(Home.java:102)
weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:116)
weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:76)


To check what is wrong, I do
cd $DOMAIN_HOME
. ./bin/setDomainEnv.sh

then I examine the properties with "set":

ALSB_HOME=/opt/oracle/fmw11_1_1_5/osb
BEA_HOME=/opt/oracle/fmw11_1_1_5
WLS_HOME=/opt/oracle/fmw11_1_1_5/wlserver_10.3/server

so all I need to do is to add
JAVA_OPTS=-Dweblogic.home=/opt/oracle/fmw11_1_1_5/wlserver_10.3 -Dbea.home=/opt/oracle/fmw11_1_1_5/

to my catalina.sh

No comments: