Versions Compared

Key

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

...

Panel

Quick Links to:

Table of Contents
minLevel3

...

How can I easily download the source jars for third-party jars?


A. Answer: From the command line, go to the directory containing the project pom file. Then issue this command:

Code Block
mvn dependency:sources

...


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


Answer A.

indent
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:
{code}
<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.