실습환경
- OS: OracleLinux 5
- WebLogic ver: 10.3.6
증상
매니지드서버(Managed Server) 기동 시 아래와 같은 에러가 발생하며 정상적으로 기동이 되지 않았다.
1004lucifer
.
.
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m
.
WLS Start Mode=Development
.
CLASSPATH=/app/weblogic1036/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/app/jdk1.6.0_45/lib/tools.jar:/app/weblogic1036/wlserver_10.3/server/lib/weblogic_sp.jar:/app/weblogic1036/wlserver_10.3/server/lib/weblogic.jar:/app/weblogic1036/modules/features/weblogic.server.modules_10.3.6.0.jar:/app/weblogic1036/wlserver_10.3/server/lib/webservices.jar:/app/weblogic1036/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/app/weblogic1036/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/app/weblogic1036/wlserver_10.3/common/derby/lib/derbyclient.jar:/app/weblogic1036/wlserver_10.3/server/lib/xqrl.jar
.
PATH=/app/weblogic1036/wlserver_10.3/server/bin:/app/weblogic1036/modules/org.apache.ant_1.7.1/bin:/app/jdk1.6.0_45/jre/bin:/app/jdk1.6.0_45/bin:/app/jdk/bin/:/app/tomcat/bin/:/app/tomcat/bin/:/app/apache/bin/:/app/apr/build-1/:/app/apr/bin/:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
. 1004lucifer
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://hostname:port/console *
***************************************************
starting weblogic with Java version:
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
Starting WLS with line:
/app/jdk1.6.0_45/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Dweblogic.Name=pt -Djava.security.policy=/app/weblogic1036/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.security.SSL.trustedCAKeyStore=/app/weblogic1036/wlserver_10.3/server/lib/cacerts -Xverify:none -da -Dplatform.home=/app/weblogic1036/wlserver_10.3 -Dwls.home=/app/weblogic1036/wlserver_10.3/server -Dweblogic.home=/app/weblogic1036/wlserver_10.3/server -Dweblogic.management.discover=false -Dweblogic.management.server=t3://localhost:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/app/weblogic1036/patch_wls1036/profiles/default/sysext_manifest_classpath weblogic.Server
<2018. 8. 13 오후 2시 13분 31초 KST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<2018. 8. 13 오후 2시 13분 31초 KST> <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>
<2018. 8. 13 오후 2시 13분 31초 KST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.45-b01 from Sun Microsystems Inc.>
<2018. 8. 13 오후 2시 13분 32초 KST> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:Error: Failed to get value from Standard Input
Enter password to boot WebLogic server:
<2018. 8. 13 오후 2시 13분 32초 KST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
<2018. 8. 13 오후 2시 13분 32초 KST> <Error> <Configuration Management> <BEA-150021> <The admin server failed to authenticate the identity of the user starting the managed server. The reason for the error is .>
<2018. 8. 13 오후 2시 13분 32초 KST> <Emergency> <Management> <BEA-141151> <The admin server could not be reached at http://localhost:7001.>
<2018. 8. 13 오후 2시 13분 32초 KST> <Info> <Configuration Management> <BEA-150018> <This server is being started in managed server independence mode in the absence of the admin server.>
<2018. 8. 13 오후 2시 13분 32초 KST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<2018. 8. 13 오후 2시 13분 32초 KST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<2018. 8. 13 오후 2시 13분 32초 KST> <Notice> <LoggingService> <BEA-320400> <The log file /app/weblogic1036/domains/1004lucifer_domain/servers/pt/logs/pt.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<2018. 8. 13 오후 2시 13분 32초 KST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /app/weblogic1036/domains/1004lucifer_domain/servers/pt/logs/pt.log00001. Log messages will continue to be logged in /app/weblogic1036/domains/1004lucifer_domain/servers/pt/logs/pt.log.>
<2018. 8. 13 오후 2시 13분 32초 KST> <Notice> <Log Management> <BEA-170019> <The server log file /app/weblogic1036/domains/1004lucifer_domain/servers/pt/logs/pt.log is opened. All server side log events will be written to this file.>
<2018. 8. 13 오후 2시 13분 34초 KST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>1004lucifer
<2018. 8. 13 오후 2시 13분 34초 KST> <Critical> <Security> <BEA-090403> <Authentication for user denied>
<2018. 8. 13 오후 2시 13분 34초 KST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user denied
weblogic.security.SecurityInitializationException: Authentication for user denied
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:966)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1054)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
Caused By: javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User javax.security.auth.login.LoginException: [Security:090301]Password Not Supplied
at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:261)
at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<2018. 8. 13 오후 2시 13분 34초 KST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<2018. 8. 13 오후 2시 13분 34초 KST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<2018. 8. 13 오후 2시 13분 34초 KST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
[weblogic@ae2793daea03 bin]$
boot.properties 파일을 생성해 준다.
경로
- $DOMAIN_HOME/servers/{SERVER_NAME}/security/boot.properties
- ex) /app/weblogic1036/domains/1004lucifer_domain/servers/ManagedServer01/security/boot.properties
내용
username={관리계정 ID}
password={관리계정 PW}
[weblogic@ae2793daea03 security]$ pwd
/app/weblogic1036/domains/1004lucifer_domain/servers/ManagedServer01/security
[weblogic@ae2793daea03 security]$
[weblogic@ae2793daea03 security]$ cat boot.properties
username=1004lucifer
password=1234qwer
[weblogic@ae2793daea03 security]$
댓글
댓글 쓰기