You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Nixon Rodrigues (JIRA)" <ji...@apache.org> on 2016/09/02 05:35:20 UTC

[jira] [Commented] (ATLAS-1133) Jetty Server start doesn't throw exception when user-credential.properties file is not found

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

Nixon Rodrigues commented on ATLAS-1133:
----------------------------------------


[~svimal2106] I verified the patch and it is fine, this patch change throws run time exception on login page if user credential file & policy store file are not in path, But some unit test cases starts jetty for execution and they fail due to startup error. I am looking into fix this path issue. 

please start mvn jetty with system property *user.dir* as argument to start atlas application with proper authentication/authorization
{noformat}
apache-atlas-testing/webapp(master) $ mvn jetty:run -Duser.dir=/<path>/apache-atlas-testing/
{noformat}

> Jetty Server start doesn't throw exception when user-credential.properties file is not found
> --------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1133
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1133
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Vimal Sharma
>            Assignee: Nixon Rodrigues
>         Attachments: ATLAS-1133.patch
>
>
> In webapp module, the command mvn jetty:run doesn't throw any exception even when the file user-credentials.properties is not found. The command should throw an exception and jetty server should not start.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)