Wednesday, October 1, 2008

What to do when oc4jadmin password is forgotten?

I installed 10.1.3.3.2 long time back on my personal laptop but have not used it in a while. I wanted to install 10.1.3.4 and 7.9.5 to check some stuff. When I tried to uninstall 10.1.3.3.2, installer asks for oc4jadmin password and so many of my attempts failed. I did some research on Oracle documentation and found this resource useful.

This is what you need to do reset the password.

1) Stop OC4J, if it is already running.

2) Open system-jazn-data.xml C:\OracleBI\oc4j_bi\j2ee\home\config\

3) Locate Credentials property. It will appear something like {903}4L50lHJWIFGwLgHXTub7eYK9e0AnWLUH=

4) Change the credentials property value to desired password by prefixing the password with !.
!Admin123

5) Start oc4j and the password will be encrypted in the file.

I could uninstall OBIEE with the new password. I will try to download the software over the next week and have the installation done.

7 comments:

johnny said...

Hi Changa,

Were you able to install OBIEE 10.1.3.4 and Oracle BI Apps 7.9.5?
OBIEE 10.1.3.4 works fine and when I install BI apps 7.9.5 on top of OBIEE I cannot login into OBIEE. I had to uninstall everything and again reinstalled OBEE 10.1.3.4. Can you tell me what needs to be done get both OBIEE 10.1.3.4 and BI apps 7.9.5 working on the same machine.

Appreciate your help

JP

Changa said...

We did install OBIEE 10.1.3.4 and 7.9.5 on same machine (Windows & Solaris). Windows XP Professional does not support Informatica 8.1 and DAC 7.9.5 versions. So, you may have to read the documentation to make sure the OS supports the versions you have on your machine.

John Tesson said...

If you are running OC4J in a windows environment you can get the password easily by doing this:
o find OC4JADMIN password in a Windows environment do this:
(1) RIGHT CLICK on Stop OC4J (located in Start > All Programs > Business Intelligence)
(2) In the Stop OC4J properties box click on Shortcut tab
(3) the password is shown in the Target box as part of the shutdown command line. For example: "C:\Program Files\Java\jdk1.5.0_11\bin\java.exe" -jar C:\OracleBI\oc4j_bi\j2ee\home\admin.jar ormi://localhost:23791 oc4jadmin oc4jadmin -shutdown force

Anonymous said...

great solution, the shortcut works perfectly. Thanks for your post.

Harish Meda said...

Great solution... thx a lot buddy...

Anonymous said...

Would this password reset process work if the installation is done by one user and reset has to be done by another.

Anonymous said...

Really Helpful Thank you.........