[总结]weblogic10.3 安装Windows服务及自动启动服务后停止的解决方案(适用于Windows10以下)(12)

素素猫 分享 2021-04-05 下载文档

本文主要介绍如何将weblogic安装到windows服务,并且解决了大多数在安装和启动过程中遇到的问题。

@rem

@rem jDriver for Oracle users: This script assumes that native libraries

@rem required for jDriver for Oracle have been installed in the proper

@rem location and that your system PATH variable has been set appropriately.

@rem

@rem For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server" @rem (/docs/cd/E23943_01/web.1111/e13708/overview.htm).

@rem *************************************************************************

@echo off

SETLOCAL

@rem ***********************************************

set JAVA_HOME=C:\Java\jdk1.7.0_10

set WL_HOME=E:\weblogic\Middleware\wlserver_10.3

call "%WL_HOME%\common\bin\commEnv.cmd"

@rem ***********************************************

@rem Check that the WebLogic classes are where we expect them to be

:checkWLS

if exist "%WL_HOME%\server\lib\weblogic.jar" goto checkJava

echo The WebLogic Server wasn't found in directory %WL_HOME%\server.

echo Please edit your script so that the WL_HOME variable points

echo to the WebLogic installation directory.

goto finish

@rem Check that java is where we expect it to be

:checkJava

if exist "%JAVA_HOME%\bin\java.exe" goto runWebLogic

echo The JDK wasn't found in directory %JAVA_HOME%.

echo Please edit your script so that the JAVA_HOME variable

echo points to the location of your JDK.

goto finish

:runWebLogic

if not "%JAVA_VM%" == "" goto noResetJavaVM

if "%JAVA_VENDOR%" == "BEA" set JAVA_VM=-jrocket

if "%JAVA_VENDOR%" == "HP" set JAVA_VM=-server

if "%JAVA_VENDOR%" == "Sun" set JAVA_VM=-server

:noResetJavaVM

if not "%MEM_ARGS%" == "" goto noResetMemArgs

@rem set MEM_ARGS=-Xms32m -Xmx200m


[总结]weblogic10.3 安装Windows服务及自动启动服务后停止的解决方案(适用于Windows10以下)(12).doc 将本文的Word文档下载到电脑

下一篇:青少年才艺展示大赛主持词少年1

相关推荐
相关阅读
本类排行
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 7

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xxxxxx QQ:xxxxxx