2016-11-18 165 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