patch for running Semantic Turkey offline

8 views
Skip to first unread message

Armando Stellato

unread,
Oct 9, 2015, 1:53:24 PM10/9/15
to semantict...@googlegroups.com, vocbench-user, semanticturk...@googlegroups.com

Dear SemanticTurkey breeders and VocBenchers,

 

Some of you might have noticed that when the Karaf server hosting Semantic Turkey is started for the first time in a machine not connected to the internet, the ST service does not start.

 

The reason is due to some dependencies being skipped by the build mechanism. Despite these dependencies are missing from the initial build, they are still resolved at runtime by the system itself, which recursively inspects the karaf feature files and downloads them (and their listed resources) from the Web: that’s why the system works seamlessly when connected to the Web.

 

However, running the server in a private LAN is a requirement in many scenarios. Users of VB especially need to have their ST server isolated in their LAN, and keep only the VB service exposed to the Web.

 

One unorthodox solution is to run the server in a web-connected system, so that it downloads everything, and then move the “enriched” package into the protected environment.

 

However, Manuel Fiorelli has developed a program for detecting missing dependencies based on the ones actually available in the cache of the system (after it has been connected and all the dependencies have been loaded), and he has then prepared a patch with the missing bundles.

 

The patch is available on the bitbucket site of Semantic Turkey:

 

https://bitbucket.org/art-uniroma2/semantic-turkey/downloads/semanticturkey-0.11-system-patch.zip

 

the content of the zip file must be deployed inside the “system” directory of Karaf, before running it.

 

We will soon also publish the above mentioned missing-dependency-detection program as a separate project, as it might be of interest in other scenarios.

 

Cheers,

 

Armando

 

P.S: stay tuned for the next version of Semantic Turkey! 0.12 is coming, with a completely revamped Resource Editor, providing OWL axiom editing, improved SKOS-XL Management and Linked Open Data navigation!

Reply all
Reply to author
Forward
0 new messages