Version 8.0 SP4
 —  Administration  —

Admin Servlet

The admin servlet is the administrator module for managing web services. The features are available when you log on to the administration module.

Note:
The administration functionality is also available through System Management Hub (SMH). For details, see Administration Tool.

The information on the admin servlet is organized under the following headings:


Accessing the Administration Module

Use the following URL to access Web Services Stack administration module:

http://host:port/wsstack (for example, http://localhost:49981/wsstack/axis2-admin/).

The admin servlet is secured by default with administrator’s logon credentials configured in the WEB-INF/conf/axis2.xml configuration file in the WAR archive.

Start of instruction setTo log on to the administration module

Note:
See Changing Logon Credentials for details on changhing the default user name and password at first logon.

Top of page

Functionality

Following are the features of the administration module for managing web services:

For details on the functionalities of Axis 2 administration module, see http://ws.apache.org/axis2/1_4_1/webadminguide.html.

Top of page

Deployed Libraries

This section shows you how to display a list of the deployed Web Services Stack libraries.

The administration module provides you with an easy access to the list of the deployed libraries with information about them such as library name, JAR file details, and version number. The deployed libraries are JAR files that are installed with the Web Services Stack installation or at the deploy time of its web archive. You might use the list of these libraries for troubleshooting.

Start of instruction setTo display a list of the deployed Web Services Stack libraries

  1. Type http://localhost:<application server port>/wsstack/ in your browser.

    Note:
    The default port for the deployment of Web Services Stack in Software AG Tomcat kit is "49981".

  2. Follow the Validate link on the welcome page.

  3. Scroll down the Web Services Stack validation page.

Following is a sample screen capture of the deployed libraries list on the validation page:

graphics/deployed_lib.png

Top of page

Changing Logon Credentials

With the Administration Tool, the wsstack argus agents that perform all the administration tasks use the security settings provided by the product. In this case, your web services are secured.

With the admin servlet, there are default user credentials for logging on to the administration module. If you do not change them after Web Services Stack is installed, you may be exposed to a security threat through the administration module.

Note:
In case you want to connect to Web Services Stack runtime from System Management Hub, provide the logon credentials for the administration module.

Web Services Stack provides you with the option to change the user credentials for the administration module. The user name can be changed in the configuration file using a text editor. The password, however, must not be modified by editing the axis2.xml file. Use the graphical user interface of Web Services Stack for changing the password.

Start of instruction setTo change the user name

Start of instruction setTo change the password

  1. Log on to the administration module

  2. Click on the Change Password button in the administration page header:

If the Web Services Stack configuration file cannot be modified by the web application, you are notified that the password change is disabled with the "Password change is disabled" error:

graphics/changepass_disabled.png

In this case, you must use the Reset Password Utility of Web Services Stack.

Top of page

Reset Password Utility

The Reset Password Utility is the resetPassword script available in the /bin directory of the Web Services Stack installation. The script requires write permission over the configuration file. After resetting the password, restart Web Services Stack for the changes to take effect.

This utility is used in the following scenarios:

Start of instruction setTo reset a forgotten password

  1. Run the resetPassword script in the /bin folder.

  2. Restart Web Services Stack for the changes to take effect.

Start of instruction setTo change the password when the Web Services Stack web application WAR is archived upon deployment

  1. Retrieve the configuration file.

  2. Run the resetPassword script in the /bin folder.

  3. Replace the original configuration file.

  4. Restart Web Services Stack for the changes to take effect.

Start of instruction setTo change the password when the Web Services Stack web application WAR is not archived upon deployment, but the web application is not granted write permissions for the WEB-INF/conf/axis2.xml file

Run the utility from an account that has write permission over the configuration file.

  1. Retrieve the configuration file.

  2. Run the resetPassword script in the /bin folder.

  3. Replace the original configuration file.

  4. Restart Web Services Stack for the changes to take effect.

Start of instruction setTo change the password when the Web Services Stack web application has not been deployed with the standard configuration file (WEB-INF/conf/axis2.xml)

  1. Retrieve the configuration file.

  2. Run the resetPassword script in the /bin folder.

  3. Replace the original configuration file.

  4. Restart Web Services Stack for the changes to take effect.

Top of page