Invalid UTF8 encoding (in control file)

Hi,
I'm using French characters in my control file (in the body of an email), and getting this java exception: Invalid UTF8 encoding.
For example:
subject="Oracle Order Acknowledgement for Order ${ORDER NUMBER} (${INSTANCE})">Ci-joint votre accusé de réception de commande au format Adobe.
Merci!
The default in notepad is ANSI, so I changed it to UTF-8, which caused the text to read as follows:
Ci-joint votre accus顤e rꤥption de commande au format Adobe. Merci!
But I'm still getting the error.
Any ideas?
Thanks.
Paul

FYI -- I found a way around this, by creating a variable for email body text in the Oracle report, and then using ${CF_EMAIL_BODY_TEXT} in the control file.

Similar Messages

  • "Invalid UTF8 encoding" troubleshooting

    How can I troubleshoot the error message "Invalid UTF8 encoding" ?
    I get this every now and then from oraxml command line utility and also from XSU (xsql pages and command line utility).
    Thanks,
    Peter.
    null

    Thanks for the replies.
    I'm using entities all the time, so that's not the problem.
    The encoding tip was definately usefull. With one of my problem files, I could parse it after adding encoding="ISO-8859-1". However I would still like to know exactly what and where the problem was. Are there any tools that can tell me i.e. if non-ISO characters are used ?
    I dont have control over how theese files are produced, I'm just recieving them from another source and told they are validated in a program called XmlSpy.
    I do have a related issue about storing unicode characters i CLOB columns in a WE8ISO8859P1 database. I've posted a question about this under a seperate topic.
    -- Peter
    null

  • Node doesn't belong to the current document and Invalid UTF8 encoding errors

    Hi
    I'm creating a XSQL page that calls a PL/SQL procedure:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <page xmlns:xsql="urn:oracle-xsql" connection="sgvrt">
    <xsql:include-owa>xml_indicadores_epm;</xsql:include-owa>
    </page>
    When I run the page I get:
    Node doesn't belong to the current document.
    if I use "<include-xml>" I get the following error:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <page>
    <xsql-error action="xsql:include-xml">
    <message>Invalid UTF8 encoding.</message>
    </xsql-error>
    </page>
    The XML page generated is well formed and it sends "test/xml; charset="ISO-8859-1" myme type. I test it in IE and it runs fine. I wrote a simple procedure that generates a simple one tag XML file and I still get the same errors.

    Thanks for the reply
    We've tried using the encoding attribute (encoding="ISO-8859-1") but it generates the same errors. We're using XSQL that comes with 9iAS 1.0.2.2.2a. We also tried with XSQL that comes with Oracle 9.2.0. It seems that the parser is not detecting if the XML document has a different encoding than UTF8.

  • Node doesn't belong to the current document and Invalid UTF8 encoding.

    Hi
    I'm creating a XSQL page that calls a PL/SQL procedure:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <page xmlns:xsql="urn:oracle-xsql" connection="sgvrt">
    <xsql:include-owa>xml_indicadores_epm;</xsql:include-owa>
    </page>
    When I run the page I get:
    Node doesn't belong to the current document.
    if I use "<include-xml>" I get the following error:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <page>
    <xsql-error action="xsql:include-xml">
    <message>Invalid UTF8 encoding.</message>
    </xsql-error>
    </page>
    The XML page generated is well formed and it sends "test/xml; charset="ISO-8859-1" myme type. I test it in IE and it runs fine. I wrote a simple procedure that generates a simple one tag XML file and I still get the same errors.
    The page generated by the PL/SQL procedure is:
    <indicadores_gestion_epm>
    <fecha>Junio 2001</fecha>
    <indicador><descripcion>Costo de Generacisn de Potencial por Perforacisn (Conv.)</descripcion><plan_valor>N/D</plan_valor><real_valor>48,21</real_valor><unidad_medida>M$/Bl</unidad_medida></indicador>
    <indicador><descripcion>Costo de Generacisn de Potencial por Perforacisn (GD)</descripcion><plan_valor>N/D</plan_valor><real_valor>0</real_valor><unidad_medida>M$/Bl</unidad_medida></indicador>
    <indicador><descripcion>Costo de Exploracion Aqo Actual (GD)</descripcion><plan_valor>N/D</plan_valor><real_valor>22,48</real_valor><unidad_medida>$/BPE</unidad_medida></indicador>
    <indicador><descripcion>Costo de Exploracion Promedio (GD)</descripcion><plan_valor>N/D</plan_valor><real_valor>19,98</real_valor><unidad_medida>$/BD</unidad_medida></indicador>
    <indicador><descripcion>Incorporacion de Reservas Probadas y Probables de Crudo (GD)</descripcion><plan_valor>647</plan_valor><real_valor>2</real_valor><unidad_medida>MMBLs</unidad_medida></indicador>
    <indicador><descripcion>Incorporacion de Reservas Probadas y Probables Gas (GD)</descripcion><plan_valor>N/D</plan_valor><real_valor>4</real_valor><unidad_medida>MMMPC</unidad_medida></indicador>
    <indicador><descripcion>Contribuciones a las Reservas Probadas de Gas (GD)</descripcion><plan_valor>N/D</plan_valor><real_valor>5</real_valor><unidad_medida>MMMPC</unidad_medida></indicador>
    <indicador><descripcion>Produccion Disponible Promedio de Crudo (GD)</descripcion><plan_valor>362,8</plan_valor><real_valor>1401,66</real_valor><unidad_medida>MBD</unidad_medida></indicador>
    <indicador><descripcion>Capacidad de Produccisn de Crudo</descripcion><plan_valor>N/D</plan_valor><real_valor>0</real_valor><unidad_medida>MBD</unidad_medida></indicador>
    <indicador><descripcion>Contribuciones a las Reservas Probadas de Crudo (GD)</descripcion><plan_valor>1750</plan_valor><real_valor>1750</real_valor><unidad_medida>MMBLs</unidad_medida></indicador>
    <indicador><descripcion>Costo Unitario de Operacisn (Conv.)</descripcion><plan_valor>0</plan_valor><real_valor>,01</real_valor><unidad_medida>$/BL</unidad_medida></indicador>
    <indicador><descripcion>Costo Unitario de Operacisn (GD)</descripcion><plan_valor>N/D</plan_valor><real_valor>102,53</real_valor><unidad_medida>$/BL</unidad_medida></indicador>
    <indicador><descripcion>Disponibilidad de Gas (Acumulado)</descripcion><plan_valor>N/D</plan_valor><real_valor>0</real_valor><unidad_medida>MMPCD</unidad_medida></indicador>
    <indicador><descripcion>Produccion de Crudo Entregada a RSC Promedio</descripcion><plan_valor>N/D</plan_valor><real_valor>0</real_valor><unidad_medida>MBD</unidad_medida></indicador>
    <indicador><descripcion>Costo de Generacion de Potenc. RA/RC (Conv.)</descripcion><plan_valor>N/D</plan_valor><real_valor>3,15</real_valor><unidad_medida>M$/BD</unidad_medida></indicador>
    <indicador><descripcion>Costo de Generacion de Potenc. RA/RC (GD)</descripcion><plan_valor>N/D</plan_valor><real_valor>0</real_valor><unidad_medida>M$/BD</unidad_medida></indicador>
    </indicadores_gestion_epm>

    Thanks for the reply
    We've tried using the encoding attribute (encoding="ISO-8859-1") but it generates the same errors. We're using XSQL that comes with 9iAS 1.0.2.2.2a. We also tried with XSQL that comes with Oracle 9.2.0. It seems that the parser is not detecting if the XML document has a different encoding than UTF8.

  • AQ Adapter:  Invalid UTF8 encoding.

    Hello,
    I am using the data type XMLType to enqueue data from a database to a BPEL process to integrate with other systems. We are using the AQ Adapter to receive messages from BPEL. For the most part it works, but when we are receiving multiple messages we receive less than expected. We break the result set from the query into 200 record blocks, and place those on the queue. Everything works great going to the queue. However, when the message is dequeued from BPEL, some messages fail with the error: Invalid UTF8 encoding.
    Environment:
    Oracle 10g Enterprise 10.2.0.4.0 - system nls_character_set is AL32UTF8
    Oracle SOA Suite 10.1.3.4
    Data: US English, no double byte languages - using VARCHAR2(BYTE) or VARCHAR2(CHAR) produces same results
    Below are the steps and code snipets we are executing:
    1)     Create XML base document
    <?xml version="1.0" encoding="UTF-8"?>
          <int:INTEGRATION xmlns:sfdc="http://xmlns.oracle.com/xdb/INT_AQADMIN">
          <DATA_SOURCE>' || data_source || '</DATA_SOURCE>
          <OBJECT_NAME>' || object_name || '</OBJECT_NAME>
          <MAP_ID>' || map_id || '</MAP_ID>
    </int:INT_INTEGRATION>2)     A query is run using DBMS_XMLGEN, i.e. select * from <table>, returned as XML (max of 200 records at a time),
    3)     Convert CLOB to XMLType
    4)     Append XML to base xml doc
    5)     Enqueue message
    Code excerpt:
                xml_base := xmltype(build_xml_base(data_source, object_name, map_id));  -- builds message listed above
                qryCtx :=  dbms_xmlgen.newContext (sql_query);
                DBMS_XMLGEN.setRowSetTag(qryCtx, XML_ROWSET_TAG);  -- <DATA>
                DBMS_XMLGEN.setRowTag(qryCtx, XML_ROW_TAG); -- <DATAITEM>
                DBMS_XMLGEN.setMaxRows(qryCtx, XML_MAX_RESULTSET_ROWS); -- 200
                DBMS_XMLGEN.setConvertSpecialChars(qryCtx, true);
                LOOP
                    -- save the XML into the CLOB result.
                    xmlgen_result :=  DBMS_XMLGEN.getXMLtype(qryCtx);
                    -- if no rows exist, exit prior to enqueuing data
                    EXIT WHEN DBMS_XMLGEN.getNumRowsProcessed(qryCtx) = 0;
                     select appendchildxml(xml_base,
                          '/int:INTEGRATION',
                          xmlgen_result,
                          'xmlns:int="http://xmlns.oracle.com/xdb/INT_AQADMIN"')
                    into xml_data from dual;
                    SFDC_AQADMIN.SFDC_INTEGRATION_QUEUE.ENQUEUE_SFDC_OBJECT (xml_data, correlation);
                END LOOP;When the procedure is run, the objects get placed on the queue fine. BPEL starts to dequeue the message from the queue. However, we do not get all of the messages.
    Looking at the BPEL logs describes the problem:
    <2009-10-27 10:49:16,264> <ERROR> <iCareTest.collaxa.cube.activation> <AQ Adapter::Inbound> MessageReader_ReadMessage: Problem while constructing XML document from Oracle Object payload: java.io.UTFDataFormatException: Invalid UTF8 encoding.
    <2009-10-27 10:49:16,264> <ERROR> <iCareTest.collaxa.cube.activation> <AQ Adapter::Inbound> java.io.UTFDataFormatException: Invalid UTF8 encoding. at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160) at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:175) at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120) at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450) at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2488) at oracle.xml.parser.v2.XMLReader.scanNameChars(XMLReader.java:1197) at oracle.xml.parser.v2.XMLReader.scanName(XMLReader.java:1910) at oracle.xml.parser.v2.NonValidatingParser.parseEndTag(NonValidatingParser.java:1358) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1313) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:291) at oracle.tip.adapter.aq.database.XMLEngine.stringToDOMSource(XMLEngine.java:324) at oracle.tip.adapter.aq.database.MessageReader.readMessage(MessageReader.java:478) at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.run(AQActivationSpecDequeuer.java:261) at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51) at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280) at java.lang.Thread.run(Thread.java:595)
    The line below indicates the byte is not UTF-8
    Invalid UTF8 encoding. at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160)
    Has anyone seen this? It appears to be something with the AQ Adapter. I cannot see anything strange looking at the XML that is generated. Any help would be greatly appreciated.
    Thanks in advance,
    Jim

    Hi Mark,
    Please mail me your sample data with this character in that file. We can take this as a usecase for our testing team.

  • Invalid UTF8 Encoding

    Dear Hussein,
    I am facing error like for custom reports.
    Caused by: java.io.UTFDataFormatException: Invalid UTF8 encoding.
    So i hit this thread Invalid UTF8 encoding
    Could u pls tell me how to change the encoding. Is it from the browser or from reports builder.
    Dear Hussein, Just to save some time i already referenced the document
    Output Post Processor Fails Due to java.io.UTFDataFormatException: Invalid UTF8 encoding [ID 364590.1]
    Thank you
    Taher

    Dear Hussein,
    What is the error in the OPP log file?
    The error is exactly same as in the doc id 364590.1
    [UNEXPECTED] [63452:RT5246390] java.lang.reflect.Invocation
    TargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:479)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:192)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:
    1015)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:
    968)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:
    209)
    at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(Te
    mplateHelper.java:5975)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(Templ
    ateHelper.java:3555)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(Templ
    ateHelper.java:3614)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProc
    essor.java:247)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153
    Caused by: java.io.UTFDataFormatException: Invalid UTF8 encoding.
    at oracle.xdo.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:1
    60)
    at oracle.xdo.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:17
    5)
    at oracle.xdo.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120)
    at oracle.xdo.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
    at oracle.xdo.parser.v2.XMLReader.fillBuffer(XMLReader.java:2229)
    at oracle.xdo.parser.v2.XMLReader.skipWhiteSpace(XMLReader.java:1974)
    at oracle.xdo.parser.v2.NonValidatingParser.parseMisc(NonValidatingParse
    r.java:331)
    at oracle.xdo.parser.v2.NonValidatingParser.parseProlog(NonValidatingPar
    ser.java:300)
    at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:280)
    at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
    ... 17 more
    Did you review the document and see if it is applicable? Do you have the patches applied?
    Yes hussein. I am already on 11.5.10.2 with 10gR2. And regarding the autoconfig patch i am onpatch 4175764 which also has fixed this bug.
    I have checked for all the file versions again the metalink doc id 364590.1 and all files on my instance are at higher version. Except in fnd src/process fdprep.lc 115.31 as i am not able to find its location.
    Thanks a million
    Taher

  • XDO Log shows - java.io.UTFDataFormatException: Invalid UTF8 encoding

    We have a XDO Region in our OA Page - that calls XML Publisher Report taking as input a XML File generated from a concurrent program. The concurrent program calls a PL/SQL Program to generate the XML File.
    The XML File has the encoding fetched from
    select tag from fnd_lookup_values
      where lookup_type = 'FND_ISO_CHARACTER_SET_MAP'
      and lookup_code = ( select value from v$nls_parameters where parameter='NLS_CHARACTERSET')
      and language='US' ;
    The tag = 'UTF-8' and hence the encoding in XML File is as -
    <?xml version="1.0" encoding="UTF-8"?>
    The XML File is getting created successfully.. But XML Publisher is not able to process the report properly and is displaying the error - An error encountered either due to invalid Template details or due to null Data Input Stream.
    The XDO Log shows -
    [022113_075210160][][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.invokeParse(XSLT10gR1.java:570)
        at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
        at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
        at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
        at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
        at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
        at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
        at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
        at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
        at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
        at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
        at oracle.apps.xdo.oa.common.DocumentHelper.exportDocument(DocumentHelper.java:443)
        at oracle.apps.xdo.oa.common.webui.DocumentViewerCO.exportDocument(DocumentViewerCO.java:806)
        at oracle.apps.xdo.oa.common.webui.DocumentViewerCO.processFormRequest(DocumentViewerCO.java:744)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
        at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:410)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
        at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
        at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1214)
        at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
        at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
        at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
        at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
        at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
        at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
        at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
        at _OA._jspService(_OA.java:212)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
        at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
        at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:619)
    Caused by: java.io.UTFDataFormatException: Invalid UTF8 encoding.
        at oracle.xdo.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160)
        at oracle.xdo.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:187)
        at oracle.xdo.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120)
        at oracle.xdo.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
        at oracle.xdo.parser.v2.XMLReader.fillBuffer(XMLReader.java:2294)
        at oracle.xdo.parser.v2.XMLReader.skipWhiteSpace(XMLReader.java:2039)
        at oracle.xdo.parser.v2.NonValidatingParser.parseMisc(NonValidatingParser.java:355)
        at oracle.xdo.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser.java:324)
        at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:284)
        at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)
        ... 65 more
    We have already tried to apply
    AP/AR Netting Report Fails With Invalid Template Or Null Data Input Stream When Run From OA Page [ID 985032.1]
    Service Charges Report: An error encountered either due to invalid Template details or due to null [Article ID 1068524.1]
    All this because one of the tag in XML has a Spanish character - Más antigua a más.
    Please advise.

    Any updates regarding this.
    Thanks

  • ISO-8859-1 / Invalid UTF8 encoding

    Hello!
    I have nearly the same problem like V Prakash (ISO8859 & UTF 8
    default encoding)
    I am parsing a XML-Document with ISO-8859-1 encoding. The file
    has no XML-Declaration.
    I use the "setEncoding(String)"-method of class
    oracle.xml.parser.v2.XMLDocument to set the right encoding.
    The result is a
    java.io.UTFDataFormatException: Invalid UTF8 encoding
    What's wrong with my code or is it a bug in Oracle XMLParser
    v2.0.0.2 ?
    Thanks
    Peter
    null

    Attachments: "1|type=application/octet-stream|desc=UTF-8 Encoding Error|2719|file=epm00001.xml|"
    Interesting...again, the web page said I didn't have permission.
    Here goes nothing...
    Oracle XML Team wrote:
    : Scott Sosna (guest) wrote:
    : : No go...I'm going to try to attach the files, but the last
    : time
    : : I tried to do so, it didn't work.
    : : Oracle XML Team wrote:
    : : : Scott Sosna (guest) wrote:
    : : : : Here's the test case you wanted.
    : : : : <!ELEMENT B (#PCDATA|PERF)*>
    : : : : <!ELEMENT I (#PCDATA|ALBUM|RATING|B)*>
    : : : : <!ELEMENT P (#PCDATA|B|I|RATING)*>
    : : : : <!ELEMENT EPM (ARTICLE*)>
    : : : : <!ELEMENT ARTICLE
    : : : : (HEADWORD,BIOGRAPHY,
    : : : (DISCOGRAPHY|VIDEOGRAPHY|BIBLIOGRAPHY|FILMOG
    : : : : RAPHY|COMPILATIONS)*,COPYRIGHT)>
    : : : : <!ATTLIST ARTICLE Performer CDATA
    #IMPLIED>
    : : : : <!ATTLIST ARTICLE ArtID CDATA #IMPLIED>
    : : : : <!ELEMENT HEADWORD (P)>
    : : : : <!ELEMENT BIOGRAPHY (#PCDATA|P)*>
    : : : : <!ELEMENT DISCOGRAPHY (I|P)*>
    : : : : <!ELEMENT COPYRIGHT (P)>
    : : : : <!ELEMENT PERF (#PCDATA)>
    : : : : <!ATTLIST PERF LINK CDATA
    #REQUIRED>
    : : : : <!ELEMENT ALBUM (#PCDATA|B)*>
    : : : : <!ATTLIST ALBUM LINK CDATA
    #REQUIRED>
    : : : : <!ELEMENT RATING (#PCDATA)*>
    : : : : <!ATTLIST RATING rank CDATA
    #REQUIRED>
    : : : : <!ATTLIST RATING text CDATA
    #REQUIRED>
    : : : : <!ELEMENT FILMOGRAPHY (P)>
    : : : : <!ELEMENT COMPILATIONS (P)>
    : : : : <!ELEMENT BIBLIOGRAPHY (P)>
    : : : : <!ELEMENT VIDEOGRAPHY (P)>
    : : : : <?xml version="1.0" standalone="no"?>
    : : : : <!DOCTYPE EPM SYSTEM "epm.dtd">
    : : : : <EPM>
    : : : : <ARTICLE Performer="Johansson, Jan"
    : : : : ArtID="13994"><HEADWORD>
    Johansson,
    : : : : Jan</P></HEADWORD><BIOGRAPHY>
    b. 16 September 1931,
    : : : Swderhamn,
    : : : : Sweden, d. 9 November 1968, Stockholm, Sweden. Johansson
    : was
    : : a
    : : : : pianist, composer and arranger who became known to
    : European
    : : : : audiences as a member of <PERF LINK="Getz, Stan">Stan
    : : : : Getz</PERF> &#237;s quartet touring with <PERF
    : : : : LINK="Granz, Norman">Norman Granz</PERF> &#237;s
    JATP
    : : : : concerts in 1960. The following year he joined Arne
    : : : : Domn...rus &#237;s band, and also the Swedish Radio
    : Jazz
    : : : : Group, in 1967, composing and arranging for both.
    : Johansson
    : : : also
    : : : : wrote for film, theatre, ballet (e.g. Rwrelser )
    : and
    : : : : television (e.g. the Pippi Lngstrwmpa tune). He reached
    a
    : : : broad
    : : : : audience with sensitive renditions of Swedish folk
    songs.
    : : His
    : : : : considerable talents as composer and arranger were
    : : especially
    : : : : apparent in his experimental writing for the Radio Jazz
    : : Group,
    : : : : which fused and reinterpreted European art music, folk
    and
    : : : jazz
    : : : : in ways that went beyond the <PERF LINK="Basie,
    : : : Count">Count
    : : : : Basie</PERF> or <PERF LINK="Kenton, Stan">Stan
    : : : : Kenton</PERF> formats for big band jazz ( Den
    Korta
    : : : : Fristen ). As a jazz pianist in a trio context,
    : : Johansson
    : : : : adopted a swinging <PERF LINK="Kelly, Wynton">Wynton
    : : : : Kelly</PERF> -like style, but his skill in fully
    : : exploring
    : : : : the potentialities of a song far exceeded the American
    : : : musician
    : : : : (e.g. &#235;Willow Weep For Me&#237; on 8 Bitar
    : : Not
    : : : to
    : : : : be confused with Jan Johansson, the guitarist and music
    : : : : teacher.</P></BIOGRAPHY>
    : : : : <DISCOGRAPHY>
    Rwrelser (Megafon, 1963)<RATING
    : : : : rank="3" text="Good" >***</RATING>, Jazz P
    Svenska
    : : : : (Megafon 1964), Younger Than Springtime (Artist
    : : : : 1972)<RATING rank="4" text="Excellent" >****</RATING>,
    : 8
    : : : : Bitar/Innertrio (Megafon 1989)<RATING rank="3"
    : : text="Good"
    : : : : >***</RATING>, Jan Johansson &#038; Radiojazzgruppen:
    : Den
    : : : : Korte Fristen (Megafon 1991)<RATING rank="3"
    : text="Good"
    : : : : >***</RATING>, 300.000 Km/h (Heptagon
    1994)<RATING
    : : : : rank="4" text="Excellent" >****</RATING>, Musik Genom
    : : Fyra
    : : : : Sekler Med Jan Johansson (Heptagon 1994)<RATING
    : rank="3"
    : : : : text="Good" >***</RATING>, Jan Johansson Spelar Musik
    : P
    : : : Sitt
    : : : : Eget Vis (Heptagon 1995)<RATING rank="3" text="Good"
    : : : : >***</RATING>, En Resa I Jazz Och Folkton
    (Heptagon
    : : : : 1995)<RATING rank="3" text="Good" >***</RATING>, Jazz
    : P
    : : : : Ungerska/In Pleno (Heptagon 1996)<RATING rank="3"
    : : : : text="Good" >***</RATING>.</P></DISCOGRAPHY>
    : : : : <COPYRIGHT>
    Encyclopedia of Popular Music
    : : : : Copyright Muze UK Ltd. 1989 -
    : 1999</P></COPYRIGHT></ARTICLE>
    : : : : </EPM>
    : : : You need to start with
    : : : <?xml version="1.0" standalone="no"
    encoding="ISO-8859-1"?>
    : : : otherwise it will use UTF-8 as the default encoding. If
    this
    : : : does not solve your problem please post a new message
    using
    : : the
    : : : Attach File option as we have found the act of cutting and
    : : : pasting from a message can "fix" encoding problems.
    : : : Oracle XML Team
    : : : http://technet.oracle.com
    : : : Oracle Technology Network
    : It worked the last time with your DTD File as I see it as an
    : attachement. Simply start a new thread and attach the XML
    file.
    : Oracle XML Team
    : http://technet.oracle.com
    : Oracle Technology Network
    null

  • XMLReader throws "Invalid UTF8 encoding." - Need parser for ISO-8859-1 chrs

    Hi,
    We are facing an issue when we try to send data which is encoded in "ISO-8859-1" charset (german chars) via the EMDClient (agent), which tries to parse it using the oracle.xml.parser.v2.XMLParser . The parser, while trying to read it, is unable to determine the charset encoding of our data and assumes that the encoding is "UTF-8", and when it tries to read it, throws the :
    "java.io.UTFDataFormatException: Invalid UTF8 encoding." exception.
    I looked at the XMLReader's code and found that it tries to read the first 4 bytes (Byte Order Mark - BOM) to determine the encoding. It is probably expecting us to send the data where the first line is probably:
    <?xml version="1.0" encoding="iso88591" ?>
    But, the data that our application sends is typically as below:
    ========================================================
    # listener.ora Network Configuration File: /ade/vivsharm_emsa2/oracle/work/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = semsa2)
    (ORACLE_HOME = /ade/vivsharm_emsa2/oracle)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = tcp)(HOST = stadm18.us.oracle.com)(PORT = 15100))
    ========================================================
    the first 4 bytes in our case will be, int[] {35, 32, 108, 105} == chars {#, SPACE, l, i},
    which does not match any of the encodings predefined in oracle.xml.parser.v2.XMLReader.pushXMLReader() method.
    How do we ensure that the parser identifies the encoding properly and instantiates the correct parser for "ISO-8859-1"...
    Should we just add the line <?xml version="1.0" encoding="iso88591" ?> at the beginning of our data?
    We have tried constructing the inputstream (ByteArrayInputStream) by using String.getBytes("ISO-8859-1") and passing that to the parser, but that does not seem to work.
    Please suggest.
    Thanks & Regards,
    Vivek.
    PS: The exception we get is as below:
    java.io.UTFDataFormatException: Invalid UTF8 encoding.
    at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160)
    at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:187)
    at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120)
    at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
    at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2229)
    at oracle.xml.parser.v2.XMLReader.tryRead(XMLReader.java:994)
    at oracle.xml.parser.v2.XMLReader.scanXMLDecl(XMLReader.java:2788)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:502)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:205)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:180)
    at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:431)
    at oracle.sysman.emSDK.emd.comm.RemoteOperationInputStream.readXML(RemoteOperationInputStream.java:363)
    at oracle.sysman.emSDK.emd.comm.RemoteOperationInputStream.readHeader(RemoteOperationInputStream.java:195)
    at oracle.sysman.emSDK.emd.comm.RemoteOperationInputStream.read(RemoteOperationInputStream.java:151)
    at oracle.sysman.emSDK.emd.comm.EMDClient.remotePut(EMDClient.java:2075)
    at oracle.sysman.emo.net.util.agent.Operation.saveFile(Operation.java:758)
    at oracle.sysman.emo.net.common.WebIOHandler.saveFile(WebIOHandler.java:152)
    at oracle.sysman.emo.net.common.BaseWebConfigContext.saveConfig(BaseWebConfigContext.java:505)

    Vivek
    Your message is not XML. I believe that the XMLParser is going to have problems with that as well. Perhaps you could wrap the message in an XML tag set and begin the document as you suggested with <?xml version="1.0" encoding="iso88591"?>.
    You are correct in that the parser uses only the first 4 bytes to detect the encoding of the document. It can only determine if the document in ASCII or EPCDIC based. If it is ASCII it can detect only between UTF-8 and UTF-16. It will need the encoding attribute to recognize the ISO-8859-1 encoding.
    hope this helps
    tom

  • Invalid UTF8 encoding when including ADF Lib taskFlow in ADF Project

    Hi,
    Im getting a strange error:
    [ServletContext@115621591[app:Composer2EAR module:Composer2 path:/Composer2 spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@a0bf0c7[ GET /Composer2/faces/publicPage?_afrLoop=84880154689388&_afrWindowMode=0&_adf.ctrl-state=17i184s9c9_4 HTTP/1.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,es-mx;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 115 Connection: keep-alive Referer: http://5.4.0.71:8888/Composer2/faces/publicPage Cookie: JSESSIONID=xn52MtnWLJX2W1hZJl5Wwnw1RHnWGkmfG4rxX0NJBvkyGC735w1G!190853820 ]] Root cause of ServletException.
    java.io.UTFDataFormatException: Invalid UTF8 encoding. at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:174) at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:213) at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:134) at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450) at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2585) at oracle.xml.parser.v2.XMLReader.tryRead(XMLReader.java:1121) at oracle.xml.parser.v2.XMLReader.scanXMLDecl(XMLReader.java:3144) at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:539) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:315) at oracle.jsp.parse.XMLUtil.getDocument(XMLUtil.java:394) at oracle.jsp.parse.OracleJsp2Java.transformImpl(OracleJsp2Java.java:400) at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:587) at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:675) at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:485) at oracle.jsp.runtimev2.JspPageCompiler.parseAndGetTreeNode(JspPageCompiler.java:455) at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:624) at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:650) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:388) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:729) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:653) at javax.servlet.http.HttpServlet.service(HttpServlet.java:821) 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:300) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447) at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:164) at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:185) at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:440) at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:154) at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128) at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:492) at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87) at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58) at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:260) at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:76) at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:88) at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:30) at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:670) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:388) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:729) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:653) at javax.servlet.http.HttpServlet.service(HttpServlet.java:821) 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:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:160) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:527) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253) at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45) at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:45) at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:268) at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:475) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191) at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) 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:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:160) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Im using :
    - Jdeveloper 11.1.1.3
    - Webcenter 11.1.1.3
    - Weblogic Server 10.3.3
    I made a Webcenter Application with 2 View Controller Projects, one to publish a ADF Library, and another to make a webpage to consume the library.
    The library is a bounded taskflow (with fragment) that shows a simple page.
    The web project is a simple jspx that have a region with the taskflow, the project has the ADF Library jar as a library in the project
    The Application is deployed as a EAR.
    - test 1: simple jspx page with a region : Works OK
    Results: Works OK
    - test 2: jspx with oracle composer tags: Page customizable -> panel customizable ->ShowDetail Frame -> TaskFlow Region
    Results: It works ok the first deploy, it fails with the error above after the second deploy (no need to move or change anything)
    Has anyone seen something similar?
    if i can i would post the entire source in a zip file,but i dont know if i can do it here (im new in this forums)
    Thanks in advance.

    Hi Frank,
    Yes, but here its creating a separate database connection.... ? I figrued out this by creating a vo which gives me a db session id,
    I created a reusasble pf and VO as separate lib, now i used both of them in my consumer app, i dragged the same VO (from reusable lib) to my page, and in same page i used the reusable pf, both gives me different db session id ...... ? really confused ...... is this how it works ... ? is it normal ? or some additional configuration needed .?
    Regards,
    Santosh.
    jdev 11.1.1.5.0

  • Imported XML errors "java.io.UTFDataFormatException: Invalid UTF8 encoding"

    Hi,
    I had to display a mutli select table region in a Oracle Standard Supplier Site Manage page in R12. So I had a created a custom Stack Layout region and imported in to the database. The import went through fine. Then using Personalization i had created an item with the item style as Stack Layout and in the extends property i mentioned the region path details (xxs/oracle/apps/pos/supplier/webui/XXSByrMngSiteRN) and saved the changes. When i go back to the standard page i am getting the below error stack.
    I tested this in our development instance and it worked fine. when i moved it to the system test environment this issue came up. There is no difference in the patch levels between the development and system test environments. Please let me know if you have any idea about resolving the error.
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.PersistenceException: JBO-26000: A Generic exception occurred during loading Customizations.
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2536)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1888)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:532)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:420)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
    at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
    at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
    at OA.jspService(_OA.java:221)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.io.UTFDataFormatException: Invalid UTF8 encoding.
    at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160)
    at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:175)
    at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120)
    at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
    at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2363)
    at oracle.xml.parser.v2.XMLReader.tryRead(XMLReader.java:1087)
    at oracle.xml.parser.v2.XMLReader.scanXMLDecl(XMLReader.java:2922)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:519)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:283)
    at oracle.jbo.mom.MOMParserNonMDS.parse(MOMParserNonMDS.java:138)
    at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:63)
    at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:149)
    at oracle.jbo.mom.DefinitionManager.loadDefElement(DefinitionManager.java:639)
    at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:538)
    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:425)
    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:358)
    at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:340)
    at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:700)
    at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
    at oracle.jbo.server.ApplicationModuleImpl.createApplicationModule(ApplicationModuleImpl.java:1077)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.createApplicationModule(OAWebBeanContainerHelper.java:468)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:248)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2490)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1888)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:532)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:420)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
    at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
    at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
    at OA.jspService(_OA.java:221)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    I have also tried the steps mentioned in the below link, I tried the encoding as both UTF8 and UTF-8 but the issue still persists.
    java.io.UTFDataFormatException using WS-I Analyzer
    Regards, Suresh

    Suresh,
    You obviously already know about the OA Framework forum (since you posted the same question over there). That seems like the correct place for this post.
    Also, since you have OA Framework, you have access to Metalink, and since you didn't get any fast answers on the OA Framework Forum, Metalink seems like a really attractive option, no?
    Best,
    john

  • Planning Error: java.io.UTFDataFormatException: Invalid UTF8 encoding.

    Hi,
    We are getting the below error in the Planning Application logs. Any clues how we can resolve this.
    WatchData: DATE = Nov 30, 2012 1:57:26 AM EST SERVER = EPMServer0 MESSAGE = [ServletContext@849971677[app:PLANNING module:HyperionPlanning path:/HyperionPlanning spec-version:2.5 version:11.1.2.0]] Root cause of ServletException.
    java.io.UTFDataFormatException: Invalid UTF8 encoding.
    at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:174)
    at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:201)
    at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:134)
    at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:450)
    at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2649)
    at oracle.xml.parser.v2.XMLReader.tryRead(XMLReader.java:1177)
    at oracle.xml.parser.v2.XMLReader.scanXMLDecl(XMLReader.java:3217)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:593)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:222)
    at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:173)
    at org.apache.commons.digester.Digester.parse(Digester.java:1766)
    at HspSmartViewServlet.Handle(HspSmartViewServlet.java:2620)
    at HspSmartViewServlet.doPost(HspSmartViewServlet.java:137)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
    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:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at HspValidationFilter.doFilter(HspValidationFilter.java:10)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    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)
    Please note that we are using UTF8 encoding for all our product databases.
    Thanks

    Hi..
    Check
    java.io.UTFDataFormatException: Invalid UTF8 encoding translation issueHope this will helpful

  • Error : java.io.UTFDataFormatException: Invalid UTF8 encoding.

    When trying to create a new Application in JDeveloper after I go thru all the screens to create a New Fusion Application I receive the error message
    java.io.UTFDataFormatException: Invalid UTF8 encoding......
    after clicking finish. Has anyone else seen this ?

    Hi..
    Check
    java.io.UTFDataFormatException: Invalid UTF8 encoding translation issueHope this will helpful

  • Java.io.UTFDataFormatException: Invalid UTF8 encoding.

    Hi Java Gurus,
    I am parsing XML document string, source are sockets. I am suddenly getting error msg
    'java.io.UTFDataFormatException: Invalid UTF8 encoding.'
    I have both message msg working correctly and incorrectly .... I can not see a single difference in the document except the contents ...
    Working string ---------------->
    <?xml version="1.0"?>
    <APPLICATIONMESSAGE>
    <SequenceId>1938</SequenceId>
    <MessageId>80010</MessageId>
    <TimeStamp>1083682030</TimeStamp>
    <MessageData>
    <TRANSACTIONMESSAGE>
    <Priority>2</Priority>
    <TxNo>3151166 </TxNo>
    <TxCode>UNLDIMSI</TxCode>
    <Dest>HLR30 </Dest>
    <IMSI>219019100068487</IMSI>
    <MSISDN> </MSISDN>
    <Length> 19</Length>
    <Message>0006219019100068487</Message>
    <Timestamp>1083682030000</Timestamp>
    </TRANSACTIONMESSAGE>
    </MessageData>
    </APPLICATIONMESSAGE>
    Not working xml document ----->
    <?xml version="1.0"?>
    <APPLICATIONMESSAGE>
    <SequenceId>1927</SequenceId>
    <MessageId>80010</MessageId>
    <TimeStamp>1083681243</TimeStamp>
    <MessageData>
    <TRANSACTIONMESSAGE>
    <Priority>2</Priority>
    <TxNo>3164165 </TxNo>
    <TxCode>CHVPNUSR</TxCode>
    <Dest>VPN01 </Dest>
    <IMSI>190 </IMSI>
    <MSISDN> </MSISDN>
    <Length>340</Length>
    <Message>0300190 0301549169 0305SVE 0306N0307SVE 0308N0312DONJA KUP�INA 212 0313N0314 0315MATAS 0316DAMIR 0326Y0328N033010332N0333Y0350 0351N0352 0353 0354N</Message>
    <Timestamp>1083681243000</Timestamp>
    </TRANSACTIONMESSAGE>
    </MessageData>
    </APPLICATIONMESSAGE>
    this is giving me error ---->
    java.io.UTFDataFormatException: Invalid UTF8 encoding.
    at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:160)
    at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:175)
    at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:120)
    at oracle.xml.parser.v2.XMLByteReader.saveBuffer(XMLByteReader.java:448)
    at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2026)
    at oracle.xml.parser.v2.XMLReader.skipWhiteSpace(XMLReader.java:1805)
    at oracle.xml.parser.v2.NonValidatingParser.parseMisc(NonValidatingParser.java:311)
    at oracle.xml.parser.v2.NonValidatingParser.parseProlog(NonValidatingParser.java:280)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:260)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:228)
    at com.bc.framework.xml.ParseXMLFromString.parseString(ParseXMLFromString.java:85)
    at com.bc.framework.handlers.ConversationRequestHandler.mHandlePush(ConversationRequestHandler.java:306)
    at com.bc.framework.handlers.ConversationRequestHandler.handleRequest(ConversationRequestHandler.java:227)
    at com.bc.framework.handlers.ConversationRequestHandler.run(ConversationRequestHandler.java:191)
    at com.bc.framework.threadPool.HandlerThreadWorker.mRunIt(HandlerThreadWorker.java:344)
    at com.bc.framework.threadPool.HandlerThreadWorker.mRunWork(HandlerThreadWorker.java:311)
    at com.bc.framework.threadPool.HandlerThreadWorker.access$000(HandlerThreadWorker.java:48)
    at com.bc.framework.threadPool.HandlerThreadWorker$1.run(HandlerThreadWorker.java:376)
    at java.lang.Thread.run(Thread.java:484)
    anyone have any suggestion ....

    Well utf-8 is the encoding so it isn't suprising that it's the content.
    Probably has something to do with:
    KUP�INA
    In the second message. Note the character that won't display.

  • Invalid UTF8 encoding & XSU

    I am using XSU version 1.2.
    to generating an XML document from data
    which contains German (d,|,v).
    The XML parser (2) cannot handle this.
    The error i get is:
    ERROR at line 1:
    ORA-20100: Error occurred while parsing: Invalid UTF8 encoding.
    ORA-06512: at "XML.XMLPARSER", line 22
    ORA-06512: at "XML.XMLPARSER", line 93
    Others seem to have had this problem also,
    but i couldn't see the solution...
    Thank you
    Sonal
    null

    The Document must contain
    encoding = "ISO-8859-1" in the ?xml tag.
    How can i make the XMLGEN.getxml create a document contaning the encoding attribute ?
    Thank you
    Sonal
    null

Maybe you are looking for

  • AUC Down payment : Open invoice at year end

    Hi All For LATAM countries I need to complete the Down payment to AUC At present the configuration is working fine for the following Create Order type Z60 (KO01).Create distribution rule for the order. Create AUC (AS01) and assign order number (AS01)

  • Page Width in INDESIGN

    Hi, I'm trying to create a banner in Indesign but I need to excede the maximum page width of 5486mm...is there a way of pasting 2 pages together? It's to make a PDF... Thanks!

  • Flash actionscript question!

    This is a external.as for loading images Do anyone of you knows where gone wrong?? the images can't be loaded.... thanks! I attached my code here! :)

  • My iTunes match not working on my iPhone.  Anyoine able to access theirs on an iPhone?

    I was informed by an Apple representative that match won't yet work with ios devices becuase it is still in beta testing.  Has anyone got itunes match to work with their iphone? 

  • Convert into 10g so I will use procedure at DB but....

    My dears Now I will convert My program from 6i to 10g and alot of procedure which it written in forms will be rewrite at db as a procedure But I want to know how all command in procedure scucess then I make commit else I make rollback how I Know this