Versions Compared

Key

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

...

  • 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 user   Value: fd_admin
    • Name: Password password   Value: <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 options JVM arguments on the server (click on Configurations, server-config, JVM Settings, JVM Options)

...