Hi Daniele,

On Sat, Oct 18, 2014 at 12:38 PM, Daniele Perlo <perlo.dani...@gmail.com> wrote:
> Hi,
>
> i'm using
> stanbol/launchers/full/target/org.apache.stanbol.launchers.full-0.10.0-SNAPSHOT
>
> in case i need to update all, how to do that without lose my configurations
> and managed sites?
>

The Production Mode Section [1] has some information on that. As
Stanbol uses the Apache Sling Launcher you might also want to have a
look at the Apache Sling homepage.

The default launcher has the FileInstaller included. Create the
stanbol/fileinstall directory. After that manually configured services
will get mirrored in this directory with a name such as
"{bundleArtifactID}.{bundleArtifactID}.{id}.conf". When you shutdown
the server and rename those files to
"{bundleArtifactID}-{uniqueName}.conf" you can convert those the
explicit configurations.

After doing so you can use them as explained in [1]. If they are
static you can include those in the launcher or a configuration
bundle. If you want to change them you can keep those in the
"stanbol/fileinstall" folder.

A pragmatic solution to replace the current launcher is to shutdown
Stanbol. Replace the Jar. Delete the "stanbol" folder except the
fileinstall and datafile folder and restart. A better solution is to
move the location of the fileinstall and datafiles folder outside of
the stanbol folder. This can be done by changing the defaults in your
custom launcher configuration.

best
Rupert



[1]  http://stanbol.apache.org/docs/trunk/production-mode/

>>Hi Daniele,
>>
>>I will have a look. Can you please tell me what Stanbol version your
>>are using (0.12.0 release, 0.12.1-Snapshot or the 1.0.0-SNAPSHOT trunk
>>version).
>
>>It might be that the ClerezzaYard is also affected by [1] as its
>
>>depends on a GpWeightedTcProvider (similar as the Ontonet Component).
>
>>@reto: Would it be possible to remove the Stanbol specific /sparql
>>endpoint in trunk and replace it with a similar component directly
>>from Clerezza?
>>
>>best
>>Rupert
>
>>[1] https://issues.apache.org/jira/browse/STANBOL-1393
>
>
> 2014-10-18 11:45 GMT+02:00 Daniele Perlo <perlo.dani...@gmail.com>:
>
>> i'm sorry about wrong typing, but that's only an example
>>
>> my endpoint it's at http://localhost:8080/sparql
>>
>> and all well-formed query results are
>>
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>> <sparql xmlns="http://www.w3.org/2005/sparql-results#";>
>> <head/>
>> <results/>
>> </sparql>
>>
>> on different ClerezzaYards.  :-(
>>
>>
>> >Typo ? mystanbolinstance/sparql <- replace m with n > >On Thu, Oct 16,
>> 2014 at 6:51 PM, Daniele Perlo <perlo.dani...@gmail.com> >wrote: > >> hi
>> all, >> >> i have a new, noobie, problem :-) >> >> i'm trying to configure
>> a ClerezzaYard Site with named graph >> >>
>> http://data.semanticweb.org/conference/dc/2010/complete
>> >> >> with a simple query like "select * where {?x ?y ?z}" at >>
>> mystambolinstance/sparql, and it produce >> >> <?xml version="1.0"
>> encoding="UTF-8" standalone="no"?> >> <sparql xmlns="
>> http://www.w3.org/2005/sparql-results#";> >> <head/> >> <results/> >>
>> </sparql> >> >> but if i try the same query on another open sparql endpoint
>> on the >> same graph i have my >> resultshttp:// >>
>> data.semanticweb.org/snorql/?query=select+*+where+{%3Fx+%3Fy+%3Fz}&graph=http%3A%2F%2Fdata.semanticweb.org%2Fconference%2Fdc%2F2010%2Fcomplete
>> <http://data.semanticweb.org/snorql/?query=select+*+where+%7B%3Fx+%3Fy+%3Fz%7D&graph=http%3A%2F%2Fdata.semanticweb.org%2Fconference%2Fdc%2F2010%2Fcomplete>
>> >> >> >> So, >> i miss some configurations? >> >> >> -- >> ***** >> >>
>> *Perlo Daniele* >>
>>
>>
>> 2014-10-17 1:51 GMT+02:00 Daniele Perlo <perlo.dani...@gmail.com>:
>>
>>> hi all,
>>>
>>> i have a new, noobie, problem :-)
>>>
>>> i'm trying to configure a ClerezzaYard Site with named graph
>>>
>>> http://data.semanticweb.org/conference/dc/2010/complete
>>>
>>> with a simple query like "select * where {?x ?y ?z}" at
>>> mystambolinstance/sparql, and it produce
>>>
>>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>> <sparql xmlns="http://www.w3.org/2005/sparql-results#";>
>>> <head/>
>>> <results/>
>>> </sparql>
>>>
>>> but if i try the same query on another open sparql endpoint on the same 
>>> graph i have my 
>>> resultshttp://data.semanticweb.org/snorql/?query=select+*+where+{%3Fx+%3Fy+%3Fz}&graph=http%3A%2F%2Fdata.semanticweb.org%2Fconference%2Fdc%2F2010%2Fcomplete
>>>  
>>> <http://data.semanticweb.org/snorql/?query=select+*+where+%7B%3Fx+%3Fy+%3Fz%7D&graph=http%3A%2F%2Fdata.semanticweb.org%2Fconference%2Fdc%2F2010%2Fcomplete>
>>>
>>>
>>> So,
>>> i miss some configurations?
>>>
>>>
>>> --
>>> *****
>>>
>>> *Perlo Daniele*
>>>
>>
>>
>>
>> --
>> *****
>>
>> *Perlo Daniele*
>>
>
>
>
> --
> *****
>
> *Perlo Daniele*



-- 
| Rupert Westenthaler             rupert.westentha...@gmail.com
| Bodenlehenstraße 11                              ++43-699-11108907
| A-5500 Bischofshofen
| REDLINK.CO 
..........................................................................
| http://redlink.co/

Reply via email to