---
title: "weblogic生产模式启动不需要每次输入用户名和密码"
author: "icourses"
date: "2013-05-16T20:38:12Z"
tags: []
categories: ["操作系统"]
slug: "weblogic"
draft: false
lastmod: "2013-05-16T20:38:12Z"
id: 1870578
url: "https://icourses.iteye.com/blog/1870578"
---

如果后台启动，还是要指定用户名和口令的，所以在应用的目录（startWebLogic.sh所在的目录），增加boot.properties文件，内容为：

username=weblogic

password=weblogic

启动weblgoic后，这个文件会被加密的。同时加密后的文件会被cache到servers/AdminServer/security目录，所以如果修改口令后，记得要先清空一下cache的文件。