[
https://wso2.org/jira/browse/ESBJAVA-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266#action_16266
]
Ruwan Linton commented on ESBJAVA-447:
--------------------------------------
This issue is invalid because MTOM should not be enabled at the global scope.
On the other hand this failure is completely acceptable because, when U enable
MTOM at the global scope, all the services deployed on that axis2 container
will be affected by that configuration and hence the reply from all the admin
services are going to contain MIME Boundaries which cannot be read by the
browser XMLHttpRequest object.
This is why the login fails. In reality this will completely disable the admin
console. Since this check is done on the main.js we cannot even show an error
message on the console, but I think this is OK, because this is due to a user
error.
> Unable to login to ESB admin console if enableMTOM=true in the axis2xml
> located in ESB_HOME/webapp/WEB-INF/classes/conf
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: ESBJAVA-447
> URL: https://wso2.org/jira/browse/ESBJAVA-447
> Project: WSO2 ESB
> Issue Type: Bug
> Affects Versions: 1.6
> Environment: JDK1.5.0_14, Ubuntu7.10
> Reporter: Evanthika Amarasiri
> Assignee: Ruwan Linton
> Fix For: 1.7
>
>
> I accidentally set the enableMTOM=true in the axis2.xml located at
> /ESB_HOME/webapp/WEB-INF/classes/conf.
> After restarting the ESB server tried to login to the ESB admin console but
> failed. Even though you need not to enable MTOM at global level, if such a
> situation occurs shouldn't it allow the user to login without any issues
> Through firebug the following error was given.
> ********************************************************************************************
> xhReq.responseXML has no properties
> onreadystatechange()main.js (line 182)
> [Break on this error] var isLogInDone =
> xhReq.responseXML.getElementsByTagName("re...
> main.js (line 182)
> ********************************************************************************************
> The following was also displayed when checked through firebug
> ****************************************************************************************************************************
> POST https://localhost:9444/esb/soap/LoginAdmin/login (354ms)
> Response
> --MIMEBoundaryurn_uuid_F1755C7B3B2756FAAF1205833291795
> Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
> Content-Transfer-Encoding: binary
> Content-ID: <0.urn:uuid:[EMAIL PROTECTED]>
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap
> /envelope/"
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><soapenv:Header><wsa:To>http
> ://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:MessageID>urn:uuid:F1755C7B3B2756FAAF1205833291756
> </wsa:MessageID><wsa:Action>urn:loginResponse</wsa:Action><wsa:RelatesTo>uuid:BABE23A9BE85EA7AE011327368520801
> </wsa:RelatesTo></soapenv:Header><soapenv:Body><ns:loginResponse
> xmlns:ns="http://org.apache.axis2/xsd"
> ><return>true</return></ns:loginResponse></soapenv:Body></soapenv:Envelope>
> --MIMEBoundaryurn_uuid_F1755C7B3B2756FAAF1205833291795--
> ***************************************************************************************************************************
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev