本文主要介绍如何将weblogic安装到windows服务,并且解决了大多数在安装和启动过程中遇到的问题。
创建off.bat批处理文件,参数如下:
启动off.bat卸载服务,或者在命令窗口运行如下命令(每一行是一条命令):
第四部分 附件
文末附带:weblogic 的commonEnv.cmd(%WL_HOME%\common\bin\commEnv.cmd)文件、installSrv.cmd(%WL_HOME%\server\bin\installSvc.cmd)文件、启动安装服务文件run.bat、卸载安装服务文件off.bat和用户域配置文件config.xml(F:\NCISOFT\first_domain\config\config.xml)。
附件一:commEnv.cmd文件
@rem *************************************************************************
@rem This script is used to initialize common environment to start WebLogic
@rem Server, as well as WebLogic development.
@rem
@rem It sets the following variables:
@rem
@rem BEA_HOME - The home directory of all your BEA installation.
@rem MW_HOME - The home directory of all your Oracle installation.
@rem WL_HOME - The root directory of your WebLogic installation.
@rem COHERENCE_HOME - The root directory of your Coherence installation.
@rem ANT_HOME - The Ant Home directory.
@rem ANT_CONTRIB
@rem - The Ant contrib directory
@rem JAVA_HOME - Location of the version of Java used to start WebLogic
@rem Server. See the Oracle Fusion Middleware Supported System Configurations page at
@rem (/technology/software/products/ias/files/fusion_certification.html) for an
@rem up-to-date list of supported JVMs on your platform.
本文主要介绍如何将weblogic安装到windows服务,并且解决了大多数在安装和启动过程中遇到的问题。
@rem JAVA_VENDOR
@rem - Vendor of the JVM (i.e. BEA, HP, IBM, Sun, etc.)
@rem JAVA_USE_64BIT
@rem - Indicates if JVM uses 64 bit operations
@rem PATH - JDK and WebLogic directories are added to the system path.
@rem WEBLOGIC_CLASSPATH
@rem - Classpath required to start WebLogic server.
@rem FMWCONFIG_CLASSPATH
@rem - Classpath required to start config tools such as config wizard, pack, and unpack.. @rem FMWLAUNCH_CLASSPATH
@rem - Additional classpath needed for WLST start script
@rem JAVA_VM - The java arg specifying the JVM to run. (i.e.
@rem -server, -hotspot, -jrocket etc.)
@rem MEM_ARGS - The variable to override the standard memory arguments
@rem passed to java
@rem
@rem DERBY_HOME
@rem - Derby home directory.
@rem DERBY_CLASSPATH
@rem - Classpath needed to start Derby.
@rem DERBY_TOOLS
@rem - Derby tools jar file.
@rem PRODUCTION_MODE
@rem - Indicates if WebLogic Server will be started in Production
@rem mode.
@rem WL_USE_X86DLL
@rem - To use WebLogic jni native libriaries for x86 cpus (with a
@rem 32 bit JVM for x86 cpus)
@rem JVM)
@rem WL_USE_IA64DLL
@rem - To use WebLogic jni native libriaries for ia64 cpus (with
@rem 64 bit JVM for ia64 cpus)
@rem JVM)
@rem WL_USE_AMD64DLL
@rem - To use WebLogic jni native libriaries for amd64 cpus (with
@rem 64 bit JVM for amd64 cpus)
@rem PATCH_CLASSPATH
@rem - WebLogic Patch system classpath
@rem PATCH_LIBPATH
@rem - Library path used for patches
@rem PATCH_PATH
@rem - Path used for patches
@rem WEBLOGIC_EXTENSION_DIRS
@rem - Extension dirs for WebLogic classpath patch
搜索“diyifanwen.net”或“第一范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,第一范文网,提供最新高等教育[总结]weblogic10.3 安装Windows服务及自动启动服务后停止的解决方案(适用于Windows10以下)(6)全文阅读和word下载服务。
相关推荐: