当前位置:首页 > 开发 > 研发管理 > 正文

Two ways to avoid entering the boot username and password in very Weblogic Serve

发表于: 2014-12-11   作者:crabdave   来源:转载   浏览次数:
摘要: Two ways to avoid entering the boot username and password in very Weblogic Server startup 1.setting "WLS_USER" and "WLS_PW" in "$DOMAIN_HOME/bin/startWebLogic.sh" file.

Two ways to avoid entering the boot username and password in very Weblogic Server startup

1.setting "WLS_USER" and "WLS_PW" in "$DOMAIN_HOME/bin/startWebLogic.sh" file.

 

.......

WLS_USER="wlsadmin"

WLS_PW="weblogic"

 

if [ "${WLS_USER}" != "" ] ; then

        JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.username=${WLS_USER}"

fi

 

if [ "${WLS_PW}" != "" ] ; then

        JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.password=${WLS_PW}"

.......

 

 

 

2.creating the boot.properties file

#cd $DOMAIN_HOME/server/PROD_AdminServer

#mkdir security

#cd security

#echo -ne "username=wlsadmin\npassword=<password>" > boot.properties

#cat boot.properties

username=wlsadmin

password=<password>

 

The next time you start Weblogic Administration Server, it will use the credentials from the boot.properties file. The file will also be encrypted.

Two ways to avoid entering the boot username and password in very Weblogic Serve

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

编辑推荐
起因 今天想进入SharePoint 2013 Central Administration创建一个WebApplication,尽然发生了错误:
起因 今天想进入SharePoint 2013 Central Administration创建一个WebApplication,尽然发生了错误:
username:pp password:1234 无法登陆! 如果 username:pp password:1234 无法登陆!原因是你忘
oracle sys账号用sql developer工具无法登陆 用户名和密码不一致 如果的确是丢失密码的话: 在SQL*P
Oracle中有sequence的功能,SQL Server类似的功能使用Identity列实现,但是有很大的局限性。 在2012
前两天因为参与一个WEB项目开发,在进行前期功能分析的时候,想找一款工具来设计界面原型,通过设计
If your are possible and in very good issue, you will take pleasure in your journey. You can
发布在Weblgic的Web应用应该是war包,如果你手头没有的话可以到“http://www.blogjava.net/Files/he
UserName showing up as DomainName\UserName instead of Full Name in SharePoint 2010 I have see
It’s a very good idea to find different ways of saying the same thing to avoid repeated use
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号