FileNotFoundException: tempToDelete.xml (Access is denied) [message #482927] |
Fri, 28 August 2009 10:59  |
Eclipse User |
|
|
|
Hello,
this strange error appears quite regular after switching from toplink to
eclipselink. Unfortunatly it's not possible to reproduce in a unit test,
but around every third time I start our application I get this here:
Internal Exception: java.lang.RuntimeException: Exception
[EclipseLink-7018] (Eclipse Persistence Services - 1.1.2.v20090612-r4475):
org.eclipse.persistence.exceptions.ValidationException
Exception Description: File error.
Internal Exception: java.io.FileNotFoundException:
C:\acrolinxIQ\server\bin\tempToDelete.xml (Access is denied)
I stepped through the eclipselink sourcecode and I really discovered, that
a xml file is written to hard disk only to clone an object when
TABLE_PER_CLASS inheritance is used.
This is the method:
org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityM appings.reloadXMLEntityMappingsObject(XMLEntityMappings)
I'm working with a huge legacy system, and maybe it's a bug on my side,
but why you don't use a memorystream or something comparable fast.
Any comments?
best regards,
hans
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03457 seconds