Unrecognized option: -jrockit
weblogic报错:
starting weblogic with Java version:
Unrecognized option: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Starting WLS with line:
/data/jdk1..0_45/bin/java -jrockit -Xms512m -Xmx512m -Dweblogic.Name=AdminServer -Djav
a.security.policy=/data/Middleware/wlserver_10./server/lib/weblogic.policy -Xverify:none -da -Dplatform.home=/data/Middleware/wlserver_10. -Dwls.home=/data/Middleware/wlserver_10./server -Dweblogic.home=/data/Middleware/wlserver_10./server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/data/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/data/Middleware/patch_ocp360/profiles/default/sysext_manifest_classpath -Djava.security.egd=file:/dev/./urandom weblogic.ServerUnrecognized option: -jrockit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
解决方案:
由于选择的生产模式,默认参数-jrockit。 修改成-server即可
wlserver_10.3/common/bin/commEnv.sh #查找JAVA_VM
#*****************************************************************************
# This script is used to set up a common environment for starting WebLogic
# Server, as well as WebLogic development.
#
# It sets the following variables:
# BEA_HOME - The home directory of all your BEA installation.
# MW_HOME - The home directory of all your Oracle installation.
# WL_HOME - The root directory of the BEA installation.
# COHERENCE_HOME - The root directory of the COHERENCE installation.
# ANT_HOME - The Ant Home directory.
# ANT_CONTRIB - The Ant contrib directory
# JAVA_HOME - Location of the version of Java used to start WebLogic
# Server. See the Oracle Fusion Middleware Supported System Configurations page
# (http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html) for an
# up-to-date list of supported JVMs on your platform.
# JAVA_VENDOR - Vendor of the JVM (i.e. BEA, HP, IBM, Sun, etc.)
# JAVA_USE_64BIT - Indicates if JVM uses bit operations
# PATH - JDK and WebLogic directories will be added to the system
# path.
# WEBLOGIC_CLASSPATH - Classpath required to start WebLogic Server.
# FMWCONFIG_CLASSPATH - Classpath required to start config tools such as WLST, config wizard, pack, and unpack..
# FMWLAUNCH_CLASSPATH - Additional classpath needed for WLST start script
# LD_LIBRARY_PATH, LIBPATH and SHLIB_PATH
# - To locate native libraries.
# JAVA_VM - The java arg specifying the VM to run. (e.g.
# -server, -hotspot, etc.)
# MEM_ARGS - The variable to override the standard memory arguments
# passed to java.
# CLASSPATHSEP - CLASSPATH delimiter.
# PATHSEP - Path delimiter.
# DERBY_HOME - Derby home directory.
# DERBY_TOOLS - Derby tools jar.
# DERBY_CLASSPATH - Classpath needed to start Derby.
# DERBY_CLIENT_CLASSPATH
# - Derby client classpath.
# PRODUCTION_MODE - Indicates if the Server will be started in PRODUCTION_MODE
# PATCH_CLASSPATH - WebLogic system classpath patch
# PATCH_LIBPATH - Library path used for patches
# PATCH_PATH - Path used for patches
# WEBLOGIC_EXTENSION_DIRS - Extension dirs for WebLogic classpath patch
#
# It exports the following function:
# trapSIGINT - Get actual Derby PID when running in MKSNT environment;
# trap SIGINT to make sure Derby will also be stopped.
#
# resetFd - Reset the number of open file descriptors to .
#
# jDriver for Oracle users: This script assumes that native libraries required
# for jDriver for Oracle have been installed in the proper location and that
# your os specific library path variable (i.e. LD_LIBRARY_PATH/solaris,
# SHLIB_PATH/hpux, etc...) has been set appropriately. Also note that this
# script defaults to the oci920_8 version of the shared libraries. If this is
# not the version you need, please adjust the library path variable
# accordingly.
#
#***************************************************************************** #*****************************************************************************
# sub functions
#***************************************************************************** # limit the number of open file descriptors
resetFd() {
if [ ! -n "`uname -s |grep -i cygwin || uname -s |grep -i windows_nt || \
uname -s |grep -i HP-UX`" ]
then
ofiles=`ulimit -S -n`
maxfiles=`ulimit -H -n`
if [ "$?" = "" -a `expr ${maxfiles} : '[0-9][0-9]*$'` -eq -a `expr ${ofiles} : '[0-9][0-9]*$'` -eq ]; then
ulimit -n
else
if [ "$?" = "" -a `uname -s` = "SunOS" -a `expr ${maxfiles} : '[0-9][0-9]*$'` -eq ]; then
if [ ${ofiles} -lt ]; then
ulimit -H -n
else
ulimit -H -n ${ofiles}
fi
fi
fi
fi
} # Get actual Derby process when running in MKS/NT environment;
# Trap SIGINT
# input:
# DERBY_PID -- Derby server process id.
# output:
# DERBY_PID -- Actual Derby pid in MKS/NT environment.
trapSIGINT() { # With MKS, the pid of $! dosen't show up correctly.
# It starts a shell process to launch whatever commands it calls.
if [ `uname -s` = "Windows_NT" ]; then
DERBY_PID=`ps -eo pid,ppid |
awk -v DERBY_PID=${DERBY_PID} '$2 == DERBY_PID {print $1}'`
POINTBASE_PID=`ps -eo pid,ppid |
awk -v POINTBASE_PID=${POINTBASE_PID} '$2 == POINTBASE_PID {print $1}'`
fi # Kill Derby on interrupt from this script (^C)
trap 'if [ "${DERBY_PID}" != "" ]; then
kill - ${DERBY_PID}
unset DERBY_PID
fi'
trap 'if [ "${POINTBASE_PID}" != "" ]; then
kill - ${POINTBASE_PID}
unset POINTBASE_PID
fi' 2
} #*****************************************************************************
# end of sub functions
#***************************************************************************** # Set up BEA Home
BEA_HOME="/data/Middleware" # Set up Middleware Home
MW_HOME="/data/Middleware" # Set up WebLogic Home
WL_HOME="/data/Middleware/wlserver_10.3" # Set up COHERENCE Home
COHERENCE_HOME="/data/Middleware/coherence_3.6" # Set up Common Modules Directory
MODULES_DIR="/data/Middleware/modules" # Set up Common Features Directory
FEATURES_DIR="/data/Middleware/modules/features" # Set up Ant Home
ANT_HOME="${MODULES_DIR}/org.apache.ant_1.7.1" # Set up Ant contrib
ANT_CONTRIB="${MODULES_DIR}/net.sf.antcontrib_1.1.0.0_1-0b2" # Setup SUN_ARCH_DATA_MODEL
SUN_ARCH_DATA_MODEL="" #JAVA_USE_64BIT, true if JVM uses bit operations
JAVA_USE_64BIT=true # Reset JAVA_HOME, JAVA_VENDOR and PRODUCTION_MODE unless JAVA_HOME
# and JAVA_VENDOR are pre-defined.
if [ -z "${JAVA_HOME}" -o -z "${JAVA_VENDOR}" ]; then
# Set up JAVA HOME
JAVA_HOME="/data/jdk1.8.0_45"
# Set up JAVA VENDOR, possible values are
#Oracle, HP, IBM, Sun ...
JAVA_VENDOR=Oracle
# PRODUCTION_MODE, default to the development mode
PRODUCTION_MODE="" #默认是开发模式
fi export BEA_HOME MW_HOME WL_HOME MODULES_DIR FEATURES_DIR COHERENCE_HOME ANT_HOME ANT_CONTRIB JAVA_HOME JAVA_VENDOR PRODUCTION_MODE JAVA_USE_64BIT # Set up JVM options base on value of JAVA_VENDOR
if [ "$PRODUCTION_MODE" = "true" ]; then #生产模式
case $JAVA_VENDOR in
Oracle)
JAVA_VM=-jrockit
MEM_ARGS="-Xms128m -Xmx256m"
;;
HP)
JAVA_VM=-server
MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
;;
IBM)
JAVA_VM=
MEM_ARGS="-Xms32m -Xmx200m"
;;
Sun)
JAVA_VM=-server
MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
;;
Apple)
JAVA_VM=-server
MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
;;
*)
JAVA_VM=
MEM_ARGS="-Xms32m -Xmx200m"
;;
esac
else
case $JAVA_VENDOR in
Oracle)
JAVA_VM=-server #修改开发模式下的参数
MEM_ARGS="-Xms128m -Xmx256m"
JAVA_OPTIONS="${JAVA_OPTIONS} -Xverify:none"
;;
HP)
JAVA_VM=-client
MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
;;
IBM)
JAVA_VM=
MEM_ARGS="-Xms32m -Xmx200m"
;;
Sun)
JAVA_VM=-client
MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
JAVA_OPTIONS="${JAVA_OPTIONS} -Xverify:none"
;;
Apple)
JAVA_VM=-client
MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
;;
*)
JAVA_VM=
MEM_ARGS="-Xms32m -Xmx200m"
;;
esac
fi
export JAVA_VM MEM_ARGS JAVA_OPTIONS # Set the classpath separator
case `uname -s` in
Windows_NT*)
CLASSPATHSEP=\;
PATHSEP=\;
;;
CYGWIN*)
CLASSPATHSEP=\;
;;
esac if [ "${CLASSPATHSEP}" = "" ]; then
CLASSPATHSEP=:
fi
if [ "${PATHSEP}" = "" ]; then
PATHSEP=:
fi
export PATHSEP CLASSPATHSEP # Set-up patch related class path, extension dirs, library path and path options
if [ -f "${WL_HOME}/common/bin/setPatchEnv.sh" ]; then
. "${WL_HOME}"/common/bin/setPatchEnv.sh
fi # Figure out how to load java native libraries, also add -d64 for hpux and solaris bit arch.
case `uname -s` in
AIX)
if [ -n "${LIBPATH}" ]; then
if [ "${SUN_ARCH_DATA_MODEL}" = "" ]; then
LIBPATH=${LIBPATH}:${WL_HOME}/server/native/aix/ppc64
else
LIBPATH=${LIBPATH}:${WL_HOME}/server/native/aix/ppc
fi
else
if [ "${SUN_ARCH_DATA_MODEL}" = "" ]; then
LIBPATH=${WL_HOME}/server/native/aix/ppc64
else
LIBPATH=${WL_HOME}/server/native/aix/ppc
fi
fi
LIBPATH=${PATCH_LIBPATH}:${LIBPATH}
export LIBPATH
;;
HP-UX)
arch=`uname -m`
if [ "${arch}" = "ia64" ]; then
if [ -n "${SHLIB_PATH}" ]; then
if [ "${SUN_ARCH_DATA_MODEL}" = "" ]; then
SHLIB_PATH=${SHLIB_PATH}:${WL_HOME}/server/native/hpux11/IPF64:${WL_HOME}/server/native/hpux11/IPF64/oci920_8
else
SHLIB_PATH=${SHLIB_PATH}:${WL_HOME}/server/native/hpux11/IPF32:${WL_HOME}/server/native/hpux11/IPF32/oci920_8
fi
else
if [ "${SUN_ARCH_DATA_MODEL}" = "" ]; then
SHLIB_PATH=${WL_HOME}/server/native/hpux11/IPF64:${WL_HOME}/server/native/hpux11/IPF64/oci920_8
else
SHLIB_PATH=${WL_HOME}/server/native/hpux11/IPF32:${WL_HOME}/server/native/hpux11/IPF32/oci920_8
fi
fi
else
if [ -n "${SHLIB_PATH}" ]; then
if [ "${SUN_ARCH_DATA_MODEL}" = "" ]; then
SHLIB_PATH=${SHLIB_PATH}:${WL_HOME}/server/native/hpux11/PA_RISC64:${WL_HOME}/server/native/hpux11/PA_RISC64/oci920_8
else
SHLIB_PATH=${SHLIB_PATH}:${WL_HOME}/server/native/hpux11/PA_RISC:${WL_HOME}/server/native/hpux11/PA_RISC/oci920_8
fi
else
if [ "${SUN_ARCH_DATA_MODEL}" = "" ]; then
SHLIB_PATH=${WL_HOME}/server/native/hpux11/PA_RISC64:${WL_HOME}/server/native/hpux11/PA_RISC64/oci920_8
else
SHLIB_PATH=${WL_HOME}/server/native/hpux11/PA_RISC:${WL_HOME}/server/native/hpux11/PA_RISC/oci920_8
fi
fi
fi
SHLIB_PATH=${PATCH_LIBPATH}:${SHLIB_PATH}
export SHLIB_PATH
if [ "${JAVA_USE_64BIT}" = "true" ] && [ "${JAVA_VENDOR}" != "Oracle" ]
then
JVM_D64="-d64"
export JVM_D64
JAVA_VM="${JAVA_VM} ${JVM_D64}"
export JAVA_VM
fi
;;
LINUX|Linux)
arch=`uname -m`
if [ -n "${LD_LIBRARY_PATH}" ]; then
if [ "${arch}" = "ia64" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/ia64:${WL_HOME}/server/native/linux/ia64/oci920_8
else
if [ "${arch}" = "x86_64" -a "${SUN_ARCH_DATA_MODEL}" = "" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/${arch}:${WL_HOME}/server/native/linux/${arch}/oci920_8
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/linux/${arch}:${WLSS_HOME}/server/native/linux/${arch}/oci920_8
fi
else
if [ "${arch}" = "s390x" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/s390x
else
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/i686:${WL_HOME}/server/native/linux/i686/oci920_8
fi
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/linux/i686:${WLSS_HOME}/server/native/linux/i686/oci920_8
fi
fi
fi
else
if [ "${arch}" = "ia64" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/ia64:${WL_HOME}/server/native/linux/ia64/oci920_8
else
if [ "${arch}" = "x86_64" -a "${SUN_ARCH_DATA_MODEL}" = "" ]; then
LD_LIBRARY_PATH=${WL_HOME}/server/native/linux/${arch}:${WL_HOME}/server/native/linux/${arch}/oci920_8
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/linux/${arch}:${WLSS_HOME}/server/native/linux/${arch}/oci920_8
fi
else
if [ "${arch}" = "s390x" ]; then
LD_LIBRARY_PATH=${WL_HOME}/server/native/linux/s390x
else
LD_LIBRARY_PATH=${WL_HOME}/server/native/linux/i686:${WL_HOME}/server/native/linux/i686/oci920_8
fi
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/linux/i686:${WLSS_HOME}/server/native/linux/i686/oci920_8
fi
fi
fi
fi
LD_LIBRARY_PATH=${PATCH_LIBPATH}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
;;
OSF1)
if [ -n "${LD_LIBRARY_PATH}" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/tru64unix
else
LD_LIBRARY_PATH=${WL_HOME}/server/native/tru64unix
fi
LD_LIBRARY_PATH=${PATCH_LIBPATH}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
;;
SunOS)
arch=`uname -m`
if [ -n "${LD_LIBRARY_PATH}" ]; then
if [ "${arch}" = "i86pc" ]; then
if [ "${SUN_ARCH_DATA_MODEL}" = "" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/solaris/x64
else
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/solaris/x86
fi
else
if [ "${SUN_ARCH_DATA_MODEL}" = "" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/solaris/sparc64:${WL_HOME}/server/native/solaris/sparc64/oci920_8
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/solaris/sparc64:${WLSS_HOME}/server/native/solaris/sparc64/oci920_8
fi
else
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/solaris/sparc:${WL_HOME}/server/native/solaris/sparc/oci920_8
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/solaris/sparc:${WLSS_HOME}/server/native/solaris/sparc/oci920_8
fi
fi
fi
else
if [ "${arch}" = "i86pc" ]; then
if [ "${SUN_ARCH_DATA_MODEL}" = "" ]; then
LD_LIBRARY_PATH=${WL_HOME}/server/native/solaris/x64
else
LD_LIBRARY_PATH=${WL_HOME}/server/native/solaris/x86
fi
else
if [ "${SUN_ARCH_DATA_MODEL}" = "" ]; then
LD_LIBRARY_PATH=${WL_HOME}/server/native/solaris/sparc64:${WL_HOME}/server/native/solaris/sparc64/oci920_8
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/solaris/sparc64:${WLSS_HOME}/server/native/solaris/sparc64/oci920_8
fi
else
LD_LIBRARY_PATH=${WL_HOME}/server/native/solaris/sparc:${WL_HOME}/server/native/solaris/sparc/oci920_8
if [ "$SIP_ENABLED" = "true" ]; then
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/solaris/sparc:${WLSS_HOME}/server/native/solaris/sparc/oci920_8
fi
fi
fi
fi
LD_LIBRARY_PATH=${PATCH_LIBPATH}:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
if [ "${JAVA_USE_64BIT}" = "true" ] && [ "${JAVA_VENDOR}" != "Oracle" ]
then
JVM_D64="-d64"
export JVM_D64
JAVA_VM="${JAVA_VM} ${JVM_D64}"
export JAVA_VM
fi
;;
Darwin)
if [ -n "${DYLD_LIBRARY_PATH}" ]; then
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${WL_HOME}/server/native/macosx
else
DYLD_LIBRARY_PATH=${WL_HOME}/server/native/macosx
fi
DYLD_LIBRARY_PATH=${PATCH_LIBPATH}:${DYLD_LIBRARY_PATH}
export DYLD_LIBRARY_PATH
;;
Windows_NT*) ;;
CYGWIN*) ;;
*)
echo "$0: Don't know how to set the shared library path for `uname -s`. "
esac # set up WebLogic Server's class path
WEBLOGIC_CLASSPATH="${JAVA_HOME}/lib/tools.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic_sp.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic.jar${CLASSPATHSEP}${FEATURES_DIR}/weblogic.server.modules_10.3.5.0.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${ANT_HOME}/lib/ant-all.jar${CLASSPATHSEP}${ANT_CONTRIB}/lib/ant-contrib.jar"
export WEBLOGIC_CLASSPATH # set up config tools class path
FMWCONFIG_CLASSPATH="${JAVA_HOME}/lib/tools.jar${CLASSPATHSEP}${BEA_HOME}/utils/config/10.3/config-launch.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic_sp.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic.jar${CLASSPATHSEP}${FEATURES_DIR}/weblogic.server.modules_10.3.5.0.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${ANT_HOME}/lib/ant-all.jar${CLASSPATHSEP}${ANT_CONTRIB}/lib/ant-contrib.jar"
export FMWCONFIG_CLASSPATH
FMWLAUNCH_CLASSPATH="${BEA_HOME}/utils/config/10.3/config-launch.jar"
export FMWLAUNCH_CLASSPATH if [ "${PATCH_CLASSPATH}" != "" ] ; then
WEBLOGIC_CLASSPATH="${PATCH_CLASSPATH}${CLASSPATHSEP}${WEBLOGIC_CLASSPATH}"
export WEBLOGIC_CLASSPATH
FMWCONFIG_CLASSPATH="${PATCH_CLASSPATH}${CLASSPATHSEP}${FMWCONFIG_CLASSPATH}"
export FMWCONFIG_CLASSPATH
fi if [ "$SIP_ENABLED" = "true" ]; then
# set up SIP classpath
SIP_CLASSPATH="${WLSS_HOME}/server/lib/weblogic_sip.jar"
# add to WLS class path
WEBLOGIC_CLASSPATH="${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${SIP_CLASSPATH}"
export WEBLOGIC_CLASSPATH
FMWCONFIG_CLASSPATH="${FMWCONFIG_CLASSPATH}${CLASSPATHSEP}${SIP_CLASSPATH}"
export FMWCONFIG_CLASSPATH
fi # DERBY configuration
DERBY_HOME="${WL_HOME}/common/derby"
DERBY_CLIENT_CLASSPATH="${DERBY_HOME}/lib/derbyclient.jar"
DERBY_CLASSPATH="${CLASSPATHSEP}${DERBY_HOME}/lib/derbynet.jar${CLASSPATHSEP}${DERBY_CLIENT_CLASSPATH}"
DERBY_TOOLS="${DERBY_HOME}/lib/derbytools.jar"
DERBY_SYSTEM_HOME=${WL_HOME}/common/derby/demo/databases
DERBY_OPTS="-Dderby.system.home=$DERBY_SYSTEM_HOME" if [ "${DERBY_PRE_CLASSPATH}" != "" ] ; then
DERBY_CLASSPATH="${DERBY_PRE_CLASSPATH}${CLASSPATHSEP}${DERBY_CLASSPATH}"
fi if [ "${DERBY_POST_CLASSPATH}" != "" ] ; then
DERBY_CLASSPATH="${DERBY_CLASSPATH}${CLASSPATHSEP}${DERBY_POST_CLASSPATH}"
fi export DERBY_HOME DERBY_CLASSPATH DERBY_TOOLS DERBY_SYSTEM_HOME DERBY_OPTS if [ -d "${WL_HOME}/common/eval/pointbase" ]
then
# PointBase configuration
POINTBASE_HOME="${WL_HOME}/common/eval/pointbase"
POINTBASE_CLIENT_CLASSPATH="${POINTBASE_HOME}/lib/pbclient57.jar"
POINTBASE_CLASSPATH="${CLASSPATHSEP}${POINTBASE_HOME}/lib/pbembedded57.jar${CLASSPATHSEP}${POINTBASE_CLIENT_CLASSPATH}"
POINTBASE_TOOLS="${POINTBASE_HOME}/lib/pbtools57.jar" if [ "${POINTBASE_PRE_CLASSPATH}" != "" ] ; then
POINTBASE_CLASSPATH="${POINTBASE_PRE_CLASSPATH}${CLASSPATHSEP}${POINTBASE_CLASSPATH}"
fi if [ "${POINTBASE_POST_CLASSPATH}" != "" ] ; then
POINTBASE_CLASSPATH="${POINTBASE_CLASSPATH}${CLASSPATHSEP}${POINTBASE_POST_CLASSPATH}"
fi export POINTBASE_HOME POINTBASE_CLASSPATH POINTBASE_TOOLS
fi # Set up PATH
if [ `uname -s` = "CYGWIN32/NT" ]; then
# If we are on an old version of Cygnus we need to turn <letter>:/ in the path
# to //<letter>/
WL_HOME_CYGWIN=`echo $WL_HOME | sed 's#\([a-zA-Z]\):#//\1#g'`
ANT_HOME_CYGWIN=`echo $ANT_HOME | sed 's#\([a-zA-Z]\):#//\1#g'`
ANT_CONTRIB_CYGWIN=`echo $ANT_CONTRIB | sed 's#\([a-zA-Z]\):#//\1#g'`
JAVA_HOME_CYGWIN=`echo $JAVA_HOME | sed 's#\([a-zA-Z]\):#//\1#g'`
PATCH_PATH_CYGWIN=`echo $PATCH_PATH | sed 's#\([a-zA-Z]\):#//\1#g'`
WL_USE_X86DLL=
WL_USE_IA64DLL=
WL_USE_AMD64DLL=
if [ "${WL_USE_IA64DLL}" = "true" ]; then
PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/64${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/64/oci920_8"
fi
if [ "${WL_USE_X86DLL}" = "true" ]; then
PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/32${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/32/oci920_8"
fi
if [ "${WL_USE_AMD64DLL}" = "true" ]; then
PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/x64${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/x64/oci920_8"
fi
else
if [ -n "`uname -s |grep -i cygwin_`" ]; then
# If we are on an new version of Cygnus we need to turn <letter>:/ in
# the path to /cygdrive/<letter>/
CYGDRIVE=`mount -ps | tail - | awk '{print $1}' | sed -e 's%/$%%'`
WL_HOME_CYGWIN=`echo $WL_HOME | sed "s#\([a-zA-Z]\):#${CYGDRIVE}/\1#g"`
ANT_HOME_CYGWIN=`echo $ANT_HOME | sed "s#\([a-zA-Z]\):#${CYGDRIVE}/\1#g"`
PATCH_PATH_CYGWIN=`echo $PATCH_PATH | sed "s#\([a-zA-Z]\):#${CYGDRIVE}/\1#g"`
JAVA_HOME_CYGWIN=`echo $JAVA_HOME | sed "s#\([a-zA-Z]\):#${CYGDRIVE}/\1#g"`
WL_USE_X86DLL=
WL_USE_IA64DLL=
WL_USE_AMD64DLL=
if [ "${WL_USE_IA64DLL}" = "true" ]; then
PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/64${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/64/oci920_8"
fi
if [ "${WL_USE_X86DLL}" = "true" ]; then
PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/32${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/32/oci920_8"
fi
if [ "${WL_USE_AMD64DLL}" = "true" ]; then
PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/x64${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/x64/oci920_8"
fi
else
# set PATH for other shell environments
PATH="${WL_HOME}/server/bin${PATHSEP}${ANT_HOME}/bin${PATHSEP}${JAVA_HOME}/jre/bin${PATHSEP}${JAVA_HOME}/bin${PATHSEP}${PATH}"
# On Windows, include WebLogic jDriver in PATH
if [ -n "`uname -s |grep -i windows_nt`" ]; then
WL_USE_X86DLL=
WL_USE_IA64DLL=
WL_USE_AMD64DLL=
if [ "${WL_USE_IA64DLL}" = "true" ]; then
PATH="${PATCH_PATH}${PATHSEP}${WL_HOME}/server/native/win/64${PATHSEP}${PATH}${PATHSEP}${WL_HOME}/server/native/win/64/oci920_8"
fi
if [ "${WL_USE_AMD64DLL}" = "true" ]; then
PATH="${PATCH_PATH}${PATHSEP}${WL_HOME}/server/native/win/x64${PATHSEP}${PATH}${PATHSEP}${WL_HOME}/server/native/win/x64/oci920_8"
fi
if [ "${WL_USE_X86DLL}" = "true" ]; then
PATH="${PATCH_PATH}${PATHSEP}${WL_HOME}/server/native/win/32${PATHSEP}${PATH}${PATHSEP}${WL_HOME}/server/native/win/32/oci920_8"
fi
fi
fi
fi
export PATH resetFd
Unrecognized option: -jrockit的更多相关文章
- weblogic启动报错之Unrecognized option: -jrockit
报错如下: $ ./startWebLogic.sh . . JAVA Memory arguments: -Xms512m -Xmx512m . WLS Start Mode=Production ...
- weblogic10.3 启动报错 Unrecognized option: -jrockit Error: Could not create the Java Virtual Machine
今天在使用weblogic10.3+jdk7创建domain的时候,建好domain后启动报如下错误信息: Unrecognized option: -jrockitError: Could not ...
- weblogic启动错误 Unrecognized option: -jrockit
高版本jdk启动低版本weblogic有时会报Unrecognized option: -jrockit参数错误 这纯粹是版本问题,版本更新更换参数名称的缘故 解决方法: “%WL_HOME%\com ...
- 安装m2crypto报错swig error : Unrecognized option -builtin
M2Crypto 是最完整的为 Python 包装 OpenSSL 的 RSA,DSA,DH,EC,HMACs,消息摘要,对称密码算法(包括AES)的一个库工具.而自从 M2Crypto 升级到版本 ...
- mv,rm等命令出现unrecognized option提示的解决方法
出现这个提示,一般是由于命令操作的文件名最前面有"--"字符, 让命令误以为是--开头的长选项 解决: 命令后加上"--", shell把 -- 之后的参数当做 ...
- MongoDB启动报错:Unrecognized option: storage try 'mongod --help' for more information(已解决)
问题说明: 今天在使用配置文件方式启动MongoDB时,一直启动失败,报错显示:Unrecognized option: storage try 'mongod --help' for more in ...
- weblogic修改jdk版本遇到的问题与解决方法
1.修改setDomainEnv ,路径.../domains/xx_domain\bin\ 1.1修改JAVA_HOME为需要修改的路径 注意:BEA_JAVA_HOME路径不需修改 2.修改路径后 ...
- 大数据之Oozie——源码分析(一)程序入口
工作中发现在oozie中使用sqoop与在shell中直接调度sqoop性能上有很大的差异.为了更深入的探索其中的缘由,开始了oozie的源码分析之路.今天第一天阅读源码,由于没有编译成功,不能运行测 ...
- Ubuntu 14.04 中 安装elasticsearch2.*+logstash2.*+kibana
在Ubuntu 14.04 上安装单机版ELK 2.*(脚本化) 1.判断是否为root权限 if [ "${UID}" -ne 0 ]; then echo "You ...
随机推荐
- verilog语法学习目录
verilog语法实例学习(1) Verilog中的注释 Verilog中的信号 标识符 信号的值 Verilog中的数字 Verilog中的参数 verilog语法实例学习(2) 线网类型 变量类型 ...
- maven单测生成覆盖率报告---Jacoco的使用
JaCoCo介绍 一.JaCoCo简述 JaCoCo是一个开源的覆盖率工具,它针对的开发语言是java,其使用方法很灵活,可以嵌入到Ant.Maven中:可以作为Eclipse插件,可以使用其Java ...
- JQuery实现可编辑的表格
点击表格后可直接编辑,回车或鼠标点击页面其他地方后编辑生效,按Esc可取消编辑 第一种单击表格可以编辑的方法 //相当于在页面中的 body标签加上onload事件$(function() { ...
- python3 中对arrow库的总结(转发)
https://blog.csdn.net/soft_kind/article/details/80614896 arrow库的官方文档:http://arrow.readthedocs.io/en/ ...
- RecyclerView的使用(2)之多Item布局的载入
原创文章,转载请注明 http://blog.csdn.net/leejizhou/article/details/50708349 李济洲的博客 上一篇介绍的了RecyclerView的基础使用ht ...
- Linux Kernel系列三:Kernel编译和链接中的linker script语法详解
先要讲讲这个问题是怎么来的.(咱们在分析一个技术的时候,先要考虑它是想解决什么问题,或者学习新知识的时候,要清楚这个知识的目的是什么). 我在编译内核的时候,发现arch/arm/kernel目录下有 ...
- VMware中创建Ubuntu16.0.4虚拟桥连方式无法上网
一.问题描述 在本地VMvare中已经安装了两台虚拟机,网络方式都是桥连,上网都可以自动获取IP地址 和HOST主机是一个号段的 ,同为192.168.1.X KingServer1(原始安装) 桥 ...
- (转)unity3D 如何提取游戏资源 (反编译)+代码反编译
原帖:http://bbs.9ria.com/thread-401140-1-1.html 首先感谢 雨松MOMO 的一篇帖子 教我们怎么提取 .ipa 中的游戏资源.教我们初步的破解unity3d资 ...
- 在linux 中wget 无法解析主机
vim /etc/resolv.cof 在里面加入节点 nameserver 8.8.8.8 / nameserver 8.8.4.4 即可 失败时: 成功时:
- [Algorithm] Check for balanced parentheses using stack
Algorithm or program to check for balanced parentheses in an expression using stack data structure. ...