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
My keychains haven't been working so I deleted something and I forgot what it was, but it was obviously something big and now my mac is saying that it cannot find a place to store a keychain or there is no keychain available or something along those [More]
Hi Gurus, I have created two JCO Destinitation for my RFC, when i am trying to ping the connection it says "ping successful" but when i test i am getting the following error. “com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: The init [More]
hi all, I am trying Thread.sleep() method to introduce a delay. In the program i ask the user to specify the value to be entered in Thread.sleep() (to indicate the amount of delay desired by the user). but strangely, if a low value is entered, i get [More]
My apps store not workingDo a reset (Hold Sleep/Wake and Home buttons about 10 secs or more till Apple logo appears) Note: You will not lose any data. If that didn't helped. Reset in Settings > General > Reset > Reset Nework Settings.Read other 8 [More]
Hi Experts ..... We are trying to create the cost center data using the tcode PP02, in infotype 1001, subtype A 011. when the record is manually created, relevant cost centers are displayed in infotype 0001 (Organizational Assignment). But the same t [More]
Scenario 1 - No problems!! >   I create a PO (ME21N) which appears on the release screen (ME28) >   I select all line items, click the trash can & save (ME22N). >>The PO no longer appears on the release screen Scenario 2 - Problems.... > [More]
On MacBook Pro with OS 10.6, I try to load a site (from a link in a email, for instance . . . or from my own Bookmarks), and Firefox 3.6.13 stops, reporting it cannot load since I'm offline. Which I'm not. Sometimes (usually), when I click File | Wor [More]
Since it would not boot up, I went to control panel to attempt to repair it. When asked, I inserted the instal disc and then it asked to instal disk one.  Well I don't know what disc one is because all I have is the original installation disc........ [More]
Hi, I updated to Mac OS X 10.8.2 and enabled the system-wide Facebook account in the System Preferences. The preference pane offers the option of updating contact photos in the address book with those found on Facebook, using phone numbers and mail a [More]
...I installed Oracle 10g on a WinServer 2003 machine. EM worked fine after installation of Personal Edition; after reboot, EM service won't start. Everything else works; I can even query the HR tablespace from Access and SQL Server. I've set the cor [More]