Configuration of login gadget not set when service is restarted
---------------------------------------------------------------
Key: AMDATU-171
URL: http://jira.amdatu.org/jira/browse/AMDATU-171
Project: Amdatu
Issue Type: Bug
Reporter: Ivo Ladage - van Doorn
Assignee: Ivo Ladage - van Doorn
When you run Amdatu and use the login gadget, everything works fine. When you
stop/start the login gadget however, this error appears:
ERROR: Could not retrieve gadget spec for url
'http://null:null/gadget/login/jsp/LoginGadget.jsp' [org.amdatu.opensocial
.gadgetmanagement]
Stream handler unavailable due to: For input string: "null"
java.net.MalformedURLException: Stream handler unavailable due to: For input
string: "null"
at java.net.URL.<init>(URL.java:601)
The problem is that on a service restart the updated() method is not invoked of
a ManagedService, and so configuration properties are never set upon the second
time the service starts. A temporary workaround has been implemented by making
config entries static in this class.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira