Versions Compared

Key

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

...

Panel

Configure your Maven settings.xml for Tomcat

If you forgot either the Tomcat manager-script username and/or password, you can find the username and password in the ${CATALINA_HOME}/conf/tomcat-users.xml file.

  1. Open ${user.home}/.m2/settings.xml with a text editor.
  2. In the settings.xml file, find:
    Code Block
    <tomcat.username>script</tomcat.username>
    
    and replace script with the username for the Tomcat manager-script user that you configured when you installed Tomcat.
  3. In the settings.xml file, find:
    Code Block
    <tomcat.password>XXXXXXXX</tomcat.password>
    
    and replace XXXXXXXX with the password for the Tomcat manager-script user that you configured when you installed Tomcat.
  4. When you are satisfied that everything is correct, save your changes.
Panel

Anchor
Configure your Maven settings.xml for Oracle OC4J
Configure your Maven settings.xml for Oracle OC4J

Configure your Maven settings.xml for Oracle OC4J

  1. Open ${user.home}/.m2/settings.xml with a text editor.
  2. In the settings.xml file, find:
    Code Block
    <oc4j.j2eeHome>/path/to/oc4j/j2ee/home</oc4j.j2eeHome>
    
    and replace path/to/oc4j with the path to j2ee/home directory of your installed OC4J standalone server.
  3. In the settings.xml file, find:
    Code Block
    <oc4j.password>XXXXXXXX</oc4j.password>
    
    and replace XXXXXXXX with the password for the oc4jadmin that you configured when you installed the OC4J standalone server.
  4. If you changed the default OC4J administrator name when you installed the OC4J standalone server, find
    Code Block
    <oc4j.username>oc4jadmin</oc4j.username>
    and replace oc4jadmin with your new OC4J administrator user name.
  5. When you are satisfied that everything is correct, save your changes.