Before you begin
Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.Why and when to perform this task
If you enable security for a WebSphere Application Server cell, supply authentication information to communicate with servers.
The sas.client.props and the soap.client.props files are located in the properties directory for each WebSphere Application Server profile, profilePath/properties.
Steps for this task (dependent on configuration)
com.ibm.CORBA.loginUserid= com.ibm.CORBA.loginPassword=Also, set the following property:
com.ibm.CORBA.loginSource=propertiesThe default value for this property is prompt in the sas.client.props file. If you leave the default value, a dialog box appears with a password prompt. If the script is running unattended, it appears to hang.
com.ibm.SOAP.securityEnabled=true com.ibm.SOAP.loginUserid= com.ibm.SOAP.loginPassword=
com.ibm.SOAP.loginSource=noneYou can find the default value for this property in the soap.client.props file. If you accept the default value and do not provide loginUserid and loginPassword values, a dialog box appears with a password prompt. If the script is running unattended, it appears to hang.
wsadmin.sh -conntype RMI -port 2809 -user u1 -password secret1
If you specify user and password information on a command line and in the sas.client.props file or the soap.client.props file, the command line information overrides the information in the props file.
Related tasks
Using scripting (wsadmin)
Getting started with scripting