GemfireXD RowLoader 不工作,连接未建立到外部数据库

GemfireXD RowLoader is not working, connection not being to established to external database

我正在研究 JDBCRowLoader。我遵循了 attach_loader 下面的所有说明,运行。

call sys.attach_loader('app', 'cust', 'com.mohan.coe.JDBCRowLoader', '|url=jdbc:oracle:thin:@pivhdsne:1521/xe|query-string=select * from system.cust where id=111|user=SYSTEM|password=abcdef|min-connections=5|max-connections=100');

它正在 gemfire xd 服务器日志中打印 oracle 连接详细信息,但未与 oracle 建立连接。上面的语句执行成功。

对了,我用的是sqlf接口。唯一的问题是没有建立到 oracle 的连接。 JDBCRowLoader 初始化成功完成。

你能 post 打印出无法连接到 oracle 的 gemfirexd 系统日志片段吗?

检查您是否能够使用相同的连接属性从客户端程序直接连接。