You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by João Pedro Oliveira <jo...@metatheke.com> on 2013/05/16 17:25:33 UTC
Error Installing Stanbol - Entityhub Indexing Destination SolrYard
Hello All!
I´m currently trying to make a fresh instalation of Stanbol in my machine.
Everything worked fine until the final step through the command "mvn clean
install".
The installation fails in Apache Stanbol *Entityhub Indexing Destination
SolrYard*. Analysing the surefire report I can see that testcase "
testWithSolrConf" is failing with the following error:
*Type: *java.util.ZipException
*Message: *Error in openning zipfile
Testcase "testSimple" is also failing, with the following error:
*Type: *java.util.ZipException
*Message: *Error in openning zipfile.
The following error is also outputed:
ERROR SolrYardIndexingDestination:519 - Error while creating Solr Archive
C:\Users\Admin\stanbol\entityhub\indexing\destination\solryard\target\test-files\simple.
solrindex.zip! The archive will not be created!
java.io.IOException: The process cannot access the file because another
process has blocked a part of it.
Can you please help me figure what´s wrong? I´ve already tried to install
from different machines, but the error is always de same.
Best Regards
João Oliveira
--
*João Oliveira*
Developer
joao.pedro@metatheke.com <em...@metatheke.com>
**
Metatheke Software
Rua Senhor dos Milagres, 19 r/c esq - Vera Cruz
3800-261 Aveiro, Portugal
tel. +351 234 287 203 | fax. +351 234 287 204
www.metatheke.com | info@metatheke.com
[image: Imagem intercalada 1]
Re: Error Installing Stanbol - Entityhub Indexing Destination SolrYard
Posted by Olivier Rossel <ol...@gmail.com>.
May be disabling tests is a good first move.
On Thu, May 16, 2013 at 5:25 PM, João Pedro Oliveira <
joao.pedro@metatheke.com> wrote:
> Hello All!
> I´m currently trying to make a fresh instalation of Stanbol in my
> machine. Everything worked fine until the final step through the command "
> mvn clean install".
>
> The installation fails in Apache Stanbol *Entityhub Indexing Destination
> SolrYard*. Analysing the surefire report I can see that testcase "
> testWithSolrConf" is failing with the following error:
>
> *Type: *java.util.ZipException
> *Message: *Error in openning zipfile
>
> Testcase "testSimple" is also failing, with the following error:
>
> *Type: *java.util.ZipException
> *Message: *Error in openning zipfile.
>
> The following error is also outputed:
>
> ERROR SolrYardIndexingDestination:519 - Error while creating Solr Archive
> C:\Users\Admin\stanbol\entityhub\indexing\destination\solryard\target\test-files\simple.
> solrindex.zip! The archive will not be created!
> java.io.IOException: The process cannot access the file because another
> process has blocked a part of it.
>
> Can you please help me figure what´s wrong? I´ve already tried to install
> from different machines, but the error is always de same.
>
> Best Regards
> João Oliveira
>
> --
>
> *João Oliveira*
> Developer
>
> joao.pedro@metatheke.com <em...@metatheke.com>
> **
> Metatheke Software
> Rua Senhor dos Milagres, 19 r/c esq - Vera Cruz
> 3800-261 Aveiro, Portugal
> tel. +351 234 287 203 | fax. +351 234 287 204
> www.metatheke.com | info@metatheke.com
>
> [image: Imagem intercalada 1]
>
>
Re: Error Installing Stanbol - Entityhub Indexing Destination SolrYard
Posted by João Pedro Oliveira <jo...@metatheke.com>.
Hello Rupert.
Thanks for the quick response.
The files you asked are attached to this e-mail.
I didn�t know that tests could be skipped. I will try to install this way.
Thanks again.
Best Regards
Jo�o
2013/5/16 Rupert Westenthaler <ru...@gmail.com>
> Hi Jo�o
>
>
> Can you please provide the full loggings and the '*.txt' files in the
> 'target\surefire-reports' directory.
>
> Under Windows one does get an IOException if a test tries to delete a
> file that is still in use. Those logs should give the exact position
> in the code where this is happening. Most likely this is a bug in the
> tests and not in the tested component.
>
> You can skip tests by using -DskipTests
>
> best
> Rupert
>
> On Thu, May 16, 2013 at 5:25 PM, Jo�o Pedro Oliveira
> <jo...@metatheke.com> wrote:
> > Hello All!
> > I�m currently trying to make a fresh instalation of Stanbol in my
> machine.
> > Everything worked fine until the final step through the command "mvn
> clean
> > install".
> >
> > The installation fails in Apache Stanbol Entityhub Indexing Destination
> > SolrYard. Analysing the surefire report I can see that testcase
> > "testWithSolrConf" is failing with the following error:
> >
> > Type: java.util.ZipException
> > Message: Error in openning zipfile
> >
> > Testcase "testSimple" is also failing, with the following error:
> >
> > Type: java.util.ZipException
> > Message: Error in openning zipfile.
> >
> > The following error is also outputed:
> >
> > ERROR SolrYardIndexingDestination:519 - Error while creating Solr Archive
> >
> C:\Users\Admin\stanbol\entityhub\indexing\destination\solryard\target\test-files\simple.solrindex.zip!
> > The archive will not be created!
> > java.io.IOException: The process cannot access the file because another
> > process has blocked a part of it.
> >
> > Can you please help me figure what�s wrong? I�ve already tried to install
> > from different machines, but the error is always de same.
> >
> > Best Regards
> > Jo�o Oliveira
> >
> > --
> >
> > Jo�o Oliveira
> > Developer
> >
> > joao.pedro@metatheke.com
> >
> >
> > Metatheke Software
> > Rua Senhor dos Milagres, 19 r/c esq - Vera Cruz
> > 3800-261 Aveiro, Portugal
> > tel. +351 234 287 203 | fax. +351 234 287 204
> > www.metatheke.com | info@metatheke.com
> >
>
>
>
> --
> | Rupert Westenthaler rupert.westenthaler@gmail.com
> | Bodenlehenstra�e 11 ++43-699-11108907
> | A-5500 Bischofshofen
>
--
*Jo�o Oliveira*
Developer
joao.pedro@metatheke.com <em...@metatheke.com>
**
Metatheke Software
Rua Senhor dos Milagres, 19 r/c esq - Vera Cruz
3800-261 Aveiro, Portugal
tel. +351 234 287 203 | fax. +351 234 287 204
www.metatheke.com | info@metatheke.com
[image: Imagem intercalada 1]
Re: Error Installing Stanbol - Entityhub Indexing Destination SolrYard
Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi João
Can you please provide the full loggings and the '*.txt' files in the
'target\surefire-reports' directory.
Under Windows one does get an IOException if a test tries to delete a
file that is still in use. Those logs should give the exact position
in the code where this is happening. Most likely this is a bug in the
tests and not in the tested component.
You can skip tests by using -DskipTests
best
Rupert
On Thu, May 16, 2013 at 5:25 PM, João Pedro Oliveira
<jo...@metatheke.com> wrote:
> Hello All!
> I´m currently trying to make a fresh instalation of Stanbol in my machine.
> Everything worked fine until the final step through the command "mvn clean
> install".
>
> The installation fails in Apache Stanbol Entityhub Indexing Destination
> SolrYard. Analysing the surefire report I can see that testcase
> "testWithSolrConf" is failing with the following error:
>
> Type: java.util.ZipException
> Message: Error in openning zipfile
>
> Testcase "testSimple" is also failing, with the following error:
>
> Type: java.util.ZipException
> Message: Error in openning zipfile.
>
> The following error is also outputed:
>
> ERROR SolrYardIndexingDestination:519 - Error while creating Solr Archive
> C:\Users\Admin\stanbol\entityhub\indexing\destination\solryard\target\test-files\simple.solrindex.zip!
> The archive will not be created!
> java.io.IOException: The process cannot access the file because another
> process has blocked a part of it.
>
> Can you please help me figure what´s wrong? I´ve already tried to install
> from different machines, but the error is always de same.
>
> Best Regards
> João Oliveira
>
> --
>
> João Oliveira
> Developer
>
> joao.pedro@metatheke.com
>
>
> Metatheke Software
> Rua Senhor dos Milagres, 19 r/c esq - Vera Cruz
> 3800-261 Aveiro, Portugal
> tel. +351 234 287 203 | fax. +351 234 287 204
> www.metatheke.com | info@metatheke.com
>
--
| Rupert Westenthaler rupert.westenthaler@gmail.com
| Bodenlehenstraße 11 ++43-699-11108907
| A-5500 Bischofshofen