GithubHelp home page GithubHelp logo

sling-stanbol's Introduction

Sling-Stanbol

An Apache Sling launcher containing Apache Stanbol and a servlet offering a front-end to the Enhancer to the enhancer services

Compiling

Sling-Stanbol is compiled using maven version 3 or higher. You can download maven from http://maven.apache.org/download.html.

As some of he dependecies are not (yet) available in maven central repository their source is included as git submodules. They are built with the top level maven build.

make sure you have the submodules installed with

git submodule init git submodule update

You can compile sling-stanbol by running mvn install in the directory where this readme file is located.

Important note regarding Webdav

Webdav is broken with the lastest Sling release, so you need to manually downgrade a bundle:

See https://issues.apache.org/jira/browse/SLING-2443, you need to revert org.apache.sling.servlets.resolver to 2.1.0 .

Launching

  • change diretcory to sling-stanbol-launcher/target
  • start the laucher with java -jar sling-stanbol-launcher-1.0-SNAPSHOT.jar
  • You may upload html document (using WebDav for example) and open them in the browser, by adding the ".stanbol" suffix to the URI you should see a page that allows enhancing and editing the resource
  • To try the resource page you may go to http://localhost:8080/slingstanbol/turkey.html.stanbol
  • Try out the enhancer servlet at: http://localhost:8080/stanbol/enhancer

Further Information

sling-stanbol's People

Contributors

retog avatar suatgonul avatar

Stargazers

Muller Helen avatar Dmitry avatar Hendy Irawan avatar  avatar Anuj Kumar avatar  avatar James Stansell avatar Andreas Kuckartz avatar  avatar Alfredo Serafini avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

iks javamuller tml

sling-stanbol's Issues

SlingMainServlet fails to register on first start

During the first launch the SlingMainServlet cannot be registered on thus the main web functionality is not available. The following error is logged:

20.03.2012 08:54:06.827 ERROR [FelixStartLevel] org.apache.sling.engine.impl.SlingMainServlet Cannot register ApacheSling/2.2 (unregistered, Java HotSpot(TM) Server VM 1.6.0_26, Linux 3.0.0-16-generic-pae i386) org.osgi.service.http.NamespaceException: Servlet with alias already registered

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.