This is where the uri is set:
https://github.com/apache/aries-rsa/blob/master/provider/fastbin/src/main/java/org/apache/aries/rsa/provider/fastbin/Activator.java#L51-L52
If your config is applied you should see the log message

> Binding Fastbin Server to tcp://0.0.0.0:2550

Does this show in your log?

Christian

Am Do., 15. Nov. 2018 um 15:42 Uhr schrieb Alex Weirig <
alex.wei...@technolink.lu>:

> Here's my config. Webconsole -> Status -> Configurations
>
> PID = org.apache.aries.rsa.provider.fastbin
>   BundleLocation = 
> mvn:org.apache.aries.rsa.provider/org.apache.aries.rsa.provider.fastbin/1.10.0
>   felix.fileinstall.filename = 
> file:/opt/apache-karaf-4.1.1/etc/org.apache.aries.rsa.provider.fastbin.cfg
>   service.pid = org.apache.aries.rsa.provider.fastbin
>   uri = tcp://0.0.0.0:2550
>
>
> 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:37, "Jörn Schumann (joern.schum...@hs-furtwangen.de)"
> wrote:
>
> Config Admin is running. Maybe i use the wrong property-key. In the
> webconsole i can list all properties and there is the entry:
>
>
> org.apache.aries.rsa.provider.fastbin.cfg.uri = tcp://0.0.0.0:5000
>
>  Alex Weirig <alex.wei...@technolink.lu> <alex.wei...@technolink.lu> hat
> am 15. November 2018 um 15:30 geschrieben:
>
> Hi Jörn,
>
> that's strange ... I'm using RSA with fastbin on multiple servers and this
> is what's working for me ... except I'm using Karaf not pure felix but it
> shouldn't matter other than Karaf already includes all the nice features
> that you might have to manually add in Felix.
>
> Since this is a config file, I wonder if Config Admin is installed by
> default into felix or if you have to add it.
>
>
>
>
> 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:26, "Jörn Schumann ( joern.schum...@hs-furtwangen.de)"
> wrote:
>
> 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> <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
>
>
>
> 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