Hi Sabine,

On Sat, Jun 1, 2013 at 7:20 PM, Sabine Schmidt
<sabine.schm...@studium.uni-erlangen.de> wrote:
> 1)      When I create a new enhancement chain or referenced site over
> ../system/console/configMgr it is somehow not properly installed:
>
> a.       The file are still in fileinstall but with a very long name (twice
> the whole org.apache….. + Id of the file)
>
> b.      Files are not installed where the pre-installed configurations are
> stored e.g. org.apache.enhancer… but in an extra folder called
> fileinstalldad….. (The files in the folder cannot be immediately deleted
> because filenames are too long for Windows, only after renaming folders in
> path)
>
> c.       At the moment the only way to persistently store my configurations
> is to copy them manually to the folder described in b. and add pid and
> factory id à However this is quite annoying since I am just learning to use
> stanbol and often have to change configurations to try out new staff. As it
> is now I have to make changes directly in the files and then restart stanbol
>
>
>
> I hope this describes the problem well. Is there another way for me to fix
> this problem?
>

I experienced the exact same problem when running Stanbol on an
Windows machine last Monday. It is definitely related to an Issue of
the Apache Sling FileInstaller bundle. As I was offline the last week
I had not yet time to investigate this further, but I do plan to find
the cause and to provide a patch for this.

In the meantime windows users should

0. start the Stanbol Launcher
1. uninstall the Apache Sling FileInstaller bundle
2. install the Felix File install bundle [1]
3. shutdown Stanbol
4. create/empty the 'stanbol/fileinstall'
5. copy your configuration to the 'stanbol/fileinstall' folder
6. start stanbol by adding the
'-Dfelix.fileinstall.dir=stanbol/fileinstall' (on windows you might
need to use '-Dfelix.fileinstall.dir=stanbol\fileinstall')

NOTE: It is important to delete the Apache Sling FileInstaller bundle.
You can not use both the Felix Fileinstall and the Sling Fileinstall.
Even if you use different folders the two will block out each other
after the 2nd start of the Stanbol launcher.

Users that do use custom launcher configuration, can also replace the
"Apache Sling FileInstaller bundle" with the "Felix File install
bundle" in this case steps 0 - 4 can be skipped.

best
Rupert


[1] 
http://search.maven.org/#artifactdetails|org.apache.felix|org.apache.felix.fileinstall|3.2.6|bundle



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

Reply via email to