Skip to main content



      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 04:19
Eclipse UserFriend
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 com.ford.it.persistence.PersistenceHelper 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.

Thanks
Soma

Toplink to EclipseLink 2.4.2 Migration
  • Attachment: sessions.xml
    (Size: 1.10KB, Downloaded 360 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: Fri Jun 13 03:25:13 EDT 2025

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

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

Back to the top