From 726fc27ef57f98c56c4753fe0f86285eb95a46bb Mon Sep 17 00:00:00 2001 From: agibert Date: Tue, 13 Jan 2009 17:05:52 +0000 Subject: [PATCH] - Add WAS 6 module, - Replace old java modules. --- etc/envmng.d/java13-32 | 35 ++++++++++++++++++++++++++++ etc/envmng.d/java13-64 | 35 ++++++++++++++++++++++++++++ etc/envmng.d/java14-32 | 35 ++++++++++++++++++++++++++++ etc/envmng.d/java14-64 | 35 ++++++++++++++++++++++++++++ etc/envmng.d/java5-64 | 35 ++++++++++++++++++++++++++++ etc/envmng.d/was6 | 53 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 228 insertions(+) create mode 100644 etc/envmng.d/java13-32 create mode 100644 etc/envmng.d/java13-64 create mode 100644 etc/envmng.d/java14-32 create mode 100644 etc/envmng.d/java14-64 create mode 100644 etc/envmng.d/java5-64 create mode 100644 etc/envmng.d/was6 diff --git a/etc/envmng.d/java13-32 b/etc/envmng.d/java13-32 new file mode 100644 index 0000000..f57a184 --- /dev/null +++ b/etc/envmng.d/java13-32 @@ -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 diff --git a/etc/envmng.d/java13-64 b/etc/envmng.d/java13-64 new file mode 100644 index 0000000..1cdd19b --- /dev/null +++ b/etc/envmng.d/java13-64 @@ -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 diff --git a/etc/envmng.d/java14-32 b/etc/envmng.d/java14-32 new file mode 100644 index 0000000..267e496 --- /dev/null +++ b/etc/envmng.d/java14-32 @@ -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 diff --git a/etc/envmng.d/java14-64 b/etc/envmng.d/java14-64 new file mode 100644 index 0000000..198c3f9 --- /dev/null +++ b/etc/envmng.d/java14-64 @@ -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 diff --git a/etc/envmng.d/java5-64 b/etc/envmng.d/java5-64 new file mode 100644 index 0000000..2942a96 --- /dev/null +++ b/etc/envmng.d/java5-64 @@ -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 diff --git a/etc/envmng.d/was6 b/etc/envmng.d/was6 new file mode 100644 index 0000000..28e57fe --- /dev/null +++ b/etc/envmng.d/was6 @@ -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