我们使用Pentaho使用JDBC连接器使用Domino服务器的数据生成报告和仪表板,并且它们都工作正常,但是几周前,我们注意到我们的Pentaho报告无效。这是我们从控制台收到的消息:
Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
Error connecting to database: (using class com.ibm.domino.domsql.DomSQLDriver)
Error while connecting to the remote server at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:579)
at org.pentaho.di.core.database.Database.normalConnect(Database.java:450)
... 120 more
Caused by: java.sql.SQLException: Error while connecting to the remote server
at com.ibm.domino.domsql.DomSQLDriver.createRemoteConnection(DomSQLDriver.java:197)
at com.ibm.domino.domsql.DomSQLDriver.connect(DomSQLDriver.java:122)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:561)
... 121 more
Caused by: java.rmi.ConnectException: Connection refused to host: mydomain.org; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at com.ibm.domino.domsql.DomSQLDriver.loadDriverFromRegistry(DomSQLDriver.java:202)
at com.ibm.domino.domsql.DomSQLDriver.createRemoteConnection(DomSQLDriver.java:187)
... 125 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:211) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 131 more
Custom URL : jdbc:domsql://mydomain.org/database.nsf/data
Custom Driver Class:com.ibm.domino.domsql.DomSQLDriver
我们认为Domino配置中有某些东西拒绝连接。 Domino版本是9.0.1FP5。
我们已经卸载了OpenSocial Component,然后又重新安装了它,但这不是解决方案,因为DOTS可以正常工作。我们尝试了另一种不同的想法,但是没有任何效果。
如果有人可以帮助我们,我们将不胜感激。
提前谢谢!
编辑:
我们仍然收到此错误。我们尝试了许多不同的解决方案,但没有任何效果。 JVM(在客户端和服务器中)策略设置为允许所有操作:
grant{
all permission java.security.AllPermission;
}
我们已经检查了Domino服务器配置文档,但是没有发现任何可能引起问题的坏消息。尝试与dbVisualizer进行连接相同,但连接被拒绝。我们重新安装了服务器,所有修订包,然后卸载并安装OpenSocial Component ...无效。这令人沮丧,因此,如果有人可以帮助我们,我们将非常感谢。
答案 0 :(得分:1)
我们终于解决了该问题,先卸载Domino服务器,然后再重新安装。