Starting WLS without typing password

When you configure your WLS domain in production mode, during the startup of the servers (AdminServer, soa_server, bam_server, bpm_server, …), you are prompted to provide credentials:

Official Documentation:

<Oct 19, 2013 3:53:01 PM CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server  Tue Nov 15 08:52:36 PST 2011 1441050 >
<Oct 19, 2013 3:53:03 PM CEST> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:weblogic
Enter password to boot WebLogic server:
<Oct 19, 2013 3:54:22 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Oct 19, 2013 3:54:22 PM CEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>

To avoid this, you can do the following steps:

export MIDDLEWARE_HOME=/data/middleware/mid70/
vi $MIDDLEWARE_HOME/user_projects/domains/mid70_domain/servers/AdminServer/

#The contains, the plain credentials which will be encrypted once you start your server


You can also modified the file: $MIDDLEWARE_HOME/user_projects/domains/mid70_domain/bin/
by providing environment variable

export WLS_USER
export WLS_PW

About Chenda Mok

19 years of hands on experience in software design and development with emphasis on Enterprise Application Integration (EAI), Services Oriented Architecture (SOA) and Identity Management (IDM) solutions. I’m a software engineer, member of the professional service delivery team working for Salesforce. Prior to this, I worked for Oracle as Solution Architect, through SeeBeyond(06/2005), then SUN’s acquisition (04/2009). After my master’s degree in computer science in 1997; I always delivered consulting on architecture, design, implementation on integration’s field. I’m interested in architecture using EAI/SOA/IDM/BPM/Cloud technologies, software development and Java’s related technologies. I may blog about my work/activities at Salesforce, but I do not speak for my employer, past, present or future.
This entry was posted in Administration, Weblogic Server. Bookmark the permalink.