This was an issue in trunk for a recently added sample. It's missing
the web.xml. Branch works fine. I'll fix this issue in trunk.

--KasunG

On Fri, Jul 27, 2012 at 10:27 AM, Reka Thirunavukkarasu <[email protected]> wrote:
> Hi
>
> I'm getting following Build failure when building AS in trunk. Could you
> please advice on this whether it is local to me or something i have to
> configure?
>
> Results :
>
> Failed tests:
> securityScenariosTestCase(org.wso2.appserver.integration.tests.HelloWorldSampleTestCase):
> Error in encryption
>
> reliableMessagingTestCase(org.wso2.appserver.integration.tests.HelloWorldSampleTestCase):
> The onComplete in HelloServiceCallbackHandler didn't get invoked within 60
> seconds
>
> Tests run: 114, Failures: 2, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 AppServer - Parent ........................... SUCCESS [0.267s]
> [INFO] WSO2 AppServer - Styles Parent .................... SUCCESS [0.013s]
> [INFO] WSO2 AppServer - UI styles ........................ SUCCESS [2.690s]
> [INFO] WSO2 Stratos  AppServer - UI styles ............... SUCCESS [0.679s]
> [INFO] WSO2 AppServer - Samples Parent ................... SUCCESS [0.006s]
> [INFO] Samples ........................................... SUCCESS [0.051s]
> [INFO] Sample/Chad ....................................... SUCCESS [1.455s]
> [INFO] Sample/CommodityQuote ............................. SUCCESS [6.164s]
> [INFO] Sample/TinyURL .................................... SUCCESS [0.996s]
> [INFO] Sample/Trader ..................................... SUCCESS [6.754s]
> [INFO] Sample/FlickrClient ............................... SUCCESS [9.308s]
> [INFO] Sample/MEX ........................................ SUCCESS [0.613s]
> [INFO] Sample/MTOM ....................................... SUCCESS [2.749s]
> [INFO] Sample/xfer ....................................... SUCCESS [0.575s]
> [INFO] Sample/STS ........................................ SUCCESS [0.848s]
> [INFO] Samples/JAXWS-JAXRS ............................... SUCCESS [0.041s]
> [INFO] Java First demo using JAX-WS APIs ................. SUCCESS [1.427s]
> [INFO] JAX-RS Basic Demo ................................. SUCCESS [0.785s]
> [INFO] JAX-RS Demo - Sample 02 ........................... SUCCESS [0.798s]
> [INFO] JAX-RS Content Negotiation Sample ................. FAILURE [0.549s]
> [INFO] WSDL First Sample ................................. SUCCESS [3.792s]
> [INFO] Asynchronous JAX-WS Sample ........................ SUCCESS [2.455s]
> [INFO] JAX-WS Handler Sample ............................. SUCCESS [1.774s]
> [INFO] JAX-WS MTOM Sample ................................ SUCCESS [1.291s]
> [INFO] Samples/JAXWS-JAXRS Security ...................... SUCCESS [0.003s]
> [INFO] Username Token JAX-WS Sample ...................... SUCCESS [1.678s]
> [INFO] Sign and Encrypt JAX-WS Security Sample ........... SUCCESS [2.009s]
> [INFO] Sample/JSON ....................................... SUCCESS [0.604s]
> [INFO] Sample/JIBX ....................................... SUCCESS [2.448s]
> [INFO] Sample/HelloWorld ................................. SUCCESS [0.727s]
> [INFO] Sample/Client API ................................. SUCCESS [0.970s]
> [INFO] Sample/Mail Transport ............................. SUCCESS [0.547s]
> [INFO] Sample/HelloWorldWebapp ........................... SUCCESS [0.600s]
> [INFO] Sample/VirtualDirectoryListing .................... SUCCESS [0.729s]
> [INFO] Sample/EJBLibrary ................................. SUCCESS [0.005s]
> [INFO] Library EJB module ................................ SUCCESS [0.788s]
> [INFO] Library EAR Archive ............................... SUCCESS [0.263s]
> [INFO] Sample/GenericJavaBean ............................ SUCCESS [0.469s]
> [INFO] Sample/JDBCDataSource ............................. SUCCESS [0.525s]
> [INFO] Samples/LogModule ................................. SUCCESS [1.081s]
> [INFO] WSO2 Stratos  AppServer - Samples ................. SUCCESS [0.005s]
> [INFO] WSO2 AS - Sample SimpleStockQuoteService .......... SUCCESS [0.695s]
> [INFO] WSO2 Stratos AppServer - Sample Installer ......... SUCCESS [1.278s]
> [INFO] WSO2 AS - Example webapp .......................... SUCCESS [1.988s]
> [INFO] WSO2 AppServer - Features Parent .................. SUCCESS [0.004s]
> [INFO] WSO2 AppServer - Features Aggregator Module ....... SUCCESS [0.005s]
> [INFO] WSO2 AppServer - Style Features ................... SUCCESS [0.267s]
> [INFO] WSO2 AppServer - Utils Features ................... SUCCESS [0.458s]
> [INFO] WSO2 Stratos  AppServer - Features Aggregator Module  SUCCESS
> [0.011s]
> [INFO] WSO2 Stratos  AppServer - Style Features .......... SUCCESS [0.119s]
> [INFO] WSO2 Stratos  AppServer - Utils Features .......... SUCCESS [0.500s]
> [INFO] WSO2 Stratos  AppServer - Dashboard UI ............ SUCCESS [0.529s]
> [INFO] WSO2 Stratos  AppServer - Dashboard UI Features ... SUCCESS [0.117s]
> [INFO] WSO2 Stratos  AppServer - Dashboard UI Features ... SUCCESS [0.049s]
> [INFO] WSO2 AS - Login User Interface .................... SUCCESS [0.511s]
> [INFO] WSO2 Stratos  AppServer - Deployment Features ..... SUCCESS [0.060s]
> [INFO] WSO2 AppServer - AppServer Profile Generation ..... SUCCESS
> [20:50.867s]
> [INFO] WSO2 AppServer - Distribution ..................... SUCCESS
> [18:35.382s]
> [INFO] WSO2 AS - Integration Tests ....................... FAILURE
> [4:05.242s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 44:39.183s
> [INFO] Finished at: Fri Jul 27 10:05:01 IST 2012
> [INFO] Final Memory: 245M/535M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-war-plugin:2.2:war (default-war) on project
> jaxrs_content_negotiation: Error assembling WAR: webxml attribute is
> required (or pre-existing WEB-INF/web.xml if executing in update mode) ->
> [Help 1]
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
> project integration: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /home/reka/platform_carbon/platform/trunk/products/as/modules/integration/target/surefire-reports
> for the individual test results.
> [ERROR] -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :jaxrs_content_negotiation
> [INFO] Build failures were ignored.
>
>
> Thanks,
> Reka
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 
Kasun Gajasinghe
Software Engineer;
Development Technologies Team, WSO2 Inc.; http://wso2.com ,
email: kasung AT spamfree wso2.com cell: +94 (77) 678-0813
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://blog.kasunbg.org
twitter: http://twitter.com/kasunbg
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to