kettle 连接 sybase 失败 求教!急!

luolai 2016-04-05 09:54:48
描述 :
使用以下2种方式都失败。大家说的 各类 驱动问题都换过 。(JDBC 情况下,特征列表值为 :Driver Class: net.sourceforge.jtds.jdbc.Driver Url: jdbc:jtds:sybase://192.168.6.121:2638/ddw 我怀疑是这个写法问题)

1 使用JDBC连接成功 ,但是查询数据库 报错 如下:

因为错误不能提取数据库信息

Error getting views from schema [null]
Invalid state, the Connection object is closed.


2 使用ODBC连接报错 如下 :
错误连接数据库 [wuerp] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occurred while trying to connect to the database

Error connecting to database: (using class sun.jdbc.odbc.JdbcOdbcDriver)
at org.pentaho.commons.launcher.Launcher.main (Launcher.java:92)
at java.lang.reflect.Method.invoke (null:-1)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (null:-1)
at sun.reflect.NativeMethodAccessorImpl.invoke (null:-1)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (null:-2)
at org.pentaho.di.ui.spoon.Spoon.main (Spoon.java:653)
at org.pentaho.di.ui.spoon.Spoon.start (Spoon.java:9214)
at org.pentaho.di.ui.spoon.Spoon.waitForDispose (Spoon.java:7939)
at org.pentaho.di.ui.spoon.Spoon.readAndDispatch (Spoon.java:1339)
at org.eclipse.swt.widgets.Display.readAndDispatch (null:-1)
at org.eclipse.swt.widgets.Display.runDeferredEvents (null:-1)
at org.eclipse.swt.widgets.Widget.sendEvent (null:-1)
at org.eclipse.swt.widgets.EventTable.sendEvent (null:-1)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent (ActionContributionItem.java:402)
at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionCo
...全文
2839 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
luolai 2016-04-07
  • 打赏
  • 举报
回复 1
用java代码连接jdbc,odbc测试通过了。 首先要把sybase的数据库进行升级。解决方法: 连接进你的sybase数据库,先备份数据库,在对sybase的jconn3升级。但是升级后,kettle还是无法连接sybase,我怀疑是 kettle 的驱动问题。有谁知道kettle 的特征列表的配置文件位置?

7,388

社区成员

发帖
与我相关
我的任务
社区描述
其他数据库开发 数据仓库
社区管理员
  • 数据仓库
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧