IBM BPM, V8.0.1, All platforms > Install IBM BPM > IBM BPM Advanced for z/OS: Process Server > Configure IBM BPM Advanced for z/OS: Process Server > Completing the ND configuration > Create the deployment environment > Configure servers, server clusters, and product components > Set up deployment environments > Create deployment environments > Create deployment environments using the command line
Validating the deployment environment definition from the command line
You can validate the deployment environment definition using wsadmin.sh.
The task assumes that the node has been federated to the dmgr.
You must be on the dmgr where you generated the deployment environment definition.
When security and role-based authorization are enabled, use a userid and password with administrator or operator authority to perform this task.
This task validates the deployment environment definition and uses wsadmin.sh.
Procedure
- Open a command window. The wsadmin.sh command can be found in either of the following directories:
INSTALL_ROOT/profiles/ dmgr profile/bin INSTALL_ROOT/bin- At the command prompt, enter wsadmin.sh to enter the wsadmin.sh environment.
- Enter the validateDeploymentEnvDef command to validate the deployment environment definition.
If administrative security is on, you will be prompted for a user ID and password, if you do not supply it in the command.
Example
This example validates the deployment environment definition (myDepEnv) with administrative security enabled:wsadmin.sh -connType SOAP -host myDmgr -port 8879 -user dmgrAdmin -password -dmgrPass > $AdminTask validateDeploymentEnvDef { -topologyName topOne}If you disable administrative security, you do not need to provide a user ID and password.
What to do next
After you have configured an ND environment, if you test the data store connection (for example, in the administrative console, on the page Resources > JDBC > Data sources), you get a message saying that the test connection operation failed with the exception com.ibm.wsspi.runtime.variable.UndefinedVariableException: Undefined Variable WAS_INSTALL_ROOT. This does not necessarily indicate that there will be a problem accessing the data source at run time. Ensure that the location of your JDBC driver files is accessible to every client that must use the data source, and configure the variable with the full path of that location. Disregard the test connection error unless you are also experiencing trouble connecting to the data store at run time. For additional information, see the WebSphere Application Server documentation about the test connection service.