Oracle BAM RKM reversing 问题
来源:互联网 发布:苹果怎样申请网站域名 编辑:程序博客网 时间:2024/06/16 18:53
近日需要整合ODI和Oracle BAM,按照官方文档的介绍去操作,却在逆向工程BAM时,发生以下报错:
org.apache.bsf.BSFException: exception from Jython:
Traceback (most recent call last):
File "<string>", line 4, in <module>
ImportError: No module named bam
控制台输入了错误:ODI-1217,网上查阅相关资料后,仅发现以下的资料内容相近:
I believe i have the answer.
When are you are triggering via ODI Designer its going and reading from this folder pathOracle_ODI1\oracledi.sdk\lib
Now there is another Folder called Lib which has the re.py causing which enables Designer to run the re module perfectly.
When the same scenarios is being called via startscen it reads the Oracle_ODI1\oracledi\agent\lib and here there is Jython.jar is there butLib which contains the re.py is missing.
Temporary Solution - Copy the Lib from Oracle_ODI1\oracledi.sdk\lib to Oracle_ODI1\oracledi\agent\lib and call your startscen again .It should work.
The reason i am calling this a temporary solution is that we would need to modify the odiparams accordingly to read from the right path namely(Lib) and i dont have much time to look at it now. i will look into it later.
You can try if this works and if you want you can check with metalink if there is proper solution or reach Oracle Support for more appropriate solution or any other experts who have experinced the same can update the solution.
详见:https://kr.forums.oracle.com/forums/thread.jspa?threadID=2156060
结合实际情况,逆向工程时,使用了本地代理,因此根据官网的文档http://docs.oracle.com/cd/E25178_01/dev.1111/e10224/bam_odi.htm和上述链接,bam脚本产生的相关对象如jar和配置文件等均需要copy到目录下<WINDOWS_USER_HOME>\AppData\Roaming\odi\oracledi\userlib
copy完成后,重启ODI Studio,逆向BAM 模型,选择本地代理,错误消失。
ODI与代理相关的对象,如逆向、执行,在启动时,若出现问题,先考虑在对应代理(本地、Schedule、weblogic Agent)下是否存在所需的lib和配置文件,通常问题都能得到解决。
- Oracle BAM RKM reversing 问题
- Oracle BAM原理简介
- Oracle BAM 使用体会
- Oracle BAM迁移小技巧
- Oracle BAM与Bpel集成
- Oracle BAM利用Oracle User Messaging Service(UMS)发送报警引起的问题
- Oracle BAM Sensor 的enable batching属性
- Oracle BAM的Drill Down实现
- Oracle BAM与ODI集成重试配置
- Oracle BAM Pie图无法自定义颜色
- Oracle BAM Export Rule的方式
- ODI 11g和Oracle BAM的集成
- Oracle BAM发送报警信息超长的解决方法
- WSO2-BAM
- bam deal
- WSO2-BAM的FAQ
- 配置BAM Mediator
- 多线程拆分bam文件
- 关于fushioncharts的Column2d美化图
- 总想说点儿让人拍案叫绝的设计
- GridView(九宫图)的使用介绍
- Ubuntu 12.04安装Java 7
- Linux触发连锁反应,惠及全球
- Oracle BAM RKM reversing 问题
- input子系统详解
- devexpress grid导出为pdf文件时出现 中文乱码的解决方案
- Design Pattern Factory Method
- Flex 小数
- Tomcat时间问题解决
- 阶乘的精确值 大数问题
- WINCE中只允许程序运行一个实例
- Direct2d绘制图片的问题