You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Anuj Kumar <an...@gmail.com> on 2011/05/12 03:31:06 UTC

How to get started?

Hello Everyone,

I am getting started with Stanbol project. I have checked out Stanbol and
built the code base. I got few test failures-

Failed tests:

testSingleFile(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)

testFolderWithoutProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)


testFolderWithProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)

Tests run: 8, Failures: 3, Errors: 0, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.

Is there any documentation available to get started and try out few use
cases?

Thanks,
Anuj

Re: How to get started?

Posted by Anuj Kumar <an...@gmail.com>.
Thanks Fabian. This will be of great help.

Regards,
Anuj

On Fri, Jun 24, 2011 at 2:51 PM, Fabian Christ
<ch...@googlemail.com> wrote:
> Hi Anuj,
>
> 2011/6/23 Anuj Kumar <an...@gmail.com>:
>> What is the best way to integrate my existing pieces with Stanbol? As
>> far as I can make out, I need to write one or more engines that get
>> hold of uploaded/posted content and then call my annotation service to
>> get the annotations.
>>
>> Is that the right way to go? Also, if there is any documentation on
>> how to create the engines, where to specify the details, etc. that
>> will help to get started faster. If it isn't in-place yet, are there
>> any unit tests for the same?
>
> Yes that would be the way to go. Unfortunately, there is not much
> documentation but there are some existing engines in Stanbol that may
> be useful as a starting point. We have some documents from the IKS
> project and the "FISE" component [1] which has moved to Stanbol and is
> now called the "Stanbol Enhancer". Maybe this helps as the interfaces
> haven't changed much (or not at all).
>
> [1] http://wiki.iks-project.eu/index.php/FISE
>
> Best,
>  - Fabian
>

Re: How to get started?

Posted by Fabian Christ <ch...@googlemail.com>.
Hi Anuj,

2011/6/23 Anuj Kumar <an...@gmail.com>:
> What is the best way to integrate my existing pieces with Stanbol? As
> far as I can make out, I need to write one or more engines that get
> hold of uploaded/posted content and then call my annotation service to
> get the annotations.
>
> Is that the right way to go? Also, if there is any documentation on
> how to create the engines, where to specify the details, etc. that
> will help to get started faster. If it isn't in-place yet, are there
> any unit tests for the same?

Yes that would be the way to go. Unfortunately, there is not much
documentation but there are some existing engines in Stanbol that may
be useful as a starting point. We have some documents from the IKS
project and the "FISE" component [1] which has moved to Stanbol and is
now called the "Stanbol Enhancer". Maybe this helps as the interfaces
haven't changed much (or not at all).

[1] http://wiki.iks-project.eu/index.php/FISE

Best,
  - Fabian

Re: How to get started?

Posted by Anuj Kumar <an...@gmail.com>.
Hi Rupert,

It's late but yes, I moved to my Linux machine and I am able to build
the trunk now. I am able to start the instance and its all fine. My
next question is about integration of my existing annotators, tdb
instance and solr indexes.

What is the best way to integrate my existing pieces with Stanbol? As
far as I can make out, I need to write one or more engines that get
hold of uploaded/posted content and then call my annotation service to
get the annotations.

Is that the right way to go? Also, if there is any documentation on
how to create the engines, where to specify the details, etc. that
will help to get started faster. If it isn't in-place yet, are there
any unit tests for the same?

Thanks,
Anuj

On Sat, May 14, 2011 at 12:53 AM, Rupert Westenthaler
<ru...@gmail.com> wrote:
> Hi
>
> Based on the log the Error is related to
> "https://issues.apache.org/jira/browse/CLEREZZA-518" (see also [1])
> and is already resolved.
>
> Please make sure that you update the the "ext.com.ibm.icu" bundle of
> Apache Clerezza.
> This should resolve the issue
>
> best
> Rupert
>
> [1] http://markmail.org/thread/msrz6dgu7mo4wt4s
>
> On Fri, May 13, 2011 at 9:11 PM, Anuj Kumar <an...@gmail.com> wrote:
>> Thanks Rupert. I have attached the log file with this mail.
>> Regards,
>> Anuj
>>
>> On Sat, May 14, 2011 at 12:15 AM, Rupert Westenthaler
>> <ru...@gmail.com> wrote:
>>>
>>> Hi Anuj
>>>
>>> On Fri, May 13, 2011 at 8:16 PM, Anuj Kumar <an...@gmail.com> wrote:
>>> > Hi Rupert,
>>> > I tried refreshing to the revision you mentioned but no luck. Errors but
>>> > this time due to startup of engines. These tests failed after a series
>>> > of
>>> > 404 -
>>> The integration test start a stanbol server with the default configuration
>>> and
>>> wait up to 3 minutes for the RESTful services to be up and running.
>>>
>>> This usually means that something went wrong during the initialization of
>>> the
>>> server. The logs can be found at
>>> stanbol/integration-tests/sling/logs/error.log
>>>
>>> > I will be using my Linux box instead.
>>>
>>> That should work for sure. I will try to resolve identify this on
>>> Monday. Would be nice if you could provide the logs.
>>>
>>> best
>>> Rupert Westenthaler
>>>
>>>
>>> --
>>> | Rupert Westenthaler             rupert.westenthaler@gmail.com
>>> | Bodenlehenstraße 11                             ++43-699-11108907
>>> | A-5500 Bischofshofen
>>
>>
>
>
>
> --
> | Rupert Westenthaler             rupert.westenthaler@gmail.com
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen
>

Re: How to get started?

Posted by Anuj Kumar <an...@gmail.com>.
Hi Rupert,

I tried refreshing to the revision you mentioned but no luck. Errors but
this time due to startup of engines. These tests failed after a series of
404 -

1277925 [main] INFO
org.apache.stanbol.commons.testing.stanbol.StanbolTestBase - Got 404 at
http://localhost:64488/engines - will retry

Tests in error:
  testBenchmark(org.apache.stanbol.enhancer.it.BenchmarkTest)
  testDefaultConfig(org.apache.stanbol.enhancer.it.DefaultConfigTest)
  testHomepageExamples(org.apache.stanbol.enhancer.it.HomepageTest)
  testDefaultConsolePaths(org.apache.stanbol.enhancer.it.OsgiConsoleTest)
  testSimpleEnhancement(org.apache.stanbol.enhancer.it.StatelessEngineTest)
  testOutputFormats(org.apache.stanbol.enhancer.it.StatelessEngineTest)
  testInvalidFormat(org.apache.stanbol.enhancer.it.StatelessEngineTest)

Tests run: 7, Failures: 0, Errors: 7, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to
C:\tools\stanbol\trunk\integration-tests\target\surefire-reports for the
individual
test results.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 57 minutes 19 seconds
[INFO] Finished at: Fri May 13 23:37:11 IST 2011
[INFO] Final Memory: 106M/401M
[INFO]
------------------------------------------------------------------------

I will be using my Linux box instead.

Thanks,
Anuj

On Thu, May 12, 2011 at 11:19 PM, Rupert Westenthaler <
rupert.westenthaler@gmail.com> wrote:

> Hi again
>
> I hope all the Windows related issues are corrected with
>  http://svn.apache.org/viewvc?rev=1102379&view=rev
>
> Luckily I still have my 8 year old windows laptop around for testing.
>
> best
> Rupert Westenthaler
>
> On Thu, May 12, 2011 at 7:22 AM, Anuj Kumar <an...@gmail.com> wrote:
> > Thanks for your quick response.
> >
> > Regards,
> > Anuj
> >
> > On Thu, May 12, 2011 at 10:49 AM, Rupert Westenthaler <
> > rupert.westenthaler@gmail.com> wrote:
> >
> >> Hi
> >>
> >> On Thu, May 12, 2011 at 6:53 AM, Anuj Kumar <an...@gmail.com> wrote:
> >> > Thanks Rupert. I have attached the log files with this mail.
> >> > Please take a look.
> >>
> >> Thx for the logs.
> >> After a fist look I think it is because the useage of '/' as separator
> >> for path. Something that does not work for Windows.
> >> I will try to provide a fix later today.
> >>
> >> best
> >> Rupert Westenthaler
> >>
> >> > In the meantime, I will try to dig the README files.
> >> If you have any questions feel free to ask on this mailing list or
> >> join #stanbol on chat.freenode.net.
> >>
> >> best
> >> Rupert
> >>
> >> > Thanks,
> >> > Anuj
> >> >
> >>
> >> > On Thu, May 12, 2011 at 10:14 AM, Rupert Westenthaler
> >> > <ru...@gmail.com> wrote:
> >> >>
> >> >> Hi Anuj
> >> >>
> >> >> On Thu, May 12, 2011 at 3:31 AM, Anuj Kumar <an...@gmail.com>
> wrote:
> >> >> > Hello Everyone,
> >> >> >
> >> >> > I am getting started with Stanbol project. I have checked out
> Stanbol
> >> >> > and
> >> >> > built the code base. I got few test failures-
> >> >> >
> >> >> Thats nice to hear
> >> >>
> >> >> > Failed tests:
> >> >> >
> >> >> >
> >> >> >
> >>
> testSingleFile(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
> >> >> >
> >> >> >
> >> >> >
> >>
> testFolderWithoutProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >>
> testFolderWithProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
> >> >> >
> >> >> > Tests run: 8, Failures: 3, Errors: 0, Skipped: 0
> >> >> >
> >> >> Could you please share the logs of the failed unit tests.
> >> >> They should be located at
> >> >> {stanbol}/entityhub/indexing/core/target/surefire-reports
> >> >>
> >> >>
> >> >> > Is there any documentation available to get started and try out few
> >> use
> >> >> > cases?
> >> >> >
> >> >> Sorry there is no documentation available on the webpage right now.
> >> >> However usually there is some basic documentation available by the
> >> >> readme files located within the root directories of the modules.
> >> >>
> >> >> best
> >> >> Rupert Westenthaler
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> | Rupert Westenthaler             rupert.westenthaler@gmail.com
> >> >> | Bodenlehenstraße 11                             ++43-699-11108907
> >> >> | A-5500 Bischofshofen
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> | Rupert Westenthaler             rupert.westenthaler@gmail.com
> >> | Bodenlehenstraße 11                             ++43-699-11108907
> >> | A-5500 Bischofshofen
> >>
> >
>
>
>
> --
> | Rupert Westenthaler             rupert.westenthaler@gmail.com
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen
>

Re: How to get started?

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi again

I hope all the Windows related issues are corrected with
  http://svn.apache.org/viewvc?rev=1102379&view=rev

Luckily I still have my 8 year old windows laptop around for testing.

best
Rupert Westenthaler

On Thu, May 12, 2011 at 7:22 AM, Anuj Kumar <an...@gmail.com> wrote:
> Thanks for your quick response.
>
> Regards,
> Anuj
>
> On Thu, May 12, 2011 at 10:49 AM, Rupert Westenthaler <
> rupert.westenthaler@gmail.com> wrote:
>
>> Hi
>>
>> On Thu, May 12, 2011 at 6:53 AM, Anuj Kumar <an...@gmail.com> wrote:
>> > Thanks Rupert. I have attached the log files with this mail.
>> > Please take a look.
>>
>> Thx for the logs.
>> After a fist look I think it is because the useage of '/' as separator
>> for path. Something that does not work for Windows.
>> I will try to provide a fix later today.
>>
>> best
>> Rupert Westenthaler
>>
>> > In the meantime, I will try to dig the README files.
>> If you have any questions feel free to ask on this mailing list or
>> join #stanbol on chat.freenode.net.
>>
>> best
>> Rupert
>>
>> > Thanks,
>> > Anuj
>> >
>>
>> > On Thu, May 12, 2011 at 10:14 AM, Rupert Westenthaler
>> > <ru...@gmail.com> wrote:
>> >>
>> >> Hi Anuj
>> >>
>> >> On Thu, May 12, 2011 at 3:31 AM, Anuj Kumar <an...@gmail.com> wrote:
>> >> > Hello Everyone,
>> >> >
>> >> > I am getting started with Stanbol project. I have checked out Stanbol
>> >> > and
>> >> > built the code base. I got few test failures-
>> >> >
>> >> Thats nice to hear
>> >>
>> >> > Failed tests:
>> >> >
>> >> >
>> >> >
>> testSingleFile(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
>> >> >
>> >> >
>> >> >
>> testFolderWithoutProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
>> >> >
>> >> >
>> >> >
>> >> >
>> testFolderWithProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
>> >> >
>> >> > Tests run: 8, Failures: 3, Errors: 0, Skipped: 0
>> >> >
>> >> Could you please share the logs of the failed unit tests.
>> >> They should be located at
>> >> {stanbol}/entityhub/indexing/core/target/surefire-reports
>> >>
>> >>
>> >> > Is there any documentation available to get started and try out few
>> use
>> >> > cases?
>> >> >
>> >> Sorry there is no documentation available on the webpage right now.
>> >> However usually there is some basic documentation available by the
>> >> readme files located within the root directories of the modules.
>> >>
>> >> best
>> >> Rupert Westenthaler
>> >>
>> >>
>> >>
>> >> --
>> >> | Rupert Westenthaler             rupert.westenthaler@gmail.com
>> >> | Bodenlehenstraße 11                             ++43-699-11108907
>> >> | A-5500 Bischofshofen
>> >
>> >
>>
>>
>>
>> --
>> | Rupert Westenthaler             rupert.westenthaler@gmail.com
>> | Bodenlehenstraße 11                             ++43-699-11108907
>> | A-5500 Bischofshofen
>>
>



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Re: How to get started?

Posted by Anuj Kumar <an...@gmail.com>.
Thanks for your quick response.

Regards,
Anuj

On Thu, May 12, 2011 at 10:49 AM, Rupert Westenthaler <
rupert.westenthaler@gmail.com> wrote:

> Hi
>
> On Thu, May 12, 2011 at 6:53 AM, Anuj Kumar <an...@gmail.com> wrote:
> > Thanks Rupert. I have attached the log files with this mail.
> > Please take a look.
>
> Thx for the logs.
> After a fist look I think it is because the useage of '/' as separator
> for path. Something that does not work for Windows.
> I will try to provide a fix later today.
>
> best
> Rupert Westenthaler
>
> > In the meantime, I will try to dig the README files.
> If you have any questions feel free to ask on this mailing list or
> join #stanbol on chat.freenode.net.
>
> best
> Rupert
>
> > Thanks,
> > Anuj
> >
>
> > On Thu, May 12, 2011 at 10:14 AM, Rupert Westenthaler
> > <ru...@gmail.com> wrote:
> >>
> >> Hi Anuj
> >>
> >> On Thu, May 12, 2011 at 3:31 AM, Anuj Kumar <an...@gmail.com> wrote:
> >> > Hello Everyone,
> >> >
> >> > I am getting started with Stanbol project. I have checked out Stanbol
> >> > and
> >> > built the code base. I got few test failures-
> >> >
> >> Thats nice to hear
> >>
> >> > Failed tests:
> >> >
> >> >
> >> >
> testSingleFile(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
> >> >
> >> >
> >> >
> testFolderWithoutProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
> >> >
> >> >
> >> >
> >> >
> testFolderWithProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
> >> >
> >> > Tests run: 8, Failures: 3, Errors: 0, Skipped: 0
> >> >
> >> Could you please share the logs of the failed unit tests.
> >> They should be located at
> >> {stanbol}/entityhub/indexing/core/target/surefire-reports
> >>
> >>
> >> > Is there any documentation available to get started and try out few
> use
> >> > cases?
> >> >
> >> Sorry there is no documentation available on the webpage right now.
> >> However usually there is some basic documentation available by the
> >> readme files located within the root directories of the modules.
> >>
> >> best
> >> Rupert Westenthaler
> >>
> >>
> >>
> >> --
> >> | Rupert Westenthaler             rupert.westenthaler@gmail.com
> >> | Bodenlehenstraße 11                             ++43-699-11108907
> >> | A-5500 Bischofshofen
> >
> >
>
>
>
> --
> | Rupert Westenthaler             rupert.westenthaler@gmail.com
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen
>

Re: How to get started?

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi

On Thu, May 12, 2011 at 6:53 AM, Anuj Kumar <an...@gmail.com> wrote:
> Thanks Rupert. I have attached the log files with this mail.
> Please take a look.

Thx for the logs.
After a fist look I think it is because the useage of '/' as separator
for path. Something that does not work for Windows.
I will try to provide a fix later today.

best
Rupert Westenthaler

> In the meantime, I will try to dig the README files.
If you have any questions feel free to ask on this mailing list or
join #stanbol on chat.freenode.net.

best
Rupert

> Thanks,
> Anuj
>

> On Thu, May 12, 2011 at 10:14 AM, Rupert Westenthaler
> <ru...@gmail.com> wrote:
>>
>> Hi Anuj
>>
>> On Thu, May 12, 2011 at 3:31 AM, Anuj Kumar <an...@gmail.com> wrote:
>> > Hello Everyone,
>> >
>> > I am getting started with Stanbol project. I have checked out Stanbol
>> > and
>> > built the code base. I got few test failures-
>> >
>> Thats nice to hear
>>
>> > Failed tests:
>> >
>> >
>> > testSingleFile(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
>> >
>> >
>> > testFolderWithoutProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
>> >
>> >
>> >
>> > testFolderWithProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
>> >
>> > Tests run: 8, Failures: 3, Errors: 0, Skipped: 0
>> >
>> Could you please share the logs of the failed unit tests.
>> They should be located at
>> {stanbol}/entityhub/indexing/core/target/surefire-reports
>>
>>
>> > Is there any documentation available to get started and try out few use
>> > cases?
>> >
>> Sorry there is no documentation available on the webpage right now.
>> However usually there is some basic documentation available by the
>> readme files located within the root directories of the modules.
>>
>> best
>> Rupert Westenthaler
>>
>>
>>
>> --
>> | Rupert Westenthaler             rupert.westenthaler@gmail.com
>> | Bodenlehenstraße 11                             ++43-699-11108907
>> | A-5500 Bischofshofen
>
>



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Re: How to get started?

Posted by Anuj Kumar <an...@gmail.com>.
Thanks Rupert. I have attached the log files with this mail.
Please take a look.

In the meantime, I will try to dig the README files.

Thanks,
Anuj

On Thu, May 12, 2011 at 10:14 AM, Rupert Westenthaler <
rupert.westenthaler@gmail.com> wrote:

> Hi Anuj
>
> On Thu, May 12, 2011 at 3:31 AM, Anuj Kumar <an...@gmail.com> wrote:
> > Hello Everyone,
> >
> > I am getting started with Stanbol project. I have checked out Stanbol and
> > built the code base. I got few test failures-
> >
> Thats nice to hear
>
> > Failed tests:
> >
> >
> testSingleFile(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
> >
> >
> testFolderWithoutProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
> >
> >
> >
> testFolderWithProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
> >
> > Tests run: 8, Failures: 3, Errors: 0, Skipped: 0
> >
> Could you please share the logs of the failed unit tests.
> They should be located at
> {stanbol}/entityhub/indexing/core/target/surefire-reports
>
>
> > Is there any documentation available to get started and try out few use
> > cases?
> >
> Sorry there is no documentation available on the webpage right now.
> However usually there is some basic documentation available by the
> readme files located within the root directories of the modules.
>
> best
> Rupert Westenthaler
>
>
>
> --
> | Rupert Westenthaler             rupert.westenthaler@gmail.com
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen
>

Re: How to get started?

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi Anuj

On Thu, May 12, 2011 at 3:31 AM, Anuj Kumar <an...@gmail.com> wrote:
> Hello Everyone,
>
> I am getting started with Stanbol project. I have checked out Stanbol and
> built the code base. I got few test failures-
>
Thats nice to hear

> Failed tests:
>
> testSingleFile(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
>
> testFolderWithoutProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
>
>
> testFolderWithProcessingArchives(org.apache.stanbol.entityhub.indexing.core.ResourceLoaderTest)
>
> Tests run: 8, Failures: 3, Errors: 0, Skipped: 0
>
Could you please share the logs of the failed unit tests.
They should be located at
{stanbol}/entityhub/indexing/core/target/surefire-reports


> Is there any documentation available to get started and try out few use
> cases?
>
Sorry there is no documentation available on the webpage right now.
However usually there is some basic documentation available by the
readme files located within the root directories of the modules.

best
Rupert Westenthaler



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen