如何在身份验证错误后重启weblogic服务器

时间:2012-10-19 13:47:31

标签: weblogic

我正在尝试重新启动我的weblogic服务器(Weblogic Server版本:10.3.5)。它抛出以下错误。我以前经常重启,但是今天它正在抛出这个错误。

我已使用正确的用户名和密码替换了boot.properties文件,并且在尝试重新启动时,我发现它已加密,但服务器未启动。我也尝试修改config.xml并输入解密的密码,但我仍然收到错误。

Starting WLS with line:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java    -server -Xms2048M -Xmx2048M -XX:MaxPermSize=512M -Dweblogic.Name=ManagedServer -Djava.security.policy=/u01/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.security.SSL.trustedCAKeyStore=/u01/Oracle/Middleware/wlserver_10.3/server/lib/cacerts   -da -Dplatform.home=/u01/Oracle/Middleware/wlserver_10.3 -Dwls.home=/u01/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/u01/Oracle/Middleware/wlserver_10.3/server   -Dweblogic.management.discover=false -Dweblogic.management.server=http://kbzuatapp:7001  -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/u01/Oracle/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/u01/Oracle/Middleware/patch_ocp360/profiles/default/sysext_manifest_classpath -Djava.security.egd=file:/dev/./urandom  weblogic.Server
<Oct 19, 2012 8:01:35 PM MMT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true> 
<Oct 19, 2012 8:01:36 PM MMT> <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> 
<Oct 19, 2012 8:01:36 PM MMT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with OpenJDK 64-Bit Server VM Version 19.0-b09 from Sun Microsystems Inc.> 
<Oct 19, 2012 8:01:37 PM MMT> <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:
<Oct 19, 2012 8:01:37 PM MMT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0  Fri Apr 1 20:20:06 PDT 2011 1398638 > 
<Oct 19, 2012 8:01:38 PM MMT> <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 .> 
<Oct 19, 2012 8:01:38 PM MMT> <Emergency> <Management> <BEA-141151> <The admin server could not be reached at http://kbzuatapp:7001.> 
<Oct 19, 2012 8:01:38 PM MMT> <Info> <Configuration Management> <BEA-150018> <This server is being started in managed server independence mode in the absence of the admin server.> 
<Oct 19, 2012 8:01:38 PM MMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> 
<Oct 19, 2012 8:01:38 PM MMT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> 
<Oct 19, 2012 8:01:38 PM MMT> <Notice> <LoggingService> <BEA-320400> <The log file /u01/Oracle/Middleware/user_projects/domains/KBZUAT/servers/ManagedServer/logs/ManagedServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.> 
<Oct 19, 2012 8:01:38 PM MMT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /u01/Oracle/Middleware/user_projects/domains/KBZUAT/servers/ManagedServer/logs/ManagedServer.log00011. Log messages will continue to be logged in /u01/Oracle/Middleware/user_projects/domains/KBZUAT/servers/ManagedServer/logs/ManagedServer.log.> 
<Oct 19, 2012 8:01:38 PM MMT> <Notice> <Log Management> <BEA-170019> <The server log file /u01/Oracle/Middleware/user_projects/domains/KBZUAT/servers/ManagedServer/logs/ManagedServer.log is opened. All server side log events will be written to this file.> 
<Oct 19, 2012 8:01:41 PM MMT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> 
<Oct 19, 2012 8:01:41 PM MMT> <Critical> <Security> <BEA-090403> <Authentication for user  denied> 
<Oct 19, 2012 8:01:41 PM MMT> <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:965)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
    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

任何帮助都会很棒。谢谢!

4 个答案:

答案 0 :(得分:9)

得到了解决方案。我删除了edit.lok文件,然后尝试重启。它奏效了。

答案 1 :(得分:1)

至于我,我必须编辑文件boot.properties并在那里设置AGAIN weblogic服务器的登录名和密码。以前的值是加密的,显然,有些SW无法正确管理它。

答案 2 :(得分:1)

尝试删除ManagedServerDir/data/ldap目录。

不要忘记备份

答案 3 :(得分:0)

只需在Weblogic服务器中以root级别搜索boot.properties和edit.lok并将其删除。 (在删除之前进行备份)并重新启动服务器。

有效:-)