<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Tobias,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you for your quick response!&nbsp; I plugged away at it for about 8 hours today and got closer, but still no joy.&nbsp; No exceptions are thrown in the logs; however, I get an "Invalid/unknown response from the server" when I select "Click here to get test wiki"&nbsp; BTW I switched to the "test" ontology found on the attempto site and adjusted the web.xml accordingly in order to minimize problems (or so I thought).</DIV>
<DIV>&nbsp;</DIV>
<DIV>My efforts included:&nbsp; 1)&nbsp; placing all the jar files for prolog in the Tomcat's root directory(%TOMCAT_HOME%\); 2) placing the jpl.dll file path in the PATH environment variable; 3) building of the acewikiapp with ANT;&nbsp;4) replacing the jpl.jar file in the WEB-INF\lib folder with the file from SWI Prolog and rebuilding with ANT; 5) downloading the latest version of Prolog and installed it at c:\pl; 6) placing the exported ACE files from the "test" ontology into the tomcat root directory (%TOMCAT_HOME%\data\test\&lt;4files&gt;"</DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">&nbsp;</DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">I would appreciate any additional suggestions you may have.&nbsp; Thanks again in advance for your help.</DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">&nbsp;</DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">R/</DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">Scott Laser<BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Tobias Kuhn &lt;t.kuhn@gmx.ch&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Scott Laser &lt;scottlas@yahoo.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> "attempto@lists.ifi.uzh.ch" &lt;attempto@lists.ifi.uzh.ch&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, May 15, 2009 11:22:04 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Attempto] Ace Wiki Installation<BR></FONT><BR>Hi Scott,<BR><BR>If you give your ontology the name "JCOA_Study_Results" then the numbered files exported from the ACE View Protege plugin have to be placed in ".../data/JCOA_Study_Results/" where "..." is the home directory of your web server process.<BR><BR>I hope that this solves the problem. Let me know whether it works out.<BR><BR>Furthermore, you should find the log files "JCOA_Study_Results.log" and "syst.log" in ".../logs/".<BR><BR><BR>Tobias<BR><BR><BR>Scott Laser
 wrote:<BR>&gt; Hi!<BR>&gt; <BR>&gt; I am setting up the Ace Wiki with the following configuration:<BR>&gt; <BR>&gt; Windows XP<BR>&gt; Tomcat 5.5<BR>&gt; JRE 1.5_16<BR>&gt; <BR>&gt; I placed the numbered files exported from Protege into a subfolder of &amp;quot;webapps/acewiki&amp;quot; called &amp;quot;StudyResults&amp;quot;.<BR>&gt; <BR>&gt; My web.xml file looks like:<BR>&gt; <BR>&gt; <BR>&gt; &amp;lt;web-app&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; This text shows up as the title of the browser window<BR>&gt;&nbsp; --&amp;gt;<BR>&gt;&nbsp; &amp;lt;display-name&amp;gt;AceWiki Test&amp;lt;/display-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;!-- Parameters --&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; In order to run AceWiki, SWI Prolog needs to be installed on the server. With this parameter,<BR>&gt;&nbsp; &nbsp; you should specify the name (and if necessary the path) of your SWI Prolog executable.
 However,<BR>&gt;&nbsp; &nbsp; it seems that it works also if a wrong name is given. So, I am not sure whether this has any<BR>&gt;&nbsp; &nbsp; effect at all.<BR>&gt;&nbsp; --&amp;gt;<BR>&gt;&nbsp; &amp;lt;context-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;param-name&amp;gt;prologcommand&amp;lt;/param-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;param-value&amp;gt;D:\Program Files\pl\swipl&amp;lt;/param-value&amp;gt;<BR>&gt;&nbsp; &amp;lt;/context-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; AceWiki needs the program &amp;quot;ape.exe&amp;quot; that can be compiled from the APE package that is available<BR>&gt;&nbsp; &nbsp; on the Attempto download page. This parameter defines the name (should always be &amp;quot;ape.exe&amp;quot;) and<BR>&gt;&nbsp; &nbsp; the path of the executable. The path can be omitted if the executable is located in the home<BR>&gt;&nbsp; &nbsp; directory of the servlet container service.<BR>&gt;&nbsp;
 --&amp;gt;<BR>&gt;&nbsp; &amp;lt;context-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;param-name&amp;gt;apecommand&amp;lt;/param-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;param-value&amp;gt;D:\Downloads\attempto\ape.exe&amp;lt;/param-value&amp;gt;<BR>&gt;&nbsp; &amp;lt;/context-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;!-- Filters --&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; The Firefox versions 3.0.0 to 3.0.4 have a problem with handling special characters like<BR>&gt;&nbsp; &nbsp; umlauts in a correct way. For that reason, the Echo Web Framework server can crash when such<BR>&gt;&nbsp; &nbsp; characters are entered on the client. The following filter provides a workaround for this<BR>&gt;&nbsp; &nbsp; problem. The problem is fixed in Firefox 3.0.5.<BR>&gt;&nbsp; &nbsp; &amp;lt;filter&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;filter-name&amp;gt;headercontrol&amp;lt;/filter-name&amp;gt;<BR>&gt;&nbsp; &nbsp;
 &amp;lt;filter-class&amp;gt;ch.uzh.ifi.attempto.echocomp.HeaderControlFilter&amp;lt;/filter-class&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;init-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-name&amp;gt;request.reencoding&amp;lt;/param-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-value&amp;gt;UTF-8&amp;lt;/param-value&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;/init-param&amp;gt;<BR>&gt;&nbsp; &amp;lt;/filter&amp;gt;<BR>&gt;&nbsp; &amp;lt;filter-mapping&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;filter-name&amp;gt;headercontrol&amp;lt;/filter-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;url-pattern&amp;gt;*&amp;lt;/url-pattern&amp;gt;<BR>&gt;&nbsp; &amp;lt;/filter-mapping&amp;gt;<BR>&gt;&nbsp; --&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;!-- Servlets --&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; The following is an exemplary servlet definition for an AceWiki instance.<BR>&gt;&nbsp; --&amp;gt;<BR>&gt;&nbsp;
 &amp;lt;servlet&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; &nbsp; The name of the servlet is used as an identifier for the mappings (see below).<BR>&gt;&nbsp; &nbsp; --&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;servlet-name&amp;gt;TestWiki&amp;lt;/servlet-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; &nbsp; This argument points to the servlet class.<BR>&gt;&nbsp; &nbsp; --&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;servlet-class&amp;gt;ch.uzh.ifi.attempto.acewiki.AceWikiServlet&amp;lt;/servlet-class&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; &nbsp; The parameter 'ontology' is mandatory and specifies the name of the ontology. This name is<BR>&gt;&nbsp; &nbsp; &nbsp; used in the URIs of the OWL statements and for the file names on the server. Several servlet<BR>&gt;&nbsp; &nbsp; &nbsp; definitions can refer to the same ontology with the consequence that they access the
 same<BR>&gt;&nbsp; &nbsp; &nbsp; knowledge base.<BR>&gt;&nbsp; &nbsp; --&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;init-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-name&amp;gt;ontology&amp;lt;/param-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-value&amp;gt;JCOA_Study_Results&amp;lt;/param-value&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;/init-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; &nbsp; The 'baseuri' parameter defines the base URI for the OWL statements. The URI for the ontology<BR>&gt;&nbsp; &nbsp; &nbsp; elements (i.e. words) are a concatenation of baseURI + ontologyName + word.<BR>&gt;&nbsp; &nbsp; --&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;init-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-name&amp;gt;baseuri&amp;lt;/param-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-value&amp;gt;http://localhost:8080/acewiki/&lt;/param-value&gt;<BR>&gt;&nbsp; &nbsp;
 &amp;lt;/init-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; &nbsp; The parameter 'title' defines the title that is shown on the main page of the wiki.<BR>&gt;&nbsp; &nbsp; --&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;init-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-name&amp;gt;title&amp;lt;/param-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-value&amp;gt;StudyResults&amp;lt;/param-value&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;/init-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; &nbsp; The parameter 'description' contains the description that is shown on the main page of the<BR>&gt;&nbsp; &nbsp; &nbsp; wiki.<BR>&gt;&nbsp; &nbsp; --&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;init-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-name&amp;gt;description&amp;lt;/param-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-value&amp;gt;This is an AceWiki
 test.&amp;lt;/param-value&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;/init-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; &nbsp; The 'login' parameter defines whether users have to login before they can use the wiki: 'no'<BR>&gt;&nbsp; &nbsp; &nbsp; means no login required; 'nonpw' means that a login is required but without a password; 'pw'<BR>&gt;&nbsp; &nbsp; &nbsp; or 'yes' means that a login with password protection is required (not fully implemented at<BR>&gt;&nbsp; &nbsp; &nbsp; the moment).<BR>&gt;&nbsp; &nbsp; --&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;init-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-name&amp;gt;login&amp;lt;/param-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-value&amp;gt;no&amp;lt;/param-value&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;/init-param&amp;gt;<BR>&gt;&nbsp; &amp;lt;/servlet&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; You can have several servlet definitions
 within the same web.xml file. Uncomment the code below<BR>&gt;&nbsp; &nbsp; to launch a second AceWiki instance. Make sure that you uncomment the respective mapping as<BR>&gt;&nbsp; &nbsp; well.<BR>&gt;&nbsp; --&amp;gt;<BR>&gt;&nbsp; &amp;lt;!--<BR>&gt;&nbsp; &amp;lt;servlet&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;servlet-name&amp;gt;AnotherTestWiki&amp;lt;/servlet-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;servlet-class&amp;gt;ch.uzh.ifi.attempto.acewiki.AceWikiServlet&amp;lt;/servlet-class&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;init-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-name&amp;gt;ontology&amp;lt;/param-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-value&amp;gt;anothertest&amp;lt;/param-value&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;/init-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;init-param&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;param-name&amp;gt;baseuri&amp;lt;/param-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp;
 &amp;lt;param-value&amp;gt;http://attempto.ifi.uzh.ch/acewiki/&lt;/param-value&gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;/init-param&amp;gt;<BR>&gt;&nbsp; &amp;lt;/servlet&amp;gt;<BR>&gt;&nbsp; --&amp;gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &amp;lt;!-- Mappings --&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; The mappings connect url-patterns with the servlets that should be shown when the respective<BR>&gt;&nbsp; &nbsp; URL is requested by the client. This can also be the root directory &amp;quot;/&amp;quot; of the servlet or a<BR>&gt;&nbsp; &nbsp; deeper structure like &amp;quot;/test/app1/&amp;quot;.<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; However, the AceWiki server delay window (that is shown on the client when the server is busy)<BR>&gt;&nbsp; &nbsp; looks for the wait icon &amp;quot;../wait.gif&amp;quot;. This link gets broken when a different structure is used<BR>&gt;&nbsp; &nbsp; unless the picture is copied to the right place. But don't worry too
 much about this because<BR>&gt;&nbsp; &nbsp; the only consequence would be that the wait icon is not shown.<BR>&gt;&nbsp; --&amp;gt;<BR>&gt;&nbsp; &amp;lt;servlet-mapping&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;servlet-name&amp;gt;TestWiki&amp;lt;/servlet-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;url-pattern&amp;gt;/StudyResults/&amp;lt;/url-pattern&amp;gt;<BR>&gt;&nbsp; &amp;lt;/servlet-mapping&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;!--<BR>&gt;&nbsp; &nbsp; Uncomment the mapping below for starting another AceWiki instance. See the commented-out<BR>&gt;&nbsp; &nbsp; servlet definition above.<BR>&gt;&nbsp; --&amp;gt;<BR>&gt;&nbsp; &amp;lt;!--<BR>&gt;&nbsp; &amp;lt;servlet-mapping&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;servlet-name&amp;gt;AnotherTestWiki&amp;lt;/servlet-name&amp;gt;<BR>&gt;&nbsp; &nbsp; &amp;lt;url-pattern&amp;gt;/anothertest/&amp;lt;/url-pattern&amp;gt;<BR>&gt;&nbsp; &amp;lt;/servlet-mapping&amp;gt;<BR>&gt;&nbsp; --&amp;gt;<BR>&gt;&nbsp;
 &amp;lt;/web-app&amp;gt;<BR>&gt; <BR>&gt; When running I plug in: http://localhost:8080/acewiki/StudyResults<BR>&gt; <BR>&gt; I get a few dots then the message &amp;quot;Invalid/unknown response from the server: &amp;quot;&nbsp; and the Tomcat shuts itself down with no errors.<BR>&gt; <BR>&gt; Thank you in advance for your help.<BR>&gt; <BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; _______________________________________________<BR>&gt; attempto mailing list<BR>&gt; <A href="mailto:attempto@lists.ifi.uzh.ch" ymailto="mailto:attempto@lists.ifi.uzh.ch">attempto@lists.ifi.uzh.ch</A><BR>&gt; <A href="https://lists.ifi.uzh.ch/listinfo/attempto" target=_blank>https://lists.ifi.uzh.ch/listinfo/attempto</A><BR>&gt; <BR></DIV></div><br>

      </body></html>