Weblogic的boot.properties文件位置变了

来源:未知 责任编辑:智问网络 发表时间:2013-09-26 23:50 点击:

从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).
 
 
本文出自 “天下无贼” 博客

    发表评论
    请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
    用户名: 验证码:点击我更换图片
    最新评论 更多>>

    推荐热点

    • dos命令原来也能这样用?允许查找未知子目录指定文件
    •  windows的磁盘操作之八——格式化分区的思考
    • windows篇-第三章 安装和配置DNS服务器
    • windows篇-第二章 安装和配置Web服务器
    • windows篇-第一章 windows server 2008安装和简单配置
    •  windows server 2003断开远程之后自动注销用户
    • Windows服务器下用IIS Rewrite组件为IIS设置伪静态方法
    • Windows 2008 R2 SP1部署WSUS 3.0 SP2
    • Windows 7秘籍揭秘:用“手”写公式

    快速直达

    操作系统导航

    LinuxWindows虚拟机
    网站首页 - 友情链接 - 网站地图 - TAG标签 - RSS订阅 - 内容搜索
    Copyright © 2008-2015 计算机技术学习交流网. 版权所有

    豫ICP备11007008号-1