Hi Imesh,

On Tue, Jul 12, 2016 at 11:27 PM, Imesh Gunaratne <[email protected]> wrote:

>
>>    1. Validate if dependency libs are present
>>
>> Do you have any thoughts on how to implement this? I think at runtime we
> may need to read OSGi bundle information to get the dependency information.​
>
>
The idea I had was to verify if external libs like JDBC Connectors,
 clustering membership scheme implementations are present in the lib
folder. On second thought, this might not materialize in to a good
solution, as it would not provide additional information than the CNF
issues we see when starting the server.

>
>>    1. Provide a valid return code for success (0) or failure (more than
>>    0)
>>    2. Does not cause any side effects (DB creation/modification, log
>>    generation etc)
>>
>> ​May be a new log file can be introduced for this?
>

The main reason not to output logs to the main log files is that if log
monitoring solutions are setup and they produce alerts based on error
messages, verification steps should not produce those alerts in the long
run.




Regards,
Chamila de Alwis
Committer and PMC Member - Apache Stratos
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to