Hello everyone,
I want to use xaction to call a kettle job, and this job contains many transactions. But when I run this xaction on bi server 6.0, some exception occurred..
QQ截图20160509103124.jpg
About my kettle job and transaction:
1. I use kettle variable ${Internal.Entry.Current.Directory}(i also tried to use ${Internal.Job.Filename.Directory}) to specify the path of the transactions in this job.
2. I upload these files into the same directory on bi server
3. It works fine when i use spoon, but seems that ${Internal.Entry.Current.Directory} or ${Internal.Job.Filename.Directory} was not replaced correctly when running on bi server..
below is the log:
2016-05-09 10:30:02,082 INFO [org.pentaho.di] 2016/05/09 10:30:02 - 数据导出 - 开始项[获取参数并设置为变量]
2016-05-09 10:30:02,086 INFO [org.pentaho.di] 2016/05/09 10:30:02 - 获取参数并设置为变量 - Loading transformation from XML file [/home/张三/获取参数并设置为变量.ktr]
2016-05-09 10:30:02,089 ERROR [org.pentaho.di] 2016/05/09 10:30:02 - 数据导出 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : org.pentaho.di.core.exception.KettleException:
2016/05/09 10:30:02 - 数据导出 - Unexpected error during transformation metadata load
2016/05/09 10:30:02 - 数据导出 -
2016/05/09 10:30:02 - 数据导出 - Unable to read file [file:///G:/home/张三/获取参数并设置为变量.ktr]
2016/05/09 10:30:02 - 数据导出 - Could not read from "file:///G:/home/张三/获取参数并设置为变量.ktr" because it is not a file.
2016/05/09 10:30:02 - 数据导出 -
2016/05/09 10:30:02 - 数据导出 -
2016/05/09 10:30:02 - 数据导出 - at org.pentaho.di.job.entries.trans.JobEntryTrans.getTransMeta(JobEntryTrans.java:1260)
2016/05/09 10:30:02 - 数据导出 - at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:651)
2016/05/09 10:30:02 - 数据导出 - at org.pentaho.di.job.Job.execute(Job.java:730)
2016/05/09 10:30:02 - 数据导出 - at org.pentaho.di.job.Job.execute(Job.java:873)
2016/05/09 10:30:02 - 数据导出 - at org.pentaho.di.job.Job.execute(Job.java:873)
2016/05/09 10:30:02 - 数据导出 - at org.pentaho.di.job.Job.execute(Job.java:546)
2016/05/09 10:30:02 - 数据导出 - at org.pentaho.di.job.Job.run(Job.java:435)
is there anyone help me? Thanks:)