Re: [Dev] [DEV] hostname in certificate didn't match: !=

2017-11-28 Thread Nuwan Silva
yes seems its the same issues. I was able to resolve it by following the
steps in that thread.

Cheers,
NuwanS.

On Tue, Nov 28, 2017 at 3:31 PM, Anuruddha Liyanarachchi <
anurudd...@wso2.com> wrote:

> Hi Nuwan,
>
> Are you using a load balancer to access the KM node? A similar issue is
> discussed in mail thread[1] where nginx sending a wrong certificate if
> the client doesn't send SNI information to the server.
>
> [1] Publisher/Store nodes are throwing an error "unable to find valid
> certification path to requested target
>
>
> On Tue, Nov 28, 2017 at 2:34 PM, Abimaran Kugathasan 
> wrote:
>
>> Hi Nuwan,
>>
>> Have you generated KeyStore for all the nodes? CN property belongs to
>> KeyStore. What's the value you have given to CN when you generate KeyStore?
>> Importing public keys to each other's client-truststore don't have any
>> impact on this problem.
>>
>> On Tue, Nov 28, 2017 at 11:29 AM, Isuru Haththotuwa 
>> wrote:
>>
>>> This means that the actual URL what it was trying to access
>>> (km.dev.wso2.org ) presented a certificate with
>>> the CN gw.dev.wso2.org. 
>>> The server at the host km.dev.wso2.com should have a public certificate
>>> with the same hostname as CN. And since you seem to have a common domain
>>> dev.wso2.org, you can generate a SSL key pair with a wildcard - *.
>>> dev.wso2.org. No need to generate separately for each instance.
>>> 
>>>
>>> On Tue, Nov 28, 2017 at 11:21 AM, Nuwan Silva  wrote:
>>>
 Hi Team,

 I'm getting the above issue when trying to login to publisher. I have
 added the certificates of all the instances of the deployment to a single
 client-truststore and copied to all servers.

 checking via
 keytool -list -v -keystore client-truststore.jks

 does show the certificates. What can be the cause of this?

 TID: [-1234] [] [2017-11-28 05:43:47,637]  INFO
 {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} -
 Permission cache updated for tenant -1234 {org.wso2.carbon.core.internal
 .permission.update.PermissionUpdater}
 TID: [-1234] [] [2017-11-28 05:43:48,009]  INFO {
 org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost
 to url[https://km.dev.wso2.org:443/services/AuthenticationAdmin] {
 org.apache.axis2.transport.http.HTTPSender}
 javax.net.ssl.SSLException: hostname in certificate didn't match: <
 km.dev.wso2.org> != 
 at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
 ory.verifyHostName(SSLProtocolSocketFactory.java:436)
 at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
 ory.verifyHostName(SSLProtocolSocketFactory.java:302)
 at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
 ory.verifyHostName(SSLProtocolSocketFactory.java:273)
 at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
 ory.createSocket(SSLProtocolSocketFactory.java:183)
 at org.apache.commons.httpclient.HttpConnection.open(HttpConnec
 tion.java:707)
 at org.apache.commons.httpclient.MultiThreadedHttpConnectionMan
 ager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionM
 anager.java:1361)
 at org.apache.commons.httpclient.HttpMethodDirector.executeWith
 Retry(HttpMethodDirector.java:387)
 at org.apache.commons.httpclient.HttpMethodDirector.executeMeth
 od(HttpMethodDirector.java:171)
 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpC
 lient.java:397)
 at org.apache.axis2.transport.http.AbstractHTTPSender.executeMe
 thod(AbstractHTTPSender.java:682)
 at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPS
 ender.java:195)
 at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.j
 ava:77)
 at org.apache.axis2.transport.http.CommonsHTTPTransportSender.w
 riteMessageWithCommons(CommonsHTTPTransportSender.java:451)
 at org.apache.axis2.transport.http.CommonsHTTPTransportSender.i
 nvoke(CommonsHTTPTransportSender.java:278)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at org.apache.axis2.description.OutInAxisOperationClient.send(O
 utInAxisOperation.java:430)
 at org.apache.axis2.description.OutInAxisOperationClient.execut
 eImpl(OutInAxisOperation.java:225)
 at org.apache.axis2.client.OperationClient.execute(OperationCli
 ent.java:149)
 at org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.l
 ogin(AuthenticationAdminStub.java:659)
 at org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.jsF
 unction_login(APIProviderHostObject.java:267)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
 ssorImpl.java:62)
  

Re: [Dev] [DEV] hostname in certificate didn't match: !=

2017-11-28 Thread Anuruddha Liyanarachchi
Hi Nuwan,

Are you using a load balancer to access the KM node? A similar issue is
discussed in mail thread[1] where nginx sending a wrong certificate if the
client doesn't send SNI information to the server.

[1] Publisher/Store nodes are throwing an error "unable to find valid
certification path to requested target


On Tue, Nov 28, 2017 at 2:34 PM, Abimaran Kugathasan 
wrote:

> Hi Nuwan,
>
> Have you generated KeyStore for all the nodes? CN property belongs to
> KeyStore. What's the value you have given to CN when you generate KeyStore?
> Importing public keys to each other's client-truststore don't have any
> impact on this problem.
>
> On Tue, Nov 28, 2017 at 11:29 AM, Isuru Haththotuwa 
> wrote:
>
>> This means that the actual URL what it was trying to access
>> (km.dev.wso2.org ) presented a certificate with
>> the CN gw.dev.wso2.org. 
>> The server at the host km.dev.wso2.com should have a public certificate
>> with the same hostname as CN. And since you seem to have a common domain
>> dev.wso2.org, you can generate a SSL key pair with a wildcard - *.
>> dev.wso2.org. No need to generate separately for each instance.
>> 
>>
>> On Tue, Nov 28, 2017 at 11:21 AM, Nuwan Silva  wrote:
>>
>>> Hi Team,
>>>
>>> I'm getting the above issue when trying to login to publisher. I have
>>> added the certificates of all the instances of the deployment to a single
>>> client-truststore and copied to all servers.
>>>
>>> checking via
>>> keytool -list -v -keystore client-truststore.jks
>>>
>>> does show the certificates. What can be the cause of this?
>>>
>>> TID: [-1234] [] [2017-11-28 05:43:47,637]  INFO
>>> {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} -
>>> Permission cache updated for tenant -1234 {org.wso2.carbon.core.internal
>>> .permission.update.PermissionUpdater}
>>> TID: [-1234] [] [2017-11-28 05:43:48,009]  INFO {
>>> org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
>>> url[https://km.dev.wso2.org:443/services/AuthenticationAdmin] {
>>> org.apache.axis2.transport.http.HTTPSender}
>>> javax.net.ssl.SSLException: hostname in certificate didn't match: <
>>> km.dev.wso2.org> != 
>>> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
>>> ory.verifyHostName(SSLProtocolSocketFactory.java:436)
>>> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
>>> ory.verifyHostName(SSLProtocolSocketFactory.java:302)
>>> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
>>> ory.verifyHostName(SSLProtocolSocketFactory.java:273)
>>> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
>>> ory.createSocket(SSLProtocolSocketFactory.java:183)
>>> at org.apache.commons.httpclient.HttpConnection.open(HttpConnec
>>> tion.java:707)
>>> at org.apache.commons.httpclient.MultiThreadedHttpConnectionMan
>>> ager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionM
>>> anager.java:1361)
>>> at org.apache.commons.httpclient.HttpMethodDirector.executeWith
>>> Retry(HttpMethodDirector.java:387)
>>> at org.apache.commons.httpclient.HttpMethodDirector.executeMeth
>>> od(HttpMethodDirector.java:171)
>>> at org.apache.commons.httpclient.HttpClient.executeMethod(HttpC
>>> lient.java:397)
>>> at org.apache.axis2.transport.http.AbstractHTTPSender.executeMe
>>> thod(AbstractHTTPSender.java:682)
>>> at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPS
>>> ender.java:195)
>>> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.j
>>> ava:77)
>>> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.w
>>> riteMessageWithCommons(CommonsHTTPTransportSender.java:451)
>>> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.i
>>> nvoke(CommonsHTTPTransportSender.java:278)
>>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>>> at org.apache.axis2.description.OutInAxisOperationClient.send(O
>>> utInAxisOperation.java:430)
>>> at org.apache.axis2.description.OutInAxisOperationClient.execut
>>> eImpl(OutInAxisOperation.java:225)
>>> at org.apache.axis2.client.OperationClient.execute(OperationCli
>>> ent.java:149)
>>> at org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.l
>>> ogin(AuthenticationAdminStub.java:659)
>>> at org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.jsF
>>> unction_login(APIProviderHostObject.java:267)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>>> ssorImpl.java:62)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>>> thodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
>>> at org.mozilla.javascript.FunctionObject.call(FunctionObject.ja
>>> 

Re: [Dev] [DEV] hostname in certificate didn't match: !=

2017-11-28 Thread Abimaran Kugathasan
Hi Nuwan,

Have you generated KeyStore for all the nodes? CN property belongs to
KeyStore. What's the value you have given to CN when you generate KeyStore?
Importing public keys to each other's client-truststore don't have any
impact on this problem.

On Tue, Nov 28, 2017 at 11:29 AM, Isuru Haththotuwa  wrote:

> This means that the actual URL what it was trying to access
> (km.dev.wso2.org ) presented a certificate with
> the CN gw.dev.wso2.org. 
> The server at the host km.dev.wso2.com should have a public certificate
> with the same hostname as CN. And since you seem to have a common domain
> dev.wso2.org, you can generate a SSL key pair with a wildcard - *.
> dev.wso2.org. No need to generate separately for each instance.
> 
>
> On Tue, Nov 28, 2017 at 11:21 AM, Nuwan Silva  wrote:
>
>> Hi Team,
>>
>> I'm getting the above issue when trying to login to publisher. I have
>> added the certificates of all the instances of the deployment to a single
>> client-truststore and copied to all servers.
>>
>> checking via
>> keytool -list -v -keystore client-truststore.jks
>>
>> does show the certificates. What can be the cause of this?
>>
>> TID: [-1234] [] [2017-11-28 05:43:47,637]  INFO
>> {org.wso2.carbon.core.internal.permission.update.PermissionUpdater} -
>> Permission cache updated for tenant -1234 {org.wso2.carbon.core.internal
>> .permission.update.PermissionUpdater}
>> TID: [-1234] [] [2017-11-28 05:43:48,009]  INFO {
>> org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
>> url[https://km.dev.wso2.org:443/services/AuthenticationAdmin] {
>> org.apache.axis2.transport.http.HTTPSender}
>> javax.net.ssl.SSLException: hostname in certificate didn't match: <
>> km.dev.wso2.org> != 
>> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
>> ory.verifyHostName(SSLProtocolSocketFactory.java:436)
>> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
>> ory.verifyHostName(SSLProtocolSocketFactory.java:302)
>> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
>> ory.verifyHostName(SSLProtocolSocketFactory.java:273)
>> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFact
>> ory.createSocket(SSLProtocolSocketFactory.java:183)
>> at org.apache.commons.httpclient.HttpConnection.open(HttpConnec
>> tion.java:707)
>> at org.apache.commons.httpclient.MultiThreadedHttpConnectionMan
>> ager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionM
>> anager.java:1361)
>> at org.apache.commons.httpclient.HttpMethodDirector.executeWith
>> Retry(HttpMethodDirector.java:387)
>> at org.apache.commons.httpclient.HttpMethodDirector.executeMeth
>> od(HttpMethodDirector.java:171)
>> at org.apache.commons.httpclient.HttpClient.executeMethod(HttpC
>> lient.java:397)
>> at org.apache.axis2.transport.http.AbstractHTTPSender.executeMe
>> thod(AbstractHTTPSender.java:682)
>> at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPS
>> ender.java:195)
>> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.
>> java:77)
>> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.w
>> riteMessageWithCommons(CommonsHTTPTransportSender.java:451)
>> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.i
>> nvoke(CommonsHTTPTransportSender.java:278)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>> at org.apache.axis2.description.OutInAxisOperationClient.send(O
>> utInAxisOperation.java:430)
>> at org.apache.axis2.description.OutInAxisOperationClient.execut
>> eImpl(OutInAxisOperation.java:225)
>> at org.apache.axis2.client.OperationClient.execute(OperationCli
>> ent.java:149)
>> at org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.l
>> ogin(AuthenticationAdminStub.java:659)
>> at org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.jsF
>> unction_login(APIProviderHostObject.java:267)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
>> ssorImpl.java:62)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
>> thodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
>> at org.mozilla.javascript.FunctionObject.call(FunctionObject.
>> java:386)
>> at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime
>> .java:42)
>> at org.jaggeryjs.rhino.publisher.modules.user.c1._c_anonymous_1
>> (/publisher/modules/user/login.jag:19)
>> at org.jaggeryjs.rhino.publisher.modules.user.c1.call(/publishe
>> r/modules/user/login.jag)
>> at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRunti
>> me.java:2430)
>> at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.
>> java:269)
>> at 

Re: [Dev] [DEV] hostname in certificate didn't match: !=

2017-11-27 Thread Isuru Haththotuwa
This means that the actual URL what it was trying to access (km.dev.wso2.org
) presented a certificate with the CN
gw.dev.wso2.org. 
The server at the host km.dev.wso2.com should have a public certificate
with the same hostname as CN. And since you seem to have a common domain
dev.wso2.org, you can generate a SSL key pair with a wildcard - *.
dev.wso2.org. No need to generate separately for each instance.


On Tue, Nov 28, 2017 at 11:21 AM, Nuwan Silva  wrote:

> Hi Team,
>
> I'm getting the above issue when trying to login to publisher. I have
> added the certificates of all the instances of the deployment to a single
> client-truststore and copied to all servers.
>
> checking via
> keytool -list -v -keystore client-truststore.jks
>
> does show the certificates. What can be the cause of this?
>
> TID: [-1234] [] [2017-11-28 05:43:47,637]  INFO {org.wso2.carbon.core.
> internal.permission.update.PermissionUpdater} -  Permission cache updated
> for tenant -1234 {org.wso2.carbon.core.internal.permission.update.
> PermissionUpdater}
> TID: [-1234] [] [2017-11-28 05:43:48,009]  INFO
> {org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
> url[https://km.dev.wso2.org:443/services/AuthenticationAdmin]
> {org.apache.axis2.transport.http.HTTPSender}
> javax.net.ssl.SSLException: hostname in certificate didn't match: <
> km.dev.wso2.org> != 
> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.
> verifyHostName(SSLProtocolSocketFactory.java:436)
> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.
> verifyHostName(SSLProtocolSocketFactory.java:302)
> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.
> verifyHostName(SSLProtocolSocketFactory.java:273)
> at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.
> createSocket(SSLProtocolSocketFactory.java:183)
> at org.apache.commons.httpclient.HttpConnection.open(
> HttpConnection.java:707)
> at org.apache.commons.httpclient.MultiThreadedHttpConnectionMan
> ager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionMan
> ager.java:1361)
> at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(
> HttpMethodDirector.java:387)
> at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(
> HttpMethodDirector.java:171)
> at org.apache.commons.httpclient.HttpClient.executeMethod(
> HttpClient.java:397)
> at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(
> AbstractHTTPSender.java:682)
> at org.apache.axis2.transport.http.HTTPSender.sendViaPost(
> HTTPSender.java:195)
> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.
> writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
> at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(
> CommonsHTTPTransportSender.java:278)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
> at org.apache.axis2.description.OutInAxisOperationClient.send(
> OutInAxisOperation.java:430)
> at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> OutInAxisOperation.java:225)
> at org.apache.axis2.client.OperationClient.execute(
> OperationClient.java:149)
> at org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.
> login(AuthenticationAdminStub.java:659)
> at org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.
> jsFunction_login(APIProviderHostObject.java:267)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
> at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
> at org.mozilla.javascript.optimizer.OptRuntime.call2(
> OptRuntime.java:42)
> at org.jaggeryjs.rhino.publisher.modules.user.c1._c_anonymous_
> 1(/publisher/modules/user/login.jag:19)
> at org.jaggeryjs.rhino.publisher.modules.user.c1.call(/
> publisher/modules/user/login.jag)
> at org.mozilla.javascript.ScriptRuntime.applyOrCall(
> ScriptRuntime.java:2430)
> at org.mozilla.javascript.BaseFunction.execIdCall(
> BaseFunction.java:269)
> at org.mozilla.javascript.IdFunctionObject.call(
> IdFunctionObject.java:97)
> at org.mozilla.javascript.optimizer.OptRuntime.call2(
> OptRuntime.java:42)
> at org.jaggeryjs.rhino.publisher.modules.user.c0._c_anonymous_
> 1(/publisher/modules/user/module.jag:5)
> at org.jaggeryjs.rhino.publisher.modules.user.c0.call(/
> publisher/modules/user/module.jag)
> at org.mozilla.javascript.optimizer.OptRuntime.callN(
> OptRuntime.java:52)
> 

[Dev] [DEV] hostname in certificate didn't match: !=

2017-11-27 Thread Nuwan Silva
Hi Team,

I'm getting the above issue when trying to login to publisher. I have added
the certificates of all the instances of the deployment to a single
client-truststore and copied to all servers.

checking via
keytool -list -v -keystore client-truststore.jks

does show the certificates. What can be the cause of this?

TID: [-1234] [] [2017-11-28 05:43:47,637]  INFO
{org.wso2.carbon.core.internal.permission.update.PermissionUpdater} -
Permission cache updated for tenant -1234
{org.wso2.carbon.core.internal.permission.update.PermissionUpdater}
TID: [-1234] [] [2017-11-28 05:43:48,009]  INFO
{org.apache.axis2.transport.http.HTTPSender} -  Unable to sendViaPost to
url[https://km.dev.wso2.org:443/services/AuthenticationAdmin]
{org.apache.axis2.transport.http.HTTPSender}
javax.net.ssl.SSLException: hostname in certificate didn't match: <
km.dev.wso2.org> != 
at
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.verifyHostName(SSLProtocolSocketFactory.java:436)
at
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.verifyHostName(SSLProtocolSocketFactory.java:302)
at
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.verifyHostName(SSLProtocolSocketFactory.java:273)
at
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:183)
at
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:682)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)
at
org.wso2.carbon.apimgt.hostobjects.APIProviderHostObject.jsFunction_login(APIProviderHostObject.java:267)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at
org.jaggeryjs.rhino.publisher.modules.user.c1._c_anonymous_1(/publisher/modules/user/login.jag:19)
at
org.jaggeryjs.rhino.publisher.modules.user.c1.call(/publisher/modules/user/login.jag)
at
org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430)
at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
at
org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
at
org.jaggeryjs.rhino.publisher.modules.user.c0._c_anonymous_1(/publisher/modules/user/module.jag:5)
at
org.jaggeryjs.rhino.publisher.modules.user.c0.call(/publisher/modules/user/module.jag)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
at
org.jaggeryjs.rhino.publisher.site.blocks.user.login.ajax.c0._c_anonymous_1(/publisher/site/blocks/user/login/ajax/login.jag:26)
at
org.jaggeryjs.rhino.publisher.site.blocks.user.login.ajax.c0.call(/publisher/site/blocks/user/login/ajax/login.jag)
at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:23)
at
org.jaggeryjs.rhino.publisher.site.blocks.user.login.ajax.c0._c_script_0(/publisher/site/blocks/user/login/ajax/login.jag:5)
at
org.jaggeryjs.rhino.publisher.site.blocks.user.login.ajax.c0.call(/publisher/site/blocks/user/login/ajax/login.jag)
at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at