Hi Piyum, Please verify whether it has the proper <AS_HOME>/modules" directory with content. i.e. there should be child directories like "ws" within modules directory.
On Thu, Jun 13, 2013 at 3:10 PM, Piyum Fernando <[email protected]> wrote: > Hi Azeez, > > Noted and working on it. > > Thanks. > > > > > On Thu, Jun 13, 2013 at 7:18 AM, Afkham Azeez <[email protected]> wrote: > >> All Jaggery tests are failing due to a single root cause it seems: >> >> [2013-06-13 07:10:38,292] INFO >> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - ... >> 24 more >> [2013-06-13 07:10:38,292] INFO >> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - Caused >> by: org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot >> be found with the specified name : ws >> [2013-06-13 07:10:38,292] INFO >> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >> org.jaggeryjs.jaggery.core.manager.CommonManager.require(CommonManager.java:226) >> [2013-06-13 07:10:38,292] INFO >> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >> org.jaggeryjs.jaggery.core.manager.WebAppManager.require(WebAppManager.java:218) >> [2013-06-13 07:10:38,292] INFO >> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> [2013-06-13 07:10:38,292] INFO >> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> [2013-06-13 07:10:38,292] INFO >> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> [2013-06-13 07:10:38,292] INFO >> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >> java.lang.reflect.Method.invoke(Method.java:597) >> [2013-06-13 07:10:38,292] INFO >> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - at >> org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160) >> [2013-06-13 07:10:38,292] INFO >> {org.wso2.carbon.integration.framework.utils.InputStreamHandler} - ... >> 36 more >> java.io.IOException: Server returned HTTP response code: 500 for URL: >> http://localhost:9763/testapp/wsrequest.jag >> at >> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436) >> at >> org.wso2.jaggery.integration.tests.hostObjects.WSRequestHostObjectTestCase.testWSRequestExist(WSRequestHostObjectTestCase.java:48) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) >> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673) >> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842) >> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166) >> at >> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) >> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) >> at org.testng.TestRunner.runWorkers(TestRunner.java:1178) >> at org.testng.TestRunner.privateRun(TestRunner.java:757) >> at org.testng.TestRunner.run(TestRunner.java:608) >> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) >> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) >> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) >> at org.testng.SuiteRunner.run(SuiteRunner.java:240) >> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) >> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) >> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) >> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) >> at org.testng.TestNG.run(TestNG.java:999) >> at >> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:76) >> at >> org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:161) >> at >> org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:101) >> at >> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) >> at >> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) >> at >> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) >> at >> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103) >> at >> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) >> >> >> >> On Thu, Jun 13, 2013 at 7:13 AM, Afkham Azeez <[email protected]> wrote: >> >>> Failed tests: >>> securityScenariosTestCase(org.wso2.appserver.integration.tests.HelloWorldSampleTestCase): >>> Must Understand check failed for header >>> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd: >>> Security >>> >>> testCarbonCachingDemo(org.wso2.appserver.integration.tests.WebappSampleTestCase): >>> Method failed: HTTP/1.1 500 Internal Server Error >>> >>> testEmail(org.wso2.ms.integration.tests.hostObjects.EmailHostObjectTestCase): >>> Error occurred while sending the e-mail. expected:<<ws:sendEmailResponse >>> xmlns:ws="http://services.mashup.wso2.org/emailTest?xsd"><return>Successfully >>> sent an e-mail.</return></ws:sendEmailResponse>> but >>> was:<<ws:sendEmailResponse xmlns:ws=" >>> http://services.mashup.wso2.org/emailTest?xsd"><return>Error occurred >>> while sending the e-mail.</return></ws:sendEmailResponse>> >>> >>> reliableMessagingTestCase(org.wso2.appserver.integration.tests.HelloWorldSampleTestCase): >>> The onComplete in HelloServiceCallbackHandler didn't get invoked within 60 >>> seconds >>> >>> testJAXWSRequest(org.wso2.appserver.integration.tests.JAXWSSampleTestCase): >>> expected:<<ns2:sayHiResponse >>> xmlns:ns2="http://server.hw.demo/"><return>Hello >>> World</return></ns2:sayHiResponse>> but was:<<ns1:sayHiResponse xmlns:ns1=" >>> http://server.hw.demo/"><return>Hello >>> World</return></ns1:sayHiResponse>> >>> >>> testBasicAuth(org.wso2.appserver.integration.tests.WebappSampleTestCase): >>> expected:<403> but was:<200> >>> >>> testEmail(org.wso2.jaggery.integration.tests.hostObjects.EmailHostObjectTestCase): >>> Result cannot be null expected object to not be null >>> >>> testSendEmail(org.wso2.jaggery.integration.tests.hostObjects.EmailHostObjectTestCase): >>> expected:<email successfully sent> but was:<null> >>> >>> testFeedMembers(org.wso2.jaggery.integration.tests.hostObjects.FeedHostObjectTestCase): >>> expected:<Feed author : Madhuka, Testing feed members success> but >>> was:<Feed author : madhuka udantha, Testing feed members success> >>> >>> testWSRequest(org.wso2.jaggery.integration.tests.hostObjects.WSRequestHostObjectTestCase): >>> expected:<true> but was:<false> >>> >>> testWSRequestExist(org.wso2.jaggery.integration.tests.hostObjects.WSRequestHostObjectTestCase): >>> Result cannot be null expected object to not be null >>> >>> testWSRequestOperations(org.wso2.jaggery.integration.tests.hostObjects.WSRequestHostObjectTestCase): >>> expected:<014 success> but was:<null> >>> >>> testWSStub(org.wso2.jaggery.integration.tests.hostObjects.WSStubHostObjectTestCase): >>> expected:<true> but was:<false> >>> >>> testWSStubExist(org.wso2.jaggery.integration.tests.hostObjects.WSStubHostObjectTestCase): >>> Result cannot be null expected object to not be null >>> >>> -- >>> *Afkham Azeez* >>> Director of Architecture; WSO2, Inc.; http://wso2.com >>> Member; Apache Software Foundation; http://www.apache.org/ >>> * <http://www.apache.org/>** >>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919 >>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>> * >>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>> * >>> * >>> *Lean . Enterprise . Middleware* >>> >> >> >> >> -- >> *Afkham Azeez* >> Director of Architecture; WSO2, Inc.; http://wso2.com >> Member; Apache Software Foundation; http://www.apache.org/ >> * <http://www.apache.org/>** >> email: **[email protected]* <[email protected]>* cell: +94 77 3320919 >> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >> * >> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >> * >> * >> *Lean . Enterprise . Middleware* >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Piyum Fernando > Software Engineer > > Mobile: +94 77 22 93 880 > Home: +94 31 22 75 715 > -- *Ruchira Wageesha **Associate Technical Lead** & Member, Management Committee, Development Technologies* *WSO2 Inc. - lean . enterprise . middleware | wso2.com* * email: [email protected], blog: ruchirawageesha.blogspot.com, mobile: +94 77 5493444*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
