2016-11-18 636 views
0

我已經安裝了weblogic12.2.1,我可以啓動管理服務器。我從控制檯創建了一個託管服務器。 問題是管理服務器沒有開始。當給出下面的命令來啓動管理服務器時,它將在命令提示符處拋出錯誤消息。執行上面的命令時啓動mananged服務器無法啓動管理服務器 - weblogic12.2.1

C:\WebLogic12c\user_projects\domains\base_domain\bin\startManagedWebLogic.cmd myManagedServer http://usndcwncn149p99:7001/console 

錯誤消息:

命令來啓動管理服務器

<Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: A MultiException has 6 exceptions. They are: 
1. weblogic.security.SecurityInitializationException: Authentication for user weblogic denied. 
2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.security.SecurityService 
3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jndi.internal.RemoteNamingService errors were found 
4. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.jndi.internal.RemoteNamingService 
5. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.messaging.interception.MessageInterceptionService errors were fo 
und 
6. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.messaging.interception.MessageInterceptionService 

A MultiException has 6 exceptions. They are: 
1. weblogic.security.SecurityInitializationException: Authentication for user weblogic denied. 
2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.security.SecurityService 
3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jndi.internal.RemoteNamingService errors were found 
4. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.jndi.internal.RemoteNamingService 
5. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.messaging.interception.MessageInterceptionService errors were fo 
und 
6. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.messaging.interception.MessageInterceptionService 

     at org.jvnet.hk2.internal.Collector.throwIfErrors(Collector.java:89) 
     at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:249) 
     at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:357) 
     at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471) 
     at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:232) 
     Truncated. see log file for complete stacktrace 
Caused By: weblogic.security.SecurityInitializationException: Authentication for user weblogic denied. 

我嘗試下面的步驟來克服這個問題,但還是沒能能夠啓動受管服務器。

1)編輯C:\ WebLogic12.2.1 \ user_projects \ domains \ base_domain \ servers \ AdminServer \ security中存在的boot.properties文件,並進行手動輸入並分配用戶名和密碼。 2)從C:\ WebLogic12.2.1 \ user_projects \ domains \ base_domain \ servers \ myManagedServer \ data中刪除ldap文件夾

以前有沒有人遇到過這個問題並解決了請建議。

回答

1

嘗試設置WLS_USER和WLS_PW變量startManagedWebLogic.cmd

set WLS_USER=myUsername 
set WLS_PW=myPass