Previous Topic: Set the WebLogic Environment on Windows

Next Topic: Configure the JVM to Use the JSafeJCE Security Provider

Set the WebLogic Environment on UNIX

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

To configure SOA Agent-related environment settings

  1. Define the SMSOA_CLASSPATH as follows:
    SMSOA_CLASSPATH=${SOA_HOME}/config:
    ${SOA_HOME}/lib/smagentapi.jar:
    ${SOA_HOME}/lib/sm_jsafe.jar: 
    ${SOA_HOME}/lib/sm_jsafeJCE.jar:
    ${SOA_HOME}/lib/soaagent-proxy.jar:
    ${SOA_HOME}/lib/xalan.jar
    
    export SMSOA_CLASSPATH
    
  2. Add ${SMSOA_CLASSPATH} to the beginning of the CLASSPATH definition. The modified CLASSPATH variable should resemble the following:
    CLASSPATH=${SMSOA_CLASSPATH}${CLASSPATHSEP}${CLASSPATH}
    export CLASSPATH
    
  3. Define the SM_JAVA_OPTIONS variable as follows:
    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"
    
  4. 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}"
    
  5. Save your changes.
  6. Restart the WebLogic Application Server for changes to take effect.

More information:

WebLogic Environment Setting Locations


Copyright © 2009 CA. All rights reserved. Email CA about this topic