users@glassfish.java.net

GF 3.1.1: Persistence can not create tables: The expected DDL file

From: <forums_at_java.net>
Date: Thu, 8 Sep 2011 17:16:17 -0500 (CDT)

Hello,

i have some problems getting the tables via Eclipselink created:

cannot Deploy app
Deployment Error for module: app:
Cannot drop tables for application app. The expected DDL file
app_app_dropDDL.jdbc is not available.
Cannot create tables for application app. The expected DDL file
app_app_createDDL.jdbc is not available.
Exception [EclipseLink-28019] (Eclipse Persistence Services -
2.3.0.v20110604-r9504):
org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Deployment of PersistenceUnit [app] failed.
Internal Exception: java.lang.IllegalStateException: WEB9031:
WebappClassLoader unable to load resource
[org.eclipse.persistence.indirection.IndirectList], because it has not yet
been started, or was already stopped

i set the following properties on my persistence unit:

<property name="eclipselink.logging.level" value="FINE" />
<property name="eclipselink.ddl-generation" value="drop-and-create-tables" />
<property name="eclipselink.ddl-generation.output-mode" value="both" />

need i set anything else to get this working correct?

 


--
[Message sent by forum member 'chris.joelly']
View Post: http://forums.java.net/node/841347