BAM integration tests have been conveniently commented out from the pom by
someone. BAM integration tests don't even compile!

[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3:57.369s
[INFO] Finished at: Sun Dec 11 12:32:16 IST 2011
[INFO] Final Memory: 32M/81M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.1:testCompile
(default-testCompile) on project org.wso2.carbon.bam.datacollection.test:
Compilation failure: Compilation failure:
[ERROR]
/Users/azeez/projects/wso2/org/trunk/carbon2/products/bam/modules/integration/org.wso2.carbon.bam.datacollection.test/src/test/java/org/wso2/carbon/bam/datacollection/test/activity/mockobjects/MockEventBroker.java:[34,7]
org.wso2.carbon.bam.datacollection.test.activity.mockobjects.MockEventBroker
is not abstract and does not override abstract method initializeTenant() in
org.wso2.carbon.event.core.EventBroker
[ERROR]
[ERROR]
/Users/azeez/projects/wso2/org/trunk/carbon2/products/bam/modules/integration/org.wso2.carbon.bam.datacollection.test/src/test/java/org/wso2/carbon/bam/datacollection/test/mediation/mockobjects/MockEventBroker.java:[34,7]
org.wso2.carbon.bam.datacollection.test.mediation.mockobjects.MockEventBroker
is not abstract and does not override abstract method initializeTenant() in
org.wso2.carbon.event.core.EventBroker
[ERROR] -> [Help 1]
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :org.wso2.carbon.bam.datacollection.test


On Sun, Dec 11, 2011 at 12:30 PM, Afkham Azeez <az...@wso2.com> wrote:

> BAM distribution builds successfully. However, in the integration tests,
> when the server starts up, the following stacktrace is printed.
>
> 2011-12-11 12:29:11,309] ERROR
> {org.wso2.carbon.coordination.core.internal.CoordinationClientDSComponent}
> -  Eror in initializing Coordination component: null
>
> ExceptionCode: CONFIGURATION_ERROR
> Nested Exception:
> /Users/azeez/projects/wso2/org/trunk/carbon2/products/bam/modules/integration/org.wso2.carbon.bam.monitoredserver.test/target/carbontmp/wso2bam-1.3.0-SNAPSHOT/repository/conf/advanced/coordination-client-config.xml
> (No such file or directory)
>
> at
> org.wso2.carbon.coordination.core.CoordinationConfiguration.initConfig(CoordinationConfiguration.java:89)
> at
> org.wso2.carbon.coordination.core.CoordinationConfiguration.<init>(CoordinationConfiguration.java:42)
>  at
> org.wso2.carbon.coordination.core.utils.CoordinationUtils.loadCoordinationClientConfig(CoordinationUtils.java:33)
> at
> org.wso2.carbon.coordination.core.services.impl.ZKCoordinationService.<init>(ZKCoordinationService.java:99)
>  at
> org.wso2.carbon.coordination.core.internal.CoordinationClientDSComponent.activate(CoordinationClientDSComponent.java:50)
> 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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
>  at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
>  at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
>  at
> org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:441)
> at
> org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:213)
>  at
> org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:800)
> at
> org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:767)
>  at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
> at java.lang.Thread.run(Thread.java:680)
> Caused by: java.io.FileNotFoundException:
> /Users/azeez/projects/wso2/org/trunk/carbon2/products/bam/modules/integration/org.wso2.carbon.bam.monitoredserver.test/target/carbontmp/wso2bam-1.3.0-SNAPSHOT/repository/conf/advanced/coordination-client-config.xml
> (No such file or directory)
>  at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
>  at java.io.FileInputStream.<init>(FileInputStream.java:66)
> at
> sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
>  at
> sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
> at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
> Source)
>  at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>  at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>  at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
> at
> org.wso2.carbon.coordination.core.CoordinationConfiguration.initConfig(CoordinationConfiguration.java:49)
>  ... 19 more
>
>
>
>
> On Sun, Dec 11, 2011 at 10:39 AM, Harshana Martin <harsh...@wso2.com>wrote:
>
>> Hi Tharindu,
>>
>> There is a build failure in BAM. Manager product also fails with the same
>> error. Please fix this ASAP.
>>
>>  I/O Error while copying
>> /home/harshana/freshCarbonTrunk/products/bam/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/component
>> s/org.wso2.carbon.bam.server_3.2.0.SNAPSHOT/conf/datasources.properties -
>> see details.
>> Caused by:  java.io.IOException: Source:
>> /home/harshana/freshCarbonTrunk/products/bam/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repo
>> mponents/features/org.wso2.carbon.bam.server_3.2.0.SNAPSHOT/conf/datasources.propertiesdoes
>> not exists
>>
>> Thanks and Regards,
>> Harshana
>>
>> --
>> Harshana Martin
>> Software Engineer
>> WSO2 Inc.
>> Web:http://wso2.com
>>           http://wso2.org
>>
>> Mobile: +94 716062650
>> Blog: http://harshana05.blogspot.com
>> Profile: https://www.google.com/profiles/harshana05
>> Twitter: http://twitter.com/harshana05
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **az...@wso2.com* <az...@wso2.com>* 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: **az...@wso2.com* <az...@wso2.com>* 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*
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to