• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

LINUX运维之Weblogic无密码启动

php 搞代码 3年前 (2022-01-22) 14次浏览 已收录 0个评论

1、将weblogic设置为开发者模式

domains/base_domain/bin/setDomainEnv.sh:

PRODUCTION_MODE="false"

domains/base_domain/config/config.xml:

<production-mode-enabled>false</production-mode-enabled> —-删除

<!– username=weblogic ; password=ghca3a12 –>

<default-realm>myrealm</default-realm>

<credential-encrypted>ghca3a12</credential-encrypted>

<node-manager-username>weblogic</node-manager-username>

<node-manager-password-encrypted>ghca3a12</node-manager-password-encrypted>

</security-configuration>

<server>

<name>AdminServer</name>

<listen-address/>

</server>

<embedded-ldap>

<name>base_domain</name>

<credential-encrypted>ghca3a12</credential-encrypted>

</embedded-ldap>

2、创建bo¥本文来%源[email protected]搞@^&代*@码)网5搞gaodaima代码ot.properties

domains/base_domain/security

vi boot.properties

password=ghca3a12

username=weblogic

创建security目录以及boot.properties

domains/base_domain/servers/AdminServer/security

vi boot.properties

password=ghca3a12

username=weblogic

3、如果新安装的domain报以下错误则就是密码导致的

Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user denied

weblogic.security.SecurityInitializationException: Authentication for user denied

4、将开发者模式修改为生产者模式

domains/base_domain/bin/setDomainEnv.sh:

PRODUCTION_MODE="true"


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:LINUX运维之Weblogic无密码启动

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址