[OSB 12c] java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.bea.wli.sb.management.configuration.DelegatedSessionManagementMBean
Hello viewer,
I was trying to create the scripts for performing different operation on OSB like deployment , enabling/disabling of proxy, list out the deployed OSB service etc..
Although i have already created these scripts for 11g version of OSB but the jars which i used in shell script are not working in 12c.
In 12c below jar are not available: [snippet from .sh file]
--------------------------------------------------------------------------------------------------------
export CLASSPATH=$CLASSPATH:$OSB_HOME/Oracle_OSB/lib/sb-kernel-api.jar
export CLASSPATH=$CLASSPATH:$OSB_HOME/modules/com.bea.common.configfwk_1.2.1.0.jar
export CLASSPATH=$CLASSPATH:$OSB_HOME/Oracle_OSB/lib/alsb.jar
export CLASSPATH=$CLASSPATH:$OSB_HOME/Oracle_OSB/lib/sb-kernel-impl.jar
---------------------------------------------------------------------------------------------------------
when i tried to run the same script in 12c it was giving the error:
java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.ClassNotFoundException:
com.bea.wli.sb.management.configuration.DelegatedSessionManagementMBean
Solution:
write below command in your shell script(.sh file)
a) MW_HOME="middleware home where osb is installed"
export MW_HOME
b). $MW_HOME/osb/tools/configjar/setenv.sh
DON'T miss the dot(.) in above command
c) ${MW_HOME}/osb/tools/configjar/wlst.sh ${DIR_EXECUTION}/proxytask.py
use wlst.sh from this location ${MW_HOME}/osb/tools/configjar
Thanks a lot for your patience!!!
Regards
-Ashish
Regards
-Ashish
THank you man!
ReplyDelete