Exception:java.io.UTFDataFormatException: invalid byte 2 of 2-byte UTF-8 se
While feeding the parser with the xml string returned , the present data found contains some invalid UTF-8 characters(e.g, "�"). This would amount to a "java.io.UTFDataFormatException" exception.
This is the code where I initialize the parser & feed the InputSource:
public class ISEGeneralSearchResultsParser extends DefaultHandler{
private static final String DEFAULT_PARSER_NAME = "org.apache.xerces.parsers.SAXParser";
private static final String VALIDATION = "http://xml.org/sax/features/validation";
private static final String NAMESPACE = "http://xml.org/sax/features/namespaces";
private static final String SCHEMA = "http://apache.org/xml/features/validation/schema";
protected static boolean cbSetValidation = false;
protected static boolean cbSetNameSpaces = false;
protected static boolean cbSetSchemaSupport = false;
public void toRecord(String asXML)
throws Exception
try
ByteArrayInputStream byteStream = new ByteArrayInputStream(asXML.getBytes());
String lsParserName = DEFAULT_PARSER_NAME;
try
lParser = (XMLReader)Class.forName(lsParserName).newInstance();
lParser.setFeature( VALIDATION, cbSetValidation);
lParser.setFeature( NAMESPACE, cbSetNameSpaces);
lParser.setFeature( SCHEMA, cbSetSchemaSupport);
lParser.setContentHandler((DefaultHandler)this);
lParser.setErrorHandler((DefaultHandler)this);
catch(Exception parserException)
throw new SNETException("ISE011");
lParser.parse(new InputSource((InputStream)byteStream));
catch (Exception xmlStringException)
throw new SNETException("ISE012");
My question how would I make the parser understand that the characters allowed could be also � for example?
Thanking you in anitcipation!!
Cheers
My question how would I make the parser understand
that the characters allowed could be also � for
example?You would give it an XML file that declares its encoding properly. If it doesn't declare its encoding at all, you'd make sure it was really encoded in UTF-8. Hint: just stating an encoding in the XML's prologue doesn't mean that the data is really encoded that way. That's the responsibility of the creator of the file.
Similar Messages
-
Java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.
Hi,
I see the below error when I try to import bunch of email templates.
com.waveset.util.WavesetException: ==> java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.
Can any one explain me why is this happenining?
Thanks,
SiddiquiHi Siddiqui,
It looks like u r importing some characters those are not valid UTF-8 character set and some time this type of error comes when u try to import characters like *<,>* so use *& lt;* for < and *>* for >.
sorry those Characters r not display properly :-(
Thanx
Shant
Edited by: Shant on Jan 18, 2008 6:19 AM
Edited by: Shant on Jan 18, 2008 6:23 AM -
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, SureshSuresh,
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 -
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. -
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 -
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.
ThanksHi..
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
I hope this isn't a question that has been asked before, but I looked thru the posts back to July 1 and couldn't find it, so here goes:
I just installed SJSC2 EA yesterday on Win2k Pro. I built a small page with a couple of calendars, a button, a text field or two, etc. However, when I ran it I got the exception below. Thinking I messed something up, I started over with a page with one text field, one label and one button. Pressing the button stores the date time as a string in the text field. That worked fine, but the label didn't look right. Then I started mucking with the label format, and now I have this exception again and can't get rid of it. What to do?
Exception Handler
Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
Exception Details: java.io.UTFDataFormatException
Invalid byte 1 of 1-byte UTF-8 sequence.
Possible Source of Error:
Class Name: com.sun.org.apache.xerces.internal.impl.io.UTF8Reader
File Name: UTF8Reader.java
Method Name: invalidByte
Line Number: 712
Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
Stack Trace:
com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:712)
com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:585)
com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1740)
com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanLiteral(XMLEntityScanner.java:843)
com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(XMLScanner.java:976)
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute(XMLNSDocumentScannerImpl.java:419)
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:218)
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1563)
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:341)
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:828)
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:758)
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1178)
javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:181)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:201)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:105)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:214)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:487)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:468)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:516)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:307)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(AccessController.java:-2)
javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
java.security.AccessController.doPrivileged(AccessController.java:-2)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:482)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:417)
org.apache.catalina.core.ApplicationDispatcher.access$000(ApplicationDispatcher.java:80)
org.apache.catalina.core.ApplicationDispatcher$PrivilegedForward.run(ApplicationDispatcher.java:95)
java.security.AccessController.doPrivileged(AccessController.java:-2)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
com.sun.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:216)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(AccessController.java:-2)
javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
java.security.AccessController.doPrivileged(AccessController.java:-2)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
com.sun.web.ui.util.UploadFilter.doFilter(UploadFilter.java:179)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
java.security.AccessController.doPrivileged(AccessController.java:-2)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)Hello,
I had similar problems with SJSC 2.
For me the problem was that the label had french characters. I mean for "Pr�nom" the "�" character, when I remove it from the label it works.
Alioune. -
Core Tag causes java.io.UTFDataFormatException
Hi,
I am using JSTL core tag in my JSP file. While running the file I am getting following error:
java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected the page: "java.io.UTFDataFormatException: Invalid byte 2 of 3-byte UTF-8 sequence., "I am using WebLogic 8.1 SP4 version and eclipse 3.1.1 with MyEclipse configured.
Can anybdy please help me find a solution to my problem. It's urgent.
Thanks in advance.
NiranjanI'm sorry my mind reading powers aren't working today.
Can you show an example of a simple JSP that duplicates this error?
The smallest example possible?
What is it on the page that does this.
If you create the page in a text editor (eg notepad) does it still occur? -
Java.sql.SQLException: invalid arguments in call
Hi
I am getting the following exception
java.sql.SQLException: invalid arguments in call
Please send me a soln.
Thanks in advanceI had to switch the classes12.jar file that I was using with Tomcat to the one that came packaged with JDeveloper. Thanks for the quick reponse though.
-
Hi,
Could any one help me?
We use weblogic 6.1 SP4 and SQL2000 SP3, and we weblogic's JDBC driver(mssqlserver4v65).
It seems the JDBC connections is not stable and sometimes throw the exceptions:
==========================================
java.sql.SQLException: Invalid column number (2). This table has 1 columns (a valid index is 1 trough 1).
java.sql.SQLException: Invalid column number (2). This table has 1 columns (a valid index is 1 trough 1).
at weblogic.jdbc.mssqlserver4.TdsResultSet.getEntry(TdsResultSet.java:193)
===========================
Thank you.
--TedTed wrote:
Hi,
Could any one help me?
We use weblogic 6.1 SP4 and SQL2000 SP3, and we weblogic's JDBC driver(mssqlserver4v65).
It seems the JDBC connections is not stable and sometimes throw the exceptions:
==========================================
java.sql.SQLException: Invalid column number (2). This table has 1 columns (a valid index is 1 trough 1).
java.sql.SQLException: Invalid column number (2). This table has 1 columns (a valid index is 1 trough 1).
at weblogic.jdbc.mssqlserver4.TdsResultSet.getEntry(TdsResultSet.java:193)
===========================
Thank you.
--TedCan you reliably reproduce this? Are you sure the query being sent returns
more than one column? You should be using the mssqlserver4v70, not v65, for
sqlserver2000.
Joe -
Weblogic 7.0.1
I establish two initialContext objects with credential like so:
InitialContext ic = getInitialContext("t3://<ip>:<port>", "<username>",
"<password>");
InitialContext ic2 = getInitialContext("t3://<sameip>:<differentport>",
"<username>", "<differentpassword>");
protected InitialContext getInitialContext(String url, String user, String
password) throws NamingException
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
env.put(Context.PROVIDER_URL, url);
env.put(Context.SECURITY_PRINCIPAL, user);
env.put(Context.SECURITY_CREDENTIALS, password);
return new InitialContext(env);
Each of these servers has a jms queue I want to context to. When I try to do
a lookup like this (ic):
qconFactory = (QueueConnectionFactory) ic.lookup("my/Queue");
I get this exception:
java.lang.SecurityException: Invalid Subject: principals=[system2, Administrators]
at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:943)
at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:309)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
End server side stack trace
Here is the bad issue. The second lookup works (ic2):
qconFactory = (QueueConnectionFactory) ic2.lookup("my/Queue");
As a matter of fact if I try to create more contexts the last context always seems
to work. Also if I do each of these lookups in a separate application they both
work. Any ideas?
Hi John,
There may be a bug, but the fact that some code works in a previous
version does not necessarily make this a given. For example, a new
release may restrict applications based on a refinement or clarification
in a J2EE spec. (Although in general, we try to make such changes
without breaking current customer code.) Another example is an
application that unknowingly depends on a bug that was in the previous
version. That said, this is unrelated to JMS, as the exception occurs
on a jndi lookup before any JMS code is invoked - I suggest posting to
the security newsgroup and perhaps raising the issue with customer
support.
Tom, BEA
john hutchinson wrote:
> The code below works with other versions of WebLogic. It just doesn't work with
> WebLogic7.0. I don't understand what one context object has to do with another.
> The code below indicates two different context object. I can also catch the
> exception when it is thrown re-establish the first context after the second works
> and use then use the first so that would be useless security. So either there
> is a bug in WebLogic's use of contexts or there is a bug in there security model.
> If it works I've attached a sample application that does this.
>
>
> Tom Barnes <[email protected]> wrote:
>
>>As with all versions of WebLogic, the security context is
>>associated with the thread. So establishing a new one
>>will replace the previous context associated with
>>the thread. For more detailed information
>>post to the weblogic.developer.interest.security newsgroup.
>>
>>Tom, BEA
>>
>>john hutchinson wrote:
>>
>>>Weblogic 7.0.1
>>>
>>>I establish two initialContext objects with credential like so:
>>>
>>> InitialContext ic = getInitialContext("t3://<ip>:<port>",
>>
>>"<username>",
>>
>>>"<password>");
>>> InitialContext ic2 = getInitialContext("t3://<sameip>:<differentport>",
>>>"<username>", "<differentpassword>");
>>>
>>> protected InitialContext getInitialContext(String url, String user,
>>
>>String
>>
>>>password) throws NamingException
>>> {
>>> Hashtable env = new Hashtable();
>>> env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
>>> env.put(Context.PROVIDER_URL, url);
>>> env.put(Context.SECURITY_PRINCIPAL, user);
>>> env.put(Context.SECURITY_CREDENTIALS, password);
>>> return new InitialContext(env);
>>> }
>>>
>>>Each of these servers has a jms queue I want to context to. When I
>>
>>try to do
>>
>>>a lookup like this (ic):
>>>qconFactory = (QueueConnectionFactory) ic.lookup("my/Queue");
>>>
>>>I get this exception:
>>>
>>>java.lang.SecurityException: Invalid Subject: principals=[system2,
>>
>>Administrators]
>>
>>> at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:943)
>>> at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:147)
>>> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:309)
>>> at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
>>> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
>>> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
>>>End server side stack trace
>>>
>>>Here is the bad issue. The second lookup works (ic2):
>>>qconFactory = (QueueConnectionFactory) ic2.lookup("my/Queue");
>>>
>>>As a matter of fact if I try to create more contexts the last context
>>
>>always seems
>>
>>>to work. Also if I do each of these lookups in a separate application
>>
>>they both
>>
>>>work. Any ideas?
>>>
>>
-
Getting error Servlet failed with Exception java.lang.IllegalStateException
Hi
I am getting this error throughout the server when i am trying to download a pdf from that page.
Im attaching the error console
2011 5:10:26 PM CEST> <Error> <HTTP> <aczocc08x.vfcz.dc-ratingen.de> <ShopSrv1_1_pre> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1306163426535> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@172d19e - appName: 'OCC', name: '/shop', context-path: '/shop'] Servlet failed with Exception
java.lang.IllegalStateException: Cannot resize buffer - 76438 bytes have already been written (Servlet 2.3, sec. 5.1)
at weblogic.servlet.internal.ServletResponseImpl.setBufferSize(ServletResponseImpl.java:338)
at weblogic.servlet.jsp.PageContextImpl.initialize(PageContextImpl.java:74)
at weblogic.servlet.jsp.PageContextImpl.<init>(PageContextImpl.java:110)
at weblogic.servlet.jsp.JspFactoryImpl.getPageContext(JspFactoryImpl.java:40)
at jsp_servlet._checkout._order.__cart_thank_45_you._jspService(__cart_thank_45_you.java:644)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at vodafone.servlet.security.HttpsEnforcingFilter.doFilter(HttpsEnforcingFilter.java:39)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.java:90)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:202)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:279)
at vodafone.dynamo.servlet.LocaleRedirector.service(LocaleRedirector.java:75)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:279)
at atg.servlet.dafpipeline.RecordingServlet.service(RecordingServlet.java:280)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.servlet.http.CookieBufferServlet.service(CookieBufferServlet.java:97)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.userprofiling.ExpiredPasswordServlet.service(ExpiredPasswordServlet.java:356)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:206)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:565)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2442)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:602)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:461)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at vodafone.servlets.ServletHelper.service(ServletHelper.java:34)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at vodafone.dynamo.servlet.DefaultCatalogFixer.service(DefaultCatalogFixer.java:54)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.commerce.profile.VodafoneSSOProfileRequestServlet.service(VodafoneSSOProfileRequestServlet.java:231)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:480)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at vodafone.session.SessionSynchronizationServlet.service(SessionSynchronizationServlet.java:38)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:561)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1100)
at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:782)
at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:231)
at atg.filter.dspjsp.PageFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
>
Anyone has any idea or faced this issue before please guide me what is the cause, i have got a feeling that this may be because server has run out of memory.i havn't written anything before calling set buiffer sizeSo why does the exception message say the opposite?
I can see that error may be because of a jsp named cart_thank-you.jspSo can I. So have a look at it. It is writing something before the other thing is calling setBufferSize().
you can see that in erro logSo can you. -
Hi everyone,
we are facing the below issue when trying to schedule a BI report.
Error Details:
+oracle.apps.xdo.servlet.scheduler.ProcessingException: Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.0.0) (Build 080319)): oracle.toplink.exceptions.DatabaseException+
Internal Exception: java.sql.SQLException: ORA-00904: "SEQ_NAME": invalid identifier
Error Code: 904
Call: UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT 50 WHERE SEQ_NAME = 'JOB_ID_SEQ'+
Query: DataModifyQuery()
+ at oracle.apps.xdo.servlet.scheduler.toplink.ToplinkDataHandler.insertJob(ToplinkDataHandler.java:830)+
+ at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.scheduleJob(SchedulerServlet.java:1896)+
+ at oracle.apps.xdo.servlet.ui.scheduler.SchedulerServlet.doPost(SchedulerServlet.java:293)+
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)+
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)+
+ at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)+
+ at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)+
+ at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)+
+ at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)+
+ at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)+
+ at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)+
+ at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)+
+ at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)+
+ at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)+
+ 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)+
+Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.0.0) (Build 080319)): oracle.toplink.exceptions.DatabaseException+
Internal Exception: java.sql.SQLException: ORA-00904: "SEQ_NAME": invalid identifier
Error Code: 904
Call: UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT 50 WHERE SEQ_NAME = 'JOB_ID_SEQ'+
Query: DataModifyQuery()
+ at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:296)+
+ at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:724)+
+ at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:790)+
+ at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:524)+
+ at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:467)+
+ at oracle.toplink.internal.sessions.AbstractSession.executeCall(AbstractSession.java:795)+
+ at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)+
+ at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:179)+
+ at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeNoSelectCall(DatasourceCallQueryMechanism.java:222)+
+ at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeNoSelect(DatasourceCallQueryMechanism.java:202)+
+ at oracle.toplink.queryframework.DataModifyQuery.executeDatabaseQuery(DataModifyQuery.java:55)+
+ at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:671)+
+ at oracle.toplink.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2260)+
+ at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1074)+
+ at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1058)+
+ at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1032)+
+ at oracle.toplink.sequencing.QuerySequence.update(QuerySequence.java:319)+
+ at oracle.toplink.sequencing.QuerySequence.updateAndSelectSequence(QuerySequence.java:258)+
+ at oracle.toplink.sequencing.StandardSequence.getGeneratedVector(StandardSequence.java:62)+
+ at oracle.toplink.sequencing.DefaultSequence.getGeneratedVector(DefaultSequence.java:144)+
+ at oracle.toplink.sequencing.Sequence.getGeneratedVector(Sequence.java:256)+
+ at oracle.toplink.internal.sequencing.SequencingManager$Preallocation_Transaction_NoAccessor_State.getNextValue(SequencingManager.java:444)+
+ at oracle.toplink.internal.sequencing.SequencingManager.getNextValue(SequencingManager.java:873)+
+ at oracle.toplink.internal.sequencing.ClientSessionSequencing.getNextValue(ClientSessionSequencing.java:75)+
+ at oracle.toplink.internal.descriptors.ObjectBuilder.assignSequenceNumber(ObjectBuilder.java:234)+
+ at oracle.toplink.internal.sessions.UnitOfWorkImpl.assignSequenceNumbers(UnitOfWorkImpl.java:419)+
+ at oracle.toplink.internal.sessions.UnitOfWorkImpl.calculateChanges(UnitOfWorkImpl.java:497)+
+ at oracle.toplink.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1407)+
+ at oracle.toplink.internal.sessions.UnitOfWorkImpl.commitRootUnitOfWork(UnitOfWorkImpl.java:1167)+
+ at oracle.toplink.internal.sessions.UnitOfWorkImpl.commit(UnitOfWorkImpl.java:939)+
+ at oracle.apps.xdo.servlet.scheduler.toplink.ToplinkDataHandler.insertJob(ToplinkDataHandler.java:815)+
+ ... 16 more+
Caused by: java.sql.SQLException: ORA-00904: "SEQ_NAME": invalid identifier
+ at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)+
+ at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)+
+ at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)+
+ at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)+
+ at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:113)+
+ at oracle.jdbc.driver.T4CStatement.execute_for_rows(T4CStatement.java:561)+
+ at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)+
+ at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1585)+
+ at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:713)+
+ ... 45 more+
Found a thread related to this but there it was explained that the error was occuring when trying to notify regarding output through email. In our case, issue is occuring just during scheduling itslef.
Also I haved checked the following schedular tables in my database.
SQL> select table_name from all_tables where table_name like 'S_NQ%'
+2 /+
TABLE_NAME
S_NQ_ERR_MSG
S_NQ_INSTANCE
S_NQ_JOB_PARAM
S_NQ_JOB
SQL> select SEQ_NAME.CURRVAL FROM DUAL;
select SEQ_NAME.CURRVAL FROM DUAL
*+
ERROR at line 1:
ORA-02289: sequence does not exist
Please help me out in solving this as I have tried almost all possible solutions.
Thanks,
Sri Harsha.
Edited by: user10545574 on Dec 20, 2009 10:24 PMHello,
In the delivery email configuration server page (under BI Publisher Admin Tab), the username / password to enter is the one defined on the email server itself. It is the user that will be user to send the emails when scedhuling a report.
It may not be Administrator/ Administrator (not a user defined with OBI admin tool) but the username/password defined on the email server itself.
Moreover, to properly configure the BI Publisher Scheduler, it is a prerequistes to create bipsched user on Oracle DB and install the schema tables in Oracle DB (by clicking on Install Schema button after defining database connection under Admin / Scheduler Configuration tab)
From the error your are getting 'SEQ_NAME unknown..., it appears that the tables are not created'.
Hope this helps and good luck
Matthieu -
In my 2006 biztalk application I have exposed web service to receive SAP input. It was working fine. After I have modified something in orchestration in that application . I am getting following error while SAP try to consume my web service. Can anyone please
help me.
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not FoundIn my 2006 biztalk application I have exposed web service to receive SAP input. It was working fine. After I have modified something in orchestration in that application . I am getting following error while SAP try to consume my web service.
HI Arivazhagan K,
Could you give some explanation about what you modified? according the to error message, this is "resource is not found issue".
Best regards,
Angie
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
Above is all the detail there is. It's gone and I don't know how to reconstitute it.
-
One apple id: how many devices?
Hey, Can I install same game in different iOS devices(iPhone 3GS, 4S, iTouch 4G, iPad2) using single Apple id? if yes then in how many devices?
-
Webi report running continuosly
Hi, I am working with a webi report, did some changes and when I click on Run Query, the Opening document dialog box is displayed and the report data is not displayed. I clicked on Canel button and tried to run another webi report and it also does th
-
HT2490 System preferences Issue
Hello, I was wondering if anyone would be able to assist me. I'm having issue with my System Preferences. When I tried ot go in and change my deskstop view it stayed in uploading mode and wont let me do anything.
-
Can I use LCCS like Stratus, as a simple rendezvous service, without all those rooms and other unnecessary stuff? I just want to be able to establish a P2P connection between two clients and stream some arbitrary data. I'm hoping to use this for comm