Previous Topic: WebLogic Environment Setting Locations

Next Topic: Set the WebLogic Environment on UNIX

Set the WebLogic Environment on Windows

Before the SOA Agent can operate with the WebLogic Application Server on Windows, you must configure SOA Agent-related environment settings in the location appropriate for your environment.

To configure SOA Agent-related environment settings

  1. Define a SOA_HOME variable as follows:
    set SOA_HOME=SOA_HOME
    
    SOA_HOME

    The location where the SOA Agent for WebLogic is installed.

  2. Define a SMSOA_CLASSPATH variable as follows:
    set SMSOA_CLASSPATH=%SOA_HOME%\config; 
    %SOA_HOME%\lib\smagentapi.jar; 
    %SOA_HOME%\lib\thirdparty\cryptojFIPS.jar;
    %SOA_HOME%\lib\soaagent-proxy.jar;
    %SOA_HOME%\lib\thirdparty\xalan.jar
    
  3. Add %SMSOA_CLASSPATH% to the beginning of the CLASSPATH variable definition. The modified CLASSPATH variable should resemble the following:
    set CLASSPATH=%SMSOA_CLASSPATH%;%CLASSPATH% 
    
  4. Define the SM_JAVA_OPTIONS variable as follows:
    set SM_JAVA_OPTIONS=-DJAVA_AGENT_ROOT=%SOA_HOME% 
    -Dlog.log-config-properties=%SOA_HOME%\config\log-config.properties 
    -Djava.security.auth.login.config==%SOA_HOME%\config\soa_jaas.config
    -Djavax.xml.soap.SOAPFactory=weblogic.xml.saaj.SOAPFactoryImpl
    -Djavax.xml.soap.MessageFactory=weblogic.xml.saaj.MessageFactoryImpl
    
  5. Add %SM_JAVA_OPTIONS% to the execution entry. The modified execution entry should resemble the following:
    %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS%
    %SM_JAVA_OPTIONS% -Dweblogic.Name=%SERVER_NAME% 
    -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %PROXY_SETTINGS% %SERVER_CLASS% 
    
  6. Save your changes.
  7. Restart the WebLogic Application Server for changes to take effect.

More information:

WebLogic Environment Setting Locations