Operating Systems: i5/OS
             Personalize the table of contents and search results

 

Configure name space bindings using the wsadmin tool

 

Use this topic to configure name space bindings with the Jython or Jacl scripting languages and the wsadmin tool. Launch the wsadmin scripting client.

 

Overview

Use this task and the following examples to configure string, Enterprise JavaBeans (EJB), CORBA, or indirect name space bindings on a cell.

 

Procedure

  1. Identify the cell and assign it to the cell variable.

    Using Jacl:

    set cell [$AdminConfig getid /Cell:mycell/]
    Example output:

    mycell(cells/mycell|cell.xml#Cell_1)
    Using Jython:

    cell = AdminConfig.getid('/Cell:mycell/')
    print cell
    You can change this example to configure on a node or server here.

  2. Add a new name space binding on the cell. There are four binding types to choose from when configuring a new name space binding. They are string, EJB, CORBA, and indirect.

  3. Save your configuration changes. Enter the following command to save your configuration changes:

    Using Jacl:

    $AdminConfig save
    Using Jython:

    AdminConfig.save()




}
Enabling and disabling security using scripting
Using scripting (wsadmin)
Getting started with scripting

  Â