6.2.2 devunsetup
The devunsetup command performs unsetup of the server environment.
Synopsis
devunsetup
Function
This command deletes the server environment from the default domain. The targets for deletion are the server environments configured by the integrated installer and by the devsetup command.
If a server environment is not configured, deletion of the server environment is skipped and the command ends normally.
If the user has manually configured the server environment, deletion of the server environment is skipped and the command ends normally.
If the default domain does not exist or is not running, an error occurs.
If the configuration of the default domain has been changed, a malfunction might occur when the devunsetup command is run. The following shows examples of configuration changes that cause a malfunction:
-
Changing the administrative user and password of the default domain
-
Changing the value of the Java VM option in the default-config configuration
If the Java EE server, Web server, or PRF daemon is running, an error occurs and the running server is not deleted.
If you added a server, JDBC connection pool, or JDBC resource to the environment configured by the devsetup command, the added server, JDBC connection pool, or JDBC resource is not deleted by the devunsetup command.
If you delete a server, JDBC connection pool, or JDBC resource configured by the devsetup command, the devunsetup command fails.
If you try to delete a server environment configured by version 10-00, an error occurs. Delete it manually.
Execution permission
-
Administrator account
Precondition
The default domain is running.
Environment variable
DATE
TIME
Examples
devunsetup
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
Other than 0 |
error in executing the command. |