A default felix does not use the fileinstall bundle to read configuration.
So to be able to change any configurations you first need a working setup
of config admin and fileinstall.
As an example see:
https://github.com/cschneider/osgi-chat/blob/master/packaging/rsa.bndrun#L18-L23

Christian

Am Do., 15. Nov. 2018 um 15:26 Uhr schrieb "Jörn Schumann (
joern.schum...@hs-furtwangen.de)" <joern.schum...@hs-furtwangen.de>:

> Hey Alex,
>
> yeah i tried it, maybe in a wrong way. I created the directory "etc/" in
> the root directory of my apache felix framework and added the configuration
> file with this line as content.
> Additionally i tried to set this value in the config file
> conf/config.properties, but always it uses the default port.
>
> Alex Weirig <alex.wei...@technolink.lu> hat am 15. November 2018 um 15:22
> geschrieben:
>
> Hi Jörn,
>
> have you tried setting the following property
>
> uri = tcp://0.0.0.0:2550
>
> in the
>
> org.apache.aries.rsa.provider.fastbin.cfg
>
> configuration file?
>
> That file shouldn't exist so you would have to create it.
>
> Hope this helps
>
>
> Mat frëndleche Gréiss,
> Mit freundlichen Grüßen,
> Meilleures salutations,
> Kind regards,Alex WeirigResponsable Technique
> Ville de Luxembourg
> Service Enseignement
> Centre Technolink
> *Tel* +352 4796 - 6127 <+35247966127>*Fax* +352 42 88 81*Email* 
> alex.wei...@technolink.luwww.vdl.lu // www.technolink.lu
>
> Centre Technolink
> 2, rue Charles de Tornaco
> L-2623 LUXEMBOURG
>
> On 15/11/2018 15:18, "Jörn Schumann ( joern.schum...@hs-furtwangen.de)"
> wrote:
>
> Hey,
>
> maybe i missunderstand it, but the port for your fastbin-provider is
> hardcoded in the Activator-Class or? So i can't get how i can change it
> dynamically in my apache felix osgi-framework.
>
> Greetings,
> Jörn
>
> --
> This email was Anti Virus checked by SOPHOS UTM
>
>
>
> Mit freundlichen Grüßen
>
> Jörn Schumann
> Fakultät Informatik/INM 2
> Matr.: 257134
>


-- 
-- 
Christian Schneider
http://www.liquid-reality.de

Computer Scientist
http://www.adobe.com

Reply via email to