Skip to main content

getting EclipseLink-7018 error during deployment.

3 replies [Last post]
ritzpar
Offline
Joined: 2012-08-22
Points: 0

Hi.
I'm running glassfish 4 ( b89 ) and I'm getting this exception when trying to deply my application ( EAR ).

Exception while deploying the app [superapp] : Exception [EclipseLink-7018] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.ValidationException
Exception Description: File error.
Internal Exception: java.io.FileNotFoundException: /home/webdev/bin/glassfish/glassfish/domains/domain1/logs /superapp_dap-product_product-pu_createDDL.jdbc (No such file or directory)]]

I looked up the error code and found

ECLIPSELINK-07018: File error.
Cause: You should never encounter this problem. It happens when test cases are executed.
Action: Contact Oracle Support Services.

I don't know if this error code is the right one because it has a zero in front of it. Any help would be appreciated. Thanks.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mcroft
Offline
Joined: 2013-08-06
Points: 0

EclipseLink is basically just the open source version of Oracle TopLink, so you can also look up the equivalent TopLink error - TOPLINK-7018 - which has the same description.

I suspect that the ....createDDL.jdbc file doesn't exist,isn't reachable by Glassfish or there could just be a permissions issue.

That might be a relative path, but I'm suspicious that it seems to be looking in the root directory for that file.

Can you check that that file does exist in your application? As far as I can tell from googling around, that's an auto-generated file from EclipseLink and it may not have generated correctly, if at all.

Mike Croft
C2B2 Expert Support

ritzpar
Offline
Joined: 2012-08-22
Points: 0

Hi.
The deployment works if I exclude

property from persistence.xml. I noticed that toplink adds a space character( /logs / ) when it constructs the absolute path to the output file.

Ex.

/home/webdev/bin/glassfish/glassfish/domains/domain1/logs /superdeal

mcroft
Offline
Joined: 2013-08-06
Points: 0

In that case, if the file exists in that location and there is no permissions problem, it looks like there is a problem with the addition of that space.

It seems very odd to me that files for your app are in the domain log directory. I would concentrate on tracking down why that would be.

Mike Croft
C2B2 Expert Support