Hi Gabriel,

In this case the downloaded zip fie with the dbpedia default data got
corrupted. We had some problems with corrupted files in the past, but
those things had gone away after upgrading the dev.iks-project.eu
server.

To force the clean downloaded files by adding "-Ddownloads" to the mvn
command (e.g. mvn -Ddownloads clean install). As alternative you can
also delete the "data/sites/dbpedia/downloads" folder before
rebuilding.

BTW you will not need to build the whole Stanbol. It should be enough to

    cd data/sites/dbpedia
    mvn -Ddownloads clean install
    cd ../../../launchers/full
    mvn clean install

Hope this solves your issues

best
Rupert

On Thu, Jan 3, 2013 at 2:42 PM, Gabriel Vince <[email protected]> wrote:
> Hello Rupert,
>
> you are right I had to provide more information.
>
> - I have used 'version update'
> - Revision: 1428263
> - Last Changed Rev: 1428011
> - running from provided apache sling felix launcher
>
> during the startup there's an exception. I will try to clear the
> directories and start from clean.
>
> 03.01.2013 14:33:54.375 *INFO* [Thread-46]
> org.apache.stanbol.commons.solr.managed.impl.ManagedSolrServerImpl  ...
> start to ACTIVATE Index dbpedia on ManagedSolrServer
> 03.01.2013 14:34:06.109 *ERROR* [Thread-46]
> org.apache.stanbol.commons.solr.managed.impl.ManagedSolrServerImpl
> IOException while activating Index 'default:dbpedia'! java.io.IOException:
> Unable to copy Data for index 'dbpedia' (server 'default')
>     at
> org.apache.stanbol.commons.solr.managed.impl.ManagedSolrServerImpl.updateCore(ManagedSolrServerImpl.java:780)
>     at
> org.apache.stanbol.commons.solr.managed.impl.ManagedSolrServerImpl$IndexUpdateDaemon.run(ManagedSolrServerImpl.java:1163)
> Caused by: java.io.IOException: Truncated ZIP file
>     at
> org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.readDeflated(ZipArchiveInputStream.java:389)
>     at
> org.apache.commons.compress.archivers.zip.ZipArchiveInputStream.read(ZipArchiveInputStream.java:322)
>     at java.io.InputStream.read(Unknown Source)
>     at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1792)
>     at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769)
>     at org.apache.commons.io.IOUtils.copy(IOUtils.java:1744)
>     at
> org.apache.stanbol.commons.solr.utils.ConfigUtils.copyArchiveEntry(ConfigUtils.java:539)
>     at
> org.apache.stanbol.commons.solr.utils.ConfigUtils.copyCore(ConfigUtils.java:497)
>     at
> org.apache.stanbol.commons.solr.managed.impl.ManagedSolrServerImpl.updateCore(ManagedSolrServerImpl.java:778)
>     ... 1 more
>
> Gabriel
>
>
> --
> Gabriel Vince
> Senior Consultant
> Apogado
> http://www.apogado.com



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

Reply via email to