- Add WAS 6 module,

- Replace old java modules.
This commit is contained in:
agibert 2009-01-13 17:05:52 +00:00
parent 7ae666101c
commit 726fc27ef5
6 changed files with 228 additions and 0 deletions

35
etc/envmng.d/java13-32 Normal file
View File

@ -0,0 +1,35 @@
# $RCSfile: java13-32,v $
# $Revision: 1.1 $
# $Name: $
# $Date: 2009/01/13 17:05:52 $
# $Author: agibert $
# EnvMng Environment configuration
#
# description: IBM Java 1.3 (JDK/JRE) 32bits
#-------------------------------------------------------------------------------
case "$1" in
*profile)
export JAVA_HOME=/usr/java131
export JDK_HOME=$JAVA_HOME
export JRE_HOME=$JAVA_HOME/jre
#----------------------------------------------------------------------------
# PATH definitions
#----------------------------------------------------------------------------
path=$JDK_HOME/bin:$JRE_HOME/bin
classpath=.
export PATH=$(envmng_path_add "$PATH" "$path")
export CLASSPATH=$(envmng_path_add "$CLASSPATH" "$classpath")
;;
*rc)
;;
*)
echo "$0: Invalid command: [$1] !"
;;
esac

35
etc/envmng.d/java13-64 Normal file
View File

@ -0,0 +1,35 @@
# $RCSfile: java13-64,v $
# $Revision: 1.1 $
# $Name: $
# $Date: 2009/01/13 17:05:52 $
# $Author: agibert $
# EnvMng Environment configuration
#
# description: IBM Java 1.3 (JDK/JRE) 64bits
#-------------------------------------------------------------------------------
case "$1" in
*profile)
export JAVA_HOME=/usr/java13_64
export JDK_HOME=$JAVA_HOME
export JRE_HOME=$JAVA_HOME/jre
#----------------------------------------------------------------------------
# PATH definitions
#----------------------------------------------------------------------------
path=$JDK_HOME/bin:$JRE_HOME/bin
classpath=.
export PATH=$(envmng_path_add "$PATH" "$path")
export CLASSPATH=$(envmng_path_add "$CLASSPATH" "$classpath")
;;
*rc)
;;
*)
echo "$0: Invalid command: [$1] !"
;;
esac

35
etc/envmng.d/java14-32 Normal file
View File

@ -0,0 +1,35 @@
# $RCSfile: java14-32,v $
# $Revision: 1.1 $
# $Name: $
# $Date: 2009/01/13 17:05:52 $
# $Author: agibert $
# EnvMng Environment configuration
#
# description: IBM Java 1.4 (JDK/JRE) 32bits
#-------------------------------------------------------------------------------
case "$1" in
*profile)
export JAVA_HOME=/usr/java14
export JDK_HOME=$JAVA_HOME
export JRE_HOME=$JAVA_HOME/jre
#----------------------------------------------------------------------------
# PATH definitions
#----------------------------------------------------------------------------
path=$JDK_HOME/bin:$JRE_HOME/bin
classpath=.
export PATH=$(envmng_path_add "$PATH" "$path")
export CLASSPATH=$(envmng_path_add "$CLASSPATH" "$classpath")
;;
*rc)
;;
*)
echo "$0: Invalid command: [$1] !"
;;
esac

35
etc/envmng.d/java14-64 Normal file
View File

@ -0,0 +1,35 @@
# $RCSfile: java14-64,v $
# $Revision: 1.1 $
# $Name: $
# $Date: 2009/01/13 17:05:52 $
# $Author: agibert $
# EnvMng Environment configuration
#
# description: IBM Java 1.4 (JDK/JRE) 64bits
#-------------------------------------------------------------------------------
case "$1" in
*profile)
export JAVA_HOME=/usr/java14_64
export JDK_HOME=$JAVA_HOME
export JRE_HOME=$JAVA_HOME/jre
#----------------------------------------------------------------------------
# PATH definitions
#----------------------------------------------------------------------------
path=$JDK_HOME/bin:$JRE_HOME/bin
classpath=.
export PATH=$(envmng_path_add "$PATH" "$path")
export CLASSPATH=$(envmng_path_add "$CLASSPATH" "$classpath")
;;
*rc)
;;
*)
echo "$0: Invalid command: [$1] !"
;;
esac

35
etc/envmng.d/java5-64 Normal file
View File

@ -0,0 +1,35 @@
# $RCSfile: java5-64,v $
# $Revision: 1.1 $
# $Name: $
# $Date: 2009/01/13 17:05:52 $
# $Author: agibert $
# EnvMng Environment configuration
#
# description: IBM Java 5 (JDK/JRE) 64bits
#-------------------------------------------------------------------------------
case "$1" in
*profile)
export JAVA_HOME=/usr/java5_64
export JDK_HOME=$JAVA_HOME
export JRE_HOME=$JAVA_HOME/jre
#----------------------------------------------------------------------------
# PATH definitions
#----------------------------------------------------------------------------
path=$JDK_HOME/bin:$JRE_HOME/bin
classpath=.
export PATH=$(envmng_path_add "$PATH" "$path")
export CLASSPATH=$(envmng_path_add "$CLASSPATH" "$classpath")
;;
*rc)
;;
*)
echo "$0: Invalid command: [$1] !"
;;
esac

53
etc/envmng.d/was6 Normal file
View File

@ -0,0 +1,53 @@
# $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