Hi René

Based on the Error you are getting I assume that you tried to install
the Topic Engine to the stable launcher. I am able to reproduce this
and I do also know the reason for that. But more on that later.

To workaround that issue I ask you to use the full launcher instead
(you will need to use the "-XX:MaxPermSize=256M").


The reason why it does not work with the Stable launcher is that
somehow during the changes of the POM files related to the graduation
of Stanbol (STANBOL-747) all SNAPSHOT dependencies of the stable
launcher where removed. What I guess (based on the SVN history is that

    {stanbol-module}-{version}-incubating-SNAPSHOT.jar

was changed to

    {stanbol-module}-{version}-incubating.jar

instead of

    {stanbol-module}-{version}-SNAPSHOT.jar

As those changes where committed by Fabian and there are also a lot of
other changes it would be best if Fabian could have a look at his
changes in revision 1389314.

As soon as the Stable Launcher does again use the most current
SNAPSHOT dependencies the topic engine should again run fine also in
the stable launcher.

best
Rupert


On Sun, Oct 7, 2012 at 3:20 PM, Rene Nederhand <[email protected]> wrote:
> Hi,
>
> Now that I have Stanbol up and running, I'd like to do some tests to see
> the capabilities of Stanbol.
>
> I am trying to follow the tutorial at the IKS ReviewMeeting
> [1].<http://dl.dropbox.com/u/5743203/IKS/ReviewMeeting2012/Topic-Classification.pdf>
>
> However, doing:
>
> cd ~/stanbol/enhancer/engines/topic
> mvn install -DskipTests -PinstallBundle -Dsling.url=
> http://localhost:8080/system/console
>
> gives me an error:
>
> ERROR: Bundle org.apache.stanbol.enhancer.engine.topic [147]: Error
> starting
> inputstream:org.apache.stanbol.enhancer.engine.topic-0.10.0-SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.stanbol.enhancer.engine.topic [147]: Unable to resolve 147.3:
> missing requirement [147.3] package;
> (&(package=org.apache.commons.compress.archivers)(version>=1.4.1)))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.stanbol.enhancer.engine.topic [147]: Unable to resolve 147.3:
> missing requirement [147.3] package;
> (&(package=org.apache.commons.compress.archivers)(version>=1.4.1))
> 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)
> at java.lang.Thread.run(Thread.java:679)
>
> As it seems commons-compress is not included. So, I thought I add this to
> the pom.xml in stanbol/enhancer/engines/topic:
>
>     <!-- Normal build dependencies -->
>     <dependency>
>        <groupId>org.apache.commons</groupId>
>        <artifactId>commons-compress</artifactId>
>        <version>1.4.1</version>
>     </dependency
>
> mvn install -PinstallBundle  -Dsling.url=
> http://localhost:8080/system/console
>
> This does *NOT* solve the problem.
>
> I get a similar problem, when I continue to the next step in the tutorial
> (installing topic-web) with freemarker.cache.
>
> Am I doing something wrong?
>
> Best wishes,
>
> René Nederhand
>
>
> [1]
> http://dl.dropbox.com/u/5743203/IKS/ReviewMeeting2012/Topic-Classification.pdf



-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to