![[8.5.5.6 or later]](../ng_v8556.gif)
This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.
Running the ddlGen utility
You can generate data definition language (DDL) if there are features in the server configuration that require access to a database.
Before you begin
About this task
The utility generates data definition language (DDL) for each feature that is configured in the server that requires access to a database. You can change the path that the ddlGen utility uses to search for the server by exporting the environment variable, WLP_USER_DIR, in the command line where the utility is run.
Procedure
Results
The following table shows the nonzero codes that might be returned:
Return Code | Explanation |
---|---|
0 | Success. The DDL is generated to ${server.output.dir}/ddl. |
20 | The action provided is not valid. |
21 | The server was not found. Message CWWKD0100E shows the file system directory where the utility looked for the server. This location can be changed by exporting the variable, WLP_USER_DIR, in the command line where the utility is run. |
22 | The localConnector feature is not present in the server configuration or the server was not started. |
23 | The MBean that generates DDL was not found. |
24 | The MBean that generates DDL reported an error. The server logs contain more details about the error. |
255 | An unexpected error occurred. |