Encoding In Oracle

Hi,
We are using Oralce Obfuscation Kit to encrypt some of the information like password and Card Number.
We need to encode the binary data and store it as a String in the DB.(One type of encoding is a Base 64 Encoding)
I got a sample program from Oracle Site for 8i and oracle mentioned that it is a slow process and they are adding a native libray in 9i.
http://technet.oracle.com/sample_code/tech/pl_sql/htdocs/bs64demo8i_sql.txt
If any one is aware of the libray in 9i and send me a sample usage it will be really appreicated.
you can reach me at [email protected]
Thanks
Murugesh

On the database, there are two different character sets-- one for CHAR, VARCHAR2, and CLOB columns and a National character set for NCHAR, NVARCHAR2, and NCLOB columns. The character set of the database is governed by the NLS_CHARACTERSET parameter, the national character set is governed by the NLS_NCHAR_CHARACTERSET parameter. Unfortunately, changing the character set of a database is not trivial-- you can only change the character set to a strict binary superset. Realistically, unless your database currently has a character set of US7ASCII or UTF8, you'll have to create a new database to switch to a Unicode encoding.
On the client side, you will want to set the NLS_LANG environment variable (registry setting on Windows) to specify the character set of the data you want returned. An English-language client that wanted UTF-8 encoded data would set their NLS_LANG to "American_America.UTF8".
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Steps to UTF-8 Encoding with Oracle 8i and Weblogic 6.1SP1

    What are the Steps to UTF-8 Encoding with Oracle 8i and Weblogic
              6.1SP1?
              I have:
              - Oracle 8.1.5 database created with character set=UTF8 and national
              character set=UTF8
              - Weblogic 6.1SP1 without any encoding mechanism set
              (though I did play with
              <jsp-param><param-name>encoding</param-name>
              <param-value>UTF-8</param-value>
              </jsp-param>
              in the weblogic.xml for a while though it seemed not to make a
              difference)
              - JSP pages set to content='text/html; charset=UTF-8'
              - JSP form POSTs set to enctype="UTF-8"
              I can copy and paste Chinese Kanji from a UTF8 encoded web page into
              form text boxes but when I post the data it comes back as different
              Kanji. Then once it is posted the Kanji stays the same on repeated
              posts. The same Kanji text also looks different when viewed in a form
              text box than when viewed as straight text on the page.
              Is there anything else? Or am I already encoding characters twice?
              Please help!
              Mel Christie
              

    Hi Experts,
    Please correct me if am asking you the question in wrong way.
    I have ARCGIS with oracle database 10gr2 in production server.
    My work is to connect AUTOCAD S/W (client computer which is connected in LAN) to ARCGIS in order to access the toposheets available in SDE user.
    When iam trying to connect iam getting this error:The specified credentials are not valid or provider is not able to establish a connection.
    I checked the path to production server by pinging and user/passcode too but not helpful.
    Please help me in this , very urgent.
    Thanks.
    Edited by: user13355644 on Jul 3, 2010 3:53 AM
    Edited by: user13355644 on Jul 22, 2011 2:55 AM

  • XML parser not detecting character encoding

    Hi,
    I am using Jdeveloper 9.0.5 preview and the same problem is happening in our production AS 9.0.2 release.
    The character encoding of an xml document is not correctly being detected by the oracle v2 parser even though the xml declaration correctly contains
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    instead it treats the document as UTF8 encoding which is fine until a document comes along with an extended character which then causes a
    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:448)
    at oracle.xml.parser.v2.XMLReader.fillBuffer(XMLReader.java:2023)
    at oracle.xml.parser.v2.XMLReader.tryRead(XMLReader.java:972)
    at oracle.xml.parser.v2.XMLReader.scanXMLDecl(XMLReader.java:2589)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:485)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:192)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:144)
    as you can see it is explicitly casting the XMLUTF8Reader to perform the read.
    I can get around this by hard coding the xml input stream to be processed by a reader
    XMLSource = new StreamSource(new InputStreamReader(XMLInStream,"ISO-8859-1"));
    however the manual documents that the character encoding is automatically picked up from the xml file and casting into a reader is not necessary, so I should be able to write
    XMLSource = new StreamSource(XMLInStream)
    Does anyone else experience this same problem?
    having to hardcode the encoding causes my software to lose flexibility.
    Jarrod Sharp.

    An XML document should be created with 'ISO-8859-1' encoding to be parsed as 'ISO-8859-1' encoding.

  • 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.

  • How to add encoding to mq.properties

    We are receiving an error in our log files about an encoding piece missing, "X-ORACLE-EL8EBCDIC423R is missing in mq.properties file. Please make sure that the entry for this encoding is present in mq.properties file". The question is, how do we add this to the mq.properties, specifically what format? Any help is appreciated. Thanks in advanced.
    Below is a snippet of the log:
    [2012-11-17T15:18:34.771-06:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: orabpel.invoke.pool-4.thread-45] [userId: <anonymous>] [ecid: 2cf2cb14d1233fbd:3bd1d
    d7:13af7c77f6e:-8000-00000000003b7f39,0:1:101901922] [APP: soa-infra] [composite_name: ShipFromStoreStatus] [component_instance_id: 16425176] [component_name: ShipFromS
    toreStatus] MQ Series Adapter OMSCancelReservService:CancelReservPublisher [ Enqueue_ptt::Enqueue(body) ] [MQUtility] Java encoding:X-ORACLE-EL8EBCDIC423R is missing
    in mq.properties file. Please make sure that the entry for this encoding is present in mq.properties file
    [2012-11-17T15:18:34.773-06:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: orabpel.invoke.pool-4.thread-45] [userId: <anonymous>] [ecid: 2cf2cb14d1233fbd:3bd1d
    d7:13af7c77f6e:-8000-00000000003b7f39,0:1:101901922] [APP: soa-infra] [composite_name: ShipFromStoreStatus] [component_instance_id: 16425176] [component_name: ShipFromS
    toreStatus] MQ Series Adapter OMSCancelReservService:CancelReservPublisher [ Enqueue_ptt::Enqueue(body) ] Mapping for Java encoding to MQSeries message encoding is no
    t found for NXSD encoding -X-ORACLE-EL8EBCDIC423R . Please update mq.properties for this NXSD encoding.
    [2012-11-17T15:18:34.773-06:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: orabpel.invoke.pool-4.thread-45] [userId: <anonymous>] [ecid: 2cf2cb14d1233fbd:3bd1d
    d7:13af7c77f6e:-8000-00000000003b7f39,0:1:101901922] [APP: soa-infra] [composite_name: ShipFromStoreStatus] [component_instance_id: 16425176] [component_name: ShipFromS
    toreStatus] MQ Series Adapter OMSCancelReservService:CancelReservPublisher [ Enqueue_ptt::Enqueue(body) ] [[
    BINDING.JCA-13080
    Error.
    Error.
    "Java encoding:X-ORACLE-EL8EBCDIC423R is missing in mq.properties file. Please make sure that the entry for this encoding is present in mq.properties file".
    Contact oracle support if error is not fixable.
    at oracle.tip.adapter.mq.MQUtility.lookup(MQUtility.java:122)
    at oracle.tip.adapter.mq.outbound.MessageProducer.updateMessageEncodingFromNXSD(MessageProducer.java:442)
    at oracle.tip.adapter.mq.outbound.MessageProducer.produce(MessageProducer.java:363)
    at oracle.tip.adapter.mq.outbound.InteractionImpl.execute(InteractionImpl.java:168)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:311)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:525)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:508)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:491)
    at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:247)
    at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)
    at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:197)
    at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:214)
    at sun.reflect.GeneratedMethodAccessor1260.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    stdin

    Set the "clientEncoding" attribute as UTF8 in the outbound connection pool of your MQ adapter and update the adapter after making the change. Test again after this.
    Regards,
    Anuj

  • 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

  • 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

  • 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.

  • XML Parser - Character Encoding

    Hi,
    I am trying to parse a XML document containing Korean characters. Using XSL stylesheet to generate HTML output in Java Servlet.
    How can i do to make it work?
    I'm using WintNT with IIS - ServletExec3.1 for servlet engine.
    Here's the error messages...
    java.io.UTFDataFormatException: Invalid UTF8 encoding
    at oracle.xml.parser.v2.XMLUTF8Reader.checkUTF8Byte(XMLUTF8Reader.java:65)
    at oracle.xml.parser.v2.XMLUTF8Reader.readUTF8Char(XMLUTF8Reader.java:162)
    at oracle.xml.parser.v2.XMLUTF8Reader.fillLastBuffer(XMLUTF8Reader.java:142)
    at oracle.xml.parser.v2.XMLByteReader.fillByteBuffer(XMLByteReader.java:300)
    at oracle.xml.parser.v2.XMLUTF8Reader.fillBuffer(XMLUTF8Reader.java:108)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:277)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:163)
    Thanks...
    TN
    null

    Yes, I did.
    I tried with:
    1. encoding="EUC-KR"
    2. encoding="IOS2022KR"
    3. encoding="UTF-8"
    4. and some ...
    but it still return the same error.
    Any ideas,
    Thanks,
    Tuan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by oracle xml team:
    Have you set your encoding in the header of xml file?<HR></BLOCKQUOTE>
    null

  • 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

  • Character  set Encoding

    Hi,
    Everybody i just want to know default character set encoding that is
    use to store data in oracle 9i..
    or is there any difference between Mssqi2005 character set encoding and oracle 9i character set encoding.
    please reply................
    regard's
    paritosh tomar

    DarkFiBrE72 wrote:
    Its AL16UTF16,
    From metalink
    Starting in Oracle 9i the National Characterset (NLS_NCHAR_CHARACTERSET) will be
    limited to UTF8 and AL16UTF16.
    For more details refer to The National Character Set in Oracle 9i and 10g
    Any other NLS_NCHAR_CHARACTERSET will no longer be supported.
    When upgrading to 10g the value of NLS_NCHAR_CHARACTERSET is based
    on value currently used in the Oracle8 version.
    If the NLS_NCHAR_CHARACTERSET is UTF8 then new it will stay UTF8.
    In all other cases the NLS_NCHAR_CHARACTERSET is changed to AL16UTF16
    and -if used- N-type data (= data in columns using NCHAR, NVARCHAR2 orNCLOB )
    may need to be converted.
    Edited by: DarkFiBrE72 on Sep 24, 2008 7:12 PMI'm not sure if the OP was referring to the National character set? Is this implied by the corresponding SQL Server characterset mentioned?
    Otherwise I would assume we are talking about the Database character set, which allows numerous different character sets and types (single-byte, multi-byte, Unicode etc. depending on Oracle release).
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Oracle Database Character set and DRM

    Hi,
    I see the below context in the Hyperion EPM Installation document.
    We need to install only Hyperion DRM and not the entire Hyperion product suite, Do we really have to create the database in one of the uft-8 character set?
    Why it is saying that we must create the database this way?
    Any help is appreciated.
    Oracle Database Creation Considerations:
    The database must be created using Unicode Transformation Format UTF-8 encoding
    (character set). Oracle supports the following character sets with UTF-8 encoding:
    l AL32UTF8 (UTF-8 encoding for ASCII platforms)
    l UTF8 (backward-compatible encoding for Oracle)
    l UTFE (UTF-8 encoding for EBCDIC platforms)
    Note: The UTF-8 character set must be applied to the client and to the Oracle database.
    Edited by: 851266 on Apr 11, 2011 12:01 AM

    Srini,
    Thanks for your reply.
    I would assume that the ConvertToClob function would understand the byte order mark for UTF-8 in the blob and not include any parts of it in the clob. The byte order mark for UTF-8 consists of the byte sequence EF BB BF. The last byte BF corresponds to the upside down question mark '¿' in ISO-8859-1. Too me, it seems as if ConvertToClob is not converting correctly.
    Am I missing something?
    BTW, the database version is 10.2.0.3 on Solaris 10 x86_64
    Kind Regards,
    Eyðun
    Edited by: Eyðun E. Jacobsen on Apr 24, 2009 8:26 PM

  • Vnc console not running on Oracle VM 3.1.1

    Dear All,
    I try to lunch ovm console with a new Virtual Machine but not work.
    I installed Oracle VM Manager on Oracle Linux 5.
    - Installed tightvnc package on VM Manager host: tightvnc-java-1.3.9-4.noarch.rpm
    - Window 7 as computer client using Java 1.6 with browser version 16.0.2
    Window guest (2008R2) is shown status running fine but the its Lunch Console is not running and view.
    Problem: When file "ovm_rasproxy-ws.jnlp" pop-up, I click OK then type password console password, click OK button, vnc not running and disappear forever.
    Please kindly give advice for this.
    Thanks and regards,
    Vandy

    Now I have installed java jdk 1.6u37 and Java Control Panel to see message when pop-ups.
    Now I have 2 virtual machines:
    1. virtual machine created from template that converted from physical machine (window 2008R2)
    2. virtual machine create isofile (Window 2008R2 iso)
    After I edit java setting and now can see all message as below:
    Note: both virtual machines have 2 java console pop-up messages
    1. Java Console - Oracle VM Remote Access Service
    2. Java Console - Vnc Viewer
    1. virtual machine created from template that converted from physical machine (window 2008R2)
    + Java Console - Oracle VM Remote Access Service message
    Java Web Start 1.6.0_37
    Using JRE version 1.6.0_37-b06 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Heng
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    Exception in thread "HandshakeCompletedNotify-Thread" java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl$NotifyHandshakeThread.run(Unknown Source)
    Nov 12, 2012 5:10:08 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: Server : 192.168.0.101
    Nov 12, 2012 5:10:08 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: service id : 003600010004fb0000060000e8bc028487c2f2ab
    Nov 12, 2012 5:10:08 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: SessionID : f5739ba9-3cdd-4c75-b4a1-bb0177f30d34
    Nov 12, 2012 5:10:12 PM com.oracle.ovm.ras.proxy.RasProxyApplet startListening
    INFO: RAS proxy listening on /127.0.0.1:52794
    Nov 12, 2012 5:10:12 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: ServiceType : VNC
    Nov 12, 2012 5:10:12 PM com.oracle.ovm.ras.proxy.external.ViewerLauncherFactory getViewerLauncher
    INFO: Os is : windows 7
    Nov 12, 2012 5:10:16 PM com.oracle.ovm.ras.proxy.ProxyThread setupSSL
    INFO: DONE SSL Handshaking
    + Java Console - Vnc Viewer
    Java Web Start 1.6.0_37
    Using JRE version 1.6.0_37-b06 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Heng
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    Initializing...
    Connecting to 127.0.0.1, port 52794...
    Connected to server
    RFB server supports protocol version 3.8
    Using RFB protocol version 3.8
    Performing standard VNC authentication
    Now VNC Authentication page pop-up to type console password, after I type console and click OK button, the Java Console - Vnc Viewer disappear forever and see Oracle Ovm Ras Proxy pop-up appears but vnc console not view OS of virtual machine. Especially, the Java Console - Oracle VM Remote Access Service message change message as below:
    Java Web Start 1.6.0_37
    Using JRE version 1.6.0_37-b06 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Heng
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    Exception in thread "HandshakeCompletedNotify-Thread" java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl$NotifyHandshakeThread.run(Unknown Source)
    Nov 12, 2012 5:10:08 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: Server : 192.168.0.101
    Nov 12, 2012 5:10:08 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: service id : 003600010004fb0000060000e8bc028487c2f2ab
    Nov 12, 2012 5:10:08 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: SessionID : f5739ba9-3cdd-4c75-b4a1-bb0177f30d34
    Nov 12, 2012 5:10:12 PM com.oracle.ovm.ras.proxy.RasProxyApplet startListening
    INFO: RAS proxy listening on /127.0.0.1:52794
    Nov 12, 2012 5:10:12 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: ServiceType : VNC
    Nov 12, 2012 5:10:12 PM com.oracle.ovm.ras.proxy.external.ViewerLauncherFactory getViewerLauncher
    INFO: Os is : windows 7
    Nov 12, 2012 5:10:16 PM com.oracle.ovm.ras.proxy.ProxyThread setupSSL
    INFO: DONE SSL Handshaking
    Nov 12, 2012 5:16:01 PM com.oracle.ovm.ras.proxy.ChannelThread run
    INFO: Server closed connection
    Nov 12, 2012 5:16:01 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: Vncviewer stopped, closing proxy
    2. virtual machine create isofile (Window 2008R2 iso)
    1. Java Console - Oracle VM Remote Access Service
    Java Web Start 1.6.0_37
    Using JRE version 1.6.0_37-b06 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Heng
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    Exception in thread "HandshakeCompletedNotify-Thread" java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at java.util.HashMap$EntryIterator.next(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl$NotifyHandshakeThread.run(Unknown Source)
    Nov 12, 2012 5:23:47 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: Server : 192.168.0.101
    Nov 12, 2012 5:23:47 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: service id : 003600010004fb0000060000811dce8e630704d1
    Nov 12, 2012 5:23:47 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: SessionID : 84282504-8234-46f7-8b2f-4f7e5e9209e2
    Nov 12, 2012 5:23:52 PM com.oracle.ovm.ras.proxy.RasProxyApplet startListening
    INFO: RAS proxy listening on /127.0.0.1:52838
    Nov 12, 2012 5:23:52 PM com.oracle.ovm.ras.proxy.RasProxyApplet main
    INFO: ServiceType : VNC
    Nov 12, 2012 5:23:52 PM com.oracle.ovm.ras.proxy.external.ViewerLauncherFactory getViewerLauncher
    INFO: Os is : windows 7
    Nov 12, 2012 5:23:56 PM com.oracle.ovm.ras.proxy.ProxyThread setupSSL
    INFO: DONE SSL Handshaking
    2. Java Console - Vnc Viewer
    Java Web Start 1.6.0_37
    Using JRE version 1.6.0_37-b06 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Heng
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    Initializing...
    Connecting to 127.0.0.1, port 52838...
    Connected to server
    RFB server supports protocol version 3.8
    Using RFB protocol version 3.8
    No authentication needed
    No authentication: success
    Desktop name is MS2008R2(iso)
    Desktop size is 800 x 600
    Using Tight/ZRLE encodings
    Throughput 17980 kbit/s - changing to Hextile encoding
    The Oracle Ovm Ras Proxy pop-up appears and vnc console view OS of virtual machine.
    Please kindly give advice for this.
    Thanks and regards,
    Vandy

  • 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

Maybe you are looking for

  • Car Bluetooth no longer works iOS 8.3

    Since the latest software update and Siri now automatically sending "Hey Siri" calls through the handset speaker...I can no longer safely use the internal Bluetooth system.  I have to wait for the call to connect, then take my hand off the wheel and

  • Clarification regarding SUBMIT

    Hi, I would like to know parameters passing from custom prog. through SUBMIT to a target program. variables of target prog must be the same in the program. or is they can be dinamically passed like subroutines.  In target prog. for the same fiels Mod

  • Help. WRT54G IP Address issues

    Can't get computer to find router. Can't get online through router to get to setup page. Setup disc error message "unable to connect to router......".

  • STMS-Transport Routes creattion

    Hi Friends, Please clarify my question regarding transport routes. We had total 4 systems in our landscpae like ECC-dev,Qas,Trn and PRD. as usually the old transport connections are existed beteen "dev-qas" then "qas to trn" and "prd".Now we want to

  • What do view of damaged lotus notes nsf file?

    A disc that was formatted lotus base. After the restoration of utilities through almost all the bases when opening throw an error "File is not database", "File does not exist" or "Database is corrupt - Can not allocate space". What tools can be used