On Mon, Oct 6, 2014 at 4:18 PM, Vivek N K <[email protected]> wrote:
> Hi
>
> I have set up stanbol locally but still it requires internet connection to
> run.
> when hitting the url "*localhost:8080*" after starting the stanbol server,
> if internet is available, everything works fine like the online demo; but
> when internet is off, the page itself doesn't load!!
>

Stanbol runs fine without Internet connection. Some services do try to
access information from the internet (e.g. to download namespace
prefix mappings from prefix.cc). But all those are optional things.
The build process however requires internet access to download data
for the data bundles.

The Stanbol Enhancer even known an offline mode (activated by
"-Dorg.apache.stanbol.offline.mode=true"). This mode is e.g. used by
the integration tests.


> So, to have everything locally, I tried following steps with reference to
> this thread -
> https://www.mail-archive.com/dev%40stanbol.apache.org/msg01086.html
>
> I downloaded the Dbpedia from http://downloads.dbpedia.org/3.9/en/ and
> indexed them in a separate folder. It gave the solr zipped archive finally.
>
> But, when creating a soft link from the  {stanbol-root}/datafiles folder to
> this solr zip file, and starting the stanbol server, it gives
> *OutOfMemoryError.*

OutOfMemoryError is related to the memory Java is allowed to use.
Please use the -Xmx parameter when starting the Stanbol server (e.g.
"-Xmx4g" to assign a maximum of 4 GByte memory to the JVM running
Apache Stanbol.


best
Rupert

>
> Please help, how to configure the downloaded Dbpedia to stanbol instead of
> getting it online every time.
>
>
> Thank you,
> Vivek N K



-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                              ++43-699-11108907
| A-5500 Bischofshofen
| REDLINK.CO 
..........................................................................
| http://redlink.co/

Reply via email to