<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> </DIV>
<DIV>Thank you for your quick response! I plugged away at it for about 8 hours today and got closer, but still no joy. 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" 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> </DIV>
<DIV>My efforts included: 1) 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; 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\<4files>"</DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"> </DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">I would appreciate any additional suggestions you may have. Thanks again in advance for your help.</DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"> </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 <t.kuhn@gmx.ch><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Scott Laser <scottlas@yahoo.com><BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> "attempto@lists.ifi.uzh.ch" <attempto@lists.ifi.uzh.ch><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>> Hi!<BR>> <BR>> I am setting up the Ace Wiki with the following configuration:<BR>> <BR>> Windows XP<BR>> Tomcat 5.5<BR>> JRE 1.5_16<BR>> <BR>> I placed the numbered files exported from Protege into a subfolder of &quot;webapps/acewiki&quot; called &quot;StudyResults&quot;.<BR>> <BR>> My web.xml file looks like:<BR>> <BR>> <BR>> &lt;web-app&gt;<BR>> &lt;!--<BR>> This text shows up as the title of the browser window<BR>> --&gt;<BR>> &lt;display-name&gt;AceWiki Test&lt;/display-name&gt;<BR>> &lt;!-- Parameters --&gt;<BR>> &lt;!--<BR>> In order to run AceWiki, SWI Prolog needs to be installed on the server. With this parameter,<BR>> you should specify the name (and if necessary the path) of your SWI Prolog executable.
However,<BR>> it seems that it works also if a wrong name is given. So, I am not sure whether this has any<BR>> effect at all.<BR>> --&gt;<BR>> &lt;context-param&gt;<BR>> &lt;param-name&gt;prologcommand&lt;/param-name&gt;<BR>> &lt;param-value&gt;D:\Program Files\pl\swipl&lt;/param-value&gt;<BR>> &lt;/context-param&gt;<BR>> &lt;!--<BR>> AceWiki needs the program &quot;ape.exe&quot; that can be compiled from the APE package that is available<BR>> on the Attempto download page. This parameter defines the name (should always be &quot;ape.exe&quot;) and<BR>> the path of the executable. The path can be omitted if the executable is located in the home<BR>> directory of the servlet container service.<BR>>
--&gt;<BR>> &lt;context-param&gt;<BR>> &lt;param-name&gt;apecommand&lt;/param-name&gt;<BR>> &lt;param-value&gt;D:\Downloads\attempto\ape.exe&lt;/param-value&gt;<BR>> &lt;/context-param&gt;<BR>> &lt;!-- Filters --&gt;<BR>> &lt;!--<BR>> The Firefox versions 3.0.0 to 3.0.4 have a problem with handling special characters like<BR>> umlauts in a correct way. For that reason, the Echo Web Framework server can crash when such<BR>> characters are entered on the client. The following filter provides a workaround for this<BR>> problem. The problem is fixed in Firefox 3.0.5.<BR>> &lt;filter&gt;<BR>> &lt;filter-name&gt;headercontrol&lt;/filter-name&gt;<BR>>
&lt;filter-class&gt;ch.uzh.ifi.attempto.echocomp.HeaderControlFilter&lt;/filter-class&gt;<BR>> &lt;init-param&gt;<BR>> &lt;param-name&gt;request.reencoding&lt;/param-name&gt;<BR>> &lt;param-value&gt;UTF-8&lt;/param-value&gt;<BR>> &lt;/init-param&gt;<BR>> &lt;/filter&gt;<BR>> &lt;filter-mapping&gt;<BR>> &lt;filter-name&gt;headercontrol&lt;/filter-name&gt;<BR>> &lt;url-pattern&gt;*&lt;/url-pattern&gt;<BR>> &lt;/filter-mapping&gt;<BR>> --&gt;<BR>> &lt;!-- Servlets --&gt;<BR>> &lt;!--<BR>> The following is an exemplary servlet definition for an AceWiki instance.<BR>> --&gt;<BR>>
&lt;servlet&gt;<BR>> &lt;!--<BR>> The name of the servlet is used as an identifier for the mappings (see below).<BR>> --&gt;<BR>> &lt;servlet-name&gt;TestWiki&lt;/servlet-name&gt;<BR>> &lt;!--<BR>> This argument points to the servlet class.<BR>> --&gt;<BR>> &lt;servlet-class&gt;ch.uzh.ifi.attempto.acewiki.AceWikiServlet&lt;/servlet-class&gt;<BR>> &lt;!--<BR>> The parameter 'ontology' is mandatory and specifies the name of the ontology. This name is<BR>> used in the URIs of the OWL statements and for the file names on the server. Several servlet<BR>> definitions can refer to the same ontology with the consequence that they access the
same<BR>> knowledge base.<BR>> --&gt;<BR>> &lt;init-param&gt;<BR>> &lt;param-name&gt;ontology&lt;/param-name&gt;<BR>> &lt;param-value&gt;JCOA_Study_Results&lt;/param-value&gt;<BR>> &lt;/init-param&gt;<BR>> &lt;!--<BR>> The 'baseuri' parameter defines the base URI for the OWL statements. The URI for the ontology<BR>> elements (i.e. words) are a concatenation of baseURI + ontologyName + word.<BR>> --&gt;<BR>> &lt;init-param&gt;<BR>> &lt;param-name&gt;baseuri&lt;/param-name&gt;<BR>> &lt;param-value&gt;http://localhost:8080/acewiki/</param-value><BR>>
&lt;/init-param&gt;<BR>> &lt;!--<BR>> The parameter 'title' defines the title that is shown on the main page of the wiki.<BR>> --&gt;<BR>> &lt;init-param&gt;<BR>> &lt;param-name&gt;title&lt;/param-name&gt;<BR>> &lt;param-value&gt;StudyResults&lt;/param-value&gt;<BR>> &lt;/init-param&gt;<BR>> &lt;!--<BR>> The parameter 'description' contains the description that is shown on the main page of the<BR>> wiki.<BR>> --&gt;<BR>> &lt;init-param&gt;<BR>> &lt;param-name&gt;description&lt;/param-name&gt;<BR>> &lt;param-value&gt;This is an AceWiki
test.&lt;/param-value&gt;<BR>> &lt;/init-param&gt;<BR>> &lt;!--<BR>> The 'login' parameter defines whether users have to login before they can use the wiki: 'no'<BR>> means no login required; 'nonpw' means that a login is required but without a password; 'pw'<BR>> or 'yes' means that a login with password protection is required (not fully implemented at<BR>> the moment).<BR>> --&gt;<BR>> &lt;init-param&gt;<BR>> &lt;param-name&gt;login&lt;/param-name&gt;<BR>> &lt;param-value&gt;no&lt;/param-value&gt;<BR>> &lt;/init-param&gt;<BR>> &lt;/servlet&gt;<BR>> &lt;!--<BR>> You can have several servlet definitions
within the same web.xml file. Uncomment the code below<BR>> to launch a second AceWiki instance. Make sure that you uncomment the respective mapping as<BR>> well.<BR>> --&gt;<BR>> &lt;!--<BR>> &lt;servlet&gt;<BR>> &lt;servlet-name&gt;AnotherTestWiki&lt;/servlet-name&gt;<BR>> &lt;servlet-class&gt;ch.uzh.ifi.attempto.acewiki.AceWikiServlet&lt;/servlet-class&gt;<BR>> &lt;init-param&gt;<BR>> &lt;param-name&gt;ontology&lt;/param-name&gt;<BR>> &lt;param-value&gt;anothertest&lt;/param-value&gt;<BR>> &lt;/init-param&gt;<BR>> &lt;init-param&gt;<BR>> &lt;param-name&gt;baseuri&lt;/param-name&gt;<BR>>
&lt;param-value&gt;http://attempto.ifi.uzh.ch/acewiki/</param-value><BR>> &lt;/init-param&gt;<BR>> &lt;/servlet&gt;<BR>> --&gt;<BR>> &lt;!-- Mappings --&gt;<BR>> &lt;!--<BR>> The mappings connect url-patterns with the servlets that should be shown when the respective<BR>> URL is requested by the client. This can also be the root directory &quot;/&quot; of the servlet or a<BR>> deeper structure like &quot;/test/app1/&quot;.<BR>> However, the AceWiki server delay window (that is shown on the client when the server is busy)<BR>> looks for the wait icon &quot;../wait.gif&quot;. This link gets broken when a different structure is used<BR>> unless the picture is copied to the right place. But don't worry too
much about this because<BR>> the only consequence would be that the wait icon is not shown.<BR>> --&gt;<BR>> &lt;servlet-mapping&gt;<BR>> &lt;servlet-name&gt;TestWiki&lt;/servlet-name&gt;<BR>> &lt;url-pattern&gt;/StudyResults/&lt;/url-pattern&gt;<BR>> &lt;/servlet-mapping&gt;<BR>> &lt;!--<BR>> Uncomment the mapping below for starting another AceWiki instance. See the commented-out<BR>> servlet definition above.<BR>> --&gt;<BR>> &lt;!--<BR>> &lt;servlet-mapping&gt;<BR>> &lt;servlet-name&gt;AnotherTestWiki&lt;/servlet-name&gt;<BR>> &lt;url-pattern&gt;/anothertest/&lt;/url-pattern&gt;<BR>> &lt;/servlet-mapping&gt;<BR>> --&gt;<BR>>
&lt;/web-app&gt;<BR>> <BR>> When running I plug in: http://localhost:8080/acewiki/StudyResults<BR>> <BR>> I get a few dots then the message &quot;Invalid/unknown response from the server: &quot; and the Tomcat shuts itself down with no errors.<BR>> <BR>> Thank you in advance for your help.<BR>> <BR>> <BR>> _______________________________________________<BR>> attempto mailing list<BR>> <A href="mailto:attempto@lists.ifi.uzh.ch" ymailto="mailto:attempto@lists.ifi.uzh.ch">attempto@lists.ifi.uzh.ch</A><BR>> <A href="https://lists.ifi.uzh.ch/listinfo/attempto" target=_blank>https://lists.ifi.uzh.ch/listinfo/attempto</A><BR>> <BR></DIV></div><br>
</body></html>