stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Imesh Gunaratne (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (STRATOS-882) [CLI] Invalid Error Handling at Login
Date Fri, 10 Oct 2014 12:49:33 GMT

     [ https://issues.apache.org/jira/browse/STRATOS-882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Imesh Gunaratne resolved STRATOS-882.
-------------------------------------
    Resolution: Fixed

> [CLI] Invalid Error Handling at Login
> -------------------------------------
>
>                 Key: STRATOS-882
>                 URL: https://issues.apache.org/jira/browse/STRATOS-882
>             Project: Stratos
>          Issue Type: Bug
>    Affects Versions: 4.1.0 M1
>            Reporter: Imesh Gunaratne
>            Assignee: Imesh Gunaratne
>             Fix For: 4.1.0 M2
>
>
> Seems like in CLI even when the user is not authenticated it says "Successfully Authenticated",
see the below trace:
> Username: admin
> Password: *****
> java.net.UnknownHostException: s4: nodename nor servname provided, or not known
> 	at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
> 	at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
> 	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
> 	at java.net.InetAddress.getAllByName0(InetAddress.java:1246)
> 	at java.net.InetAddress.getAllByName(InetAddress.java:1162)
> 	at java.net.InetAddress.getAllByName(InetAddress.java:1098)
> 	at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:44)
> 	at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259)
> 	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159)
> 	at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
> 	at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
> 	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
> 	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
> 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
> 	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
> 	at org.apache.stratos.cli.RestClient.doGet(RestClient.java:126)
> 	at org.apache.stratos.cli.RestCommandLineService.login(RestCommandLineService.java:169)
> 	at org.apache.stratos.cli.StratosApplication.login(StratosApplication.java:399)
> 	at org.apache.stratos.cli.StratosApplication.run(StratosApplication.java:347)
> 	at org.apache.stratos.cli.CommandLineApplication.start(CommandLineApplication.java:100)
> 	at org.apache.stratos.cli.CliTool.handleConsoleInputs(CliTool.java:56)
> 	at org.apache.stratos.cli.CliTool.main(CliTool.java:42)
> Successfully Authenticated.



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

Mime
View raw message