Menu

Starting_DPR

Allan Cunliffe Terry O'Neill

DPR itself is best started using the java 'classpath' option from a command prompt or a desktop shortcut.

Linux and Mac OS X

1. From the command-line, enter:

cd <location_of_dprclient.jar> && java -Xmx256m -cp dprclient.jar:xena.jar:plugins/audio.jar au.gov.naa.digipres.dpr.ui.core.DPRMainGUI

2. Click the Details button

3. In the Connection Details section, enter:

  • Host Name: 127.0.0.1 (or localhost)
  • Port: 5432
  • Database: qf_local
  • Database User Name: postgres
  • Database Password: <password for postgres user>

4. In the User Details section, enter:

  • User name: dpr
  • Password: dpr

Note: The User in this case is distinct from the Database User, however, both are called dpr.

5. Click Logon

Windows

1. From the command-line, change to the location of the dpr\dist folder and enter:

java -Xmx256m -cp dprclient.jar;xena.jar;plugins\audio.jar au.gov.naa.digipres.dpr.ui.core.DPRMainGUI

Note: The java -Xmx switch with a value of 256m. This allocates 256 megabytes of system memory for java heap space. Feel free to make this bigger if you have more memory available.

Note: If DPR ends with an exception with a message of "Could not create Handler for Log File" or "Log file directory could not be created!" you will need to run DPR as an administrator to allow it to write log files. To do this right click on the shortcut for DPR and choose "Run as Administrator" or right click on the shortcut for cmd.exe and choose "Run as Administrator" prior to running the command above.

Result: The DPR Login window is displayed.

2. Click the Details button

3. In the Connection Details section, enter:

  • Host Name: 127.0.0.1 (or localhost)
  • Port: 5432
  • Database: qf_local
  • Database User Name: dpr
  • Database Password: <password for the dpr superuser>

4. In the User Details section, enter:

  • User name: dpr
  • Password: dpr

Note: The User in this case is distinct from the Database User, however, both are called dpr.

5. Click Logon


Related

Wiki: Main_Page

MongoDB Logo MongoDB