ResultSet AS datasource:Unexpected database connector error, Please Help?

Dear all;
I try to use a ResultSet as datasource in Crystal Reports,But an Exception Happend;
First i execute the SQL Statment to get ResultSet Object called rs then try the following code:
String tableAlias = reportClientDocument.getDatabaseController().getDatabase().getTables().getTable(0).getAlias();
reportClientDocument.getDatabaseController().setDataSource(rs,tableAlias,"resultsetTable");
This is the Exception;
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- 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)
Please help me to solve this exception

I need to execute the SQL Query thruogh java becouse there is some parameters must be in the SQL Query...and i have not permission to add views or stored procedure in database
this is my query:
String sqlquery = "SELECT "
                    + "TO_CHAR(TO_DATE('1970-01-01', 'yyyy-mm-dd') + Command.CREATIONTIME / 86400000, 'mm/dd/yyyy') as CREATIONDATE"
                    + ", COUNT(*) as TICKETCOUNT "
                    + "FROM ALARMTICKET Command "
                    + "WHERE "
                    + "to_date(TO_CHAR(TO_DATE('1970-01-01', 'yyyy-mm-dd') + Command.CREATIONTIME / 86400000, 'mm/dd/yyyy'),'mm/dd/yyyy') "
                    + "between "
                    + "'"
                    + dateFormater.format(date1)
                    + "' "
                    + "AND "
                    + "'"
                    + dateFormater.format(date2)
                    + "' "
                    + "group by TO_CHAR(TO_DATE('1970-01-01', 'yyyy-mm-dd') + Command.CREATIONTIME / 86400000, 'mm/dd/yyyy') "
                    + "order by TO_CHAR(TO_DATE('1970-01-01', 'yyyy-mm-dd') + Command.CREATIONTIME / 86400000, 'mm/dd/yyyy')";
date1 and date2 are my variables.....

Similar Messages

  • Unexpected Database Connector Error - Help please !!

    Hi,
    I am trying to use stored procedure in the crystal report, that comes bundled with RAD7. The following code I got from http://diamond.businessobjects.com/node/520 for using the stored procedure. I am getting 'UnexpectedQueryEngineError' on JRCCommunicationAdapter when trying to establish data connection to add the stored procedure to the report. I tried the same example above for adding table to the report by modifying 'Procedure' to 'Table' and it worked fine.
    I really need to use the stored procedure in the report and get to have this working soon. Immediate help is greatly appreciated.
    import java.io.IOException;
    import com.crystaldecisions.sdk.occa.report.application.DatabaseController;
    import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.data.ConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.data.DBField;
    import com.crystaldecisions.sdk.occa.report.data.FieldValueType;
    import com.crystaldecisions.sdk.occa.report.data.Fields;
    import com.crystaldecisions.sdk.occa.report.data.Table;
    import com.crystaldecisions.sdk.occa.report.data.Procedure;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBagHelper;
    import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;
    public class AddSampleProcedure {
        public static void main(String[] args) throws ReportSDKException, IOException {
            ReportClientDocument clientDoc = new ReportClientDocument();
            clientDoc.setReportAppServer("inproc:jrc");
            // Open report
            clientDoc.newDocument();
            DatabaseController ctr = clientDoc.getDatabaseController ();
            Procedure table = new Procedure (); //Table table = new Table();
            String tableName = "Welcome"; //tableName = "Product";
            table.setAlias (tableName);
            table.setName (tableName);
            table.setQualifiedName (tableName);
            table.setDescription (tableName);
            /*Fields fields = new Fields ();
            DBField field = new DBField ();
            String fieldName = "product_name";
            field.setDescription (fieldName);
            field.setHeadingText (fieldName);
            field.setName (fieldName);
            field.setType (FieldValueType.stringField);
            field.setLength(255);
            fields.add (field);
            table.setDataFields (fields);*/
            String ServerName = serverName;
            String DatabaseName = dbName;
            String JDBC_URL=jdbcURL;
            String JDBC_Class = "oracle.jdbc.driver.OracleDriver";
            String UserName = userName;
            String Password = password;
            PropertyBag attrs = new PropertyBag();
            attrs.put(PropertyBagHelper.CONNINFO_DATABASE_DLL, "crdb_jdbc.dll");
            attrs.put(PropertyBagHelper.CONNINFO_SERVER_NAME, ServerName);
            attrs.put(PropertyBagHelper.CONNINFO_DATABASE_NAME, DatabaseName);
            attrs.put(PropertyBagHelper.CONNINFO_SERVER_TYPE, "JDBC (JNDI)");
            attrs.put(PropertyBagHelper.CONNINFO_JDBC_DATABASECLASSNAME, JDBC_Class);
            attrs.put(PropertyBagHelper.CONNINFO_JDBC_CONNECTION_URL, JDBC_URL);
            ConnectionInfo info = new ConnectionInfo ();
            info.setAttributes (attrs);
            info.setUserName(UserName);
            info.setPassword(Password);
            table.setConnectionInfo (info);
            ctr.addTable (table, null);
            clientDoc.saveAs("AddProcedure.rpt", "C:/Test", 1);
            System.out.println("Done");
    Thanks in advance,
    Lakshmi

    Hi there,
    I havent got any replies on the above exception and I am totally stuck. I thought I can provide more details on 'Unexpected Database Connector Error'. This is the exact place where it fails.
    01 May 2008 14:20:17 [main] FATAL com.businessobjects.reports.sdk.JRCCommunicationAdapter - Request failed and JRC Command failed to be undone
    01 May 2008 14:20:17 [main] ERROR com.businessobjects.reports.sdk.JRCCommunicationAdapter - JRCAgent1 detected an exception: Unexpected database connector error
         at com.crystaldecisions.reports.queryengine.driverImpl.o.eC(Unknown Source)
         at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
         at com.crystaldecisions.reports.queryengine.ax.if(Unknown Source)
         at com.crystaldecisions.reports.queryengine.bc.byte(Unknown Source)
         at com.crystaldecisions.reports.queryengine.bc.new(Unknown Source)
         at com.crystaldecisions.reports.queryengine.bc.for(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Unknown Source)
         at com.crystaldecisions.reports.reportdefinition.datainterface.m.new(Unknown Source)
         at com.crystaldecisions.reports.common.as.a(Unknown Source)
         at com.crystaldecisions.reports.common.ae.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.k.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.w.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ag.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.bu.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.bu.void(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.a6.for(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.u.performDo(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.u.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.new(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.addTable(Unknown Source)
    Any idea on this exception and how to resolve it ?
    Thanks

  • Crystal Reports: Unexpected database connector error

    Hi experts,
    I have a Web Module DC that uses JSP to show Crystal Reports. In my report I use POJO as datasource. The POJO itself is a JPA entity and is located in other EJB Module DC that has dependency with the Web Module DC. At design time everything looks fine and I can retrieve the data I need from other EJB Module with Session Beans but as a result I see the following error: "Unexpected database connector error". The architecture is the following:
    SessionBean EJB Module----
    |
                                                       >>dependency to >> Web Module DC with Crystal Reports
    JPA Entities EJB Module----
    |
    And in my report as datasource I use entity from the JPA EJB Module. And the source in my jsp is the following:
         Object object = null;
         try {
              Context c = new InitialContext();
              object = c
                        .lookup("ejb:/appName=sap.com/slauto_viewer_app, beanName=GeneralBean, interfaceName=com.sap.crs.slautoviewer.beans.GeneralBeanLocal");
              Class clazz = object.getClass();
              try {
                   //Open report.
                   Method method = getMethod(clazz,
                             "getGeneralDataByHostAndID");
                   List<General> generals = (List<General>) method
                             .invoke(object,
                                       new Object[] { "localhost", "b", 10 });
                   POJOResultSetFactory factory = new POJOResultSetFactory(
                             SlAutoGeneral.class);
                   POJOResultSet resultSet = factory
                             .createResultSet(generals);
                   ReportClientDocument reportClientDoc = new ReportClientDocument();
                   reportClientDoc.open("CrystalReport1.rpt", 0);
                   ITable table = reportClientDoc.getDatabaseController()
                             .getDatabase().getTables().getTable(0);
                   String tableAlias = table.getAlias();
                   reportClientDoc.getDatabaseController().setDataSource(
                             resultSet, tableAlias, tableAlias);
                   session.setAttribute("reportSource", reportClientDoc
                             .getReportSource());
                   CrystalReportViewer viewer = new CrystalReportViewer();
                   viewer.setOwnPage(true);
                   viewer
                             .setDocumentViewType(CrDocumentViewTypeEnum.webLayout);
                   viewer.setHasDrilldownTabs(false);
                   viewer.setDisplayToolbar(false);
                   viewer.setPrintMode(CrPrintMode.ACTIVEX);
                   Object reportSource = reportClientDoc.getReportSource();
                   viewer.setReportSource(reportSource);
                   viewer.processHttpRequest(request, response,
                             getServletConfig().getServletContext(), null);
              } catch (ReportSDKException ex) {
                   out.println(ex);
              } catch (Exception ex) {
                   out.println(ex);
         } catch (NamingException e) {
    protected Method getMethod(Class clazz, String name) {
              Method[] methods = clazz.getMethods();
              for (int i = 0; i < methods.length; i++) {
                   Method method = methods<i>;
                   String methodName = method.getName();
                   if (methodName.equals(name)) {
                        return method;
              return null;
    Please tell me what could be wrong
    Regards,
    Martin
    Edited by: musaka on Dec 11, 2009 2:51 PM

    Please check the Preview tab for formatting before posting. If People can read the question they may reply. Limit your posts to 1500 characters, then formatting is not lost.

  • Unexpected database connector error---- Error code:-2147467259

    Hi, I am using Crystal Report for Eclipse 12.2.208).
    My rpt file contains a command with a simple sql query
    In eclipse I used this rpt and generated the Jsp file to export the report to Pdf format
    But exception is thrown in the following line of Jsp
    //Push the Java ResultSet into the report (this will then be the datasource of the report)
    CRJavaHelper.passResultSet(clientDoc, fetchResultSet(driverName, connectStr, userName, password, query), tableAlias, "");
    CRJavaHelper.java
    clientDoc.getDatabaseController().setDataSource(rs, tableAlias,tableAlias);
    While replacing the result set I am getting the following error.... Please help me on this.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2305) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167) at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529) at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527) at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352) at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54) at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67) at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716) at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125) at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537) at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(SourceFile:605) at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(SourceFile:1688) at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(SourceFile:2650) at com.crystaldecisions.sdk.occa.report.application.b9.onDataSourceChanged(SourceFile:301) at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:962) at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2834) at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(SourceFile:2557) at com.businessobjects.samples.CRJavaHelper.passResultSet(CRJavaHelper.java:263) at org.apache.jsp.Report2008_002dviewer_jsp._jspService(Report2008_002dviewer_jsp.java:120) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source) Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2962) at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:944) at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533) at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245) at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:776) at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234) at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161) at com.crystaldecisions.reports.queryengine.Table.try(SourceFile:1525) at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:568) at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2405) at com.crystaldecisions.reports.datafoundation.DataFoundation.a(SourceFile:1234) at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(SourceFile:344) at com.crystaldecisions.reports.dataengine.dfadapter.CheckDatabaseHelper.a(SourceFile:66) at com.crystaldecisions.reports.dataengine.datafoundation.CheckDatabaseCommand.new(SourceFile:100) at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71) at com.crystaldecisions.reports.common.Document.a(SourceFile:203) at com.crystaldecisions.reports.dataengine.VerifyDatabaseCommand.new(SourceFile:76) at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71) at com.crystaldecisions.reports.common.Document.a(SourceFile:203) at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175) at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.a(SourceFile:373) at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.if(SourceFile:352) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1291) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)

    Please ensure that you have upgraded to Service Pack 4.  There was a bug related to Unexpected Database Connector error that was resolved in the latest service pack release this February.

  • Log4J-Error + Unexpected Database-Connector-Error

    Hello!
    I am trying to integrate a Report into an existing Java Eclipse-Project usind Crystal Reports for Eclipse.
    To do this I am modifying the example program which comes together with the installation. I am trying to pass the data to the report directly via a POJO using the call
    CRJavaHelper.passPOJO(...)
    Now, when I try to open the report I get the following error:
    log4j:WARN No appenders could be found for logger (com.businessobjects.reports.sdk.JRCCommunicationAdapter).
    log4j:WARN Please initialize the log4j system properly.
    Unerwarteter Datenbank-Connector-Fehler
    (The last line would be "Unexpected Database-Connector-Error" in english.)
    What am I doing wrong? I included log4j.jar into the build path of the project.
    Thanx for your help!
    UPDATE: Most errors are sitting 50cm in front of the screen. Dumb error on my side. Fixed it and it's working.
    Edited by: QSOTech on May 18, 2009 1:33 PM

    Error is fixed.
    I created the report in Eclipse and used a Plain Old Java Object (POJO) as datasource. No other Database.
    The problem was that the Object wasn't instanciated properly.

  • ReportClientDocument throws - Unexpected database connector error

    Hi,
    We are getting a weird exception in Websphere 6.1 server when we try to open a crystal report using ReportClientDocument object. It is throwing an unexpected database connector error when we try to change the datasource of the report. It would be great if some one can help us with the solution.
    Code:
    ReportClientDocument reportClientDocument = new ReportClientDocument();
    reportClientDocument.open(REPORT_NAME, 0);
    Tables tables = reportClientDocument.getDatabaseController().getDatabase().getTables();               
    ITable table = tables.getTable(0);
    reportClientDocument.getDatabaseController().setDataSource(resultSet0, tableName0 , tableName0+"_ResultSet");
    P.S: The same code works fine in Tomcat 6.0 server.
    Exception:
    [1/11/11 17:34:10:141 GMT+05:30] 00000037 SystemOut     O Connection logon successfully
    [1/11/11 17:34:10:145 GMT+05:30] 00000037 SystemOut     O Rowset restart: moveToStart true
    [1/11/11 17:34:10:145 GMT+05:30] 00000037 SystemOut     O Rowset execute
    [1/11/11 17:34:10:168 GMT+05:30] 00000037 SystemOut     O  detected an exception: Unexpected database connector error
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2409)
         at com.crystaldecisions.reports.datafoundation.DataFoundation.a(SourceFile:1234)
         at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(SourceFile:344)
         at com.crystaldecisions.reports.dataengine.dfadapter.CheckDatabaseHelper.a(SourceFile:66)
         at com.crystaldecisions.reports.dataengine.datafoundation.CheckDatabaseCommand.new(SourceFile:100)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.crystaldecisions.reports.dataengine.VerifyDatabaseCommand.new(SourceFile:76)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.a(SourceFile:373)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.if(SourceFile:352)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1291)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(SourceFile:605)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(SourceFile:1688)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(SourceFile:2650)
         at com.crystaldecisions.sdk.occa.report.application.b9.onDataSourceChanged(SourceFile:301)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:962)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2834)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(SourceFile:2557)
         at com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(SourceFile:87)

    It appears that you are trying to pass a resultset to the report, only things i can think of is, either the jar file needed for that type of connection is missing, or maybe the app servers are using different versions of java which causes it to act differently.

  • Unexpected database connector error

    Hi Team,
    I am trying to do Dynamic database change for Crystal reports and i 'm struggling with the following error. I am following below code listed in the following link
    CRJava Modify DB Location
    Please help me in resolve this issue. I have been struck up with this from 2 days
    The Error Stack Trace is:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2284)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2304)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:736)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
        at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
        at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
        at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
        at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
        at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
        at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:108)
        at com.crystaldecisions.sdk.occa.report.application.b0.if(SourceFile:148)
        at com.crystaldecisions.sdk.occa.report.application.b0.b(SourceFile:95)
        at com.crystaldecisions.sdk.occa.report.application.bb.int(SourceFile:96)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:151)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)
        at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2159)
        at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:543)
        at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:3898)
        at com.crystaldecisions.sdk.occa.report.application.DatabaseController.replaceConnection(SourceFile:3865)
        at org.apache.jsp.DynamicDBChange_jsp._jspService(DynamicDBChange_jsp.java:213)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error
        at com.crystaldecisions.reports.queryengine.Table.new(SourceFile:1014)
        at com.crystaldecisions.reports.queryengine.Table.byte(SourceFile:1791)
        at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:638)
        at com.crystaldecisions.reports.queryengine.Table.vc(SourceFile:2419)
        at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
        at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
        at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
        at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
        at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1166)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
        ... 46 more
    Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error
        at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
        at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
        at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCTable.GetFields(Unknown Source)
        at com.crystaldecisions.reports.queryengine.Table.new(SourceFile:1010)
        ... 56 more
    Caused by: java.sql.SQLException: ORA-01008: not all variables bound
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
        at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
        at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
        at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
        at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
        at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:194)
        at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1000)
        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
        at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1882)
        at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1847)
        at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:301)
        ... 60 more
    Waiting for reply
    Thanks
    Penchal

    Hi Penchal,
    What is the backend database? Are you using ODBC or JDBC connectivity for your backend DB engine?
    Make sure to have the required jars for your connection type inside your applications lib directory.
    Does it happens with all the reports?
    What happens if you do not change the datasource, are you able to view reports fine.
    As you are using Crystal reports for ecllipse runtime libraries to build your jsp, you would need to post your dicussions in the below forum to get better response.
    http://scn.sap.com/community/crystal-reports-for-eclipse
    The above space is dedicated for the issues with crystal reports for ecllipse.
    Thanks,
    Prithvi

  • Unexpected database connector error when upgraded to the JRC 12.2.208

    Hi,
         My reports were working fine when using the CR viewers 11 SDK. In order to use print from the server functionality, I upgraded to JRC 12.2.208. Since then I am getting the following exception. Please help. Thanks!
    Line: -
    Exception Trace =
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2305)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
    Line: -
    CrystalReport logs:
    2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.dataengine.DataEngineCommand.VerifyDatabaseCommand  - VerifyDatabaseCommand,0,Enter CreateCommand,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;<isFirstVerify=false>;
    2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.dataengine.DataEngineCommand.VerifyDatabaseCommand  - VerifyDatabaseCommand,30823955,Exit CreateCommand,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
    2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command SETUP: VerifyDatabaseCommand
    2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command PERFORM: VerifyDatabaseCommand
    2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.dataengine.DataEngineCommand.VerifyDatabaseCommand  - VerifyDatabaseCommand,30823955,Enter perform,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
    2010-10-07 09:15:18,390 [http-80-1] INFO  com.crystaldecisions.reports.dataengine.DataEngineCommand.VerifyDatabaseCommand  - Verifying database
    2010-10-07 09:15:18,390 [http-80-1] INFO  com.crystaldecisions.reports.reportdefinition.ReportCommand.CheckDatabaseCommand  - CheckDatabaseCommand,0,Enter CreateCommand,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
    2010-10-07 09:15:18,390 [http-80-1] INFO  com.crystaldecisions.reports.reportdefinition.ReportCommand.CheckDatabaseCommand  - CheckDatabaseCommand,5205942,Exit CreateCommand,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
    2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command SETUP: CheckDatabaseCommand
    2010-10-07 09:15:18,406 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command PERFORM: CheckDatabaseCommand
    2010-10-07 09:15:18,406 [http-80-1] INFO  com.crystaldecisions.reports.reportdefinition.ReportCommand.CheckDatabaseCommand  - CheckDatabaseCommand,5205942,Enter perform,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
    2010-10-07 09:15:18,406 [http-80-1] INFO  com.crystaldecisions.reports.queryengine  - Connection logon:PreQEServerName=s(DOCSQLDEV01);Provider=s(SQLOLEDB.1);Integrated Security=s(SSPI);Initial Catalog=s(ICTS_DEV);Data Source=s(DOCSQLDEV01);Use Procedure for Prepare=s(1);Auto Translate=s(True);Packet Size=s(4096);Workstation ID=s(DOCCAPWKS708);PreQEServerType=s(Active Data (ADO));Database DLL=s(crdb_javabeans.dll);Java ResultSet=
    2010-10-07 09:15:18,406 [http-80-1] INFO  com.crystaldecisions.reports.queryengine  - Connection logon successfully
    2010-10-07 09:15:18,437 [http-80-1] INFO  com.crystaldecisions.reports.queryengine  - Rowset restart: moveToStart true
    2010-10-07 09:15:18,437 [http-80-1] INFO  com.crystaldecisions.reports.queryengine  - Rowset execute
    2010-10-07 09:15:18,437 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command SETUP: NotUndoableCommand
    2010-10-07 09:15:18,437 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command PERFORM: NotUndoableCommand
    2010-10-07 09:15:18,437 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - -- command is NOT UNDOABLE -> purge undo stack
    2010-10-07 09:15:18,453 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command SETUP: NotUndoableCommand
    2010-10-07 09:15:18,453 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - command PERFORM: NotUndoableCommand
    2010-10-07 09:15:18,453 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager  - -- command is NOT UNDOABLE -> purge undo stack
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(SourceFile:605)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(SourceFile:1688)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(SourceFile:2650)
         at com.crystaldecisions.sdk.occa.report.application.b9.onDataSourceChanged(SourceFile:301)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:962)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2834)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(SourceFile:2557)
         at com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(SourceFile:87)

    I find in the SAP notes that this is a reported bug in the JRC application. 
    SAP Note 1416845 - JRC application throws "Unexpected database connector" error
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap%28bd1lbizjptawmq==%29/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433313336333833343335%7D.do
    My question is - Does anyone know when is this bug scheduled to be fixed and released?
    Thanks,
    Travis

  • Crystal Report throws Unexpected Database Connector error

    Hi,<br>
    <br>
    We are using Crystal report 2008 CR4E API to implement the crystal report in our application. We use the below code to reset the report data source with our application data source. It works fine for most of the simple queries. But if the query contains any function defined in the SELECT Clause it throws Unexpected Database Connector error. As per the log and analysis we believe the root cause of the exception is it consider that function as column in the table and throws the SQL Exception that "function is Invalid Identifier". Could you please help in resolving this issue?
    <br><br>
    Code:<br><br>
         Tables tables = clientDoc.getDatabaseController().getDatabase().getTables(); <br>
                for(int i = 0;i < tables.size();i++){<br>
                    origTable = tables.getTable(i);<br>
                    if (tableName == null || origTable.getName().equals(tableName)) {<br>
                        newTable = (ITable)origTable.clone(true);<br>
                        newTable.setQualifiedName(origTable.getAlias());<br>
                        connectionInfo = newTable.getConnectionInfo();<br>
                        propertyBag = new PropertyBag();<br>
                        propertyBag.put("Trusted_Connection", params.trustedCon);<br>
                        propertyBag.put("Server Type", params.serverType);<br>
                        propertyBag.put("Use JDBC", params.useJdbc);<br><br>
                        propertyBag.put("Database DLL",params.databaseDLL);<br>
                        propertyBag.put("Connection URL", params.connectionURL);<br>
                        propertyBag.put("Database Class Name", params.dbClassName);<br>
                        connectionInfo.setAttributes(propertyBag);<br>
                        connectionInfo.setUserName(params.userName);<br>
                        connectionInfo.setPassword(params.password);<br>
                        clientDoc.getDatabaseController().setTableLocation(origTable, newTable); // Exception is thrown here<br>
              }                    <br>
         }     <br>
    <br>
    SQL Query : <br><br>
    Select empno, Fun_getEmpAddress(empno) from employee where empno = ?<br><br><br>
    Error Log:<br><br>
    2011-04-26 16:30:41.926 89022900 CrystalReportParms_jsp._jspService(368) Error while generating crystal report<br>
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2305)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)<br>
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)<br>
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)<br>
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)<br>
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)<br>
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)<br>
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)<br>
         at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)<br>
         at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:108)<br>
         at com.crystaldecisions.sdk.occa.report.application.b0.if(SourceFile:148)<br>
         at com.crystaldecisions.sdk.occa.report.application.b0.b(SourceFile:95)<br>
         at com.crystaldecisions.sdk.occa.report.application.bb.int(SourceFile:96)<br>
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:151)<br>
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2159)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:543)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:3898)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(SourceFile:2906)<br>
         at com.mysystems.myapp.common.CRJavaHelper.changeDataSource(CRJavaHelper.java:157)<br>
         at com.mysystems.myapp.common.CrystalReport.print(CrystalReport.java:202)<br>
         at org.apache.jsp.english.CrystalReportParms_jsp._jspService(CrystalReportParms_jsp.java:368)<br>
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)<br>
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)<br>
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
         at com.mysystems.myapp.common.MyServletFilter.doFilter(MyServletFilter.java:107)<br>
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br>
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)<br>
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)<br>
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)<br>
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)<br>
         at java.lang.Thread.run(Thread.java:595)<br>
    Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error<br>
         at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2958)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:944)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245)<br>
         at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:776)<br>
         at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234)<br>
         at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161)<br>
         at com.crystaldecisions.reports.queryengine.Table.try(SourceFile:1525)<br>
         at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:568)<br>
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2405)<br>
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)<br>
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)<br>
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)<br>
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)<br>
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1167)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)<br>
         ... 47 more<br>
    Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error<br>
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)<br>
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)<br>
         at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2953)<br>
         ... 63 more<br>
    Caused by: java.sql.SQLException: ORA-00904: "Fun_getEmpAddress": invalid identifier<br>
    <br>
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)<br>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)<br>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)<br>
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:622)<br>
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:111)<br>
         at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:350)<br>
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:895)<br>
         at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:382)<br>
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:985)<br>
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1515)<br>
         ... 66 more<br>

    i'm also getting the same error when i'm trying to call stored procedure (that will fetch the result set and populate the report) through the query in the report-viewer.jsp. The result set is fetched i.e. when i print the result set it shows on tomcat but it is not getting passed to Table object to populate the report. However when i try to give the query explicitly in the form of SELECT statements, it works fine i.e. i can view the report in the browser. But giving query in the form of SELECT is a very naive way and is ok if u have too less reports not requiring too many joins, thats why i was using stored procedure. Any help would be appreciated.

  • Unexpected database connector error, when data sent from POJO.. Plz Help Me

    Hi, Please Help me about this, I have started learning to develop a crystal report with java swing in crystal report integrated eclipse IDE 3.5 but when i am trying to send data from pojo to report file its giving error like "Unexpected database connector error" and Error code:-2147215349 Error code name:docNotReady.... please hlep me... i uploaded my program and the link to download my file is :
    http://www.4shared.com/file/mz8O4iQi/SimplePojoReport.html
    and i am not using any database just setting the data in the pojo...
    i wrote my problem here before, but nobody replied me... so this time i uploaded my project.. please help me...
    thanks...

    Hell Ted Ueda,
          Thanks for your reply, and did you downloaded my project files ? if not then please download it first.. because i retrieving data from the POJO not from any database.. from database its working fine but in case of POJO its not, because i wanna retrieve data dynamically from directly fields to report, means that user will fill all the information in the text box (Swing) and when he click on the button then the data from the text box should be pushed to report file and also should have to saved in the database.. so please download my project file... and help me...
    link : http://www.4shared.com/file/mz8O4iQi/SimplePojoReport.html
    thanking you..
    Arun...

  • Unexpected database connector error when upgraded to the JRC 12.2.209

    Hi all,
    my reports were working fine when using the Java Reporting component version 11.8.4.1094 within a web application.
    I upgraded to JRC version 12.2.209.1094 Since then I am getting the following exception:
    16:44:33,546 ERROR [JRCCommunicationAdapter]  detected an exception: Unexpected database connector error
         at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:632)
         at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
         at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
         at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
         at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
         at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
         at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
         at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
         at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
         at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fo(SourceFile:526)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(SourceFile:613)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(SourceFile:578)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.X(SourceFile:387)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(SourceFile:339)
         at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:78)
         at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247)
         at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642)
         at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(SourceFile:286)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(SourceFile:209)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(SourceFile:249)
         at com.businessobjects.report.web.event.bh.a(SourceFile:158)
         at com.businessobjects.report.web.event.o.a(SourceFile:146)
         at com.businessobjects.report.web.event.bw.broadcast(SourceFile:93)
         at com.businessobjects.report.web.event.am.a(SourceFile:53)
         at com.businessobjects.report.web.a.t.if(SourceFile:2104)
         at com.businessobjects.report.web.e.a(SourceFile:300)
         at com.businessobjects.report.web.e.a(SourceFile:202)
         at com.businessobjects.report.web.e.a(SourceFile:135)
         at com.crystaldecisions.report.web.ServerControl.a(SourceFile:607)
         at com.crystaldecisions.report.web.viewer.ReportExportControl.a(SourceFile:124)
         at com.crystaldecisions.report.web.ServerControl.a(SourceFile:131)
         at com.crystaldecisions.report.web.ServerControl.getHtmlContent(SourceFile:119)
         at it.xxxx.xxx.servlet.xxxx.xxxx.xxxxx(xxxxx.java:338)
    16:44:33,656 ERROR [STDERR] Caused by: java.sql.SQLException: ORA-00936: missing expression
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:693)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:617)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.T2CStatement.executeForDescribe(T2CStatement.java:766)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1077)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1770)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1739)
    16:44:33,656 ERROR [STDERR]      at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:299)
    16:44:33,656 ERROR [STDERR]      at org.jboss.resource.adapter.jdbc.WrappedStatement.execute(WrappedStatement.java:91)
    16:44:33,656 ERROR [STDERR]      ... 99 more
    From the Eclipse's console I recovered the query being executed and I have noticed that in the query missing one parameter and some parameters are set up incorrectly to zero. With the old version the parameters were passed correctly to the query and the reports work fine.
    Please help. Thanks!
    Edited by: Francesco83 on Jan 13, 2011 5:27 PM
    Edited by: Francesco83 on Jan 13, 2011 5:29 PM
    Edited by: Francesco83 on Jan 14, 2011 12:57 PM

    I find in the SAP notes that this is a reported bug in the JRC application. 
    SAP Note 1416845 - JRC application throws "Unexpected database connector" error
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap%28bd1lbizjptawmq==%29/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433313336333833343335%7D.do
    My question is - Does anyone know when is this bug scheduled to be fixed and released?
    Thanks,
    Travis

  • Unexpected Database Connector Error when rpt has parameters (CR4JE)

    Hello,
    I am trying to call a crystal report from my web-based JBoss application.  If the report does not have a parameter, the report is displayed just fine.  When the report has a parameter, a parameter screen is displayed. When I enter the parameter information and press OK, the report gives "Unexpected Database Connector Error". This applies for both String type parameters and Number type parameters.  Have provided the code below for the xhtml page that contains the bocrv tag and the "reports" bean that it references.  The database is Oracle10g (10.2.0.4).
    Many thanks,
    Travis
    ReportBean.java
    public void init(String reportName) {
              System.out.println("Calledinit");
              String report = "./crystalReports/"+reportName;
              IReportSourceFactory2 rptSrcFactory = (IReportSourceFactory2) new JPEReportSourceFactory();
              try {
                   System.out.println("Callinng rpet"+report);
                   this.reportSource = (IReportSource) rptSrcFactory
                             .createReportSource(report, l);
              } catch (ReportSDKException e) {
                   System.out.println("Exception while callingn report");
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    reportViewer.xhtml
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view contentType="text/html" xmlns="http://www.w3.org/1999/xhtml"
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:s="http://jboss.com/products/seam/taglib"
         xmlns:bocrv="http://www.businessobjects.com/jsf/crystalreportsviewers">
         <html>
         <head>
         <title>Report Viewer</title>
         </head>
         <body>
         <h:form>
              <bocrv:reportPageViewer reportSource="#{reports.reportSource}"
                   allowParameterPrompting="true" viewerName="reportViewer" />
         </h:form>
         </body>
         </html>
    </f:view>

    I find in the SAP notes that this is a reported bug in the JRC application. 
    SAP Note 1416845 - JRC application throws "Unexpected database connector" error
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap%28bd1lbizjptawmq==%29/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433313336333833343335%7D.do
    My question is - Does anyone know when is this bug scheduled to be fixed and released?
    Thanks,
    Travis

  • CR4E 2.1: Unexpected database connector error

    Hi,</br>
    I've an application that runs reports at an automated time, we've just updated from older JRC components from Crystal Reports XI to the CR4E 2.1 components, we did this because occasionally the reports would cause a maximum cursors exception as we use ORACLE stored procedures to gather data from our database. </br></br>
    Changing to the newer components eliminates the cursor problem but now we are facing this exception from some of the reports that take longer to run
    </br>
    </br>
    <code>
    ERROR: Could not convert saved data
    com.businessobjects.reports.datamodel.DFException: Unexpected database connector error
            at com.crystaldecisions.reports.datafoundation.DFQuery.for(Unknown Source)
            at com.crystaldecisions.reports.datalayer.a.do(Unknown Source)
            at com.crystaldecisions.reports.datalayer.a.a(Unknown Source)
            at com.crystaldecisions.reports.dataengine.m.b(Unknown Source)
            at com.crystaldecisions.reports.dataengine.j.b(Unknown Source)
            at com.crystaldecisions.reports.dataengine.m.o(Unknown Source)
            at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
            at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
            at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
            at com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
            at com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.if(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.do(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.if(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.S(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.U(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.aD(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.R(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.if(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.aH(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataProcessor2.au(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataSourceManager.a(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataSourceManager.if(Unknown Source)
            at com.crystaldecisions.reports.dataengine.DataSourceManager.a(Unknown Source)
            at com.crystaldecisions.reports.reportdefinition.ReportDocument.goto(Unknown Source)
            at com.crystaldecisions.reports.reportdefinition.ReportDocument.at(Unknown Source)
            at com.businessobjects.reports.reportconverter.v12.f.do(Unknown Source)
            at com.businessobjects.reports.reportconverter.v12.V12SaveLoader.a(Unknown Source)
            at com.businessobjects.reports.loader.ReportSaver.a(Unknown Source)
            at com.businessobjects.reports.loader.ReportSaver.save(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(Unknown Source)
            at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(Unknown Source)
            at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(Unknown Source)
            at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(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)
            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.rcody.ReportEngine.batching.ReportEngineBatchJob$ExecuteSavedReports.processReport(ReportEngineBatchJob.java:778)
            at com.rcody.ReportEngine.batching.ReportEngineBatchJob$ExecuteSavedReports.reportExport(ReportEngineBatchJob.java:637)
            at com.rcody.ReportEngine.batching.ReportEngineBatchJob$ExecuteSavedReports.doReportExport(ReportEngineBatchJob.java:1129)
            at com.rcody.ReportEngine.batching.ReportEngineBatchJob$ExecuteSavedReports.run(ReportEngineBatchJob.java:564)
            at com.rcody.ReportEngine.batching.ReportEngineBatchJob.runJob(ReportEngineBatchJob.java:238)
            at com.rcody.ReportEngine.display.SchedulerDisplayControl.proccesRequest(SchedulerDisplayControl.java:229)
            at com.rcody.ReportEngine.ReportEngineAppletServlet.processRequest(ReportEngineAppletServlet.java:58)
            at com.rcody.ReportEngine.BaseServlet.process(BaseServlet.java:40)
            at com.rcody.ReportEngine.BaseServlet.doPost(BaseServlet.java:34)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
            at java
    16:36:27,587 INFO  [STDOUT] .lang.Thread.run(Thread.java:619)
    Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error
            at com.crystaldecisions.reports.queryengine.Connection.a(Unknown Source)
            at com.crystaldecisions.reports.queryengine.Rowset.z3(Unknown Source)
            at com.crystaldecisions.reports.queryengine.Rowset.bL(Unknown Source)
            at com.crystaldecisions.reports.queryengine.Rowset.zM(Unknown Source)
            at com.crystaldecisions.reports.queryengine.RowsetBase.zA(Unknown Source)
            at com.crystaldecisions.reports.queryengine.QueryInfo.vE(Unknown Source)
            ... 98 more
    Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error
            at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
            at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
            at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
            ... 104 more
    Caused by: java.sql.SQLException: ORA-01008: not all variables bound
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
            at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
            at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
            at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210)
            at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:961)
            at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1190)
            at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1726)
            at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1696)
            at org.jboss.resource.adapter.jdbc.WrappedStatement.execute(WrappedStatement.java:84)
            ... 107 more
    </code>
    </br>
    </br>
    These reports would execute just fine under the older components with all their parameters provided. So I'm unclear as to why the new components would return this particular error.</br>If any one can provide an extra documentation or assistance I would really appreciate it</br></br>
    Dusteh

    Hi, my problem is similar:
    1-i have a report that runs a stored procedure in mysql
    2-i programmatically change connection parameter at runtime.
    4-when i run the report i get an exception "Unexpected database connector error" (italian message "Errore imprevisto del connettore del database"
    last rows of log...
    DEBUG - Evaluating formula {@{DSParameter}::{?p_az}}...
    DEBUG - The current value of field {?p_az} is: n(1.0)
    INFO - Formula {@{DSParameter}::{?p_az}} evaluated to: n(1.0)
    DEBUG - Evaluating formula {@{DSParameter}::{?p_cdc}}...
    DEBUG - The current value of field {?p_cdc} is: s(0505)
    INFO - Formula {@{DSParameter}::{?p_cdc}} evaluated to: s(0505)
    DEBUG - Evaluating formula {@{DSParameter}::{?p_anno}}...
    DEBUG - The current value of field {?p_anno} is: n(2009.0)
    INFO - Formula {@{DSParameter}::{?p_anno}} evaluated to: n(2009.0)
    DEBUG - Evaluating formula {@{DSParameter}::{?p_mese}}...
    DEBUG - The current value of field {?p_mese} is: n(6.0)
    INFO - Formula {@{DSParameter}::{?p_mese}} evaluated to: n(6.0)
    INFO - QueryInfo openRowset:
    INFO - Rowset restart: moveToStart true
    INFO - Rowset execute
    INFO - Executing query using a Query Definition.
    ERROR -  detected an exception: Errore imprevisto del connettore del database
         at com.crystaldecisions.reports.datafoundation.DFQuery.for(Unknown Source)
         at com.crystaldecisions.reports.datalayer.a.do(Unknown Source)
         at com.crystaldecisions.reports.datalayer.a.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.b(Unknown Source)
         at com.crystaldecisions.reports.dataengine.j.b(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.o(Unknown Source)
         at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
         at com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
         at com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fl(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.X(Unknown Source)
         at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.byte(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.getPage(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
         at com.businessobjects.crystalreports.viewer.core.rs.RSRecordSource.openInputStream(Unknown Source)
         at com.businessobjects.crystalreports.viewer.core.TSLVReader.a(Unknown Source)
         at com.businessobjects.crystalreports.viewer.core.TSLVReader.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    INFO -  releasing engine request
    DEBUG - command SETUP: NotUndoableCommand
    DEBUG - command PERFORM: NotUndoableCommand
    DEBUG - -- command is NOT UNDOABLE -> purge undo stack
    How i can detect what is happening?

  • VB2005 with Crystal Report XI and MS Access - Database Connector Error:

    Post Author: jvaldeziii
    CA Forum: .NET
    "Database Connector Error:"
    does anybody there whose got an idea with this problem?
    Im using VB2005 and im trying to show a report using CR XI with a Ms Access database...
    Whenever i used a CRAXDRT.Report.SQLQueryString? my application has an error "Database Connector Error"
    but whenever i omit this single line of code CRAXDRT.Report.SQLQueryString?
    crxReport.SQLQueryString = "Select * from tblPersonal where EMP_ID like '0%'"
    Or either i replace it with a CRAXDRT.Report.RecordSelectionFormula?
    crxReport.RecordSelectionFormula = "{tblPersonal.IDNo} like '*'"
    it works fine and it show the report and data...
    But?? i have to use more flexible filter condition like "SQLQueryString" like using LEFT OUTER JOIN or even just a simple query string in sql query...
    but using "SQLQueryString" gives me a head ache to figure it myself... I got this frustrating error in my application... "Database connector error"
    thats why i need help... please anybody has a good idea to resolve this problem "Database connector error" please refer to my code if there's something missing or lacking in my code...
    Here's my sample code:
    Private Sub frmCrystalReport_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Try
    ChildFormAutoSizeFit(Me)
    Me.Cursor = Cursors.WaitCursor
    Me.MdiParent = frmMain
    crxApp = New CRAXDRT.Application
    crxReport = crxApp.OpenReport(reportPath & "\EmployeeRecord.rpt", CrystalDecisions.Shared.OpenReportMethod.OpenReportByDefault)
    crxDataBase = crxReport.Database
    crxTables = crxDataBase.Tables
    For Each crxTable In crxTables
    crxTable.Location = DataSource
    crxTable.SetLogOnInfo("Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & reportPath, "myEmpDB.mdb", "UserName", "myPassword")
    Next crxTable
    'Note1: this line crxReport.SQLQueryString gives me the headache "Database Connector Error"
    crxReport.SQLQueryString = "Select * from tblPersonal"
    'Note2: this line crxReport.RecordSelectionFormula works fine
    'crxReport.RecordSelectionFormula = "{tblPersonal.IDNo} like '*'"
    AxCRViewer1.ReportSource = crxReport
    AxCRViewer1.ViewReport()
    crxDataBase = Nothing
    crxTable = Nothing
    crxTables = Nothing
    crxReport = Nothing
    crxApp = Nothing
    Catch ex As Exception
    MsgBox(ex.ToString())
    Finally
    Me.Cursor = Cursors.Default
    End Try
    End Sub
    Please anybody there who can resolve this problem or even just a good idea to share?? Please...
    A lot of appreciation to someone or anybody who can help with this... thanks in advance....

    Post Author: Argan
    CA Forum: .NET
    You may want to move/ask this question in the "Other" sdk forum since this is not the CR.NET SDK, but actually RDC/COM SDK.
    You are using the RDC in .NET, which is unsupported/untested so there is no way to know if it is a .NET specific issue or an issue with the RDC.
    One of the COM folks may be of more help in that forum.
    Good luck with your project.

  • Unexpected database connector using CRE2.0 and Oracle SP

    I am encountering "Unexpected database connector error" while running a report that calls an Oracle 10g stored procedure. 
    I have a simple JSP that opens a report that calls the stored procedure.  In fact, the JSP is straight out of the samples.  It opens the report using ReportClientDocument.open, then forwards to CrystalReportViewer.jsp that calls CrystalReportViewer.processHttpRequest.  Very standard stuff.
    The report is displayed just fine using JRC 11.8.  But with version 2, I get the error: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
    The report runs ok in Crystal Report Designer XI (we don't have CR 2008 Designer yet). 
    The SP has one cursor:
        my_cursor IN OUT SYS_REFCURSOR
    No other parameters.
    Robert

    My apologies ... one more bit of info.
    In the stack trace that is returned, I see:  Notice the ORA-01008: not all variables bound error
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- 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)
         Truncated. see log file for complete stacktrace
    com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error
         at com.crystaldecisions.reports.queryengine.Connection.a(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Rowset.Bp(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Rowset.bP(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Rowset.A8(Unknown Source)
         at com.crystaldecisions.reports.queryengine.RowsetBase.AW(Unknown Source)
         Truncated. see log file for complete stacktrace
    com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Connection.a(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Rowset.Bp(Unknown Source)
         Truncated. see log file for complete stacktrace
    java.sql.SQLException: ORA-01008: not all variables bound
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         Truncated. see log file for complete stacktrace

Maybe you are looking for

  • Itunes crashed in middle of outlook sync my calendar is left named _modcal is there a way to get my calendar renamed?

    iTunes coredumped in the middle of syncing my Outlook calendar and left my Calendar named "_ModCal74cb._ModCal3cfb.Calendar" (yes this has happened twice). Does anyone know a way to get back to the correct, original calendar name without losing all m

  • Lines on the video flicker

    Help!!!! I need to submit a video tomorrow and after working on a 40 min clip lines on the resulting video do a crazy flickering dance.... I am using CS5 and fto export this video i used h264 vimeo hd settings.... then reduced the frame height to bet

  • Suitability of Adobe AIR / HTML /JS

    I have a task to built a simple Digital signage system which will display different kind of information on LCD panels. I am not sure if Adobe AIR with HTML / Javascript would be a good choice for the desktop part of this application, which will be re

  • Trying to incorporate bridge web gallery into GoLive page

    All thoughts are so welcome. I'm trying to update my GoLive site with a Bridge web gallery. I've seen a tutorial or two about doing this in DW, but not my beloved GoLive. Any wisdom would be so appreciated!

  • NAC layer 3 Virtual Gateway Setup

    I am running the NAC Appliance currently in virtual gateway mode for layer 2 inband and it works great. I wanted to add layer 3 virtual gateway inband to this same NAC server, but I can't seem to find enough documentation on this. I do have layer 3 e