Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 2.36 KB

SLAP_troubleshooting.md

File metadata and controls

40 lines (31 loc) · 2.36 KB

SLAP troubleshooting

How to diagnose and correct problems when SLAP malfunctions. That is, the web app http://cheminfov.informatics.indiana.edu:8080/slap.

  1. SLAP the web app depends on Tomcat, Apache-HTTPD, and Postgresql.
    Are these services running? Restarting services may correct problem.
  2. Note that SLAP does not depend on Virtuoso [right?].
  3. The web app depends on the SLAP REST API, as documented at http://slapfordrugtargetprediction.wikispaces.com/API. Test the REST API. Example URLs:
  1. If the SLAP REST API does work, perhaps the Tomcat web app itself is the problem. Restart Tomcat. If needed, the files are in /usr/share/tomcat5/webapps/slap/.
  2. If the SLAP REST API does not work, try some other REST requests. These use Apache-HTTPD (port 80). If these fail the problem could be Apache-HTTPD.
  1. Note that REST API testing can be done via various clients (wget, curl, browsers). It seems that error messages are sometimes client dependent, and browsers show mod_python errors which wget does not.
  2. The REST API depends on Python programs which can be run locally (http://slapfordrugtargetprediction.wikispaces.com/SLAP+interfaces). Files are in /var/www/html/rest/Chem2Bio2RDF/slap/.
  3. Please do not make any irreversible changes! Document any changes.

Packages used by SLAP

Package Description
Apache HTTPD webserver
Apache Tomcat Java servlet container
JME Java Molecular Editor (applet)
JQuery JavaScript library
CytoscapeWeb Flash plugin for network visualization
CDK Cheminfo Java kit used by webapp (maybe)
BioJava Java kit used by webapp (maybe)
Blast Used by webapp (maybe)
R Used by webservice (previous to May 2014)
Virtuoso (Not used by SLAP at runtime, I think. However, dir exists at /var/www/html/rest/Chem2Bio2RDF/slap/virtuoso.
C++ (or maybe other compiled language) See compiled binary executables in /var/www/html/rest/Chem2Bio2RDF/slap: findPath_m, pathfinder_m,(maybe not needed, see pathfinder\_m.py), PreProcess (maybe not needed)
Psycopg2 Python API for Postgres

Jeremy Yang May 22, 2014