Versions Compared

Key

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

...

5. Test the Drupal Servlet Filter

 

Warning

For now we're still working on getting some sort of a command line script that would allow us to test this filter independently of Islandora being already installed, so that we would eliminate this circular reference, however that is not yet available. Keep one eye on this Google Groups thread for updates:  testing the Drupal Servlet Filter?

In the meantime please skip this test until the end of milestone 5 - Installing the Islandora Essential Modules, then return to this point and perform the test.

 

Islandora will test your Fedora connection for you. To verify that the servlet filter is working properly, go to the Islandora configuration page (admin/islandora/configure) and look for the green checkmark. A successful installation will look like this:

Image Removed

An unsuccessful installation will look like this:

Image Removed

If you see this error, there are two possible sources for the failure:

  • You do not have the correct fcrepo-drupalauthfilter-xxxx.jar
  • Your filter-drupal.xml is incorrect or missing

...

This test was developed to verify the database connection(s) defined in filter-drupal.xml files. The script is available at:

https://github.com/mjordan/drupal_filter_validator

To download the Python script and run it, on the server where Fedora is running, issue the following command:
Code Block
# git clone https://github.com/mjordan/drupal_filter_validator
# ./test_db_connection.py $FEDORA_HOME/server/config/filter-drupal.xml

You should see something like this:
Connection 1 - OK: connection to Drupal database successful, and user drupalAdmin has select,insert,update privileges on the users table.
Connection 2 - OK: connection to Drupal database successful, and user drupalAdmin has select,insert,update privileges on the users table.
Connection 3 - OK: connection to Drupal database successful, and user drupalAdmin has select,insert,update privileges on the users table.

If you don't get the a successful set of tests, please retrace your steps.

Create a milestone 3 snapshot backup:

...