XML Source Error - cache property

Hello,
I am using Livecycle Designer and am trying to edit an existing form.
I have no problem editing in the design view and master pages, however there are certain texts on the preview and printed form that are only viewable in the xml source (that's the only place I can see them anyway!!).
However when trying to edit the xml source to change these texts I get an XML Source Error popup and cannot save change.
'The following error was found with the xml source'
'Invalid property set operation; cache doesn't have property '#text''
Don't know what this property '#text' is or what the error refers to. I can't find anything online about it. Could it be a setting in form property - I've tried changing some of these but no joy!!
Any help greatly appreciated.
Deep.

Hi,
I suspect that your form is corrupt. You need to be careful when "editing" a form in the XML Source. If you delete incomplete sections, it may throw an error.
One option may be to copy all of the visible objects into a new form.
Good luck,
Niall

Similar Messages

  • XML Source error message hexadecimal invalid character

    Hi all
    I am developing a SSIS package to add data from thousands of XML files to an existing SQL Server table. 
    And I get the error message:
    The XML Source was unable to process the XML data. “”hexadecimal value 0x01 , is an invalid character.
    I know that these XML files are not well-formed (and hence not really an XML file).
    So, How to use the SSIS package to solve this problem without using the other editor?

    Thanks Visakh16
    I tried your method, but the xml task showed me an error
    [XML Task] Error: An error occurred with the following error message: 
    “”hexadecimal value 0x01 , is an invalid character.
    My xml file with an invalid
    character before ‘うce☆溪’
    <articles>
    <article>
    <message>ID:うce☆溪&lt;br /&gt;
    &lt;br /&gt</message>
    <message_id>1</message_id>
    </article>
    </articles>
    My xslt file
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs=http://www.w3.org/2001/XMLSchema xmlns:fn="http://www.w3.org/2005/xpath-functions">
    <xsl:output method="text" version="1.0" encoding="UTF-8" indent="no"/>
    <xsl:template match="/">
    <xsl:text>message,message_id</xsl:text>
    <xsl:text>&#13;&#10;</xsl:text>
    <xsl:for-each select="articles/article">
    <xsl:text>"</xsl:text>
    <xsl:value-of select="message"/>
    <xsl:text>","</xsl:text>
    <xsl:value-of select="message_id"/>
    <xsl:text>"</xsl:text>
    <xsl:text>&#13;&#10;</xsl:text>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>

  • The property XMLDataVariable on the XML Source was empty - Case Foreach Loop Container

    I have very simple XML source and OLE DB Source in Foreach Loop Container,
    but seem to get error, because XML Source cannot find the XML.
    "Error at Data Flow Task. The property XMLDataVariable on the XML Source was empty"
    Variables:
    FileExtention = *.xml
    FilePath =
    FolderPath = C:\Customer\XML
    XML Source:
    Data Access mode = XML file from variable
    Variable name = User::filePath
    Foreach Loop Container:
    Enumerator = Foreach File Enumerator
    Expression-Directory = @User:FolderPath
    Expression-FileSpec = @User::FileExtension
    Enumerator Folder = C:\Customer\XML
    Files = *.xml
    Variable mapping-User::FilePath = 0
    Kenny_I

    Have you filled the variable (filePath) with a default value? Otherwise the XML Source cannot validate. Alternative is look for a property "DelayValidation". In most cases this is a property of the connection manager, but you're not using
    one for the xml source....
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • Error when attaching a remote XML source

    Hello,
    When I try and attach a remote XML source to my XSL file,
    Dreamweaver CS3
    tells me "Unable to locate or parse the XML source".
    The XML file in question is located at
    http://weather.yahooapis.com/forecastrss?p=UKXX0085
    - which is a fully
    functioning URL to an XML page - I can load it okay, and I
    can view the XML
    source.
    Why does Dreamweaver report that it cannot access it? If I
    open the source
    of that URL and save it as a .xml file and attach it to my
    XSL locally, it
    works just fine - so it works locally but not remotely. The
    source is likely
    to change frequently, so attaching a local XML file is not an
    option.
    If I ignore the Dreamweaver error message and use that source
    anyway, the
    browser just responds with "An error occured while loading
    XML document
    http://weather.yahooapis.com/forecastrss?p=UKXX0055".
    Error message was: A
    connection with the server could not be established ".
    The only thing I can think of is, the URL to the XML source
    doesn't end in
    ".xml" - but then again, hardly any XML sources on the web do
    so I can't be
    the first person who wants to try and incorporate one in
    their site like
    this!
    Any help appreciated!
    Cheers,
    D.

    > I'm told that, in the ASP that uses the XSL fragment, I
    can define the
    > proxy server manually so that the request can still be
    made. Try as I
    > might I cannot find any code for ASP.net or ASP VBScript
    that allows me to
    > manually specify the proxy to be used (or, indeed, to
    force the code to
    > use the browsers default proxy). Any ideas?
    Okay, now using this in a new file called web.config
    <configuration>
    <system.net>
    <defaultProxy>
    <proxy
    usesystemdefault = "false"
    proxyaddress="
    http://myproxy.blah.blah:80"
    bypassonlocal="false"
    />
    </defaultProxy>
    </system.net>
    </configuration>
    All is well - except, that restricts the app to people who
    are using this
    proxy - any idea how to fix that code to make it default to
    the users
    browser settings? (Which I thought was the default in .Net
    but maybe not??).
    D.

  • Error Referencing XML Source

    Using NetBeans' Build > Generate Javadoc for Project ...
    init:
    Warning: Leaving out empty argument '-windowtitle'
    Generating Javadoc
    Javadoc execution
    C:\Program Files\netbeans-5.5.1\projects\Jesdisciple\nbproject\build-impl.xml:392: Javadoc returned -1073741515
    BUILD FAILED (total time: 2 seconds)1) How do I include -windowtitle? (That might be more appropriate for the NetBeans list, but I'd appreciate help here as it would save me some time.)
    2) What does the error mean and how can I fix it?

    Hello Paul,
    Thank you for your help, but the project that I'm working on I'm unable to send to you the PDF file, for security policies reason.
    The form has 11 pages and trying to solve the problem I deleted 10 pages. So now I can see the XML Source but I found a weird thing:
    in a Decimal Field, I found up to 65.000 occurrences of
    instead of just one. What is it mean?
    Is there another way to see the XML source?
    Diego

  • Error: 0xC020902A at Data Flow Task, XML Source [24515]: The "component "XML Source" (24515)" failed because truncation occurred, and the truncation row disposition on "output column "MsgLev1" (26196)" specifies failure on truncation. A truncation error o

    When I was Importing data from XML to SqlServer using SSIS , I am getting this error. The import is working if i use small file and not working if I use large XMl file. Can any one of you guys help me out with the issue?
    Error: 0xC020902A at Data Flow Task, XML Source [24515]: The "component "XML Source" (24515)" failed because truncation occurred, and the truncation row disposition on "output column "MsgLev1" (26196)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
    Error: 0xC02092AF at Data Flow Task, XML Source [24515]: The component "XML Source" (24515) was unable to process the XML data. Pipeline component has returned HRESULT error code 0xC020902A from a method call.
    Error: 0xC0047038 at Data Flow Task: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "XML Source" (24515) returned error code 0xC02092AF.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "SourceThread0" has exited with error code 0xC0047038.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread0" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread1" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread3" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread4" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047039 at Data Flow Task: SSIS Error Code DTS_E_THREADCANCELLED.  Thread "WorkThread2" received a shutdown signal and is terminating. The user requested a shutdown, or an error in another thread is causing the pipeline to shutdown.  There may be error messages posted before this with more information on why the thread was cancelled.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread0" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread1" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread2" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread3" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.
    Error: 0xC0047021 at Data Flow Task: SSIS Error Code DTS_E_THREADFAILED.  Thread "WorkThread4" has exited with error code 0xC0047039.  There may be error messages posted before this with more information on why the thread has exited.

    The reason is in the first line of the error.  It doesn't have anything to do with the size of your XML file - it has to do with the contents of the "MsgLev1" column.  You (or the XSD) has indicated that the values in this column not exceed a certain size - but one of the values in the file that's failing is larger than that.
    In order to fix the problem, you're going to need to increase the allocated space for that column.  In order to do that, you're going to need to find out what the required size of that data is - either from someone who ought to know, or by direct examination of the file.  If you want to know which entity has this overly large data element in it, you need to configure the error handling of the XML Source to "redirect truncation errors".  Then you can hook up the XML Source's error output to another destination where you can see which rows are problematic.
    Talk to me on

  • Problems with error-page in web.xml and page caching

    Having a few problems with error pages and web.xml with browsers caching the error pages and strange errors coming out of weblogic.servlet.intenal.WebAppServletContext
    I'm trying to set a web app up so that all http errors and all exceptions are routed thruogh predefined resources. For now, I'm simply send 400 errors to 400.html and the ServletException, IOException and RuntimeException to respective html pages.
    What I'm finding is that the error codes work fine but the exceptions are only be routed to the correct error page for the first call to the servlet after server restart.
    So for example, I have my servlet throwing a ServletException as a test case. The weblogic server log shows that ServletException is thrown, and the correct error page for ServletExceptions is shown.
    If I change the Servlet code to throw IOException in place of SevletException, the weblogic.log shows that IOExceptyion is being thrown (so the servlet has deployed successfully), however the Servletxception error page is shown on the browser.
    I'm using IE6 and I've changed the setting such that a new page is requested every time using the tools-internet options-temp internet files-settings option to "check for new versions of stored pages: Every visit to the page".
    Despite this, the servlet exception error page still appears.
    If you clear the cache from the temp intenet files->delete files IE option, the correct errror page will be shown so it appears that the browser cache is being used after all.
    everytime I delete the temp intenet files I get the correct error page on the first request after but then not after that.
    I have implemented the service method for this test to throw the exceptions - does this make a differecne?
    As a test, I have moved the imlpementation to the doGet method instead bu I now get a strange eror from weblogic comlpaining about an arrayOutOfBoundsException because eror codes in the web.xml are not supported! - see error above.
    Any help is appreciated

    After further investigation: -
    There are no problems with error pages based on error codes, only error exceptions.
    As a test case, I have a service method in a servlet throwing either one of the three exception types that servlets can throw (Runtime, Servlet & IO) the following rules apply. The exception to be thrown is hardcoded and is changed and the web app rebuilt each time. The correct web.xml has been deployed to the app server (checked through console). the webapp is being redeployed correctly - this can be seen in the weblogic log, where the correct exception is reported.
    I am using WLS 8.1, Servlet 2.3, JDK 1.4.1_02
    In all cases, the weblogic log reports that the servlet is throwing the exception as expected.
    Despite having set error-page for exception javax.servlet.ServletException, the exceptions are diverted to the error page that has been set up for http error code 500
    The error page for ServletException is therefore never reached.
    I have the browser set to request pages every time it is asked.
    Once the servlet has thrown an IOException, the only way to get the browser to report an IO or Runtime exception error-page is to clear the browser cache. Restarting the server has no effect.
    Once the servlet has responded with ANY exception, it is not possible to get it to report a ServletException (which is incorrectly reported as a 500 anyway) unless the cache is cleared. Restarting the server has no effect.
    In the case where the servlet throws ServletException, it has no root exception. The servlet 2.3 spec states that if ServletException is thrown but cannot be found in the error pages, the root excpetion will be extracted and the error page list traversed again. Knowing that the RuntimeException error page is correct shown when RuntimeException is throwm, I have nested this inside the ServletException, however error page for http error 500 is still shown.
    I don't believe this is a WLS 8.1 problem, as the console shows that the correct exception is thrown each time. this is backed up by the fact that the correct exception page is thrown when the cache is cleared regardless of what exception was previousdly thrown by the servlet. This excludes ServletException which is always incorrectly thrown as a 500.

  • RunTime Error and Xml Source

    Hi,
    When I try to view the xml source of my form, I have a runtime error c++ and Designer crashes. It doesn't happen on all my forms. Has my form to many scripts or objects ? Or Is my development environment not appropriate to work correctly ?
    I develop with Windows XP 2GO ram, Livecycle ES JBOSS Turnkey installation.
    Thanks for any advice.

    Hello Paul,
    Thank you for your help, but the project that I'm working on I'm unable to send to you the PDF file, for security policies reason.
    The form has 11 pages and trying to solve the problem I deleted 10 pages. So now I can see the XML Source but I found a weird thing:
    in a Decimal Field, I found up to 65.000 occurrences of
    instead of just one. What is it mean?
    Is there another way to see the XML source?
    Diego

  • XML Source Portlet: Setup Error Cannot Edit Portlet

    Hello,
    I've just run through, twice, the migration wizard to import the ptxmlsp.pte file. This setup completes and I find the XML Source Portlet Folder with its webservice, remote server, and Portlet Template. Following the AminstratorsGuide_XMLSourcePortlet.pdf when I try to create a portlet I get a 404 error when I click the edit button trying to configure this portlet.
    The server is running IIS 6 and Tomcat 4.1.30.
    This is what I'm seeing from ptspy when I click the edit button:
    Any assistance would be appreciated.
    John
    [email protected]
    This turned out to be a setup error due to both IIS and Tomcat running on the same server an update to the remote server's base url needed to be changed to port 8080.

    We're on 5.0.2. I'm looking to pull an XML file off the web and write an XSL file to display it. I've been able to get it to work with the following test example:
    http://www.w3schools.com/xml/simple.xmlhttp://www.w3schools.com/xml/simple.xslWhenever I use something more complex, then I get an "Error: Could not transform XML data. Contact your administrator." Xalan.jar is in the right location. Since I can get the more complex files to work from the command line, and a simple web based translation to occur, it's a bit confusing...
    Xalan.jar is in the correct location. Should I double-check any environment variables?
    By the way, will this portlet work for .rss files as well?
    Thanks!

  • No Error, No Data When Using XML Source in Data Flow Task

    Hi! I want to transfer XML Source to SQL DB. The SSIS version is 2008 and I use inline schema. The package works fine without error but there's no input records in the destination.  
    Execution without error and no record counts. 
    Here is my XML (generated by C# Web Service Project), can you help me find out what the problem is . 
    <?xml version="1.0" encoding="utf-16"?>
    <DataTable>
    <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="dt_fuzzy" msdata:UseCurrentLocale="true">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="dt_fuzzy">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="ACCNT_NAME_SUGGEST" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="200" />
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="_Similarity" type="xs:float" minOccurs="0" />
    <xs:element name="_Confidence" type="xs:float" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
    <DocumentElement>
    <dt_fuzzy diffgr:id="dt_fuzzy1" msdata:rowOrder="0">
    <ACCNT_NAME_SUGGEST>AIRMES</ACCNT_NAME_SUGGEST>
    <_Similarity>1</_Similarity>
    <_Confidence>1</_Confidence>
    </dt_fuzzy>
    <dt_fuzzy diffgr:id="dt_fuzzy2" msdata:rowOrder="1">
    <ACCNT_NAME_SUGGEST>SIRMET</ACCNT_NAME_SUGGEST>
    <_Similarity>0.6214263</_Similarity>
    <_Confidence>0.03890347</_Confidence>
    </dt_fuzzy>
    <dt_fuzzy diffgr:id="dt_fuzzy3" msdata:rowOrder="2">
    <ACCNT_NAME_SUGGEST>SIRMEL</ACCNT_NAME_SUGGEST>
    <_Similarity>0.6190274</_Similarity>
    <_Confidence>0.03705673</_Confidence>
    </dt_fuzzy>
    <dt_fuzzy diffgr:id="dt_fuzzy4" msdata:rowOrder="3">
    <ACCNT_NAME_SUGGEST>GRUPO AIRMET GESTION COMERCIAL, S.L.</ACCNT_NAME_SUGGEST>
    <_Similarity>0.483897179</_Similarity>
    <_Confidence>0.000368847366</_Confidence>
    </dt_fuzzy>
    <dt_fuzzy diffgr:id="dt_fuzzy5" msdata:rowOrder="4">
    <ACCNT_NAME_SUGGEST>FIRME INFORMATIQUE</ACCNT_NAME_SUGGEST>
    <_Similarity>0.4699396</_Similarity>
    <_Confidence>0.000164090918</_Confidence>
    </dt_fuzzy>
    <dt_fuzzy diffgr:id="dt_fuzzy6" msdata:rowOrder="5">
    <ACCNT_NAME_SUGGEST>STEFAN HIRMER</ACCNT_NAME_SUGGEST>
    <_Similarity>0.434566617</_Similarity>
    <_Confidence>1.28168531E-05</_Confidence>
    </dt_fuzzy>
    <dt_fuzzy diffgr:id="dt_fuzzy7" msdata:rowOrder="6">
    <ACCNT_NAME_SUGGEST>Sirmet</ACCNT_NAME_SUGGEST>
    <_Similarity>0.4278418</_Similarity>
    <_Confidence>7.149945E-06</_Confidence>
    </dt_fuzzy>
    <dt_fuzzy diffgr:id="dt_fuzzy8" msdata:rowOrder="7">
    <ACCNT_NAME_SUGGEST>FIRME ARQUITECTOS,S.L.P.</ACCNT_NAME_SUGGEST>
    <_Similarity>0.328356117</_Similarity>
    <_Confidence>1.35651484E-12</_Confidence>
    </dt_fuzzy>
    <dt_fuzzy diffgr:id="dt_fuzzy9" msdata:rowOrder="8">
    <ACCNT_NAME_SUGGEST>Tirme S.A.</ACCNT_NAME_SUGGEST>
    <_Similarity>0.3022916</_Similarity>
    <_Confidence>4.76196153E-16</_Confidence>
    </dt_fuzzy>
    <dt_fuzzy diffgr:id="dt_fuzzy10" msdata:rowOrder="9">
    <ACCNT_NAME_SUGGEST>OEUVRE DES JEUNES INFIRMES</ACCNT_NAME_SUGGEST>
    <_Similarity>0.261523962</_Similarity>
    <_Confidence>1.31722347E-24</_Confidence>
    </dt_fuzzy>
    </DocumentElement>
    </diffgr:diffgram>
    </DataTable>

    I think problem is your namespaces are different.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • XML-22108: (Error) Invalid Source - URL format is incorrect

    Hi,
    When following statement is executed from PERL getting err msg.
    `$JAVA_RUNTIME org.apache.xalan.xslt.Process -in $work_xml_file -xsl $xsl_file -out $sql_file 2>&1`;
    XML-22108: (Error) Invalid Source - URL format is incorrect.
    XML-22000: (Fatal Error) Error while parsing XSL file (no protocol:xsl file).
    Exception in thread "main" java.lang.NullPointerException
    at oracle.xml.parser.v2.DOMLocator.getPublicId(DOMLocator.java:101)
    at org.apache.xml.utils.DefaultErrorHandler.printLocation(DefaultErrorHandler.java:341)
    at org.apache.xalan.xslt.Process.main(Process.java:1091)
    Kindly help me to resolve the issue.
    Thanks and Regards,
    Vijay

    Hi Alosh,
    Thanks for the reply.
    We are in process of upgrading Oracle Apps R11i into R12. This statement works fine in 11i but not working in R12. I think issue is not with -IN, -XSL and -OUT parameters.
    Thanks and Regards,
    Vijay

  • Error using XML_ETL_UTILS: OMB02902: Error setting property DATATYPE of XML

    This error occurs at the time of executing menu option Tools->"Create Components From XSD/WSDL". (After the XML_ETL_UTILS expert module was already installed successfully). The error comes as a pop-up window with long stack of OMB script errors:
    OMB02902: Error setting property DATATYPE of XML_OBJECT: 0 while executing
    "OMBALTER PLUGGABLE_MAPPING '$pplug' ADD ATTRIBUTE 'XML_OBJECT' OF GROUP 'OUTGRP1' OF OPERATOR 'XS_$plug_name' SET PROPERTIES (DATATYPE,EXPRESSION,BUS..."
    ... and then more lines with errors. I wished I could attach a screenshot of the the pop-up window.
    If I could ask oracle folks familiar with the expert module XML_ETL_UTILS to help me out.
    Thanks,
    vr

    This is a bit of an odd one that can be resolved by creating an Oracle module in the project where you are creating your pluggable maps.
    It is a bug in OWB because OWB does not load the datatypes on demand when pluggables are being created so for now if you create an oracle module all the oracle types will be loaded then pluggables can be created which use these types. I should have put this in the expert's notes because its something I also fell over a couple of times, forgot about, then annoyingly remembered! ;)
    Cheers
    David

  • OSB: Cannot acquire data source error while using JCA DBAdapter in OSB

    Hi All,
    I've entered 'Cannot acquire data source' error while using JCA DBAdapter in OSB.
    Error infor are as follows:
    The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapter1/RetrievePersonService [ RetrievePersonService_ptt::RetrievePersonServiceSelect(RetrievePersonServiceSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'RetrievePersonServiceSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/soademoDatabase].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.soademoDatabase'. Resolved 'jdbc'; remaining name 'soademoDatabase'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    JNDI Name for the Database pool: eis/DB/soademoDatabase
    JNDI Name for the Data source: jdbc/soademoDatabase
    I created a basic DBAdapter in JDeveloper, got the xsd file, wsdl file, .jca file and the topLink mapping file imported them into OSB project.
    Then I used the .jca file to generate a business service, and tested, then the error occurs as described above.
    Login info in RetrievePersonService-or-mappings.xml
    <login xsi:type="database-login">
    <platform-class>org.eclipse.persistence.platform.database.oracle.Oracle9Platform</platform-class>
    <user-name></user-name>
    <connection-url></connection-url>
    </login>
    jca file content are as follows:
    <adapter-config name="RetrievePersonService" adapter="Database Adapter" wsdlLocation="RetrievePersonService.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/soademoDatabase" UIConnectionName="Connection1" adapterRef=""/>
    <endpoint-interaction portType="RetrievePersonService_ptt" operation="RetrievePersonServiceSelect">
    <interaction-spec className="oracle.tip.adapter.db.DBReadInteractionSpec">
    <property name="DescriptorName" value="RetrievePersonService.PersonT"/>
    <property name="QueryName" value="RetrievePersonServiceSelect"/>
    <property name="MappingsMetaDataURL" value="RetrievePersonService-or-mappings.xml"/>
    <property name="ReturnSingleResultSet" value="false"/>
    <property name="GetActiveUnitOfWork" value="false"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    RetrievePersonService_db.wsdl are as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <WL5G3N0:definitions name="RetrievePersonService-concrete" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/">
    <WL5G3N0:import location="RetrievePersonService.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService"/>
    <WL5G3N0:binding name="RetrievePersonService_ptt-binding" type="WL5G3N1:RetrievePersonService_ptt">
    <WL5G3N2:binding style="document" transport="http://www.bea.com/transport/2007/05/jca"/>
    <WL5G3N0:operation name="RetrievePersonServiceSelect">
    <WL5G3N2:operation soapAction="RetrievePersonServiceSelect"/>
    <WL5G3N0:input>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    </WL5G3N0:binding>
    <WL5G3N0:service name="RetrievePersonService_ptt-bindingQSService">
    <WL5G3N0:port binding="WL5G3N1:RetrievePersonService_ptt-binding" name="RetrievePersonService_ptt-bindingQSPort">
    <WL5G3N2:address location="jca://eis/DB/soademoDatabase"/>
    </WL5G3N0:port>
    </WL5G3N0:service>
    </WL5G3N0:definitions>
    Any suggestion is appricated .
    Thanks in advance!
    Edited by: user11262117 on Jan 26, 2011 5:28 PM

    Hi Anuj,
    Thanks for your reply!
    I found that the data source is registered on server soa_server1 as follows:
    Binding Name: jdbc.soademoDatabase
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 80328036
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/291])/291
    Binding Name: jdbc.SOADataSource
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 92966755
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/285])/285
    I don't know how to determine which server the DBAdapter is targetted to.
    But I found the following information:
    Under Deoloyment->DBAdapter->Monitoring->Outbound Connection Pools
    Outbound Connection Pool Server State Current Connections Created Connections
    eis/DB/SOADemo AdminServer Running 1 1
    eis/DB/SOADemo soa_server1 Running 1 1
    eis/DB/soademoDatabase AdminServer Running 1 1
    eis/DB/soademoDatabase soa_server1 Running 1 1
    The DbAdapter is related to the following files:
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ DBPlan\ Plan. xml
    I unzipped DbAdapter.rar, opened weblogic-ra.xml and found that there's only one data source is registered:
    <?xml version="1.0"?>
    <weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
    <enable-global-access-to-classes>true</enable-global-access-to-classes>
    <outbound-resource-adapter>
    <default-connection-properties>
    <pool-params>
    <initial-capacity>1</initial-capacity>
    <max-capacity>1000</max-capacity>
    </pool-params>
    <properties>
    <property>
    <name>usesNativeSequencing</name>
    <value>true</value>
    </property>
    <property>
    <name>sequencePreallocationSize</name>
    <value>50</value>
    </property>
    <property>
    <name>defaultNChar</name>
    <value>false</value>
    </property>
    <property>
    <name>usesBatchWriting</name>
    <value>true</value>
    </property>
    <property>
    <name>usesSkipLocking</name>
    <value>true</value>
    </property>
    </properties>
              </default-connection-properties>
    <connection-definition-group>
    <connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
    <connection-instance>
    <jndi-name>eis/DB/SOADemo</jndi-name>
              <connection-properties>
                   <properties>
                   <property>
                   <name>xADataSourceName</name>
                   <value>jdbc/SOADataSource</value>
                   </property>
                   <property>
                   <name>dataSourceName</name>
                   <value></value>
                   </property>
                   <property>
                   <name>platformClassName</name>
                   <value>org.eclipse.persistence.platform.database.Oracle10Platform</value>
                   </property>
                   </properties>
              </connection-properties>
    </connection-instance>
    </connection-definition-group>
    </outbound-resource-adapter>
    </weblogic-connector>
    Then I decided to use eis/DB/SOADemo for testing.
    For JDeveloper project, after I deployed to weblogic server, it works fine.
    But for OSB project referencing wsdl, jca and mapping file from JDeveloper project, still got the same error as follows:
    BEA-380001: Invoke JCA outbound service failed with application error, exception:
    com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapterTest/DBReader [ DBReader_ptt::DBReaderSelect(DBReaderSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'DBReaderSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
    It almost drive me crazy!!:-(
    What's the purpose of 'weblogic-ra.xml' under the folder of 'C:\Oracle\Middleware\home_11gR1\Oracle_OSB1\lib\external\adapters\META-INF'?
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  • SubTemplate call is failing with XML-22002 error

    Hi,
    I am using Oracle BI Publisher 10.1.3.4 in WebLogic Server 10.3.6.0.
    Subtemplate reference is used in some reports. Whn we click on view of such report, below error is shown.
                   "The report cannot be rendered because of an error, please contact the administrator."
    The patch 9017232 is also installed.
    The detailed error log is below:
    [111413_123806333][oracle.apps.xdo.common.xml.XSLTWrapper][ERROR] XSL error:
    <Line 3, Column 71>: XML-22002: (Fatal Error) Error while processing include XSL file (xdoxsl:///FCReports/HeaderFooter_LandScape.xsb).
    <Line 78, Column 312>: XML-22008: (Error) Namespace prefix 'ref' used but not declared.
    @Line 3 ==> <xsl:import href="xdoxsl:///FCReports/HeaderFooter_LandScape.xsb"/>
    [111413_123806337][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.lang.reflect.InvocationTargetException
        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 oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
        at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
        at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
        at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
        at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
        at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
        at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
        at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
        at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:91)
        at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
        at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
        at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:554)
        at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:257)
        at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
        at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
        at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:97)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'ref' used but not declared.
        at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
        at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:614)
        ... 38 more
    Syntax used in Report is
    <?import:xdoxsl:///Reports/HeaderFooter_LandScape.xsb?loc=en_US><?call@inlines:Header?><?with-param:PM_REPORT_NAME;string('Customer details report')?><?end call?>
    XDO.CFG file contents
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
       <properties>
          <property name="bursting-multithreading-on">false</property>
          <property name="xdk-secure-io-mode">false</property>
       <property name="xslt-scalable">true</property></properties>
    </config>
    Please suggest whether this issue is with BI report setup.
    Thanks in Advance.
    Regards,
    Bala.

    Hi Surya,
    Would you let us know from where you are calling web service and for what?
    And if possible provide error log as screenshot or txt file. So that it will be easy to trace issue.
    For gland your issue, go through below posts
    Not able to execute MII Transaction as web service
    Error calling BLS Transaction as Web service
    Problem in generating wsdl ?
    Create MII transaction & MII Web Service and consume them in ABAP
    Regards,
    Praveen Reddy

  • XML source content problem in 5.0.2

    Hi,
    I installed optional web component xml source portlet and I migrated ptxmlsp content in my 5.0.2 portal successfully on MS .NET. I have instentied my portlet with well formed xml and xsl files. Displaying page, portlet display message "Error: Display Timeout". After a look to tomcat log file i found in stderr.log this message :
    org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property! at org.apache.xalan.serialize.SerializerFactory.getSerializer(SerializerFactory.java:142)
    The same problem occurs with a 5.0.2 portal installed on java.
    Can anyone help me ?

    Thank you for your help.
    Running xalan on command line with option java -verboseI have seen that tomcat didn't call the xalan.jar located in endorsed directory. We wrote a bat file to launch tomcat as a windows service without reference to "endorsed" directory. You have to include following line in your bat file : -Djava.endorsed.dirs="E:\jakarta-tomcat-4.1.27-LE-j2sdk1.4.1_05\common\endorsed" to ensure that correct java class is loaded.
    Now XML souce portlet works fine.
    Thanks again.

Maybe you are looking for

  • Memory upgrade on Satellite A300D-15B

    Hi all, I am having upgrading the ram on my laptop from 4gb to 8gb. First I will post the full details of my laptop then explain the problem. (Original Configuration) Satellite A300D-15B Model : PSAKCE Bios Ver: 3.30 AMD Turion X2 Ultra Dual-Core Mob

  • Lost all my mail in my inbox +my mail account

    lost all my mail in my inbox +my mail account settings except @mac.com after a crash of my system. When I rebooted my mac, a pop-up from mail was telling me that it had created a new folder called "distributed" in replacement of the usual "sent items

  • How to find out a skype ID from a text?

    Met someone today and gave them my number, but they are from another country so i guess they used skype to text me which i can't reply to because skype is retarded... anyways, is there any way to find out the skype name of the person who sent it? The

  • Airport Express & Leopard Firewall

    I have 2 AEXs connected to my wireless network (Linksys WRT54GS). They work fine when my Leopard firewall is set to allow all incoming connections, but don't show up in either iTunes or Airport Utility when the firewall is on, despite me still being

  • MacBook Pro Data Transfer

    My MacBook Pro will not boot up and before I send it away to be fixed, I would like to do a data transfer to another computer. I would prefer not to have to pay for someone else to the data transfer so I would like to attempt it myself. Can I just us