[Attempto] Installation of local version of ACE view
Eddy Vanderlinden
info at fadyart.com
Sun Apr 26 22:38:42 CEST 2009
Hello Kaarel,
I tried with ports 5123 and 5623 and get the error message:
OWL verbalizer error:
Error accessing OWL->ACE webservice HTTP request failes: HTTP/1.1500
Internal server error.
Is OK:
It is started like this:
owl_to_ace.exe -httpserver -port 5123 = OK
On success it prints out:
"Starting owl_to_ace at port 5123 ..." = OK
The browser shows the expected error on the port's address:
<error type="existence_error(form_data, xml)">_G2139</error> = OK
Kind regards
Eddy Vanderlinden
----- Original Message -----
From: "Kaarel Kaljurand" <kaljurand at gmail.com>
To: "Eddy Vanderlinden" <info at fadyart.com>
Cc: <attempto at lists.ifi.uzh.ch>
Sent: Sunday, April 26, 2009 9:21 PM
Subject: Re: [Attempto] Installation of local version of ACE view
Hi,
On Sun, Apr 26, 2009 at 20:28, Eddy Vanderlinden <info at fadyart.com> wrote:
>
> I get still the error message: OWL verbalizer error
> Error accessing OWL ->ACE
> webservice Connection refused: connect.
> The console shows:
> Several "Add ann axiom: ..." statements
This is an ACE View error message. It means that the OWL->ACE service
is not running, or runs on a different port, or something else went wrong...
> Following .dll files are present in bin:
> cgi
> crypt
> ...
OK, I guess you have all the required libraries.
> The files from your list which are not present:
> files.dll
> libjpl.dll
> rlimit.dll
> streaminfo.dll
> unix.dll
Hopefully, these are not needed.
Note though that you would need libjpl.dll to be able to use
the Attempto Java Packages (i.e. connect from ACE View to ape.exe).
But you don't currently need it for the OWL Verbalizer.
> I tried for the settings in Protégé:
> http://localhost:5123/
This is correct if the OWL->ACE server runs on port 5123.
> and
> http://localhost/service/owl_verbalizer/owl_to_ace
This would work if you have added certain URL rewriting
to your webserver configuration file, which you probably have not done,
so forget about it.
So the question is: did you manage to start the OWL->ACE service?
It is started like this:
$ owl_to_ace.exe -httpserver -port 5123
On success it prints out:
"Starting owl_to_ace at port 5123 ..."
and stays running. You can test it by taking your browser to:
http://localhost:5123/
The browser (use Firefox if possible) should display:
<error type="existence_error(form_data, xml)">_G2704</error>
Now, if all this works, then select "http://localhost:5123/" for the
OWL->ACE service
in the ACE View preferences.
If it didn't work, then try another port number, and change the ACE
View settings
accordingly.
Note that you need to restart this service whenever you reboot your
computer.
So, it makes sense to add the "owl_to_ace.exe -httpserver -port 5123" line
to some Windows startup script. (Once upon a time, there was AUTOEXEC.BAT
for that, but probably not anymore. ;))
Hope this helps,
kaarel
More information about the attempto
mailing list