如何解决sql server定时作业调用Kettle job出错

时间:2023-03-09 16:33:47
如何解决sql server定时作业调用Kettle job出错
错误信息:

Unable to list jar files in plugin folder 'C:\Windows\system32\config\systemprofile\.kettle\plugins'      Unable to get VFS File object for filename 'C:\Windows\system32\config\systemprofile\.kettle\plugins' : Could not find file with URI "C:\Windows\system32\config\systemprofile\.kettle\plugins" because it is a relative path, and no base URI was provided.            Unable to get VFS File object for filename 'C:\Windows\system32\config\systemprofile\.kettle\plugins' : Could not find file with URI "C:\Windows\system32\config\systemprofile\.kettle\plugins" because it is a relative path, and no base URI was provided.            at org.pentaho.di.cor...  进程退出代码 0。.该步骤成功。

问题原因:

  kettle默认生成的各种配置文件储存在C:\Users\Administrator\.kettle下面,sql 代理运行时则利用的system32管理员权限运行

解决方案:

      找到C:\Users\Administrator下面的.kettle文件夹,拷贝到C:\Windows\system32\config\systemprofile下面即可,如果目标文件已存在,则直接替换