Hardcoded port in fastbin provider

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Hardcoded port in fastbin provider

"Jörn Schumann (joern.schumann@hs-furtwangen.de)"
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
Reply | Threaded
Open this post in threaded view
|

Re: Hardcoded port in fastbin provider

Alex Weirig

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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:18, "Jörn Schumann ([hidden email])" 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

alex_weirig.vcf (348 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Hardcoded port in fastbin provider

"Jörn Schumann (joern.schumann@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 <[hidden email]> 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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:18, "Jörn Schumann ( [hidden email])" 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
Reply | Threaded
Open this post in threaded view
|

Re: Hardcoded port in fastbin provider

Alex Weirig

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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:26, "Jörn Schumann ([hidden email])" 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 [hidden email] 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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127" moz-do-not-send="true">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:18, "Jörn Schumann ( [hidden email])" 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

alex_weirig.vcf (348 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Hardcoded port in fastbin provider

"Jörn Schumann (joern.schumann@hs-furtwangen.de)"
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 <[hidden email]> 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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:26, "Jörn Schumann ( [hidden email])" 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 [hidden email] 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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:18, "Jörn Schumann ( [hidden email])" 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
Reply | Threaded
Open this post in threaded view
|

Re: Hardcoded port in fastbin provider

Raymond Auge
I think what is missing is some actor to load the configuration from properties file. Normally that's something like Felix Fileinstall, or perhaps more recently Felix Configurator.

- Ray

On Thu, Nov 15, 2018 at 9:37 AM "Jörn Schumann ([hidden email])" <[hidden email]> 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 <[hidden email]> 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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127" target="_blank">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:26, "Jörn Schumann ( [hidden email])" 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 [hidden email] 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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127" target="_blank">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:18, "Jörn Schumann ( [hidden email])" 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


--
Raymond Augé (@rotty3000)
Senior Software Architect Liferay, Inc. (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance (@OSGiAlliance)
Reply | Threaded
Open this post in threaded view
|

Re: Hardcoded port in fastbin provider

Alex Weirig
In reply to this post by "Jörn Schumann (joern.schumann@hs-furtwangen.de)"

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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:37, "Jörn Schumann ([hidden email])" 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 [hidden email] 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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127" moz-do-not-send="true">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:26, "Jörn Schumann ( [hidden email])" 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 [hidden email] 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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127" moz-do-not-send="true">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:18, "Jörn Schumann ( [hidden email])" 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

alex_weirig.vcf (348 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Hardcoded port in fastbin provider

Christian Schneider
In reply to this post by "Jörn Schumann (joern.schumann@hs-furtwangen.de)"
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. 

Christian

Am Do., 15. Nov. 2018 um 15:26 Uhr schrieb "Jörn Schumann ([hidden email])" <[hidden email]>:
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 <[hidden email]> 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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127" target="_blank">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:18, "Jörn Schumann ( [hidden email])" 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

Reply | Threaded
Open this post in threaded view
|

Re: Hardcoded port in fastbin provider

Christian Schneider
In reply to this post by Alex Weirig
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 <[hidden email]>:

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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127" target="_blank">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:37, "Jörn Schumann ([hidden email])" 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 [hidden email] 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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127" target="_blank">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:26, "Jörn Schumann ( [hidden email])" 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 [hidden email] 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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a href="tel:+35247966127" target="_blank">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:18, "Jörn Schumann ( [hidden email])" 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

Reply | Threaded
Open this post in threaded view
|

Re: Hardcoded port in fastbin provider

"Jörn Schumann (joern.schumann@hs-furtwangen.de)"
i can see it in my log, but only with the default port. I am about to try your advice, maybe i bring it to work ;)

Christian Schneider <[hidden email]> hat am 15. November 2018 um 15:53 geschrieben:
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 < [hidden email]>:

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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a target="_blank" href="tel:+35247966127">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:37, "Jörn Schumann ( [hidden email])" 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 [hidden email] 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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a target="_blank" href="tel:+35247966127">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:26, "Jörn Schumann ( [hidden email])" 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 [hidden email] 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 Weirig
Responsable Technique
Ville de Luxembourg
Service Enseignement
Centre Technolink

Tel <a target="_blank" href="tel:+35247966127">+352 4796 - 6127
Fax +352 42 88 81
Email [hidden email]
www.vdl.lu // www.technolink.lu

Centre Technolink
2, rue Charles de Tornaco 
L-2623 LUXEMBOURG

On 15/11/2018 15:18, "Jörn Schumann ( [hidden email])" 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
 

 
Mit freundlichen Grüßen

Jörn Schumann
Fakultät Informatik/INM 2
Matr.: 257134