Using blasadmin to perform initial application server configuration

After performing the installation of the application server, a graphical display might not be available and x-forwarding the display might not be practical. In such cases, you can use command line utilities to configure the application server and set up the initial user passwords.

After performing the following steps, you should be able to start up the application server and log on as BLAdmin or RBACAdmin and continue with the rest of the installation.

To configure the database connection

  1. To set your database driver class, run the following blasadmin command:
    blasadmin set Database DriverClass <your driver class>
    The driver class for Oracle is the oracle.jdbc.driver.OracleDriver. For SQL Server, this is the com.microsoft.sqlserver.jdbc.SQLServerDriver.
  2. To set your database connection string, run the following blasadmin command:
    blasadmin set Database ConnectionString <your jdbc connection string>

    For Oracle, a simple connection string has the following format: jdbc:oracle:thin:@<databaseHost>:<port>:<sid>
    For SQL Server, a simple connection string has the following format: jdbc:sqlserver://<databaseHost>:<port>;DatabaseName=<databaseName>;SelectMethod=cursor
  3. Set your database user ID and password using the following blasadmin commands:
    blasadmin set Database UserId <your user id>
    blasadmin set Database Password <your database user password>

To configure the file server

Create the file server directory on the relevant host, using the following blasadmin commands:

blasadmin set FileServer name <file server hostname>
blasadmin set FileServer location <file server directory location>

To configure email settings

Use the following blasadmin commands:

blasadmin set EmailConfig fromaddress <your from address>
blasadmin set EmailConfig smtpserver <your mail server>

To configure SNMP settings

Use the following blasadmin commands:

blasadmin set SnmpConfig SnmpPort <snmp port>
blasadmin set SnmpConfig SnmpServer <snmp server>

To set the BLAdmin and RBACAdmin passwords

Use the bladduser utility with the following commands:

bladduser BLAdmin <password>
bladduser RBACAdmin <password>

Was this page helpful? Yes No Submitting... Thank you

Comments