开发者社区> 问答> 正文

weblogic12C受管服务器无法启动

weblogic12C在本机上启动了Administration(已正常启动),web界面也可以访问,已在web上添加了服务器Server-1

准备启动受管服务器的时候,
[weblogic@test4 bin]$ ./startManagedWebLogic.sh Server-1 http://172.16.10.213:7002 这样启动的,
第一次启动报错:weblogic.management.ManagementException: [Management:141223]The server name Server-1 specified with -Dweblogic.Name does not exist. The configuration includes the following servers {AdminServer}

这个报错我百度了一次,打开startWeblogic.sh文件找到-Dweblogic.Name 参数,但是
if [ "${WLS_REDIRECT_LOG}" = "" ] ; then

    echo "Starting WLS with line:"
    echo "${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${LAUNCH_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WLS_POLICY_FILE} ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}"
    ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${LAUNCH_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WLS_POLICY_FILE} ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}

else

    echo "Redirecting output from WLS window to ${WLS_REDIRECT_LOG}"
    ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${LAUNCH_ARGS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WLS_POLICY_FILE} ${JAVA_OPTIONS} ${PROXY_SETTINGS} ${SERVER_CLASS}  >"${WLS_REDIRECT_LOG}" 2>&1

然后我去找SERVER_NAME这个变量在配置中没有搜索到,所有没解决

然后第二次命令启动报错:
TIM_20181021181134

  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.management.mbeanservers.runtime.internal.RuntimeServerService errors were found
  6. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.management.mbeanservers.runtime.internal.RuntimeServerService
  7. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.cacheprovider.CacheProviderServerService errors were found
  8. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.cacheprovider.CacheProviderServerService
    上面提示密码账号认证错误,但是输入的用户名和密码登录weblogic的控制台,却可以正常登录。运行上面的命令时,输入那个用户名和密码,就是不能启动那个服务。我自己尝试删除重建,还是依然报这个错误。百度了一些方法也无法解决。

展开
收起
liucx1201 2018-10-21 18:32:59 8168 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
如何运维千台以上游戏云服务器 立即下载
网站/服务器取证 实践与挑战 立即下载
ECS计算与存储分离架构实践 立即下载