Hi Rupert!

Thank you very much for your answer. I'm very hopeful to get things
running with your help :)

Am 13.02.2014 09:47, schrieb Rupert Westenthaler:
> On Tue, Feb 11, 2014 at 11:01 AM, Martin <bumblebeet...@arcor.de> wrote:
>> 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)
> 
> Thanks for creating this issue. This a on my TODO list for some time
> and should be relatively easy to fix.

You're welcome. Sounds good to me. Please write back if I can support you!

>> 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.

As you later suggest I already contacted Rafa who has already replied
here and on Github, too. I got v0.12 running but ran into other problems
which I guess are caused on the client's side and not at the Stanbol
server. I come back to this later...

>> 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

Since exactly yesterday *:)* it seems as if I could really use the Topic
Classification, too, which means that I will be using the ContentHub
too. But thank you for pointing this out. Actually Rafa suggested on
Github [2] to use the version 0.12. This seems to be working fine on the
client side.

May I advise to give a hint on the project's page that the current
version is located in a branch? Maybe I'm not the only one who gets
trapped by using v1.00?

>> 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.

Yes, he has already answered me :)


> 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.

Thank you for this summary. Maybe it will help other users, too.

Oh, one question: is this the appropriate list to ask questions on the
Topic Classifier, too? Of course in a separate thread. I'm afraid that I
will be running into problems here, too :/

Kind regards,
Martin


> [1] http://svn.apache.org/repos/asf/stanbol/branches/release-0.12/
[2] https://github.com/zaizi/apache-stanbol-client/issues/3


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to