我在weblogic10.3.6上通過config.sh創建了一個base_domain,只配置了一個AdminServer,通過base_domain/bin/startWebLogic.sh啟動AdminiServer,可以啟動成功,并且通過http://192.168.137.23:7001/console 輸入用戶名密碼后正常可以訪問console。
但是如果通過wlst工具啟動AdminiServer后,通過http://192.168.137.23:7001/console 輸入用戶名密碼后無法訪問console。
作業系統為centos6.8 64位,JDK版本:jdk1.7.0_80
1、wlst.sh啟動server的記錄:
`wls:/offline> startServer('AdminServer','base_domain','t3://192.168.137.23:7001')
Starting weblogic server ...
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:35 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>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:35 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>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:39 PM CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 24.80-b11 from Oracle Corporation>
.WLST-WLS-1560346833567: <Jun 12, 2019 9:40:40 PM CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
.WLST-WLS-1560346833567: <Jun 12, 2019 9:40:41 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:42 PM CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:42 PM CST> <Notice> <LoggingService> <BEA-320400> <The log file /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:42 PM CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/AdminServer.log00009. Log messages will continue to be logged in /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/AdminServer.log.>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:42 PM CST> <Notice> <Log Management> <BEA-170019> <The server log file /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
.WLST-WLS-1560346833567: <Jun 12, 2019 9:40:45 PM CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
..WLST-WLS-1560346833567: <Jun 12, 2019 9:40:49 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:49 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:49 PM CST> <Notice> <LoggingService> <BEA-320400> <The log file /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/base_domain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:49 PM CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/base_domain.log00009. Log messages will continue to be logged in /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/base_domain.log.>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:49 PM CST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:50 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:50 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:50 PM CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.137.23:7001 for protocols iiop, t3, ldap, snmp, http.>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:50 PM CST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:50 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:50 PM CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
Server started successfully.
'WLST-WLS-1560346833567'
2、console控制臺報錯:
WebLogic Server 已拒絕此用戶名或口令。請重試
3、通過connect()命令連接Adminserver同樣報錯
wls:/offline> connect('weblogic','weblogic123','t3://192.168.137.23:7001')
Connecting to t3://192.168.137.23:7001 with userid weblogic ...
Traceback (innermost last):
File "<console>", line 1, in ?
File "<iostream>", line 22, in connect
File "<iostream>", line 648, in raiseWLSTException
WLSTException: Error occured while performing connect : User: weblogic, failed to be authenticated.
Use dumpStack() to view the full stacktrace
wls:/offline> dumpStack()
This Exception occurred at Wed Jun 12 22:04:24 CST 2019.
javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: User: weblogic, failed to be authenticated.]
javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: User: weblogic, failed to be authenticated.]
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/41693.html
標籤:基礎和管理
上一篇:求救!!!如何設計Oracle歷史資料的管理模式和方法呢??十萬火急!江湖救急!!!
下一篇:Oracle 陣列問題
