+

Search Tips   |   Advanced Search

Set development mode for server objects using scripting

Use scripting and the wsadmin tool to configure development mode for server objects.

Perform the following steps to set the development mode for a server object:


Tasks

  1. Locate the server object. The following example selects the first server found:

    • Jacl:
      set server [$AdminConfig getid /Server:server1/]
      
    • Jython:
      server = AdminConfig.getid('/Server:server1/')
      

  2. Enable development mode:

    • Jacl:
      $AdminConfig modify $server "{developmentMode true}"
      
    • Jython:
      AdminConfig.modify(server, [['developmentMode', 'true']])
      

  3. Save the configuration changes.

  4. In a network deployment environment only, synchronize the node.

  • wsadmin AdminConfig
  • Start the wsadmin scripting client
  • Save wsadmin configuration changes
  • Synchronize nodes
  • Commands for the AdminConfig object