【问题标题】:BIRT report with web service data source throwing exception Unable to open connection. org.eclipse.datatools.connectivity.oda.OdaExceptionBIRT 报告与 Web 服务数据源引发异常无法打开连接。 org.eclipse.datatools.connectivity.oda.OdaException
【发布时间】:2012-11-24 07:32:51
【问题描述】:

我正在尝试将 Web 服务用作 BIRT 报告的数据源。 报告在 Eclipse 中运行良好,但从部署在 tomcat 中的 webviewer 中却没有。

BIRT 版本:4.2.1 雄猫:6

以下是我得到的例外。

Dec 6, 2012 3:00:01 PM org.eclipse.birt.data.engine.odaconsumer.ConnectionManager openConnection
SEVERE: Unable to open connection.
org.eclipse.datatools.connectivity.oda.OdaException
    at org.eclipse.datatools.enablement.oda.ws.impl.Connection.open(Connection.java:81)
    at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaConnection.open(OdaConnection.java:250)
    at org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.openConnection(ConnectionManager.java:165)
    at org.eclipse.birt.data.engine.executor.DataSource.newConnection(DataSource.java:224)
    at org.eclipse.birt.data.engine.executor.DataSource.open(DataSource.java:212)
    at org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiDataSource(DataSourceRuntime.java:217)
    at org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSource(QueryExecutor.java:407)
    at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:317)

【问题讨论】:

    标签: apache tomcat birt


    【解决方案1】:

    堆栈跟踪中是否有“Caused by:”?

    大胆猜测,这是一个网络/防火墙问题。我假设他的 Tomcat 服务器运行在与 Eclipse IDE 不同的机器上和/或使用不同的操作系统帐户。

    【讨论】:

    猜你喜欢
    • 2023-03-18
    • 1970-01-01
    • 1970-01-01
    • 2017-03-17
    • 1970-01-01
    • 1970-01-01
    • 2017-11-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多