WebLogic Server Configuration Notes

WebLogic Server Authentication

To ensure proper authentication when Adapter for JMS is connected to multiple WebLogic servers, you must configure:

  1. the watt.jmsadapter.weblogic parameter.
  2. JAAS authentication.

If you do not configure the parameter and JAAS authentication, the adapter throws an exception when connected to multiple WebLogic servers using different security principles and credentials.

Configuring the watt.jmsadapter.weblogic Parameter

About this task

To authenticate successfully with multiple WebLogic servers, you must set the watt.jmsadapter.weblogic parameter.

To set the watt.jmsadapter.weblogic parameter

Procedure

  1. In Integration Server Administrator, click Settings > Extended > Edit Extended Settings.
  2. To authenticate with multiple WebLogic servers, in the Extended Settings editor, specify the following:
    watt.jmsadapter.weblogic = true

    The default value is false.

  3. Click Save Changes. A key for the new property appears in the Extended Settings list.
  4. Click Show and Hide Keys. You will see the watt.jmsadapter.weblogic parameter listed as a Key and as visible.
  5. Restart Integration Server.

Configuring JAAS Authentication

About this task

You use JAAS authentication with multiple WebLogic servers.

To configure JAAS authentication

Procedure

  1. Create a file, named WmJMSAdapter_jaas.config with the following content:
    /** Login Configuration for the JAAS Sample Application **/  
          WmJMSAdapter  
          {    
            weblogic.security.auth.login.UsernamePasswordLoginModule  
            required debug=true;  
          };
  2. Save the file to the ${JAVA_DIR}/jre/lib/security directory, where ${JAVA_DIR} is set in the server.bat file (server.sh in Unix) located in the Integration Server_directory\bin directory.
  3. Append the following line to the ${JAVA_DIR}/jre/lib/security/java.security package:
    login.config.url.1=  
    file:${java.home}/lib/security/WmJMSAdapter_jaas.config