Versions Compared

Key

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

Requirements 

...

./glassfish-3.1.2.2-unix.sh -j $JAVA_HOME

  • Follow the install dialog to complete the base GlassFish install
    • When prompted, recommend setting DOMAIN NAME to fddomain
  • Download the ADF Essentials 12.1.3 from this link:

...

  • Unzip the file to a temporary location: unzip -j adf-essentials.zip -d /oracle/adf
  • Copy all of the files from /oracle/adf to the $GLASSFISH_HOME/glassfish/domains/$DOMAINNAME/lib directory.
  • From the extracted zip directory, navigate to the GlassFish directory and locate these directories:
    • lib
    • modules
  • Copy the files (do not copy the lib folder itself) in the lib directory to $GLASSFISH_HOME/glassfish/domains/$DOMAINNAME/lib
  • Copy the files (do not copy the modules folder itself) in modules directory to $GLASSFISH_HOME/glassfish/modules
  • Start glassfish:
    • cd $GLASSFISH_HOME/glassfish/bin
    • asadmin
    • start-domain $DOMAIN_NAME
    • Set GLASSFISH_HOME to the install location of glassfish
    • Set DOMAIN_NAME to the name of your domain (like fddomain)
  • Login into GlassFish Administration Console (http://hostname:4848)
  • Create Data Source
    • Go to Resources – JDBC - JDBC Connection Pools
      • Set following values, then next
      • Pool Name: FlexDBDSPool
      • Resource Type: javax.sql.DataSource
      • Database Driver Vendor: Oracle
      • Scroll down to properties
      • Set the following values, then Save
      • Name: URL Value: jdbc URL for database
      • Name: User Value: fd_admin
      • Name: PasswordValue: <password for fd_admin>
      • Go to General tab and then Save
    • Go to Resources – JDBC - JDBC Resources
      • Set following values, then Save
      • JNDI Name: jdbc/flexdbDS
      • Pool Name: FlexDBDSPool
  • Add the following JVM arguments on the server (click on Configurations, server-config, JVM Settings, JVM Options)
    • -verbose:gc -Xms1024m -Xmx2048m -Dflexagon.fd.install.root=/prod/flexdeploy -Dflexagon.fd.repository.root=/prod/repository -Doracle.jdbc.autoCommitSpecCompliant=false -Doracle.mds.cache=simple
    • NOTE: be careful in copying arguments due to potential character changes.
    • Please make sure to modify the arguments for Server working directory (-Dflexagon.fd.install.root) and Artifacts repository (-Dflexagon.fd.repository.root) as per your installation.
  • Setup Logger Configurations.
    • From the extracted zip directory, navigate to the GlassFish directory and locate this file:
      • FDGlassFishLogFormatter.jar
    • Copy the FDGlassFishLogFormatter.jar to the lib sub-directory of the domain.

...