envmng/etc/envmng.d/was6
agibert 726fc27ef5 - Add WAS 6 module,
- Replace old java modules.
2009-01-13 17:05:52 +00:00

54 lines
1.8 KiB
Plaintext

# $RCSfile: was6,v $
# $Revision: 1.1 $
# $Name: $
# $Date: 2009/01/13 17:05:52 $
# $Author: agibert $
# EnvMng Environment configuration
#
# description: IBM WAS 6
#-------------------------------------------------------------------------------
case "$1" in
*profile)
export WAS_HOME=/home/logiciel/was/was6/AppServer
export ITP_LOC=$WAS_HOME/deploytool/itp
export PROFILE_REGISTRY_LOC=$WAS_HOME/properties/fsdb
export WAS_LIBPATH=$WAS_HOME/bin
export WAS_EXT_DIRS=$JAVA_HOME/lib:$WAS_HOME/classes:$WAS_HOME/lib:$WAS_HOME/installedChannels:$WAS_HOME/lib/ext:$WAS_HOME/web/help:$ITP_LOC/plugins/com.ibm.etools.ejbdeploy/runtime
export WAS_CLASSPATH=$WAS_HOME/properties:$WAS_HOME/lib/bootstrap.jar:$WAS_HOME/lib/j2ee.jar:$WAS_HOME/lib/lmproxy.jar:$WAS_HOME/lib/urlprotocols.jar
export DEFAULT_PROFILE_SCRIPT=$WAS_HOME/properties/fsdb/_was_profile_default/default.sh
export CONFIG_ROOT=$WAS_HOME/config
export SERVERSAS=-Dcom.ibm.CORBA.ConfigURL=file:$WAS_HOME/properties/sas.server.props
export CLIENT_CONNECTOR_INSTALL_ROOT=$WAS_HOME/installedConnectors
export WAS_LOGGING="-Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Djava.util.logging.configureByServer=true"
export QUALIFYNAMES=-qualifyHomeName
export CLOUDSCAPE_HOME=$WAS_HOME/cloudscape
export DERBY_HOME=$WAS_HOME/derby
#----------------------------------------------------------------------------
# PATH definitions
#----------------------------------------------------------------------------
path=$WAS_HOME/bin:$WAS_HOME/../HTTPServer/bin
libpath=$WAS_HOME/../HTTPServer/lib
export PATH=$(envmng_path_add "$PATH" "$path")
export LIBPATH=$(envmng_path_add "$LIBPATH" "$libpath")
;;
*rc)
;;
*)
echo "$0: Invalid command: [$1] !"
;;
esac