You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2011/01/09 11:23:45 UTC
[jira] Created: (FELIX-2771) Configuration Admin does not work on
Foundation 1.2 and Mika
Configuration Admin does not work on Foundation 1.2 and Mika
------------------------------------------------------------
Key: FELIX-2771
URL: https://issues.apache.org/jira/browse/FELIX-2771
Project: Felix
Issue Type: Bug
Components: Configuration Admin
Affects Versions: configadmin-1.2.8
Reporter: Clement Escoffier
Priority: Minor
The configuration admin implementation uses classes and methods not available in Foundation and/or Mika.
In Foundation:
The method getCause() is undefined for the type PrivilegedActionException
The method valueOf(String) in the type Boolean does not exist for the arguments (boolean)
On Mika, the SecureRandom class is not available:
couldn't find a SecureRandom
at java.security.SecureRandom.<init>(SecureRandom.java:78)
at org.apache.felix.cm.impl.ConfigurationManager.createPid(ConfigurationManager.java:870)
at org.apache.felix.cm.impl.ConfigurationManager.createFactoryConfiguration(ConfigurationManager.java:450)
at org.apache.felix.cm.impl.ConfigurationAdminImpl.createFactoryConfiguration(ConfigurationAdminImpl.java:84)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Updated] (FELIX-2771) Configuration Admin does not work on
Foundation 1.2 and Mika
Posted by "Felix Meschberger (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated FELIX-2771:
-------------------------------------
Fix Version/s: (was: configadmin-1.2.10)
configadmin-1.4.0
> Configuration Admin does not work on Foundation 1.2 and Mika
> ------------------------------------------------------------
>
> Key: FELIX-2771
> URL: https://issues.apache.org/jira/browse/FELIX-2771
> Project: Felix
> Issue Type: Bug
> Components: Configuration Admin
> Affects Versions: configadmin-1.2.8
> Reporter: Clement Escoffier
> Assignee: Felix Meschberger
> Priority: Minor
> Fix For: configadmin-1.4.0
>
>
> The configuration admin implementation uses classes and methods not available in Foundation and/or Mika.
> In Foundation:
> The method getCause() is undefined for the type PrivilegedActionException
> The method valueOf(String) in the type Boolean does not exist for the arguments (boolean)
> On Mika, the SecureRandom class is not available:
> couldn't find a SecureRandom
> at java.security.SecureRandom.<init>(SecureRandom.java:78)
> at org.apache.felix.cm.impl.ConfigurationManager.createPid(ConfigurationManager.java:870)
> at org.apache.felix.cm.impl.ConfigurationManager.createFactoryConfiguration(ConfigurationManager.java:450)
> at org.apache.felix.cm.impl.ConfigurationAdminImpl.createFactoryConfiguration(ConfigurationAdminImpl.java:84)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (FELIX-2771) Configuration Admin does not work on
Foundation 1.2 and Mika
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved FELIX-2771.
--------------------------------------
Resolution: Fixed
Fix Version/s: configadmin-1.2.10
Assignee: Felix Meschberger
Thanks for reporting these issues.
I have fixed them in Rev. 1067154 as follows:
PrivilegedActionException: use getException() instead of getCause()
Boolean.valueOf(boolean): use boolean ? TRUE : FALSE
SecureRandom: fall back to Random
> Configuration Admin does not work on Foundation 1.2 and Mika
> ------------------------------------------------------------
>
> Key: FELIX-2771
> URL: https://issues.apache.org/jira/browse/FELIX-2771
> Project: Felix
> Issue Type: Bug
> Components: Configuration Admin
> Affects Versions: configadmin-1.2.8
> Reporter: Clement Escoffier
> Assignee: Felix Meschberger
> Priority: Minor
> Fix For: configadmin-1.2.10
>
>
> The configuration admin implementation uses classes and methods not available in Foundation and/or Mika.
> In Foundation:
> The method getCause() is undefined for the type PrivilegedActionException
> The method valueOf(String) in the type Boolean does not exist for the arguments (boolean)
> On Mika, the SecureRandom class is not available:
> couldn't find a SecureRandom
> at java.security.SecureRandom.<init>(SecureRandom.java:78)
> at org.apache.felix.cm.impl.ConfigurationManager.createPid(ConfigurationManager.java:870)
> at org.apache.felix.cm.impl.ConfigurationManager.createFactoryConfiguration(ConfigurationManager.java:450)
> at org.apache.felix.cm.impl.ConfigurationAdminImpl.createFactoryConfiguration(ConfigurationAdminImpl.java:84)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira