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
Hello, I am trying to generate a client from a wcf service which has an https endpoint which requires a certificate for authentication, when a try to connect to a web service from flash builder4 by providing the wsdl URI it give me the following erro [More]
I ussually use Delphi to develop my applications and I can open an HTMLHelp (*.CHM) file from my application. Can you show me the ways to do it from my Java GUI applications? Thanks for everyone. Budi Raharjo http://budiraharjo.blogspot.comhttp://www [More]
I bought a new CPU: model name      : Intel(R) Pentium(R)  CPU       E6500  @ 2.93GHz flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc arch_perfm [More]
I'm a new beginner and I have some problems with such code: class Test {      public static void main(String[] args) {           int i = -1;           int a = i;           for ( int k = 0 ; k < 32 ; k ++ ) {                i = i >>> 1;         [More]
This text was taken from my online blog and I wanted to share it with other fellow PowerBook users/owners. I own and use an Apple PowerBook G4 Titanium. This computer gets used a lot, more than some desktops get used no doubt. Well one day my fan sta [More]
hi xperts, can anyone send me docs on interview questions and production support issues to [email protected] Regards, AkhileshHello ,           For production support issues look at the following links, /people/siegfried.szameitat/blog/2005/07/28/dat [More]
My wife and I have been trying to get her iPhone 4S to update to the latest version of iOS. The problem is that the software update server appears to be running at the approximate speed of a glacier -- I have been trying to download the update (a 1.6 [More]
My Thunderbird account was hacked.  On a mac -- really?  I can't access my Thunderbird account, and I'm about done with Erathlink.  Anyone any ideas of a secure ISP.  And a way of importing all of my messages/contacts, etc.If you do a Google search f [More]
I am having to re-activate my imessenger and facetime everyday.  This has only been happening for the last wek or so.  Any help much appretiated MarieHello Marie, Welcome to the Apple Support Communities. If you are having reactivate FaceTime or Mess [More]
When I use a drop-down list, the selected text displays to the left of the drop-down arrow. Is there some way that I can customize the drop-down so that when I make a selection, the selected text displays below the drop-down arrow and not to the left [More]