weblogic环境:11g
OSB版本:11.1.1.5
问题1:自动导入时报错,没有名字为customization的module
[wlst] Traceback (innermost last):
[wlst] File "import.py", line 7, in ?
[wlst] ImportError: no module named customization
[wlst]
[wlst] Exception in thread "main" java.lang.IllegalStateException: Tracebac
(innermost last):
[wlst] File "import.py", line 7, in ?
[wlst] ImportError: no module named customization
[wlst]
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.printErr
r(WLSTInterpreterInvoker.java:110)
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.executeP
Script(WLSTInterpreterInvoker.java:103)
[wlst] at weblogic.management.scripting.WLSTInterpreterInvoker.main(WLS
InterpreterInvoker.java:27)
[wlst] Java Result: 1
解决方法:问题是由于类库的版本引起的,从网上找到的脚本所用类库与当前环境不一致引起,修正类库即可解决。
此处的解决方法为:将
%ORACLE_HOME
%/Oracle_OSB1/modules/com.bea.common.configfwk_1.3.0.0.jar
中的com.bea.common.configfwk_1.3.0.0.jar
变成com.bea.common.configfwk_1.5.0.0.jar
类似文章的连接: