Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I forgot my OC4J administrator password.  How can I manually reset the password?

Open

$

\

{ORACLE_HOME}/j2ee/home/config/system-jazn-data.xml

with

a

text

editor.

Find

the

<user>

tag

block

for

oc4jadmin.

Change

the

oc4jadmin's

<credentials>

property

to

(substituting

your

password

for

myNewPassowd):

<credentials>!myNewPassword</credentials>

Be

sure

to

preface

the

password

with

an

!

to

inidcate

that

this

is

a

plain

text

value.

When

completed,

the

oc4jadmin

<user>

should

look

something

like:

Panel
indent
{
Code Block
}
<user>
    <name>oc4jadmin</name>
    <display-name>OC4J Administrator</display-name>
    <guid>E33D5A508AA511DF8F573778FB23EDF8</guid>
    <description>OC4J Administrator</description>
    <credentials>!myNewPassword</credentials>
</user>
{code}

Save

the

changes

and

restart

the

OC4J

server.