Monday 27 February 2012

How to Change/Update Password for AIA 11.1.1.4

If you are reading this, then you probably have gone through our previous POST.


When we change or update the weblogic Administrator Password, we need to update the AIA password as well because AIA installation is done on SOA which uses weblogic Password to Connect to SOA Server.

In the Oracle Guide they have mentioned two approaches to change the password.

First one did not work for me.

Let me discuss what actually worked.

Please follow the below steps exactly to successfully change or update the password for AIA:


  1. First, make sure that you have XManager installed if you have a remote server as we will be needing GUI.
  2. Go to the following location:
    AIA_HOME/util/UpdateStore
  3. Run the below command:
    ant -f $AIA_HOME/util/updateStore.xml updateStore -DAdminUsername=weblogic -DAminPassword=<the 'weblogic' user's password>
    Here 
    DAdminUsername is the weblogic Admin username(old username)
    and 
    DAminPassword is the weblogic Admin password(old password)
  4. A GUI window will pop up, there please enter the user id and password and then the XPATH for the password from the AIAInstallProperties.xml (i.e. /properties/fp/server/password)
    When the process is complete you should see the encrypted password in the AIAInstallProperties.xml file:
    <username>weblogic</username>
    <password>[C@29c58e</password>
  5. Repeat step 3 till all the weblogic password's are encrypted in the AIAInstallProperties.xml file.

Please let us know if you face any issues while updating the AIA password.





Wednesday 15 February 2012

How To Change Weblogic Admin User's password

Often we have situation when we want to change the weblogic administrator's password. We give the default password while installation and later it becomes a problem to change it.

This is the situation which we faced in our development server.

Our server setup is such as, we have an Admin Server and three managed server(osb,bam,soa) on it.
It is a single node setup. Domain name is admin_domain

Follow the below steps to change the weblogic password:
  1. Login to the Oracle 11g Adminintration Console with the weblogic username and password,
    Navigate to    Secuity Realms-->myRealms(realm name)-->Migration(tab)-->Export(tab)
    Here please provide a Directory location for “Export Directory on Server:” TextBox (Example: /tmp)
    Click on “Save” button…you will find that in the Directory which you have specified you will get :

    DefaultAuthenticator.dat
    DefaultCredentialMapper.dat
    exportIndex.dat
    XACMLAuthorizer.dat
    XACMLRoleMapper.dat
  2. Now Shut Down all the servers which are running.
  3. Take the backup of Domain Directory.
  4. Navigate to the bin folder in the domain directory. i.e $Middleware_Home/user_projects/domain/admin_domain/bin
  5. Execute setDomainEnv.sh file in the command prompt. Make sure weblogic.jar is present in ClassPath.
  6. Navigate to  $Middleware_Home/user_projects/domain/admin_domain/security.
  7. Just for the safety take the backup of DefaultAuthenticatorInit.ldift file, because in the next step we are going to create new file "DefaultAuthenticatorInit.ldift"
    mv  DefaultAuthenticatorInit.ldift  DefaultAuthenticatorInit.ldift.bkup
  8. In the same directory give the following command :
    java weblogic.security.utils.AdminAccount newAdminUser newAdminPassword .           
    (make sure to give the '.' at the end)
    Here, newAdminUser -->the new user you want instead of weblogic
    newAdminPassword-->the new Password which is required to authenticate the Admin user
  9. Navigate to the  following path $Middleware_Home/user_projects/domain/admin_domain/servers/AdminServer/security. Here update the boot.properties file with the new username and password.
  10. Repeat step 9 for all the managed servers.
  11. Take the backup of the following directory  $Middleware_Home/user_projects/domain/admin_domain/servers/AdminServer/data/
    mv data data_bkup
  12. Time to Start the Admin Server.As we have already made an entry in the boot.properteis file, it will not ask for user name and password.
  13. Login to Admin Console by giving the new user name and password.
  14. Import the users and groups back by navigating to :
     Secuity Realms-->myRealms(realm name)-->Migration(tab)-->Import(tab)

    Provide the folder name (/tmp) where we have stored the above files.
    DefaultAuthenticator.dat
    DefaultCredentialMapper.dat
    exportIndex.dat
    XACMLAuthorizer.dat
    XACMLRoleMapper.dat
  15.  Now Go To,
    Home-->Domain-->Security(tab)
    In the advance section, give the new node manager username and password.
    After successfully completing these steps you should be able to change Weblogic Username's password.
  16. If you have AIA also installed on SOA, you need to follow some additional steps for AIA to change AIA password.
    Will cover that in separate POST.
    Enjoy :)


Wednesday 1 February 2012

Fusion Middleware Administrator Interview Questions


Weblogic Interview Questions:

Based on personal experience we are sharing some of the Interview Questions for Fusion Middleware Adminstration. 
  • What is the difference between 10g and 11g
  • What is the role of mds in fmw
  • What are the main components of fmw and their usage in brief
  • Explain the procedure for installation of ofmw components in a cluster environment
  • What is Node Manager
  • What is Path of Node Manager home and how to start node manager
  • How to know if the node manager is running or not
  • script to connect to the node manager and start the admin and managed servers and print the server status
  • Concept of Server Migration
  • What is the use of Admin Console in a domain
  • How to start the node manager as an operating system service
  • questions on JVM and heap size
  • How to start the admin server from the secondary node in a cluster
  • syntax of nmConnect and nmEnroll
  • What is a SOA composite
  • Path of the server related log files
  • What is synchronus and asynchronus process in BPEL
  • Basic commands in solaris like checking the CPU usage RAM consumption
  • Have you worked on weblogic patching and if yes how does it go on
  • Basic questions on database
  • List the various adapters used
  • What is the difference between Prod mode and Dev mode