Weblogic的boot.properties文件位置变了

从10.3.2版本开始,Oracle Weblogic Server的boot.properties文件不再位于域目录下,而是每个实例的security目录下。此变化导致无法在不登录的情况下启动服务器。解决方案包括使用-Dweblogic.system.BootIdentityFile选项指定文件位置,或者在DOMAIN_HOME/servers/服务器名/security目录下放置文件。更多详情可参考官方文档。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

从10.3.2之后boot.properties文件不再位于域目录下,而是每个实例目录下的security目录下.

以下来自Metalink:

 

WebLogic 10.3.2 Servers Are Not Reading boot.properties File Inside DOMAIN Directory [ID 1069324.1]

  修改时间 07-JUL-2011     类型 PROBLEM     状态 PUBLISHED 

 

In this Document
  Symptoms
  Cause
  Solution
  References


 

Applies to:

Oracle Weblogic Server - Version: 10.3.2 to 10.3.3
Oracle Weblogic Server - Version: 10.3.2 to 10.3.2]
Information in this document applies to any platform.
This document is application for WebLogic 11gR1 10.3.2

Symptoms

This document provides information about using boot.properties in WebLogic 11gR (10.3.2) or later.

Placing the boot.properties file under the domain file no longer allows starting the server without login.

In earlier versions (before 10.3.2) of WebLogic, one can put boot.properties file with plain text of username/password under the domain folder to avoid having to input username/password every time during a server startup. And the original plain text would also be encrypted after the startup.

Cause

This behavior is not seen by default from 10.3.2 due to design change. If you would like to put boot.properties file somewhere to startup weblogic server without prompting for username/password, there are two choices.

Solution

First, use -Dweblogic.system.BootIdentityFile option inside the WebLogic start script to set the location of the boot.properties file (The file name is customizable).

Second, if -Dweblogic.system.BootIdentityFile is not specified, by default the server instance during bootup process will look for boot.properties file inside DOMAIN_HOME/servers/X/security directory. ( X is the server name).
(这里metalink写成了DOMAIN_HOME/servers//security directory. (  is the server name).
本人作了修改)

For more details on how to use the parameter -Dweblogic.system.BootIdentityFile, please refer to Oracle Fusion Middleware Managing Server Startup and Shutdown for Oracle WebLogic Server 11g Release 1 (10.3.1), Chapter 2: Starting and Stopping Servers, Section: "How a Server Uses a Boot Identity File at Startup" (click here).

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值