Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Toplink to EclipseLink 2.4.2 Migration(not reading mappings.xml configuration in sessions.xml file.)
Toplink to EclipseLink 2.4.2 Migration [message #1775428] Mon, 30 October 2017 08:19
Somasundaram Pappannan is currently offline Somasundaram PappannanFriend
Messages: 5
Registered: October 2017
Junior Member
Hi All,

I am doing toplink to EclipseLink Migration.

i am using EclispeLink 2.4.2 version.

We have mappings.xml configuration in sessions.xml file. while reading sessions.xml file the mapping configurations not reading.

mapping.xml is having all database objects calling and configurations.

Please find the attached sessions.xml file

Getting Below Exception:

[10/30/17 13:24:39:566 IST] 0000002d PersistenceHe E getFactory Exception [EclipseLink-9005] (Eclipse Persistence Services - 2.4.2.v20130514-5956486): org.eclipse.persistence.exceptions.SessionLoaderException
Exception Description: An exception was thrown while loading the project-xml file [mappings.xml].
Internal Exception: Exception [EclipseLink-25008] (Eclipse Persistence Services - 2.4.2.v20130514-5956486): org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: A descriptor with default root element project was not found in the project <java.lang.reflect.InvocationTargetException>java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Please help on this issue.


Toplink to EclipseLink 2.4.2 Migration
  • Attachment: sessions.xml
    (Size: 1.10KB, Downloaded 253 times)
Previous Topic:Would like to write a eclipse / AVR guide, where to put it?
Next Topic:JPA Project Change Event Handler
Goto Forum:

Current Time: Sun Jul 12 16:51:53 GMT 2020

Powered by FUDForum. Page generated in 0.02905 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top