Hi,
I am getting the following error. I cannot change the database setings. I am using
Crystal reports for eclipse 2.0 jars. I can change when I was using com.businessobjects.sdks_.jrc_.11.8.0_11.8.5.v1197.zip jars. As it is not supporing Excel export I moved to the Crystal reports for eclipse 2.0 version . I am setting the following properties.
propertyBag.put("Server Name", propertyBag.get("SERVERNAME"));
propertyBag.put("Database DLL", propertyBag.get("Database_DLL"));
propertyBag.put("Server Type", propertyBag.get("Server_Type"));
propertyBag.put("Database Name", propertyBag.get("DATABASE_NAME"));
propertyBag.put("Connection URL", propertyBag.get("CONNECTION_URL"));
propertyBag.put("Database Class Name", propertyBag.get("DATABASE_CLASS_NAME"));
String TRUSTED_CONNECTION = "false";
String USE_JDBC = "false";
String JNDI_OPTIONAL_NAME = "";
propertyBag.put ("JNDIOptionalName", JNDI_OPTIONAL_NAME);
propertyBag.put ("Trusted_Connection", TRUSTED_CONNECTION);
propertyBag.put ("Use JDBC", USE_JDBC);
Can anyone tell me the solution for this problem? I need it . Please help me.
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error finding JNDI name (ESFBYDEV)---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.logonEx(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.logon(Unknown Source)
at com.pass.component.CRJAdapter.switch_tables(CRJAdapter.java:283)
at com.pass.component.CRJAdapter.switchTablesToDB(CRJAdapter.java:228)
at com.pass.component.CRJAdapter.createReportPDF(CRJAdapter.java:118)
at CRJAdapterMain.main(CRJAdapterMain.java:34)
Caused by: com.crystaldecisions.reports.common.JndiNotFoundException: Error finding JNDI name (ESFBYDEV)
at com.crystaldecisions.reports.queryengine.Connection.a(Unknown Source)
at com.crystaldecisions.reports.queryengine.Connection.bv(Unknown Source)
at com.crystaldecisions.reports.queryengine.Connection.bv(Unknown Source)
at com.crystaldecisions.reports.queryengine.Connection.va(Unknown Source)
at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.a(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.long(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
... 20 more
Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Error finding JNDI name (ESFBYDEV)
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(Unknown Source)
... 27 more
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error finding JNDI name (ESFBYDEV)---- Error code:-2147467259 Error code name:failed
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.pass.component.CRJAdapter.createReportPDF(CRJAdapter.java:122)
at CRJAdapterMain.main(CRJAdapterMain.java:34)
Caused by: com.crystaldecisions.reports.common.JndiNotFoundException: Error finding JNDI name (ESFBYDEV)
at com.crystaldecisions.reports.queryengine.Connection.a(Unknown Source)
at com.crystaldecisions.reports.queryengine.Connection.bv(Unknown Source)
at com.crystaldecisions.reports.queryengine.Connection.bv(Unknown Source)
at com.crystaldecisions.reports.queryengine.Connection.va(Unknown Source)
at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.for(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.ReportHelper.a(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.long(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
... 6 more
Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Error finding JNDI name (ESFBYDEV)
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(Unknown Source)
... 32 more