com.crystaldecisions.sdk.occa.report.lib.ReportSDKException:找到JNDI名称(LMD)时出错----错误代码:-2147467259

时间:2014-07-21 13:10:26

标签: sql crystal-reports

我必须使用水晶报告动态生成pdf,但在设置参数后我收到此错误

18:29:45,385 ERROR [stderr] (http--0.0.0.0-9090-6) com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error finding JNDI name (LMD)---- Error code:-2147467259 Error code name:failed

18:29:45,387 ERROR [stderr] (http--0.0.0.0-9090-6)  at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2284)

18:29:45,387 ERROR [stderr] (http--0.0.0.0-9090-6)  at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2304)

18:29:45,387 ERROR [stderr] (http--0.0.0.0-9090-6)  at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:736)

18:29:45,387 ERROR [stderr] (http--0.0.0.0-9090-6)  at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)

18:29:45,388 ERROR [stderr] (http--0.0.0.0-9090-6)  at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)

18:29:45,388 ERROR [stderr] (http--0.0.0.0-9090-6)  at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)

18:29:45,388 ERROR [stderr] (http--0.0.0.0-9090-6)  at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)

18:29:45,389 ERROR [stderr] (http--0.0.0.0-9090-6)  at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)

18:29:45,389 ERROR [stderr] (http--0.0.0.0-9090-6)  at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)

1 个答案:

答案 0 :(得分:0)

无法找到您的数据源LMD。检查您的JNDI url /连接字符串,或者如果某个其他函数正在为您生成连接字符串,请检查您设置的数据库连接参数。

否则,有无法找到数据源的各种原因,需要更多详细信息才能为您提供帮助。