Setting the server mode
To set the server mode, specify the following system parameter at server start:
-Dgw.server.mode={dev|prod|test}
The server mode can be specified only before the server is started. Once a server is running, you cannot change the server mode unless you stop and restart the server.
Non-QuickStart servers
For non-QuickStart servers, the first time you start the server, the application database is marked with the server's mode. From that point, the database can be used only by servers in that mode. For example:
- When you start a server for the first time, if it is started in development mode, its database can be used only by servers in development mode. Its database cannot be used by servers in production mode.
- When you start a server for the first time, if it is started in production mode, its database can be used only by servers in production mode. Its database cannot be used by servers in development mode.
QuickStart servers
By default, the QuickStart server starts in development mode. For QuickStart servers, the application database is not marked with the server's mode. You can start a QuickStart server in one mode and then later start it in a different mode using the same database.
Important: Guidewire does not support the use of the QuickStart server in
production installations.
