Web Service data source report causes Java memory leak

Crystal Report designer fails to preview a report whose data source is a WSDL web service.  This happens when the Java run time process has exceeded the memory limit specified in the CRConfig.xml file.  The Java memory is never released by Crystal Reports until the Crystal Reports Designer is closed.  Version is Crystal reports 2008 (product version 12.2.4.507).
This error also occurs in the Crystal Reports Viewer when used in a Microsoft .NET application (framework 3.5) referencing CrystalDecisions.CrystalReports.Engine.dll v12.0.2000.0, CrystalDecisions.Enterprise.Framework.dll v12.0.1100.0, CrystalDecisions.Enterprise.InfoStore.dll v12.0.1100.0, CrystalDecisions.ReportSource.dll v12.0.2000.0, CrystalDecisions.Shared.dll v12.0.2000.0
I load the ReportDocument object based on the location of the .rpt file and then set the ReportSource object of the CrystalReportViewer control:
string FullReportName = "TestFile.rpt";
ReportDocument reportDoc = new ReportDocument();
reportDoc.Load(FullReportName, OpenReportMethod.OpenReportByTempCopy);
this.crystalReportViewer1.ReportSource = reportDoc;
reportDoc.Close();
reportDoc.Dispose();
GC.Collect();
The code displays the report in the report viewer.  However, every time the report is refreshed the Java runtime memory increases until the application cannot display the results.  The error messages are "Failed to retrieve data from the database." followed by "Cannot determine the queries necessary to get data for this report. Details: Unexpected error".  If you try to refresh the data once again the following errors occur: "Failed to retrieve data from the database." then "Cannot determine the queries necessary to get data for this report. Details: Schema file is invalid   Java heap space".
Increasing the java heap space in the CRConfig.xml file merely prolongues the onset of this error.
Is there a service pack or hot fix for this???
PLEASE HELP.

Many thanks for your help.  This solved the issue for our .NET code, however the leak is still present in the report designer.  I was also wondering if you could help further: because of the limits on the java memory process is there a way to ensure that a separate java process is started for each report that is loaded in my report viewers collection?  Essentially the desktop application that i have created uses a tab control to display each type report, so each tab goes through the following code when displaying a report and closing a tab:
Is there a way to ensure that a different Java process is kicked off each time that I display a different report?  My current code in c# always uses the same Java process so the memory ramps up.  The code to load the report and then dispose of the report through closing the tab (and now the Java process) looks like this:
    private void LoadCrystalReport(string FullReportName)
      ReportDocument reportDoc = new ReportDocument();
      reportDoc.Load(FullReportName, OpenReportMethod.OpenReportByTempCopy);
      this.crystalReportViewer1.ReportSource = reportDoc;
    private void DisposeCrystalReportObject()
      if (crystalReportViewer1.ReportSource != null)
        ReportDocument report = (ReportDocument)crystalReportViewer1.ReportSource;
        foreach (Table table in report.Database.Tables)
          table.Dispose();
        report.Database.Dispose();
        report.Close();
        report.Dispose();
        GC.Collect();
Thanks

Similar Messages

  • Using 2 web services data sources in the same report

    I've been trying unsuccesffuly to use 2 web services data sources in a report. The main report accesses the first web service to get job summary information. 3 fields are are passed as parameters to a sub-report and used as parameters for the sub-report selection. Each report works fine independently, but when I link them together the subreport alway fails to retrieve data.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Support for XML / Web Service Data Source?

    <p>Do you know if and when Crystal Reports for Eclipse will support using the XML / Web Service data source?  It appears that only JDBC and Java Result Sets are currently supported.  I am using:</p><p>com.businessobjects.integration.eclipse.library_1.0.0.v671 </p><p>com.businessobjects.sdks.jrc.11.8.0_11.8.1.v671 </p><p>Thank you! </p>

    <p>Ok, I copied the JARs (such as CRDBXMLServer.jar) from the JRC SDK (from Eclipse all-in-one) onto the Tomcat classpath and got rid of my previous problem.  I now get the stack trace below.  I also can not find crdb_*.dll files (such as crdb_xml.dll) anywhere on my system other than the service pack 2 rollback directories.  My guess is I should be downloading and installing something else -- is this true? </p><p>10 Jan 2007 13:22:36 [http-8080-Processor23] DEBUG com.crystaldecisions.reports.reportdefinition.datainterface - Failed to open connection (Connection:<databaseType=XML><serverName=http://dopey/devicedirectory/2006-06-25/DeviceDirectory?WSDL DeviceDirectory DeviceDirectoryPort getDevices><state=closed><databaseDriverName=crdb_xml.dll>).<br />com.crystaldecisions.reports.queryengine.am: Error loading database connector.  The class &#39;com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader&#39; could not be accessed.<br />    at com.crystaldecisions.reports.queryengine.ax.am(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.ax.new(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.ax.byte(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Unknown Source)<br />    at com.businessobjects.reports.sdk.b.b.byte(Unknown Source)<br />    at com.businessobjects.reports.sdk.b.b.a(Unknown Source)<br />    at com.businessobjects.reports.sdk.b.b.byte(Unknown Source)<br />    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br />    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br />    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)<br />    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(Unknown Source)<br />    at com.crystaldecisions.report.web.event.ac.a(Unknown Source)<br />    at com.crystaldecisions.report.web.event.ac.a(Unknown Source)<br />    at com.crystaldecisions.report.web.event.b2.a(Unknown Source)<br />    at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)<br />    at com.crystaldecisions.report.web.event.av.a(Unknown Source)<br />    at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)<br />    at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)<br />    at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)<br />    at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)<br />    at com.crystaldecisions.report.web.viewer.taglib.ServerControlTag.doEndTag(Unknown Source)<br />    at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(Unknown Source)<br />    at org.apache.jsp.stateReport_002dviewer_jsp._jspx_meth_crviewer_viewer_0(stateReport_002dviewer_jsp.java:108)<br />    at org.apache.jsp.stateReport_002dviewer_jsp._jspService(stateReport_002dviewer_jsp.java:61)<br />    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br />    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)<br />    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)<br />    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<br />    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<br />    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<br />    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<br />    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)<br />    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<br />    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)<br />    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)<br />    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)<br />    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)<br />    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)<br />    at
    java.lang.Thread.run(Unknown Source)<br />Caused by: java.lang.reflect.InvocationTargetException<br />    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br />    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br />    at java.lang.reflect.Method.invoke(Unknown Source)<br />    ... 53 more<br />Caused by: java.lang.NoClassDefFoundError: OCA/OCAdbdll/DbDLLOperations<br />    at java.lang.ClassLoader.defineClass1(Native Method)<br />    at java.lang.ClassLoader.defineClass(Unknown Source)<br />    at java.security.SecureClassLoader.defineClass(Unknown Source)<br />    at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)<br />    at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)<br />    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)<br />    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)<br />    at java.lang.ClassLoader.loadClassInternal(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.driverImpl.a.<init>(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.driverImpl.a.eE(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader.loadDriver(Unknown Source)<br />    ... 57 more<br /><br /> </p>

  • No data in generated document/web service data source/complex response type

    I can define a report with a template with the BI Publisher server and the Template Builder Desktop plugin. When I use an sql statement as data source the preview functionality in Word and in the browser (logged in to the server) results in a correct report, with the correct data from the data source.
    When I use a web service as a data source I can still generate and preview reports but no data from the data source is visible in the reports. However this data is available in the Template Builder plugin in MS-Word.
    How do I know this ? When I try to insert a field from the data source into my rtf template the plugin shows a screen with the available fields. Or actually, the screen shows all fields returned by a dummy call to the web service. When I click on a field it shows the value returned by the web service just after the test "Example". I have set up my web service such that it always returns the same response.
    The field I want to show is in a repeating record, but it does not make a difference when I surround it by a group:
    <?for-each-group:/getValidationGroupsResponse/body/validationGroupList/validationGroup[1];./name?><?name?><?end for-each-group?>
    Neither does looping over all fields display any data:
    <?for-each-group:/getValidationGroupsResponse/body/validationGroupList/validationGroup;./name?><?name?><?end for-each-group?>
    The fact that the response of my web service data source contains repeating records might be different from what others have tested so far.
    I also found two other features when defining reports. I mention them here because they could be related to my problem. When I define two data source for my report, a web service and an sql query then only the fields from the sql query are visible in MS-Word/Template Builder. Even when the Data Model specifies the web service as "Main Data Set". And the "Default data source" is always a database even when the Data Model only defines a web service as "Data Set".
    Edited by: CalculateOnline.org on May 21, 2010 2:36 PM: changed title

    Unfortunately I can not test against a public webservice and follow the examples in the tutorials, since BI Publisher does not seem to offer any proxy configuration to connect to the internet.
    My local webservice returns the following data, visible when viewing the report from the backend, when no template has been defined yet:
    <ns2:getValidationGroupsResponse xmlns:ns2="amsterdam/wabo/services/data/validationOperations" xmlns="amsterdam/wabo/services/data/common">
    <ns2:responseHeader>
    <resultaatcode>OK</resultaatcode>
    </ns2:responseHeader>
    <ns2:body>
    <ns2:validationGroupList>
    <ns2:validationGroup>
    <ns2:name>testgroep1</ns2:name>
    <ns2:caption>kop1</ns2:caption>
    <ns2:description>Voor testen ontvankelijkheidstest 1</ns2:description>
    </ns2:validationGroup>
    <ns2:validationGroup>
    <ns2:name>testgroep2</ns2:name>
    <ns2:caption>kop2</ns2:caption>
    <ns2:description>Voor testen ontvankelijkheidstest 2</ns2:description>
    </ns2:validationGroup>
    </ns2:validationGroupList>
    </ns2:body>
    </ns2:getValidationGroupsResponse>
    After defining the template, the values of the first group are visible in MS-Word as well, as example values.
    I put the the template in a public place:
    http://www.calculateonline.org/projects/bipublisher/template1.rtf
    Just in case you need the wsdl as well:
    http://www.calculateonline.org/projects/bipublisher/validationOperations.wsdl

  • Setup dynamic Web Service Data Source

    Hi all,
    is there a way to setup a "dynamic" web service data source like
    WSDL-URL = 'http://${server_ip}:${server_port}/XYZService?wsdl
    and passing in the server_ip and server_port variables from outside upon document rendering?
    As far as we have seen, there is not way to do so - leaving us with a static web service data source configuration that is only able to point to one specific WSDL.
    The use case we have here goes like this:
    1) We have one specific template for a specific document to be rendered.
    2) Depending on the caller, the data source must be different, i.e. the same web service at different endpoint addresses must be called to fetch the right data.
    Any ideas?
    Thanks in advance.
    Best regards,
    Stefan

    Hi Klaus,
    thanks for your reply. We also had that idea with the router web service ;-) But a little more flexibility would be great for us due to our decentralized system landscape.
    Currently, we are in the evaluation phase of BI publisher to replace our local reports (sales documents) with BI Publisher reports having one central instance of BI Publisher and n local store instances all providing a getSalesDocument() web service.
    To be able to call the correct web service, a dynamic config of web service endpoints would be helpful.
    Best regards,
    Stefan

  • Liquid Data and Web Service Data Source

    I am using LD 1.0.1
    When I try to use a registered web service data source, I get exceptions.
    Any ideas?
    Thanks.
    The query looks like this:
    {--     Generated by Data View Builder 1.0     --}
    let $result_1 :=
    let $query_2 := TLSOAP:query("/TigerLogicDB/Customers/CustomerData",
    "/CUSTOMERS/CustomerRecord/Country", "1049756613661")
    return
    <result>{ cast as xs:string($query_2) }</result>
    where xf:not(xf:empty($result_1))
    return
    <root>
         { $result_1 }
    </root>
    Error message:
    EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
    Start server side stack trace:
    java.rmi.RemoteException: EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
    java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:254)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace
    ; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
    Start server side stack trace:
    java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:254)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace

    Hi Mike
    Thanks for the reply. Here is the server stack trace info:
    ####<Apr 10, 2003 11:14:45 AM PDT> <Info> <HTTP> <RAININGD-IGX5LZ> <LDServer>
    <ExecuteThread: '12' for queue: 'default'> <kernel identity> <> <101047> <[ServletContext(id=2577764,name=bea_wls_internal,context-path=/bea_wls_internal)]
    /classes/*: init>
    ####<Apr 10, 2003 11:16:11 AM PDT> <Info> <Management> <RAININGD-IGX5LZ> <LDServer>
    <ExecuteThread: '8' for queue: 'default'> <kernel identity> <> <140009> <Configuration
    changes for domain saved to the repository.>
    ####<Apr 10, 2003 11:30:49 AM PDT> <Debug> <Liquid Data Server> <RAININGD-IGX5LZ>
    <LDServer> <ExecuteThread: '12' for queue: 'default'> <kernel identity> <> <000000>
    <mediator.admin - Server Debug (Management) 1-4-1-18: User `robert` submitted
    the following query: {--     Generated by Data View Builder 1.0     --}
    let $query_1 := TLSOAP:query("/TigerLogicDB/POS/PODetail", "/purchaseOrder/shipTo/name",
    "1049996303750")
    return
    <results>
         <data>{ cast as xs:string($query_1) }</data>
    </results>>
    ####<Apr 10, 2003 11:30:50 AM PDT> <Info> <Liquid Data Server> <RAININGD-IGX5LZ>
    <LDServer> <ExecuteThread: '12' for queue: 'default'> <kernel identity> <> <000000>
    <mediator.admin - Server Info (Management) 1-4-1-17: Query compilation time: 1633
    ms.>
    ####<Apr 10, 2003 11:30:50 AM PDT> <Debug> <Liquid Data Server> <RAININGD-IGX5LZ>
    <LDServer> <ExecuteThread: '12' for queue: 'default'> <kernel identity> <> <000000>
    <mediator.admin - Query Execution Debug (Run Time) 1-2-3-43: Calling operation
    '{TigerLogicService}query' of WebService 'StandardClientService'. Request: [/TigerLogicDB/POS/PODetail,
    /purchaseOrder/shipTo/name, 1049996303750]>
    ####<Apr 10, 2003 11:30:51 AM PDT> <Error> <Liquid Data Server> <RAININGD-IGX5LZ>
    <LDServer> <ExecuteThread: '12' for queue: 'default'> <kernel identity> <> <000000>
    <mediator.admin.user - Query Execution Error (Run Time) 1-2-3-30: An error occurred
    while evaluating the function TLSOAP:query. (failed to create service)>
    ####<Apr 10, 2003 11:30:51 AM PDT> <Info> <EJB> <RAININGD-IGX5LZ> <LDServer> <ExecuteThread:
    '12' for queue: 'default'> <kernel identity> <> <010051> <EJB Exception during
    invocation from home: com.bea.ldi.server.QueryBean_1ao78o_HomeImpl@5bd7fd threw
    exception: java.rmi.RemoteException: EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)>
    java.rmi.RemoteException: EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
    java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30: An error
    occurred while evaluating the function TLSOAP:query. (failed to create service)
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:254)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    "Mike Reiche" <[email protected]> wrote:
    >
    The stack trace from the server will have more information. Can you send
    it please?
    Thanks,
    Mike
    "robert" <[email protected]> wrote:
    I am using LD 1.0.1
    When I try to use a registered web service data source, I get exceptions.
    Any ideas?
    Thanks.
    The query looks like this:
    {--     Generated by Data View Builder 1.0     --}
    let $result_1 :=
    let $query_2 := TLSOAP:query("/TigerLogicDB/Customers/CustomerData",
    "/CUSTOMERS/CustomerRecord/Country", "1049756613661")
    return
    <result>{ cast as xs:string($query_2) }</result>
    where xf:not(xf:empty($result_1))
    return
    <root>
         { $result_1 }
    </root>
    Error message:
    EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30:
    An error
    occurred while evaluating the function TLSOAP:query. (failed to create
    service)
    Start server side stack trace:
    java.rmi.RemoteException: EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30:
    An error
    occurred while evaluating the function TLSOAP:query. (failed to create
    service)
    java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30:
    An error
    occurred while evaluating the function TLSOAP:query. (failed to create
    service)
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:254)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown
    Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace
    ; nested exception is:
         java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30:
    An error
    occurred while evaluating the function TLSOAP:query. (failed to create
    service)
    Start server side stack trace:
    java.rmi.RemoteException: Query Execution Error (Run Time) 1-2-3-30:
    An error
    occurred while evaluating the function TLSOAP:query. (failed to create
    service)
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:254)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown
    Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace

  • Data Federator - Building Web Services Data Source - Request Guidance

    Hello -
    I am trying to build a web services data source in Data Federator.
    I have:
    1. In ECC, I have created a web service, proxy, port, endpoint, etc. and am testing it with WS Navigator
    2. I have created a Project in Data Federator of the type web service
        a. Here I have assigned the WSDL URL (generated in ECC) as the URL
        b. I have setup web service authentication using the same userid, pwd in the web services definition (note: I have set the
            web services authentication to 'NONE' to avoing authorization issues)\
        c. I am now trying to "Generate Operations"
    I keep getting the error :
    The File Access Parameters are not valid (directory path = <HERE IS THE PATH TO THE WSDL WITH THE HOST/PORT stripped OUT>; file pattern = document
    I believe that it is finding the WSDL, becuase when I change the WSDL from 'Document' to 'RPC', the error changes with the file pattern = rpc.
    What needs to be done to the file access parameter piece.
    PLEASE provide guidance.  Thanks.
    - abhi

    Ananya,
    We are using XI to load data to BI from source system. XI basically uses the same concept as Web Services - Real time data concept via RFC embeded in Proxies.
    I was using web services to test data load - eventually we will use XI.
    KJs blog is pretty good. I was able to get data loaded - after several iterations and several OSS notes. It is still not perfect - there are several manual steps . I am going to pick KJs brain on that.
    We are on SP10 and looks like there are several bugs in RSRDA. Some of these are addressed in SP11 an SP12.
    Some notes to consider are
    0001003963, 0001008276,0001009260 and 001003265.
    Let me know if you have any questions.

  • Web service data source - Entry 70 still missing

    Hello,
    I have created a web service data source in order to create a push mechanism for master data.
    Before implementing and consuming it in R/3 side, I have tested the generated function module of the data source.
    I have created a real time (and push) info package, assigned it to a daemon and executed the FM.
    After executing the FM, my request remains in yellow and I get the message:
    "...... Entry 70 still missing " .
    In the Status tab I get the message "No Idocs arrived from the source system."
    Kindly help, Regards.
    Amir,

    Thanks for the response.
    1. In the infopackage I have set the automatic closure to 1 hour
    2. Data is not getting loaded to the datatarget
    3. When we click on assign on infopackage it gives an error ' No profile selected for web service'. When we ignore this and go to the Monitor: Real time data acquistion screen adn try to add the DTP it fails.We are not able to include the DTP in the deamon. It fails with ' Operation CHECK_STATUS_OF could not be carried out for REALTIME_DTP '
    Any help in this regard will be greatly appreciated.
    Thanks
    Suja

  • XML and Web Service Data Source Missing in Crystal Reports for VS

    I would like to use a Web Service as the data source for a Crystal Report that will be running outside of my Visual Studio application.  So setting the data source to the web service in code is not possible.  My understanding is Crystal Reports has a connection (in the Database Expert under New Connection) named XML and Web Service.  Here you can select web service and enter the WSDL URL for the web service.  However it does not appear in the list for Crystal Reports for Visual Studio.  Does this connection type come with the Visual Studio version of Crystal Reports and if not is their a way to obtain it? 
    Thank you for your assistance.

    None of the bundled versions of CR have the driver. Reason is that the driver responsible for these connections requires the Java framework and I suspect MS would not be too pleased if we installed the Java framework. The stand alone versions, since they are not part of any bundle can and do install the Java framework and the driver. Note that even the latest release of CR - CRVS2010 does not have the driver as it essentially becomes a bundle or a VS2010 plug-in.
    So, the short of it is; you have to obtain a stand-alone version of CR. I'd recommend CR 2008 (12.x) as CRXI R2 will run out of support in June of this year.
    - Ludek

  • How to design crystal report with web service data source?

    I want to design and run a Crystal Report 2008 against my ADO.NET DataSet from web service method.
    I choose New Report, for Data I choose XML, then "Use Web Data Source" hit next, then choose "HTTP WSDL URL" I enter http://localhost/RDWS/Service.asmx?wsdl, hit Next, I leave HTTP username and HTTP password blank. Then I see the Services, Ports and Methods screen. Services: Service, Ports: ServiceSoap, Methods: CustomerOrdersDataSet
    When I click Finish, I get Logon Failed, Details, Schema file is invalid. error:Element Schema@htttp://www.w3.or/2001XMLSchemal not found.
    How can I get this to work?

    The native XML driver is incompatible with ADO.NET DataSet XML.  The specific issue is that the driver cannot handle the recursive definition on "Schema" that the .NET DataSet XML uses.
    The workaround is to create a .NET class that Web References, invoke the Web Service method for the DataSet, then returns it. 
    Use the ADO.NET (XML) driver in Crystal Report to consume the .NET data source.
    Note - when you deploy your report, ensure you deploy the DLL for the .NET class you've created.
    Sincerely,
    Ted Ueda

  • Publisher report with web service data source timing out in browser

    I have a report which calls a web service. Depending on parameters passed the data can take 5+ minutes to return. The report often times out in the browser before data is returned.
    Is there a BI Publisher or OBIEE setting where i can extend the timeout setting?
    easy points!

    Think I found it in report data source settings, nevermind!

  • Error While Activating BI Web service data source based on MDM XI.

    Dear experts,
    Need help with an error that i am getting for a BI data source based on XI MDM. An extra field was added in the data source as part of business requirement and it works fine in dev environment but when we transported the changes to Q environment it is always giving following error.
    The web-service based communication structure in the data source in QA is not getting updated with the new field in the target system.
    Any inputs or pointers would be appreciated.
    Thanks,
    Abhishek

    Many thanks for your help.  This solved the issue for our .NET code, however the leak is still present in the report designer.  I was also wondering if you could help further: because of the limits on the java memory process is there a way to ensure that a separate java process is started for each report that is loaded in my report viewers collection?  Essentially the desktop application that i have created uses a tab control to display each type report, so each tab goes through the following code when displaying a report and closing a tab:
    Is there a way to ensure that a different Java process is kicked off each time that I display a different report?  My current code in c# always uses the same Java process so the memory ramps up.  The code to load the report and then dispose of the report through closing the tab (and now the Java process) looks like this:
        private void LoadCrystalReport(string FullReportName)
          ReportDocument reportDoc = new ReportDocument();
          reportDoc.Load(FullReportName, OpenReportMethod.OpenReportByTempCopy);
          this.crystalReportViewer1.ReportSource = reportDoc;
        private void DisposeCrystalReportObject()
          if (crystalReportViewer1.ReportSource != null)
            ReportDocument report = (ReportDocument)crystalReportViewer1.ReportSource;
            foreach (Table table in report.Database.Tables)
              table.Dispose();
            report.Database.Dispose();
            report.Close();
            report.Dispose();
            GC.Collect();
    Thanks

  • DSP Web Service Data Source runtime error "Invalid xsi:type qname"

    I have created a DSP data service that uses a web service as a data source.
    The web service wraps an Oracle PL/SQL package and works when tested independantly of the DSP data service.
    When I test the DSP data service using the weblogic workshop test view I get the error below:
    weblogic.xml.query.exceptions.XQueryDynamicException: {err}XQ0027: Validation failed: error: cvc-elt.4.2: Invalid xsi:type qname: 'ns0:EmpRecUser' in element getEmpResponseElement@http://hr/EmpWebService.wsdl/types/
    (The full stack trace and the WSDL imported into DSP are at the bottom of this posting)
    I am new to DSP but I have created data services from the DSP tutorials succesfully before.
    This is the first data service I have tried to create which is not from a DSP tutorial.
    I dont really understand the error message.
    It appears to me that type EmpRecUser is being prefixed by the wrong name space. In the WSDL the namespace is 'tns:' in the error message the namespace is: 'ns0'.
    <element name="getEmpResponseElement">
    <complexType>
    <sequence>
    <element name="result" type="tns:EmpRecUser" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    I created the web service in Oracle J Developer from the tutorial URL below.
    http://www.oracle.com/technology/obe/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm#p
    weblogic.xml.query.exceptions.XQueryDynamicException: {err}XQ0027: Validation failed: error: cvc-elt.4.2: Invalid xsi:type qname: 'ns0:EmpRecUser' in element getEmpResponseElement@http://hr/EmpWebService.wsdl/types/
         at weblogic.xml.query.schema.xmlbeans.XMLValidatorForXMLBeans.giveToken(XMLValidatorForXMLBeans.java:169)
         at weblogic.xml.query.schema.ValidatingIterator.fetchNext(ValidatingIterator.java:148)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at com.bea.ld.wrappers.ws.JAXRPCWebserviceIterator.fetchNext(JAXRPCWebserviceIterator.java:104)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
         at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:134)
         at weblogic.xml.query.runtime.sequences.Subsequence.fetchNext(Subsequence.java:101)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.querycide.QueryAssassin.fetchNext(QueryAssassin.java:54)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:151)
         at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:238)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.QueryIterator.fetchNext(QueryIterator.java:127)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:151)
         at weblogic.xml.query.xdbc.util.Serializer.processNamespaces(Serializer.java:340)
         at weblogic.xml.query.xdbc.util.Serializer.processElement(Serializer.java:262)
         at weblogic.xml.query.xdbc.util.Serializer.process(Serializer.java:206)
         at weblogic.xml.query.xdbc.util.Serializer.serializeItems(Serializer.java:152)
    Caused by: weblogic.xml.query.schema.xmlbeans.XMLValidatorForXMLBeans$ValidationException: null
         at weblogic.xml.query.schema.xmlbeans.XMLValidatorForXMLBeans$ExceptionCollection.add(XMLValidatorForXMLBeans.java:340)
         at org.apache.xmlbeans.impl.validator.Validator.emitError(Validator.java:175)
         at org.apache.xmlbeans.impl.validator.Validator.emitFieldError(Validator.java:207)
         at org.apache.xmlbeans.impl.validator.Validator.emitFieldError(Validator.java:193)
         at org.apache.xmlbeans.impl.validator.Validator.beginEvent(Validator.java:458)
         at org.apache.xmlbeans.impl.validator.Validator.nextEvent(Validator.java:246)
         at weblogic.xml.query.schema.xmlbeans.XMLValidatorForXMLBeans.processBeginElementToken(XMLValidatorForXMLBeans.java:1205)
         at weblogic.xml.query.schema.xmlbeans.XMLValidatorForXMLBeans.processToken(XMLValidatorForXMLBeans.java:1322)
         at weblogic.xml.query.schema.xmlbeans.XMLValidatorForXMLBeans.processTokensOnHold(XMLValidatorForXMLBeans.java:1349)
         at weblogic.xml.query.schema.xmlbeans.XMLValidatorForXMLBeans.gotBeginElementToken(XMLValidatorForXMLBeans.java:772)
         at weblogic.xml.query.schema.xmlbeans.XMLValidatorForXMLBeans.giveToken(XMLValidatorForXMLBeans.java:100)
         at weblogic.xml.query.schema.ValidatingIterator.fetchNext(ValidatingIterator.java:148)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at com.bea.ld.wrappers.ws.JAXRPCWebserviceIterator.fetchNext(JAXRPCWebserviceIterator.java:104)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
         at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:134)
         at weblogic.xml.query.runtime.sequences.Subsequence.fetchNext(Subsequence.java:101)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.querycide.QueryAssassin.fetchNext(QueryAssassin.java:54)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:151)
         at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:238)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.runtime.core.QueryIterator.fetchNext(QueryIterator.java:127)
         at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
         at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
         at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:151)
         at weblogic.xml.query.xdbc.util.Serializer.processNamespaces(Serializer.java:340)
         at weblogic.xml.query.xdbc.util.Serializer.processElement(Serializer.java:262)
         at weblogic.xml.query.xdbc.util.Serializer.process(Serializer.java:206)
         at weblogic.xml.query.xdbc.util.Serializer.serializeItems(Serializer.java:152)
         at com.bea.ld.server.QueryInvocation.getResult(QueryInvocation.java:461)
    <definitions
    name="EmpWebService"
    targetNamespace="http://hr/EmpWebService.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://hr/EmpWebService.wsdl"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns0="http://hr/EmpWebService.wsdl/types/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://hr/EmpWebService.wsdl/types/"
    elementFormDefault="qualified" xmlns:tns="http://hr/EmpWebService.wsdl/types/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <element name="getEmpElement">
    <complexType>
    <sequence>
    <element name="empNo" type="decimal" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <element name="getEmpResponseElement">
    <complexType>
    <sequence>
    <element name="result" type="tns:EmpRecUser" nillable="true"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="EmpRecUser">
    <complexContent>
    <extension base="tns:EmpRecBase">
    <sequence>
    <element name="departmentId" type="decimal" nillable="true"/>
    <element name="managerId" type="decimal" nillable="true"/>
    <element name="hireDate" type="dateTime" nillable="true"/>
    <element name="jobId" type="string" nillable="true"/>
    <element name="employeeId" type="decimal" nillable="true"/>
    <element name="commissionPct" type="decimal" nillable="true"/>
    <element name="salary" type="decimal" nillable="true"/>
    <element name="lastName" type="string" nillable="true"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="EmpRecBase">
    <sequence/>
    </complexType>
    </schema>
    </types>
    <message name="EmpWebService_getEmp">
    <part name="parameters" element="tns0:getEmpElement"/>
    </message>
    <message name="EmpWebService_getEmpResponse">
    <part name="parameters" element="tns0:getEmpResponseElement"/>
    </message>
    <portType name="EmpWebService">
    <operation name="getEmp">
    <input message="tns:EmpWebService_getEmp"/>
    <output message="tns:EmpWebService_getEmpResponse"/>
    </operation>
    </portType>
    <binding name="EmpWebServiceSoapHttp" type="tns:EmpWebService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getEmp">
    <soap:operation soapAction="http://hr/EmpWebService.wsdl/getEmp"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="EmpWebService">
    <port name="EmpWebServiceSoapHttpPort" binding="tns:EmpWebServiceSoapHttp">
    <soap:address location="http://localhost:8888/PL_SQL_WS-GetEmployee-context-root/EmpWebServiceSoapHttpPort"/>
    </port>
    </service>
    </definitions>

    DSP validates the results from webservices. Whatever you tested the webservice with outside of DSP, probably does not.
    Can you capture the output of the webservice and attach it as well? You can capture the webservice response by running the wls server with the command-line property -Dweblogic.webservice.verbose=true
    Can you also open a case with customer support for this? I will not likely have much time to look at it.
    - Mike
    btw - the namespace prefixes are just place-holders that are defined with xmlns:prefix="some-uri". It is the namespace uri's that must be equivalent. If, in one case you have the definition xmlns:tns="myUri" and in another case xmlns:ns0="myUri" - then tns:EmpRecUser is equivalent to ns0:EmpRecUser.
    Perhaps in the webservice result there is no definition, or an incorrect definition for the namespace prefix ns0 - that would explain the complaint about the QName ns0:EmpRecUser. According to the wsdl, there should be a definition for ns0 as :
    xmlns:ns0="http://hr/EmpWebService.wsdl"
    in the webservice response.

  • Error while creating MBO with web service data source

    Hi All,
         I am trying to create MBO by selecting web service as a data source type in SMP 2.3. I am providing sharepoint webservice url of type wsdl with HTTP basic authentication. However, I am getting following error can anyone help me in that. Looking for detail explaination as this is new for me...
    (For "define XSLT manually" I am using sample .xsl file)
    Regards,
    Harshada

    Harshada Karane
    Are you using any proxy in your browser? If yes, please set the proxy in workspace and then trHow to bypass proxy settings in SMP workspace for connecting any public Web Service within corporate Network
    Rgrds
    JK

  • Unable to find data source null [Caused by: jdbc/Apps1DataSource not found]

    Hi,
    I am using OA Adapter which listens to an EBiz HRMS event, and I am encountering the following error in $Home\j2ee\oc4j_soa\log\oc4j_soa_default_group_1\oc4j\log.xml while registering the ESB service.
    Error details:
    <MSG_TEXT>Failed to process control event for Service "DefaultSystem.SyncWorkerPartyEbizOAAdapter" due to an error while adding the Service! Reason : oracle.tip.esb.server.common.exceptions.BusinessEventFatalException: An unhandled exception has been thrown in the ESB system. The exception reported is: "ORABPEL-12517
    AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
    The Resource Adapter Oracle Applications Resource Adapter was unable to activate the endpoint oracle.tip.adapter.apps.AppsWFBesQueueDequeueActivationSpec:{MessageSelectorRule=tab.user_data.event_name = 'oracle.apps.per.api.person.update_person', QueueName=WF_BPEL_Q, Consumer=ORA_6krj2dpn70s36c1g6h1k8dhi8h, DatabaseSchema=APPS, AppsEventSchema=ANY_SCHEMA} due to the following reason: javax.resource.ResourceException: Unable to find data source null Caused by: jdbc/Apps1DataSource not found
    Please correct the reported issue and redeploy the BPEL process.
         at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:566)
         at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateInboundJcaEndpoint(ESBActivationAgent.java:390)
         at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.performEndpointActivation(ESBActivationAgent.java:306)
         at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateEndpoint(ESBActivationAgent.java:236)
         at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateEndpoint(ESBActivationAgent.java:209)
         at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateEndpoint(InboundAdapterService.java:177)
         at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateService(InboundAdapterService.java:119)
         at oracle.tip.esb.server.service.EsbServiceFactory.activateEsbService(EsbServiceFactory.java:222)
         at oracle.tip.esb.server.service.EsbServiceFactory.addEsbService(EsbServiceFactory.java:240)
         at oracle.tip.esb.server.common.RuntimeESBSystem.addService(RuntimeESBSystem.java:211)
         at oracle.tip.esb.common.system.ServiceEventsHandler.handleCreateService(ServiceEventsHandler.java:72)
         at oracle.tip.esb.common.system.MetadataChangeListener.handleServiceEvent(MetadataChangeListener.java:136)
         at oracle.tip.esb.common.system.MetadataChangeListener.onMetadataChange(MetadataChangeListener.java:85)
         at oracle.tip.esb.common.control.ControlMessageHandler.handleMessage(ControlMessageHandler.java:115)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:162)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:120)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.resource.ResourceException: Unable to find data source null
         at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getDataSourceConnection(AppsManagedConnectionFactory.java:411)
         at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getConnection(AppsManagedConnectionFactory.java:288)
         at oracle.tip.adapter.apps.AppsManagedConnection.getConnection(AppsManagedConnection.java:85)
         at oracle.tip.adapter.apps.AppsConnection.getJdbcConnection(AppsConnection.java:70)
         at oracle_tip_adapter_apps_AppsConnection_Proxy.getJdbcConnection()
         at oracle.tip.adapter.aq.database.MessageReader.establishDBconnection(MessageReader.java:358)
         at oracle.tip.adapter.aq.database.MessageReader.&lt;init>(MessageReader.java:265)
         at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.init(AQActivationSpecDequeuer.java:142)
         at oracle.tip.adapter.aq.AQEndpoint.&lt;init>(AQEndpoint.java:99)
         at oracle.tip.adapter.aq.AQResourceAdapter.endpointActivation(AQResourceAdapter.java:73)
         at oracle.tip.adapter.apps.AppsResourceAdapter.endpointActivation(AppsResourceAdapter.java:147)
         at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:541)
         ... 20 more
    Caused by: javax.naming.NameNotFoundException: jdbc/Apps1DataSource not found
         at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
         at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:257)
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:197)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getDataSourceConnection(AppsManagedConnectionFactory.java:408)
         ... 31 more
    </MSG_TEXT>
    I have added the connection properties in $Home\j2ee\oc4j_soa\application-deployments\defaul\oc4j-ra.xml as follows:
    <connector-factory location="eis/Apps/apps1" connector-name="Oracle Applications Adapter">
         <config-property name="xADataSourceName" value="jdbc/AIADataSource"/>
         <config-property name="dataSourceName" value=""/>
         <connection-pooling use="none">
         </connection-pooling>
         <security-config use="none">
         </security-config>
    </connector-factory>
    Please correct me if the connection properties are wrong.
    I tried AppsEventSchema with 'NO-SCHEMA' and 'ANY-SCHEMA' also.
    If I use File Adapter I was able to register the ESB and instances were created successfully.
    My versions:
    JDEV:      10.1.3.3.0
    SOA:     10.1.3.3.0
    I have done a lot of research on this but in vain. Is there any patch for rectifying this error?
    Help me on this issue pl.
    Regards
    RK

    You need to check your datasource name jdbc/AIADataSource
    Check out your data-sources.xml to make sure you didn't mistype it.

Maybe you are looking for