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
Hey, hopefully you can help me. I recently tried to move my music to my new external hard drive. It was successful and worked fine. All of the sudden, iTunes decided that it would not open. Whenever I try to open iTunes the following message pops up: [More]
My iCloud storage is almost full. I saved my pictures to my computer and deleted about 500 from my phone. My iCloud storage didn't move at all, it still says it's almost full. What can I do?settings>icloud>storage and backup>manage backup and tur [More]
Hi, I am using nokia Lumia 520 since 15 days, I am facing problem with browsing. Both internet explorer & uc browser close abruptly in the middle of browsing after browsing for sometime. If anybody knows the solution for this problem plz let me knowh [More]
I have a dynamic query created with backing bean in Webcenter portal, it has a input field and command button. My query returns items dynamically. Now, I want the similar functionality in Spaces. I tried uploading the content presenter template with [More]
I've seen this problem throughout the website, but nothing hits all my bases. I'm running OS 10.8.4- just upgraded last month. I work for a company that predominantly uses PC's. I'm in the Graphics Department. Neptune is a Windows server but houses a [More]
I can't figure out how to make carriage returns that people enter in forms into <br> tags in cfml. I looked up "replace vbCrLf" in google and got a bunch of asp results. Can anyone help me? When people enter returns in my forms they get st [More]
Hi, In the new WEB UI the dropdowns for function and department are sorted by the key rather than the description. This is causing the users major problems as they usually end up grouped together because of the way they were named. Can anyone suggest [More]
hi i am using sql server 2012 professional. I have forgotten my password . I can't login through windows authentication mode also.  Need your help.ASAPhi i am using sql server 2012 professional. I have forgotten my password . I can't login through wi [More]
Hi all, We are currently working in Oracle 11.5.5.Can anyone tell us how to modify the source files/.jsp's/bins in isupplier portal. Thanks in advance.what do you mean when you say that you are on AK based OAF and you have done the customization on J [More]
My iCloud has been frozen ever since I updated to it. I can not access iCloud menu or twitter or location services.  I have a pc wih vista and have installed vista service pack 2 already and I also have vista service pack 1. What do I do to fix it?I [More]