Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "R-OSGi Properties"
Line 121: | Line 121: | ||
<td> | <td> | ||
− | Whether to use the value of InetAddress.getLocalHost().getCanonicalHostName() as the default host value for dynamically created r_osgi provider ID. If false, then 'localhost' is used as default. | + | Whether to use the value of InetAddress.getLocalHost().getCanonicalHostName() as the default host value for dynamically created r_osgi provider ID. If false, then 'localhost' is used as default. Setting this to false can be useful if your |
network configuration results in getCanonicalHostName() taking a very long time to complete (> 10 seconds), due to absent or misconfigured nameserver. | network configuration results in getCanonicalHostName() taking a very long time to complete (> 10 seconds), due to absent or misconfigured nameserver. | ||
</td> | </td> |
Revision as of 14:22, 24 March 2015
Currently, R-OSGi supports the following properties:
Attribute | Default | Comment |
---|---|---|
|
false
= disabled |
Enable debug output for dynamic proxy generation. |
|
false
= disabled |
Enable debug output for R-OSGi messages (= network packets). |
|
false
= disabled |
Enable R-OSGi internal debug outputs. |
|
20 |
Amout of time (in seconds) between two SLP service discovery attempts (only when jSLP and service_discovery.slp are installed). This also sets the upper time bound for discovery. |
|
90 |
Amout of time (in seconds) that a service registration in SLP remains alive. R-OSGi will reregister the service unless the service is unregistered with R-OSGi. This property sets the lifetime for SLP registrations and affects how long a registration remains stale if the R-OSGi service is shut down or if a SLP Directory Agent is used and the framework is shut down. Should be set to a reasonable value; too small values lead to increased resource consumptions for the reregistration thread. Too large values lead to stale service references, especially if a Directory Agent for is present. (For details about the role of a Directory Agent, see <a class="externalLink" href="http://www.openslp.org/doc/rfc/rfc2608.txt"> RFC 2608 </a> . Please note, that service_discovery.slp does not require the presence of a Directory Agent.) |
ch.ethz.iks.r_osgi.port |
9278 |
The port on which R-OSGi operates when the (default) TCP-based protocol is used. Should not be changed unless R-OSGi is running in a closed environment where all peers use a non-default port. |
|
true |
Defines if R-OSGi should register the
default transport channel support for the
|
|
120000 |
Defines timeout used (ms) for ChannelEndpointImpl.TIMEOUT variable used in ChannelEndpointImpl.sendAndWait() method. |
|
true |
Whether to use the value of InetAddress.getLocalHost().getCanonicalHostName() as the default host value for dynamically created r_osgi provider ID. If false, then 'localhost' is used as default. Setting this to false can be useful if your network configuration results in getCanonicalHostName() taking a very long time to complete (> 10 seconds), due to absent or misconfigured nameserver. |