Add the following parameter to the startWebLogic.sh file to get rid of
the following error.
Error while creating block element.
error while attempting to instantiate the class "orabpel.getclienttxnstatus.BPEL_BIN$$BPELC_BpTry0" for the block element "Bp
Try0"; exception reported is: class allocation, 21056488 loaded, 20M footprint in check_alloc (classalloc.c:213) 756 bytes r
equested.
Java heap 2G reserved, 2G committed
Paged memory=18014398506267928K/75367896K.
Your Java heap size might be set too high.
Try to reduce the Java heap s
This was an internal error. The block class "BpTry0" was not in the composite class path, or there was an incompatibility wit
h the JDK used to the compile the class and the current JVM version.
Contact Oracle Support Services. Provide the error message, the composite source and the exception trace in the log files (w
ith logging level set to debug mode).
# START WEBLOGIC
echo "starting weblogic with Java version:"
MEM_ARGS="-Xms2048m -Xmx2048m"
${JAVA_HOME}/bin/java ${JAVA_VM} -version
if [ "${WLS_REDIRECT_LOG}" = "" ] ; then
echo "Starting WLS with line:"
echo "${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -XX:+UnlockDiagnosticVMOptions -XX:MaxClassBlockMemory=75M -Dweblo
gic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERV
ER_CLASS}"
${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -XX:+UnlockDiagnosticVMOptions -XX:MaxClassBlockMemory=75M -Dweblogic.Na
me=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLA
SS}
else
echo "Redirecting output from WLS window to ${WLS_REDIRECT_LOG}"
${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/
lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS} >"${WLS_REDIRECT_LOG}" 2>&1
fi
stopAll
Reference - http://download.oracle.com/docs/cd/E15289_01/doc.40/e15066/knownissues.htm
Error while creating block element.
error while attempting to instantiate the class "orabpel.getclienttxnstatus.BPEL_BIN$$BPELC_BpTry0" for the block element "Bp
Try0"; exception reported is: class allocation, 21056488 loaded, 20M footprint in check_alloc (classalloc.c:213) 756 bytes r
equested.
Java heap 2G reserved, 2G committed
Paged memory=18014398506267928K/75367896K.
Your Java heap size might be set too high.
Try to reduce the Java heap s
This was an internal error. The block class "BpTry0" was not in the composite class path, or there was an incompatibility wit
h the JDK used to the compile the class and the current JVM version.
Contact Oracle Support Services. Provide the error message, the composite source and the exception trace in the log files (w
ith logging level set to debug mode).
# START WEBLOGIC
echo "starting weblogic with Java version:"
MEM_ARGS="-Xms2048m -Xmx2048m"
${JAVA_HOME}/bin/java ${JAVA_VM} -version
if [ "${WLS_REDIRECT_LOG}" = "" ] ; then
echo "Starting WLS with line:"
echo "${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -XX:+UnlockDiagnosticVMOptions -XX:MaxClassBlockMemory=75M -Dweblo
gic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERV
ER_CLASS}"
${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -XX:+UnlockDiagnosticVMOptions -XX:MaxClassBlockMemory=75M -Dweblogic.Na
me=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLA
SS}
else
echo "Redirecting output from WLS window to ${WLS_REDIRECT_LOG}"
${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/
lib/weblogic.policy ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS} >"${WLS_REDIRECT_LOG}" 2>&1
fi
stopAll
Reference - http://download.oracle.com/docs/cd/E15289_01/doc.40/e15066/knownissues.htm
No comments:
Post a Comment