Thanks Rupert, Sorry we moved this discussion to the Stanbol Client space at GitHub and forget to answer here. I will try to reproduce Martin's problem with a fresh stanbol from 0.12 branch. Probably the problem is related with recent changes in the way stanbol manage http requests.
I will keep you inform. I want to also at the same time refactor the client to prepare it for contribution to the project if the rest of the team agree. Cheers, Rafa El jueves, 13 de febrero de 2014, Rupert Westenthaler < rupert.westentha...@gmail.com> escribió: > HI Martin, > > > > On Tue, Feb 11, 2014 at 11:01 AM, Martin > <bumblebeet...@arcor.de<javascript:;>> > wrote: > > Hi everybody, > > > > after some days of trying to get things to working I must ask you for > > some help. I already opened an issue > > (https://issues.apache.org/jira/browse/STANBOL-1278) but probably this > > mailing list is more appropiate. I hope that I'm not annoying anybody > > with this kind of "double post". If so I'd apologize. > > Thanks for creating this issue. This a on my TODO list for some time > and should be relatively easy to fix. > > > > > I want to use Stanbol via the Stanbol-Client from > > https://github.com/zaizi/apache-stanbol-client/ I know that this project > > is currently not part of the stanbol development but I run into troubles > > building this library because of something that I would call an error > > caused by Stanbol. > > > > The client runs some Unittests and fails. Obviously the local contenthub > > is not included in the build process and I can't figure out why. > > Following the instructions from here > > (http://stanbol.apache.org/docs/trunk/tutorial.html) I get all the > > launchers that I expect but after running the full-jar-launcher the > > /contenthub is not shown on the startpage (http://localhost:8080/). > > If you want to use the Contenthub you need to use the 0.12 branch [1]. > This branch is already in code freeze for the upcoming 0.12.0 release. > > The 1.0.0 trunk currently does not include the content hub as the > original developers of this component are inactive ATM. > > > During the startup process of Stanbol there is a strange error which I > > cannot find in the logs of your project's Jenkins: > > > > ERROR: Bundle org.apache.stanbol.enhancer.engine.topic.web [49]: Error > > starting > > > slinginstall:org.apache.stanbol.enhancer.engine.topic.web-1.0.0-SNAPSHOT.jar > > (org.osgi.framework.BundleException: Unresolved constraint in bundle > > org.apache.stanbol.enhancer.engine.topic.web [49]: Unable to resolve > > 49.0: missing requirement [49.0] package; > > (&(package=javax.ws.rs)(version>=0.0.0)(!(version>=2.0.0)))) > > org.osgi.framework.BundleException: Unresolved constraint in bundle > > org.apache.stanbol.enhancer.engine.topic.web [49]: Unable to resolve > > 49.0: missing requirement [49.0] package; > > (&(package=javax.ws.rs)(version>=0.0.0)(!(version>=2.0.0))) > > at > org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443) > > at org.apache.felix.framework.Felix.startBundle(Felix.java:1727) > > at > org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156) > > at > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) > > > > I don't know whether or not this could be the cause of this problem. > > > > Now this will only prevent you from using the RESTful service to > train Topic Classification models for the Topic Engine. This does not > affect the Contenthub > > > Actually there is a build jar-bundle from the contenthub, located in > > > launchers/bundlelists/contenthub/target/org.apache.stanbol.launchers.bundlelists.contenthub-1.0.0-SNAPSHOT-sources.jar > > so it is not a build error. The integration fails and this is something > > where I hope that you can give me a hint. > > > > By the way: When skipping the client's JUnit tests the build process > > finishes and I get all the results from this library. But after all this > > is bugging me. > > > > I do not have any knowledge about the stanbol client. Maybe Rafa can > help you, as AFAIK he is one of the developers of the same. > > > Any help would be appreciated! Please don't hesitate to demand further > > information when needed. > > > > To sum up: The reason why you are missing the Contenthub is that it is > currently not part of the trunk (1.0.0-SNAPSHOT). Using the 0.12.0 > branch [1] should fix the issue. This has also the advantage that you > can switch to the 0.12.0 release as soon as it is released. > > best > Rupert > > > Thank you in advance and kind regards, > > Martin > > > > > [1] http://svn.apache.org/repos/asf/stanbol/branches/release-0.12/ > > > -- > | Rupert Westenthaler rupert.westentha...@gmail.com<javascript:;> > | Bodenlehenstraße 11 ++43-699-11108907 > | A-5500 Bischofshofen >