[ 
https://issues.apache.org/jira/browse/TUSCANY-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568487#action_12568487
 ] 

Venkatakrishnan commented on TUSCANY-2040:
------------------------------------------

Sorry that link is not public.  Here is the segment of the trace that reports 
failure

INFO] 
----------------------------------------------------------------------------
[INFO] Building Apache Tuscany SCA HelloWorld Web Service JMS Sample
[INFO]    task-segment: [clean, install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/continuum/data/working-directory/277/samples/helloworld-ws-service-jms/target
[INFO] Deleting directory 
/home/continuum/data/working-directory/277/samples/helloworld-ws-service-jms/target/classes
[INFO] Deleting directory 
/home/continuum/data/working-directory/277/samples/helloworld-ws-service-jms/target/test-classes
[INFO] Deleting directory 
/home/continuum/data/working-directory/277/samples/helloworld-ws-service-jms/target/site
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 3 source files to 
/home/continuum/data/working-directory/277/samples/helloworld-ws-service-jms/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 2 source files to 
/home/continuum/data/working-directory/277/samples/helloworld-ws-service-jms/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: 
/home/continuum/data/working-directory/277/samples/helloworld-ws-service-jms/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running helloworld.HelloWorldJmsServerTestCase
Feb 10, 2008 7:22:20 PM 
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider start
INFO: Axis2 JMS 
URL=jms:/queue.sample?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61619
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.482 sec
Running helloworld.HelloWorldJmsPolicyServerTestCase
Feb 10, 2008 7:22:27 PM 
org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl$1 problem
WARNING: Theres been an exception related to policies... 
org.apache.tuscany.sca.assembly.builder.impl.PolicyComputationException: The 
following are unfulfilled intents for binding in service - HelloWorldService
Unfulfilled Intents = [{http://www.osoa.org/xmlns/sca/1.0}transport.jms]
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.192 sec <<< 
FAILURE!
testServiceCall(helloworld.HelloWorldJmsPolicyServerTestCase)  Time elapsed: 
1.176 sec  <<< ERROR!
org.osoa.sca.ServiceRuntimeException: 
org.apache.tuscany.sca.host.http.ServletMappingException: 
java.net.BindException: Address already in use
       at 
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
       at 
org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:69)
       at 
helloworld.HelloWorldJmsPolicyServerTestCase.startServer(HelloWorldJmsPolicyServerTestCase.java:42)
       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:585)
       at 
org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
       at 
org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
       at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
       at 
org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
       at 
org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
       at 
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75)
       at 
org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36)
       at 
org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
       at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
       at 
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
       at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
       at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
       at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
       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:585)
       at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
       at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
Caused by: org.apache.tuscany.sca.host.http.ServletMappingException: 
java.net.BindException: Address already in use
       at 
org.apache.tuscany.sca.http.jetty.JettyServer.addServletMapping(JettyServer.java:207)
       at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider.start(Axis2ServiceProvider.java:244)
       at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceBindingProvider.start(Axis2ServiceBindingProvider.java:94)
       at 
org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.start(CompositeActivatorImpl.java:484)
       at 
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(DefaultSCADomain.java:188)
       at 
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:230)
       ... 26 more
Caused by: java.net.BindException: Address already in use
       at sun.nio.ch.Net.bind(Native Method)
       at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
       at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
       at 
org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:205)
       at 
org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:304)
       at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
       at org.mortbay.jetty.Server.doStart(Server.java:233)
       at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
       at 
org.apache.tuscany.sca.http.jetty.JettyServer.addServletMapping(JettyServer.java:200)
       ... 31 more

testServiceCall(helloworld.HelloWorldJmsPolicyServerTestCase)  Time elapsed: 
1.177 sec  <<< ERROR!
java.lang.NullPointerException
       at 
helloworld.HelloWorldJmsPolicyServerTestCase.stopServer(HelloWorldJmsPolicyServerTestCase.java:55)
       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:585)
       at 
org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
       at 
org.junit.internal.runners.BeforeAndAfterRunner.runAfters(BeforeAndAfterRunner.java:65)
       at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:37)
       at 
org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
       at 
org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
       at 
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75)
       at 
org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36)
       at 
org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
       at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
       at 
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
       at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
       at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
       at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
       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:585)
       at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:308)
       at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)


Results :

Tests in error:
 testServiceCall(helloworld.HelloWorldJmsPolicyServerTestCase)
 testServiceCall(helloworld.HelloWorldJmsPolicyServerTestCase)

Tests run: 3, Failures: 0, Errors: 2, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to 
/home/continuum/data/working-directory/277/samples/helloworld-ws-service-jms/target/surefire-reports
 for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 minutes 32 seconds
[INFO] Finished at: Sun Feb 10 19:22:33 PST 2008
[INFO] Final Memory: 66M/119M
[INFO] ------------------------------------------------------------------------

****************************************************************************

> BUILD FAILURE : Apache Tuscany SCA HelloWorld Web Service JMS Sample
> --------------------------------------------------------------------
>
>                 Key: TUSCANY-2040
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2040
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-Next
>            Reporter: Venkatakrishnan
>             Fix For: Java-SCA-Next
>
>
> The continium build has failed when building the Apache Tuscany SCA 
> HelloWorld Web Service JMS Sample.  The reason seems to be because this 
> sample use the port 8080 which seems to be in use on the Continuum Server.  
> For more details - 
> http://mail.google.com/mail/?ui=2&ik=11441ea30b&view=lg&msg=118068937ff670f9

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to