Hi, Shafreen and I looked into this. When committing to patch0002, an earlier diff attached in the mail thread has been used. There was an issue in that fix. The correct fix was attached to the Jira. Manoj will revert it and commit the correct diff which is in Jira.
Thanks, Nufail. On Tue, Nov 12, 2013 at 6:35 PM, Kishanthan Thangarajah <[email protected] > wrote: > Hi Nufail, Shafreen, > > Can you have a look? Did we run all the test cases with the fix for > ESBJAVA-2350? > > Thanks, > Kishanthan. > > > > On Tue, Nov 12, 2013 at 12:25 PM, Miyuru Wanninayaka <[email protected]>wrote: > >> Is this fixed? >> >> >> On Fri, Nov 8, 2013 at 6:52 PM, Miyuru Wanninayaka <[email protected]>wrote: >> >>> Yes. This is a good enough reason to not pack patch0002 with ESB :D >>> We need to fix this ASAP >>> >>> Seems r189782 caused this >>> >>> >>> On Fri, Nov 8, 2013 at 6:35 PM, Krishantha Samaraweera < >>> [email protected]> wrote: >>> >>>> Hi Miyuru, >>>> >>>> I have tested with axis2 service client by placing all jars inside ESB >>>> plugging directory to classpath and test results was positive. >>>> >>>> Then I rerun the same axis2 service client by placing axis2 jar at >>>> /patch0002/dependencies/orbit/axis2/target and the test get failed with >>>> above mentioned exception. >>>> >>>> Only patch0000 and patch0001 directories are available in ESB. And >>>> patch0002 is missing. So IMO axis2 jar packed in to ESB 4.8.0 is incorrect. >>>> You will get this exception with axis2 service client once correct kernal >>>> patch is applied. >>>> >>>> Thanks, >>>> Krishantha. >>>> >>>> >>>> On Fri, Nov 8, 2013 at 3:15 PM, Krishantha Samaraweera < >>>> [email protected]> wrote: >>>> >>>>> I'm looking to this. I was able to execute the sample 7 in ESB. So >>>>> this could be a dependency issue with test framework. >>>>> >>>>> Thanks, >>>>> Krishantha. >>>>> >>>>> >>>>> On Fri, Nov 8, 2013 at 3:07 PM, Miyuru Wanninayaka <[email protected]>wrote: >>>>> >>>>>> I have tested this with a axis2 service client code written using >>>>>> axis2 jars packed into ESB. >>>>>> >>>>>> axisFault.getMessage() is working as expected with that, which mean >>>>>> issue is something with test framework. >>>>>> >>>>>> >>>>>> On Fri, Nov 8, 2013 at 1:24 PM, Miyuru Wanninayaka >>>>>> <[email protected]>wrote: >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> when debugging ESB test failures, I found that soap fault thrown by >>>>>>> axis2 client no longs has "faultstring" as axisFault.getMessage() >>>>>>> This cause few test cases fail which check axisFault.getMessage to >>>>>>> test failure scenarios >>>>>>> >>>>>>> now axisFault.getMessage() always returns "Error has occurred when >>>>>>> calling the service, status code is 500" regardless of actual fault >>>>>>> message. >>>>>>> >>>>>>> Was there any change recently which cause this? >>>>>>> >>>>>>> Respose from ESB >>>>>>> [2013-11-08 13:06:18,930] INFO >>>>>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - >>>>>>> [2013-11-08 13:06:18,930] DEBUG - wire << "HTTP/1.1 500 Internal Server >>>>>>> Error[\r][\n]" >>>>>>> [2013-11-08 13:06:18,931] INFO >>>>>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - >>>>>>> [2013-11-08 13:06:18,930] DEBUG - wire << "Host: >>>>>>> localhost:8280[\r][\n]" >>>>>>> [2013-11-08 13:06:18,931] INFO >>>>>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - >>>>>>> [2013-11-08 13:06:18,930] DEBUG - wire << "SOAPAction: >>>>>>> "urn:getQuote"[\r][\n]" >>>>>>> [2013-11-08 13:06:18,932] INFO >>>>>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - >>>>>>> [2013-11-08 13:06:18,931] DEBUG - wire << "Content-Type: text/xml; >>>>>>> charset=UTF-8[\r][\n]" >>>>>>> [2013-11-08 13:06:18,932] INFO >>>>>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - >>>>>>> [2013-11-08 13:06:18,931] DEBUG - wire << "Date: Fri, 08 Nov 2013 >>>>>>> 07:36:18 >>>>>>> GMT[\r][\n]" >>>>>>> [2013-11-08 13:06:18,933] INFO >>>>>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - >>>>>>> [2013-11-08 13:06:18,931] DEBUG - wire << "Server: >>>>>>> WSO2-PassThrough-HTTP[\r][\n]" >>>>>>> [2013-11-08 13:06:18,933] INFO >>>>>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - >>>>>>> [2013-11-08 13:06:18,931] DEBUG - wire << "Transfer-Encoding: >>>>>>> chunked[\r][\n]" >>>>>>> [2013-11-08 13:06:18,934] INFO >>>>>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - >>>>>>> [2013-11-08 13:06:18,931] DEBUG - wire << "[\r][\n]" >>>>>>> [2013-11-08 13:06:18,950] INFO >>>>>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - >>>>>>> [2013-11-08 13:06:18,941] DEBUG - wire << "14f[\r][\n]" >>>>>>> [2013-11-08 13:06:18,951] INFO >>>>>>> {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - >>>>>>> [2013-11-08 13:06:18,942] DEBUG - wire << "<?xml version="1.0" >>>>>>> encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv=" >>>>>>> http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode >>>>>>> xmlns:tns="http://www.w3.org/2003/05/soap-envelope >>>>>>> ">tns:Receiver</faultcode>*<faultstring>Invalid custom quote >>>>>>> request</faultstring>* >>>>>>> </soapenv:Fault></soapenv:Body></soapenv:Envelope>[\r][\n]" >>>>>>> >>>>>>> >>>>>>> *Test framework log* >>>>>>> >>>>>>> FAILED: testValidationSchema >>>>>>> Add a validate mediator, which validates the first element >>>>>>> of the SOAP body of incoming message using the schema >>>>>>> java.lang.AssertionError: Fault: value mismatched, should be >>>>>>> 'Invalid custom quote request' expected:<Invalid custom quote request> >>>>>>> but >>>>>>> was:<Error has occurred when calling the service, status code is 500> >>>>>>> at org.testng.Assert.fail(Assert.java:89) >>>>>>> at org.testng.Assert.failNotEquals(Assert.java:489) >>>>>>> at org.testng.Assert.assertEquals(Assert.java:118) >>>>>>> at org.testng.Assert.assertEquals(Assert.java:171) >>>>>>> at >>>>>>> org.wso2.carbon.esb.samples.test.mediation.SchemaValidationSample7TestCase.testValidationSchema(SchemaValidationSample7TestCase.java:45) >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Miyuru Wanninayaka >>>>>>> Technical Lead >>>>>>> WSO2 Inc. : http://wso2.com >>>>>>> >>>>>>> Mobile : +94 77 209 9788 >>>>>>> Blog : http://miyurudw.blogspot.com >>>>>>> Flickr : http://www.flickr.com/photos/miyuru_daminda >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Miyuru Wanninayaka >>>>>> Technical Lead >>>>>> WSO2 Inc. : http://wso2.com >>>>>> >>>>>> Mobile : +94 77 209 9788 >>>>>> Blog : http://miyurudw.blogspot.com >>>>>> Flickr : http://www.flickr.com/photos/miyuru_daminda >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Krishantha Samaraweera >>>>> Senior Technical Lead - Test Automation >>>>> Mobile: +94 77 7759918 >>>>> WSO2, Inc.; http://wso2.com/ >>>>> lean . enterprise . middlewear. >>>>> >>>> >>>> >>>> >>>> -- >>>> Krishantha Samaraweera >>>> Senior Technical Lead - Test Automation >>>> Mobile: +94 77 7759918 >>>> WSO2, Inc.; http://wso2.com/ >>>> lean . enterprise . middlewear. >>>> >>> >>> >>> >>> -- >>> Miyuru Wanninayaka >>> Technical Lead >>> WSO2 Inc. : http://wso2.com >>> >>> Mobile : +94 77 209 9788 >>> Blog : http://miyurudw.blogspot.com >>> Flickr : http://www.flickr.com/photos/miyuru_daminda >>> >> >> >> >> -- >> Miyuru Wanninayaka >> Technical Lead >> WSO2 Inc. : http://wso2.com >> >> Mobile : +94 77 209 9788 >> Blog : http://miyurudw.blogspot.com >> Flickr : http://www.flickr.com/photos/miyuru_daminda >> > > > > -- > *Kishanthan Thangarajah* > Senior Software Engineer, > Platform Technologies Team, > WSO2, Inc. > lean.enterprise.middleware > > Mobile - +94773426635 > Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>* > Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>* >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
