Exception in thread &quot;main&quot; java.lang.ExceptionInInitializerErrorhttps://www.eclipse.org/forums/index.php/mv/msg/485762/1052612/#msg_1052612
I try to define a set of SDO Types from an XML Schema and load its instance from his corresponding xml.
I use Tuscany for my jar files with my referenced libraries:
tuscany-sdo-api-r2.1-1.1.1.jar
content:commonj.sdo, commonj.sdo.helper, commonj.sdo.impl
tuscany-sdo-lib-1.1.1.jar
content:org.apache.tuscany.sdo.api, org.apache.tuscany.sdo.lib,org.apache.tuscany.sdo.spi

If anyone have a suggestion or a way to fix it i will be thankful because because i try since few days but i'm still blocked.

Thank you,
Ayoub]]>Ayoub El Barji2013-04-30T09:52:08-00:00Re: Exception in thread &quot;main&quot; java.lang.ExceptionInInitializerErrorhttps://www.eclipse.org/forums/index.php/mv/msg/485762/1052719/#msg_1052719
For Tuscany specific failures you will need to try their forum. You could try using EclipseLink SDO and then we could help you out with any issues you are seeing. Below are the binaries you need from the EclipseLink install.

-Blaise]]>Blaise Doughan2013-04-30T12:55:57-00:00Re: Exception in thread &quot;main&quot; java.lang.ExceptionInInitializerErrorhttps://www.eclipse.org/forums/index.php/mv/msg/485762/1052737/#msg_1052737
First Thanks for your response.
I try to install EclipseLink but i encounter some difficulties...
Have you a link for a clear tutoriel or a website for eclipseLink installation?
Or just can you explain what is <ECLIPSELINK_HOME> because i have already download eclipselink-2.4.1.v20121003-ad44345.zip
And when i extract it i have a folder with eclipselink with the two jar files you cited : jlib/eclipselink.jar and jlib/sdo/commonj.sdo_2.1.1.v201112051852.jar.
But i don't understand if i have to create a new folder <ECLIPSELINK_HOME> and put the two jar files inside or add them like external jars...

Ayoub

]]>Ayoub El Barji2013-04-30T13:20:09-00:00Re: Exception in thread &quot;main&quot; java.lang.ExceptionInInitializerErrorhttps://www.eclipse.org/forums/index.php/mv/msg/485762/1052816/#msg_1052816
I managed to fix my problem thanks to eclipseLink it's works fine.
Thank you.
But i noticed when i debug my code that i can't access to all my proprieties and elements of my xml file.
In my customerDO variable i have juste the first layer of my xml proprieties, i haven't access for all others attributes et proprieties under them.
Have you a better idea to load my xml file for having access at all my data.