第三篇:weblogic之管理服务器启动
1、启动管理服务器
进入域的主目录下,本人默认路径是:/home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/
1 [weblogic@localhost ~]$ cd /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/ 2 [weblogic@localhost base_domain]$ ll 3 total 8 4 drwxr-x---. 2 weblogic weblogic 24 Aug 24 14:17 autodeploy 5 drwxr-x---. 5 weblogic weblogic 205 Aug 24 14:17 bin 6 drwxr-x---. 9 weblogic weblogic 135 Aug 24 14:17 config 7 drwxr-x---. 2 weblogic weblogic 24 Aug 24 14:17 console-ext 8 -rw-r-----. 1 weblogic weblogic 462 Aug 24 14:17 fileRealm.properties 9 drwxr-x---. 2 weblogic weblogic 130 Aug 24 14:17 init-info 10 drwxr-x---. 2 weblogic weblogic 24 Aug 24 14:17 lib 11 drwxr-x---. 2 weblogic weblogic 143 Aug 24 14:17 security 12 -rwxr-x---. 1 weblogic weblogic 282 Aug 24 14:17 startWebLogic.sh
执行脚本startWebLogic.sh,启动weblogic,过程中需要输入创建域时weblogic配置的用户名和密码。
1 [weblogic@localhost base_domain]$ ./startWebLogic.sh 2 . 3 . 4 JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=256m 5 . 6 WLS Start Mode=Production 7 . 8 CLASSPATH=/home/weblogic/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/weblogic/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/local/jdk/lib/tools.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/weblogic/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/weblogic/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar:.:/usr/local/jdk/lib/dt.jar:/usr/local/jdk/lib/tools.jar:/usr/local/jdk/jre/lib 9 . 10 PATH=/home/weblogic/Oracle/Middleware/wlserver_10.3/server/bin:/home/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/local/jdk/jre/bin:/usr/local/jdk/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/local/jdk/bin:/home/weblogic/.local/bin:/home/weblogic/bin 11 . 12 *************************************************** 13 * To start WebLogic Server, use a username and * 14 * password assigned to an admin-level user. For * 15 * server administration, use the WebLogic Server * 16 * console at http://hostname:port/console * 17 *************************************************** 18 starting weblogic with Java version: 19 java version "1.8.0_91" 20 Java(TM) SE Runtime Environment (build 1.8.0_91-b14) 21 Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) 22 Starting WLS with line: 23 /usr/local/jdk/bin/java -server -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=/home/weblogic/Oracle/Middleware/wlserver_10.3 -Dwls.home=/home/weblogic/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/home/weblogic/Oracle/Middleware/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/home/weblogic/Oracle/Middleware/patch_wls1036/profiles/default/sysext_manifest_classpath:/home/weblogic/Oracle/Middleware/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server 24 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 25 <Aug 24, 2018 2:27:32 PM CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true> 26 <Aug 24, 2018 2:27:33 PM CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true> 27 <Aug 24, 2018 2:27:34 PM CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 25.91-b14 from Oracle Corporation> 28 <Aug 24, 2018 2:27:36 PM CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 > 29 <Aug 24, 2018 2:27:40 PM CST> <Info> <Security> <BEA-090065> <Getting boot identity from user.> 30 Enter username to boot WebLogic server:weblogic 31 Enter password to boot WebLogic server:
2、登录console控制台,查看管理服务器状态
访问http://ip:7001/console
依次打开 环境-服务器,可以看到AdminServer启动状态