本文主要介绍如何将weblogic安装到windows服务,并且解决了大多数在安装和启动过程中遇到的问题。
附件二:installSrv.cmd文件(weblogic 安装windows服务文件)
@rem *************************************************************************
@rem This script is used to install WebLogic Server as a Windows Service.
@rem
@rem To create your own start script for your domain, simply set the
@rem SERVER_NAME variable to your server name then call this script from your
@rem domain directory.
@rem
@rem This script sets the following variables before installing
@rem WebLogic Server as a Windows Service:
@rem
@rem WL_HOME - The root directory of your WebLogic installation
@rem JAVA_HOME - Location of the version of Java used to start WebLogic
@rem Server. This variable must point to the root directory of a
@rem JDK installation and will be set for you by the installer.
@rem See the Oracle Fusion Middleware Supported System Configurations page
@rem (/technology/software/products/ias/files/fusion_certification.html) @rem for an up-to-date list of supported JVMs.
@rem PATH - Adds the JDK and WebLogic directories to the system path.
@rem CLASSPATH - Adds the JDK and WebLogic jars to the classpath.
@rem
@rem Other variables that installSvc takes are:
@rem
@rem WLS_USER - admin username for server startup
@rem WLS_PW - cleartext password for server startup
@rem ADMIN_URL - if this variable is set, the server started will be a
@rem managed server, and will look to the url specified (i.e.
@rem http://localhost:7001) as the admin server.
@rem PRODUCTION_MODE - set to true for production mode servers, false for
@rem development mode
@rem JAVA_OPTIONS - Java command-line options for running the server. (These
@rem will be tagged on to the end of the JAVA_VM and MEM_ARGS)
@rem JAVA_VM - The java arg specifying the VM to run. (i.e. -server,
@rem -client, etc.)
@rem MEM_ARGS - The variable to override the standard memory arguments
@rem passed to java
@rem
@rem
@rem MAX_CONNECT_RETRIES - Number of attempts the Windows Service will make to check
@rem if the Weblogic Server is started. If this variable
@rem is specified along with HOST and PORT, the Windows Service will
@rem wait until the Weblogic Server is started.
@rem HOST - IP address of the Weblogic Server
@rem PORT - Port number where the WebLogic Server is listening for requests
搜索“diyifanwen.net”或“第一范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,第一范文网,提供最新高等教育[总结]weblogic10.3 安装Windows服务及自动启动服务后停止的解决方案(适用于Windows10以下)(11)全文阅读和word下载服务。
相关推荐: