Monday, May 15, 2017

Change Log for PowerAqua (may 15th)

In /var/lib/tomcat7/webapps/poweraqua, change service_properties.xml from:

<?xml version="1.0" encoding="UTF-8"?><CONFIGURATION><PLUGIN_MANAGER>/var/lib/tomcat7/webapps/poweraqua/WEB-INF/aquaplugins</PLUGIN_MANAGER><REPOSITORY><SERVER>127.0.0.1:8080/openrdf-sesame</SERVER><PROXY></PROXY><PORT></PORT><LOGIN></LOGIN><PASSWORD></PASSWORD><PLUGIN_TYPE>sesame2</PLUGIN_TYPE><REPOSITORY_NAME>isp</REPOSITORY_NAME><TYPE>OWL</TYPE></REPOSITORY></CONFIGURATION>

to:

<?xml version="1.0" encoding="UTF-8"?><CONFIGURATION><PLUGIN_MANAGER>/var/lib/tomcat7/webapps/poweraqua/WEB-INF/aquaplugins</PLUGIN_MANAGER><REPOSITORY><SERVER>http://127.0.0.1:8080/openrdf-sesame</SERVER><PROXY></PROXY><PORT></PORT><LOGIN></LOGIN><PASSWORD></PASSWORD><PLUGIN_TYPE>sesame2</PLUGIN_TYPE><REPOSITORY_NAME>isp</REPOSITORY_NAME><TYPE>OWL</TYPE></REPOSITORY></CONFIGURATION>

(note, I might need to use localhost instead of 127.0.0.1)

Also in /var/lib/tomcat7/webapps/poweraqua/indexListInformation/indexbrentweb, change service_properties.xml from:

<?xml version="1.0" encoding="UTF-8"?>
<CONFIGURATION>
<PLUGIN_MANAGER>/var/lib/tomcat7/webapps/poweraqua/WEB-INF/aquaplugins</PLUGIN_MANAGER>
<REPOSITORY>
    <SERVER>127.0.0.1:8080/openrdf-sesame</SERVER>
    <PROXY></PROXY>
    <PORT></PORT>
    <LOGIN></LOGIN>
    <PASSWORD></PASSWORD>
    <PLUGIN_TYPE>sesame2</PLUGIN_TYPE>
    <REPOSITORY_NAME>isp</REPOSITORY_NAME>
    <TYPE>OWL</TYPE>
</REPOSITORY>
</CONFIGURATION>

to:

<?xml version="1.0" encoding="UTF-8"?>
<CONFIGURATION>
<PLUGIN_MANAGER>/var/lib/tomcat7/webapps/poweraqua/WEB-INF/aquaplugins</PLUGIN_MANAGER>
<REPOSITORY>
    <SERVER>http://127.0.0.1:8080/openrdf-sesame</SERVER>
    <PROXY></PROXY>
    <PORT></PORT>
    <LOGIN></LOGIN>
    <PASSWORD></PASSWORD>
    <PLUGIN_TYPE>sesame2</PLUGIN_TYPE>
    <REPOSITORY_NAME>isp</REPOSITORY_NAME>
    <TYPE>OWL</TYPE>
</REPOSITORY>
</CONFIGURATION>

After running the shell script: /var/lib/tomcat7/webapps/poweraqua# ./createLuceneIndex.sh

the following log results:
https://gist.github.com/bshambaugh/d00017026e916d917030628c0ebec7b7

tl;dr: it helped a lot to put http in the server path before 127.0.0.1, so I avoid line 1152 "java.lang.IllegalStateException: unsupported protocol: '127.0.0.1'" in  https://gist.github.com/bshambaugh/c06f3b2b784f47e5a6e123df2ab42fed

./createLuceneIndex.sh also produced the following changes to the MySQL table:


But ontologyindextable is empty :( .



Backup of the ontology on gist: https://gist.github.com/bshambaugh/04581f98faa875e87c96684566de7ad8

Loading PowerAqua at http://localhost:8080/poweraqua/jsp/init.jsp gives:




2 comments:

  1. My guess it is a permissions issue on the folders

    ReplyDelete
  2. I have enjoyed reading your post,it looks very attractive.Thanks for sharing some useful information.Tableau can help anyone see and understand their data.Get Tableau certification from our institute.
    Best tableau training institutes in Bangalore

    ReplyDelete