[ 
https://issues.apache.org/jira/browse/FALCON-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881404#comment-13881404
 ] 

Venkatesh Seetharam commented on FALCON-276:
--------------------------------------------

This is a problem in java web server world. The server is different from the 
web application its trying to load. It can serve many web apps and provides a 
container for these. I understand this is not good operationally. Not sure if 
there is a way out. The code actually throws RuntimeException if the services 
would not start.

{code}
org.apache.falcon.listener.ContextStartupListener#contextInitialized
        try {
            startupServices.initialize();
            ConfigurationStore.get();
        } catch (FalconException e) {
            throw new RuntimeException(e);
        }
{code}


> falcon/prism services should fail to start if exceptions are encountered 
> during bootup
> --------------------------------------------------------------------------------------
>
>                 Key: FALCON-276
>                 URL: https://issues.apache.org/jira/browse/FALCON-276
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.4
>            Reporter: Arpit Gupta
>
> I noticed that when starting falcon and prism the services started up but i 
> could not run the falcon admin -version command. Upon looking at the 
> application logs i saw exception. 
> It would be a much better if the service fails to start when exceptions are 
> encountered and throws an error so the service start commands fail.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to