`
CunningFox
  • 浏览: 18206 次
  • 性别: Icon_minigender_1
  • 来自: 无锡
文章分类
社区版块
存档分类
最新评论

reset the admin user and password of weblogic

阅读更多
1st Step: Stop your Weblogic Server, if it's running

oracle@server>cd $MW_HOME/user_projects/domains/<your_domain>/bin
oracle@server>./stopWebLogic.sh <your_server>

2nd Step: Source the necessary environment variables for your WebLogic Server

oracle@server>cd $MW_HOME/user_projects/domains/<your_domain>/bin
oracle@server>./setDomainEnv.sh

3rd Step: Creation of a new WebLogic Server Admin User

oracle@server>cd $MW_HOME/user_projects/domains/<your_domain>/security

# the first value after the command "java weblogic.security.utils.AdminAccount"
# is the new username
# the second value is the password for the new Admin User
# IMPORTANT !!! After the password value you must place a "." (dot) !!!!
# This command will update the DefaultAuthenticatorInit.ldift
# configuration file

oracle@server>java weblogic.security.utils.AdminAccount myadmin oracle11g .
4th Step: Delete the file DefaultAuthenticatormyrealmInit.initialized

oracle@server>cd $MW_HOME/user_projects/domains/<your_domain>/servers/AdminServer/data/ldap
oracle@server>rm DefaultAuthenticatormyrealmInit.initialized

5th Step: Startup the WebLogic Server

# Depending if you are using a boot.properties file
# you must choose between the two following options
# a) Without boot.properties configuration file

oracle@server>cd $MW_HOME/user_projects/domains/<your_domain>/bin
oracle@server> ./startWebLogic.sh <your_domain>

# Here you will be prompted for your WebLogic Server Admin User and his Password
# Use now your newly created Admin User

# b) With a configured boot.properties configuration file
# Remove your boot.properties configuration file

oracle@server>cd $MW_HOME/user_projects/domains/<your_domain>/servers/AdminServer/security
oracle@server>rm boot.properties

# Startup your WebLogic Server

oracle@server>cd $MW_HOME/user_projects/domains/<your_domain>/bin
oracle@server> ./startWebLogic.sh

# Here you will be prompted for your WebLogic Server Admin User and his Password
# Use now your newly created Admin User

6th Step: Login to your WebLogic Server Console with your newly created Admin User and change the password of the original WebLogic Server Admin User "weblogic"
# Navigate to "Security Realms"
# There you'll see two Admin Users: weblogic and your newly created Admin User
# Change the password of the user weblogic

7th Step (optionally): If you was using a boot.properties configuration file before, you must recreate it with the new values for the Admin User and the reseted password
分享到:
评论

相关推荐

    weblogic 认证拒绝 Authentication for user denied

    NULL 博文链接:https://vernonchen163.iteye.com/blog/1995514

    Weblogic安装配置图解

    Weblogic安装,domain创建,数据连接池配置

    Decrypt_Weblogic_Password-master.zip

    WebLogic Server是由Oracle公司提供的一个企业级应用服务器,它用于部署和管理各种企业应用程序。在WebLogic的安全配置中,管理员通常会为用户和系统角色设置强密码,这些密码经过加密存储,以保护敏感信息。本资源...

    Spring 2_5_x and WebLogic Server 10_3 Integration.mht

    Since then, we have certified further versions of Spring and WebLogic Server culminating in the combination of WebLogic Server 10.3 against Spring 2.5.3. Both these versions represent further ...

    weblogic 8 adminguide

    《WebLogic Server 8.1配置与管理指南》:深入解析关键知识点 一、WebLogic Server概述 WebLogic Server是美国BEA Systems公司(后被Oracle收购)开发的一款高性能、可伸缩的企业级Java应用服务器。它基于Java平台...

    weblogic和MyEclipse集成配置

    - Admin password: `12345678` - Execution domain root: `D:\BEA\user_projects\domains\domain` - Execution server name: `AdminServer` - Security policy file: `C:\Oracle\Middleware\wlserver_10.3\...

    Weblogic的安装与配置

    props=user=db2admin;password=db2admin ``` 在配置好 weblogic.properties 文件后,通过 StartWebLogic.sh 脚本文件启动服务,即可使用 Weblogic 应用服务器。 需要注意的是,在生产环境中,需要根据实际情况配置...

    weblogic傻瓜式安装教程

    Setting this to true and providing empty string for MyOracleSupport username will ignore the Oracle Configuration Manager configuration DECLINE_SECURITY_UPDATES=true ``` #### 四、安装WebLogic ...

    weblogic+myeclipse配置!

    - **Admin password**: WebLogic管理员密码,例如:12345678。 - **Execution domain root**: WebLogic域的根目录,例如:D:BEAuser_projectsdev。 - **Execution domain name**: 域名称,例如:dev。 - **...

    J2EE6 and weblogic

    - **管理工具**: 提供了丰富的管理工具,如WebLogic Admin Console,便于系统的监控和管理。 综上所述,J2EE6通过一系列的改进和新特性,使得企业级应用的开发变得更加简单高效;而WebLogic 12c作为其强大的支撑...

    weblogic集群配置方法-具体实施步骤

    java weblogic.Deployer -adminurl t3://localhost:7001 -user weblogic -password weblogic -deploy -upload -name mgmt_server1 -target mgmt_server1 -source /path/to/wls.AdminServer.zip ``` 重复以上命令,但...

    myeclipse+weblogic安装配置

    - 通过“开始”菜单找到并运行`Start Admin Server for Weblogic Server Domain`来检查服务器是否启动成功。 #### 二、MyEclipse中配置WebLogic 接下来是关于如何在MyEclipse中配置WebLogic的步骤,确保MyEclipse...

    weblogic监控 weblogic调优 weblogic版本区别 weblogic启动关闭脚本

    WebLogic Server是一款由Oracle公司开发的企业级Java应用服务器,它为构建、部署和管理企业级Java应用程序提供了全面的平台。本文将深入探讨WebLogic的监控、调优、不同版本之间的区别以及启动和关闭脚本的使用。 ...

    myeclips+weblogic文档配置

    - 运行`开始 -&gt; 程序 -&gt; BEA Products -&gt; User Projects -&gt; mydomain -&gt; Start Admin Server for Weblogic Server Domain`,检查服务器是否启动成功。 ##### 2. 配置MyEclipse连接WebLogic 9.2 - 打开MyEclipse,...

    weblogic12c 安装包 fmw_12.2.1.2.0_wls_Disk1_1of1.zip

    本安装包`fmw_12.2.1.2.0_wls_Disk1_1of1.zip`包含了WebLogic Server的基础组件和相关工具。 首先,让我们深入了解WebLogic Server的核心概念和特点: 1. **Java EE支持**:WebLogic Server是Java EE(Enterprise ...

    MyEclipse + Weblogic的配置

    - **设置路径和参数**:配置`BEA home directory`、`WebLogic installation directory`、`Admin username`、`Admin password`、`Execution domain root`、`Execution server name`、`Security policy file`以及`...

    weblogic API FOR [weblogic.jar]

    1. `weblogic.management.AdminService`:提供与WebLogic Server进行交互的基本接口,如获取服务器状态、执行管理操作等。 2. `weblogic.management.Deployer`:用于部署、更新和卸载应用程序。 3. `weblogic....

    CentOS 6.3安装配置Weblogic 10

    [root@admin /]# chown -Rf weblogic:weblogic /usr/local/weblogic/ ``` 然后,以root权限切换到`/usr/local`目录,并给`.bin`安装文件赋予执行权限: ```bash [root@admin /]# cd /usr/local [root@admin local]...

Global site tag (gtag.js) - Google Analytics