Sitemap

Amicuk Programming Answers

Internal Exception: oracle.xml.parser.v2.XMLParseException xsi:type "toplin

2015-10-11   Views:1

Advertisement

i am using toplink 10.1.3.0.0 with oracle app server 10.1.2.2, i am using change field optimistic locking and generating the project xml, application runs great locally in the jdeveloper, but when it is deployed on app server getting following error

i am using toplink 10.1.3.0.0 with oracle app server 10.1.2.2, i am using change field optimistic locking and generating the project xml,
application runs great locally in the jdeveloper, but when it is deployed on app server getting following error
here are the headers from both my project.xml as well as session xml..
<?xml version="1.0" encoding="UTF-8"?>
<toplink:object-persistence version="Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)" xmlns:opm="http://xmlns.oracle.com/ias/xsds/opm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:toplink="http://xmlns.oracle.com/ias/xsds/toplink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<opm:name>PROJ</opm:name>
<opm:class-mapping-descriptors>
<opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
<?xml version="1.0" encoding="UTF-8"?>
<toplink-sessions version="4.5" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<session xsi:type="server-session">
<name>PROJSession</name>
<event-listener-classes/>
<logging xsi:type="toplink-log">
<log-level>finer</log-level>
</logging>
<primary-project xsi:type="xml">PROJ.xml</primary-project>
<login xsi:type="database-login">
<platform-class>oracle.toplink.platform.database.oracle.OraclePlatform</platform-class>
<user-name></user-name>
any help/idea appreciated...
Exception [TOPLINK-9005] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException
Exception Description: An exception was thrown while loading the <project-xml> file [PROJ.xml].
Internal Exception: Exception [TOPLINK-25004] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.platform.xml.XMLPlatformException
Exception Description: An error occurred while parsing the document.
Internal Exception: oracle.xml.parser.v2.XMLParseException: xsi:type "toplink:changed-field-locking-policy" not resolved to a type definition
at oracle.toplink.exceptions.SessionLoaderException.failedToLoadProjectXml(SessionLoaderException.java:74)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.loadProjectConfig(TopLinkSessionsFactory.java:316)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.createSession(TopLinkSessionsFactory.java:241)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildServerSessionConfig(TopLinkSessionsFactory.java:215)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildSession(TopLinkSessionsFactory.java:168)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildTopLinkSessions(TopLinkSessionsFactory.java:124)
at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:103)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:367)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:334)
at myProjectPackage.common.data.toplink.ToplinkDataManagerPeer.<init>(ToplinkDataManagerPeer.java:41)
at myProjectPackage.common.data.DataManagerFactory.getDataManagerInstance(DataManagerFactory.java:40)
at myProjectPackage.common.servlet.NYSDOTFilter.getDataManager(NYSDOTFilter.java:964)
at myProjectPackage.common.servlet.NYSDOTFilter.doFilter(NYSDOTFilter.java:144)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at myProjectPackage.caf.servlet.NYSDOTCAFFilter.doFilter(NYSDOTCAFFilter.java:90)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at myProjectPackage.common.servlet.NYSDOTLoginFilter.doFilter(NYSDOTLoginFilter.java:95)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:669)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:228)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:570)

The replay answer
Advertisement
first thanks for your reply,
i already figured that out and deployed it using 10.1.3.1 jars
my question
1) if it is a bug , how come it works fine with jdeveloper (
i would appreciate if you could provide any info about it.
2) i dont want to sound sarcastic , but 10.1.3.1 has of optimistic locking and the recommended solution i found was to use descriptor.getQueryManager().setUpdateCallCacheSize(0);
looks like 10.1.3.1 fixed one bug and introduced other one which was working fine earlier...
is there any other way of fixing optimistic locking issue other than using the
descriptor.getQueryManager().setUpdateCallCacheSize(0);
where i can find the latest/greatest (up to date patched version of toplink)
thanks again for your help

Go to See the other 4 answers

Internal Exception: oracle.xml.parser.v2.XMLParseException xsi:type "toplin

Category:DefaultRelease time:2015-10-11Views:130

i am using toplink 10.1.3.0.0 with oracle app server 10.1.2.2, i am using change field optimistic locking and generating the project xml, application runs great locally in the jdeveloper, but when it is deployed on app server getting following error[More]

XML publisher : Error oracle.xml.parser.v2.XMLParseException: Expected ';'

Category:DefaultRelease time:2015-10-11Views:130

I am trying to output a customer list containing customer number and customer name using 11i ( 11.5.10 CU2) with latest XML publisher patches on. How do I debug the following error in OPP log: [UNEXPECTED] [72156:RT1088889] oracle.xml.parser.v2.XMLPa[More]

Java.lang.ClassNotFoundException: oracle.xml.parser.v2.XMLParseException

Category:DefaultRelease time:2015-10-11Views:130

Hi there Masters I am new in Java and I would need your help please.. I am calling a function in Java passing 1 parameter and returning an XML back but at the point of execution I get an error below... At the end I have attached my java code...PLEASE[More]

Getting oracle.xml.parser.v2.XMLParseException: Start Of root Element

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I am getting below error while creating STUB/Skeleton in Jdeveloper to call a web service from OAF Page But getting below error while trying to creating Stub/Skeleton to call weservice ERROR: oracle.xml.parser.v2.XMLParseException: Start Of r[More]

Siebel Adapter Error :- oracle.xml.parser.v2.XMLParseException

Category:DefaultRelease time:2015-10-11Views:130

We are trying to insert records into Siebel using Oracle Siebel Adapter (10.1.3.1) and BPEL. We are successful using the JCA Test Tool with the following request. <Siebel xmlns:sbl="urn:iwaysoftware:adapter:siebel:oct2004:request" xmlns="[More]

Oracle.xml.parser.v2.XMLParseException: Start of root element expected

Category:DefaultRelease time:2015-10-11Views:130

Hi, while trying to get a soapelement from xml file, i have the error : oracle.xml.parser.v2.XMLParseException: Start of root element expected the code i m using is as follow : public static SOAPMessage XMLDocToSOAP(String soapBodyAsString ) throws S[More]

Oracle.xml.parser.v2.XMLParseException: Invalid char in text. in BPEL

Category:DefaultRelease time:2015-10-11Views:130

Hi, Non Recoverable Business Fault : <bpelFault><faultType>1</faultType><operationErroredFault xmlns="http://xmlns.oracle.com/bpel/workflow/taskService"><part name="payload"><operationErroredFault xmlns[More]

Caused by: oracle.xml.parser.v2.XMLParseException: '=' missing in attribute

Category:DefaultRelease time:2015-10-11Views:130

This is a Bursting problem under EBS 5.6.3. In production we have 5.6.2 and since our development system to 5.6.3 has been upgraded, the following error occurs on every single Burst being done using the Concurrent Manager only: Caused by: oracle.xml.[More]

Oracle.xml.parser.v2.XMLParseException: Missing entity 'nsim' Exception

Category:DefaultRelease time:2015-10-11Views:130

Hi All, Can anyone tell me what could be the reason for the following parsing exception? oracle.xml.parser.v2.XMLParseException: Missing entity 'nsim'.      at java.lang.Throwable.fillInStackTrace(Native Method)      at java.lang.Throwable.fillInStac[More]

Deployment problem : oracle.xml.parser.v2.XMLParseException

Category:DefaultRelease time:2015-10-11Views:130

Hi to all. I have a strange problem deplying an application. When the first jsp is loaded the follwing excteption is raised : OracleJSP: oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo"[More]

B2B-50029:  B2B runtime error: oracle.xml.parser.v2.XMLParseException: Start of root element expected.

Category:DefaultRelease time:2015-10-11Views:130

Dear All, I am a beginner to Oracle B2B. I have created an agreement to Recieve 852, Product Activity data(POS) from one of the Trading partner. This is an inbound process. A  SOA composite application is created to Recieve the data and insert into p[More]

Hot
Dear All, Please give me idea for Refresh System Document in Run Time using DI,basically I am using  system columns for update for some scenarios. So please give solution that how should refresh system form. Thanks a lot. Ashish Singh.Hi, Please post [More]
How do I sync my AIFF audio to my NTSC 29.97fps video?  It's out of sync. If searched the forums looking for an easy fix.  It has to be a common problem with a simple solution, yes?Surely you have a backup of your old laptop?  If you don't, follow th [More]
Hi, I see on your site that I should be able to cancel my existing membership and start with your offer of both Photoshop and Lightroom for under £9 per month. I originally wanted both software packages but couldn't afford both so only have Photoshop [More]
Hi, I am looking for insights for implementing SAP Document Management System. DMS can be used to store pictorial depiction of products, product specifications, drawings, instruction sheets for assembling etc. I would be specifically interested in th [More]
The postage stamp size artwork window has disappeared in iCrap 11 - how do I get the tiny little window back? If this doesn't get better soon I'll be going back to iTunes 10.7 after Christmas.Went to the apple store.  They gave me an easy way to copy [More]
I bought some songs on the store this weekend. Some of them downloaded but then I got error messages on the rest saying I needed to install the upgrade before they would download. So I tried upgrading several different ways (each of which took foreve [More]
Hi,        Is there an option to set "Delete overlapping request" in DTP?.Helllo, There is no direct option in DTP to do so, but u can do it via process chain. You need to have your DTP set to full update in order to make use of it in delete ove [More]
I have included several text boxes (not text fields) in my form. They are adjacent to the fields that are being filled in and serve various comment functions that I do not want in the printed form at the end. If the user "tabs" through the field [More]
Hi All, I am working on Proxy interface. My interface is like below ECC 6---- >PI (7.1) - >SRM I had done the entire configuration in ECC and PI for proxy activation. While testing the interface in ECC system messagesis not processing from ECC, but [More]
I have a need to understand how the Process to Discrete Inventory Transfer Facility in EBS 11.5.10 works. Does it transfer only certain types of items? How is it determined which items are to be transfered? I understand that in 12.1.1 the OPM invento [More]