Art of BI: OBIEE 11g – Automate Weblogic to Avoid Prompt for Credentials at Start-up

With the introduction of Weblogic as the core application server for OBIEE 11g there are some learning curves thrown at most organizations.  One of those curves is going to be automating the start-up of the managed server or WebLogic Admin server at start up.  This post quickly takes a look at one hiccup that can be quickly overcome when starting up the WebLogic server.

[simage=259,400,y,center]

You may have noticed that when you start the Weblogic Server that you are often prompted for the Weblogic Admin (username/password entered when installing OBI11g or EPM 11.1.2) credentials once the start script begins to run.  This is a security mechanism of WebLogic basically saying that you shouldn’t start up or shutdown the server unless you are a provision users of the default security realm.  This only makes sense, right?

So, if you are trying to automate this start-up process of your app server, how best do you over come this security guard?  Easily enough, you will simply create a file and place it under a specific location in the WebLogic install path, DOMAIN_NAME/servers/SERVER_NAME/security, where DOMAIN_NAME is the name of the directory in which you located the domain and SERVER_NAME is the name of the server (For OBI 11g the AdminServer is all that you need to implement this for). Under the following path is where you would add the file boot.properties:

[FMW_HOME]/user_projects/domains/bifoundation_domain/servers/AdminServer/security

The file will contain two rows each having a name/value pair for username and password respectively.  The name of the file must be called boot.properties.  This is the simplest way to accomplish this.

Another approach would be to use the scripting capability of WebLogic which we won’t discuss here.  Please take a look at some of the references below for product documentation and detailed steps.

References:

Contact Us
Christian Screen
Christian is an innovator in analytics and data warehousing design, best practices, and delivery. With more than fifteenyears of decision support and data warehousing with key experiences at Office Depot HQ, Sierra-Cedar, and Capgemini, he oversees the Oracle Analytics Practice which includes the technical development and delivery of Oracle BI collaboration software, data warehouse solutions, Oracle BI/EPM projects, and packaged analytics solutions at Datavail.

Leave a Reply

Your email address will not be published.
Required fields are marked (*).

1 thought on “Art of BI: OBIEE 11g – Automate Weblogic to Avoid Prompt for Credentials at Start-up”
  1. Omg. I had not considered this this way. I’m book-marking this for later so I can read your other posts. I have a few other web pages to have a look at and stumbled upon this while investigating some info for school.