Re: [Dev] Please start smoke testing

2013-08-29 Thread Lasith Chandrasekara
Hi,

Webdav : after adding resources we can access them via Webdav but not the
other way around. This issue is already reported and we will be fixing it
on 5.0.0 [1].
Ws-i .net integration: I couldn't run related sample due to environment
issue. @Senaka, as we discussed could you please follow on it?


[1]https://wso2.org/jira/browse/REGISTRY-1319

Regards,
-Lasith.


On Thu, Aug 29, 2013 at 9:47 AM, Shelan Perera  wrote:

> Following are the areas that i have found to test please mention if you
> are planning to do more. Do not try to repeat what has been covered by
> integration tests.
>
> 1) Chandana - Life cycle related activities ( admin , non admin, new
> lifecycle etc.) , Version and copy executors etc.  (Can you run your
> performance benchmark once these are done?)
>
> 2) Vijitha - Subscription, Resource permission, reporting , CMIS
>
> 3) Lasith - Webdav , basic smoke test on Windows in major functionality.
>
> 4) Eranda - Checkin client, SCM , WS discovery
>
> 5) Ajith - UDDI, Rest
>
> 6) Shelan - APIM promotion, Mounting,  Multi profiles
>
> 7) Pulasthi - Multi tenancy, Scheduled tasks, Resource versioning (Help
> Isuruwan with IDE testing too)
>
> 8) Isuruwan - Test with IDE (WSo2 Developer testing)
>
>
> --
> *Shelan Perera*
>
> Senior Software Engineer
> **
> Integration Technology Group
> *WSO2, Inc. : wso2.com*
> lean.enterprise.middleware.
>
> *Blog* :   blog.shelan.org
> *Linked-i*n  :   http://www.linkedin.com/pub/shelan-perera/a/194/465
> *Twitter* :https://twitter.com/#!/shelan
>
> *Mobile*  : +94 772 604 402
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Governance Registry Integration Test and JIRA status

2013-08-28 Thread Lasith Chandrasekara
Hi,

Please find the attached patch for tests-extensibility [1]

@Ajith can you please commit it?


[1] https://wso2.org/jira/browse/REGISTRY-1831

-Lasith.


On Wed, Aug 28, 2013 at 10:06 PM, Lasith Chandrasekara wrote:

> Hi,
>
> I fixed tests-extensibility  and it is 100% now. I will run whole test
> suite with changes before giving the patch.
>
> -Lasith.
>
>
> On Wed, Aug 28, 2013 at 9:41 PM, Shelan Perera  wrote:
>
>> Hi,
>>
>> Module Ran failed skipped tests 778 5 0 tests-extensibility 159 12 
>> 30tests-metadata12754tests-permissions4610tests-governance-api1300tests-jiras7800tests-lifecycle15800tests-resources23400tests-search-version21900tests-ui2400tests-new21300
>>
>> Following are the integration test failures upto now. Tests extensibility
>> has been fixed for most of the failures and will be committed soon.
>>
>> *L1/L2 count*
>>
>> We have following L2 which is documentation bug which will be fixed soon.
>> So effectively we have 0.
>>
>>
>> --
>> *Shelan Perera*
>>
>> Senior Software Engineer
>> **
>> Integration Technology Group
>> *WSO2, Inc. : wso2.com*
>> lean.enterprise.middleware.
>>
>> *Blog* :   blog.shelan.org
>> *Linked-i*n  :   http://www.linkedin.com/pub/shelan-perera/a/194/465
>> *Twitter* :https://twitter.com/#!/shelan
>>
>> *Mobile*  : +94 772 604 402
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Governance Registry Integration Test and JIRA status

2013-08-28 Thread Lasith Chandrasekara
Hi,

I fixed tests-extensibility  and it is 100% now. I will run whole test
suite with changes before giving the patch.

-Lasith.


On Wed, Aug 28, 2013 at 9:41 PM, Shelan Perera  wrote:

> Hi,
>
> Module Ran failed skipped tests 778 5 0 tests-extensibility 159 12 
> 30tests-metadata12754tests-permissions4610tests-governance-api1300tests-jiras7800tests-lifecycle15800tests-resources23400tests-search-version21900tests-ui2400tests-new21300
>
> Following are the integration test failures upto now. Tests extensibility
> has been fixed for most of the failures and will be committed soon.
>
> *L1/L2 count*
>
> We have following L2 which is documentation bug which will be fixed soon.
> So effectively we have 0.
>
>
> --
> *Shelan Perera*
>
> Senior Software Engineer
> **
> Integration Technology Group
> *WSO2, Inc. : wso2.com*
> lean.enterprise.middleware.
>
> *Blog* :   blog.shelan.org
> *Linked-i*n  :   http://www.linkedin.com/pub/shelan-perera/a/194/465
> *Twitter* :https://twitter.com/#!/shelan
>
> *Mobile*  : +94 772 604 402
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GReg Integration test status

2013-08-27 Thread Lasith Chandrasekara
Hi Krishantha,

Can you attach reports for tests module.
For me all tests are passing ..

-Lasith.


On Wed, Aug 28, 2013 at 9:24 AM, Eranda Sooriyabandara wrote:

> Hi All,
> test-metadata is failing due to not registering the RXT's CRUD service.
> Will fix it withing couple of hours.
>
> thanks
> Eranda
>
>
> On Wed, Aug 28, 2013 at 8:36 AM, Shelan Perera  wrote:
>
>> Hi,
>>
>> This is the latest results of other modules.
>>
>>  Ran failed skipped tests-extensibility 159 12 30 tests-governance-api 
>> 1300tests-jiras7800tests-metadata12754tests-lifecycle16012tests-permissions4610tests-resources23400tests-search-version21900tests-ui2400tests-new21300
>> Thanks
>>
>>
>> On Wed, Aug 28, 2013 at 8:29 AM, Krishantha Samaraweera <
>> krishan...@wso2.com> wrote:
>>
>>> Result of tests module as of yesterday.
>>>
>>> Tests run: 778, Failures: 5, Errors: 0, Skipped: 0
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>>
>>> On Tue, Aug 27, 2013 at 1:16 AM, Shelan Perera  wrote:
>>>
  Hi,

 Following is the current status. Please try to make them 100% and there
 are module owners who are responsible for that task. Please discuss with
 Nuwanw if you face any framework related issues or not sure.

 Module Owner Status Comments Ran failed skipped tests Lasith 778 8 
 21tests-extensibilityPulasthi
 159 12 30 tests-governance-api  13 0 0 tests-jiras  78 0 
 0tests-metadataEranda 12754tests-lifecyclePulasthiOne test commented out 
 (APIM integration), Not commited16020124
 tests-permissions Vijitha  46 3 1 tests-resources  234 1 
 16tests-search-versionEranda
 219 1 3 tests-ui  24 5 0 tests-new Nuwan One test commented out
 https://wso2.org/jira/browse/REGISTRY-1818
 https://wso2.org/jira/browse/REGISTRY-1818 213 1 0



 --
 *Shelan Perera*

 Senior Software Engineer
 **
 Integration Technology Group
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Blog* :   blog.shelan.org
 *Linked-i*n  :
 http://www.linkedin.com/pub/shelan-perera/a/194/465
 *Twitter* :https://twitter.com/#!/shelan

 *Mobile*  : +94 772 604 402


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>
>>
>> --
>> *Shelan Perera*
>>
>> Senior Software Engineer
>> **
>> Integration Technology Group
>> *WSO2, Inc. : wso2.com*
>> lean.enterprise.middleware.
>>
>> *Blog* :   blog.shelan.org
>> *Linked-i*n  :   http://www.linkedin.com/pub/shelan-perera/a/194/465
>> *Twitter* :https://twitter.com/#!/shelan
>>
>> *Mobile*  : +94 772 604 402
>>
>>
>
>
> --
> *Eranda Sooriyabandara
> *Senior Software Engineer;
> Integration Technologies Team;
> WSO2 Inc.; http://wso2.com
> Lean . Enterprise . Middleware
>
> E-mail: eranda AT wso2.com
> Mobile: +94 716 472 816
> Linked-In: http://www.linkedin.com/in/erandasooriyabandara
> Blog: http://emsooriyabandara.blogspot.com/
>
>
>
> *
> *
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] After branching build is failing on windows - due to long pathnames

2013-08-26 Thread Lasith Chandrasekara
Hi Krishantha,

Can we look into this?

-Lasith.


On Tue, Aug 20, 2013 at 11:53 PM, Krishantha Samaraweera <
krishan...@wso2.com> wrote:

> Will look into this.
>
> Thanks,
> Krishatha.
>
>
> On Tue, Aug 20, 2013 at 12:11 PM, Senaka Fernando  wrote:
>
>> Hi Krishantha,
>>
>> Can you please have a look. I don't think that this is because the path
>> in the error is wrong, but because of some parameters that gets passed in
>> into this report generation thing.
>>
>> Hi Lasith,
>>
>> Please comment out the report generation piece (this is used for code
>> coverage) and build the rest for the moment. We can commit that change
>> until Krishantha finds time to fix it.
>>
>> Thanks,
>> Senaka.
>>
>>
>> On Tue, Aug 20, 2013 at 1:39 AM, Lasith Chandrasekara wrote:
>>
>>> Hi,
>>>
>>> I am getting following error when building branch on Windows.
>>> It seems after branching file name is too long and Windows can't run
>>> java for that long file name.
>>>
>>> -Lasith.
>>>
>>> [INFO]
>>> [INFO]
>>> 
>>> [INFO] Building Integration Test Reporting 4.6.0
>>> [INFO]
>>> 
>>> [INFO]
>>> [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
>>> org.wso2.carbon.registry.integration.reports ---
>>> [INFO] Verifying module descriptor ...
>>> [INFO] Pom descriptor modification detected.
>>> [INFO] Deleting
>>> C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target
>>> [INFO]
>>> [INFO] --- maven-clean-plugin:2.4.1:clean (auto-clean) @
>>> org.wso2.carbon.registry.integration.reports ---
>>> [INFO] Deleting
>>> C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target
>>> [INFO]
>>> [INFO] --- maven-dependency-plugin:2.1:copy-dependencies
>>> (copy-emma-dependencies) @ org.wso2.carbon.registry.integration.reports ---
>>> [INFO] Copying emma-2.1.5320.jar to
>>> C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target\emma\emma-2.1.5320.jar
>>> [INFO]
>>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
>>> org.wso2.carbon.registry.integration.reports ---
>>> [INFO] Installing
>>> C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\pom.xml
>>> to
>>> C:\Users\Lasith\.m2\repository\org\wso2\governance\org.wso2.carbon.registry.integrat
>>> ion.reports\4.6.0\org.wso2.carbon.registry.integration.reports-4.6.0.pom
>>> [INFO]
>>> [INFO] --- exec-maven-plugin:1.2.1:exec (my-exec) @
>>> org.wso2.carbon.registry.integration.reports ---
>>> [INFO]
>>> 
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Registry TestNG Test Module ... SUCCESS
>>> [8.351s]
>>> [INFO] Registry Resources TestNG Test Module . SUCCESS
>>> [7.254s]
>>> [INFO] Registry Metadata TestNG Test Module .. SUCCESS
>>> [3.929s]
>>> [INFO] Registry Extensibility TestNG Test Module . SUCCESS
>>> [3.793s]
>>> [INFO] Registry JIRA TestNG Test Module .. SUCCESS
>>> [3.706s]
>>> [INFO] Registry Search and Versioning TestNG Test Module . SUCCESS
>>> [3.537s]
>>> [INFO] Registry Permissions TestNG Test Module ... SUCCESS
>>> [3.894s]
>>> [INFO] Registry Governance API TestNG Test Module  SUCCESS
>>> [22.649s]
>>> [INFO] Registry TestNG Test Module ... SUCCESS
>>> [3.286s]
>>> [INFO] Registry UI Test Module ... SUCCESS
>>> [2.892s]
>>> [INFO] Integration Test Reporting  FAILURE
>>> [0.950s]
>>> [INFO]
>>> 
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> 
>>> [INFO] Total time: 1:05.472s
>>> [INFO] Finished at: Tue Aug 20 01:27:06 IST 2013
>>> [INFO] Final Memory: 56M/1140M
>>> [INFO]
>>> 
>>> [ERROR] Failed to execute goal
>>> org.

Re: [Dev] Running G-Reg integrations tests with different DB config

2013-08-21 Thread Lasith Chandrasekara
+1 for est execution flow.


On Thu, Aug 22, 2013 at 11:47 AM, Nuwan Wimalasekara wrote:

> All tests were executed sequentially in previous releases. and Tests are
> not designed to run parallel. so need to fix the test execution flow.
>
>
> On Thu, Aug 22, 2013 at 11:32 AM, Lasith Chandrasekara wrote:
>
>> Out tests are not designed to run in parallel. So either we should change
>> tests to run in parallel or should change test framework to execute tests
>> sequentially.
>> Changing tests to support this is not that easy also not possible for
>> some situations (like configuration changes to greg config files).
>>
>>
>>
>> On Thu, Aug 22, 2013 at 11:26 AM, Nuwan Wimalasekara wrote:
>>
>>> Hi Ajith
>>> I am looking into this.
>>>
>>> Thanks,
>>> Nuwanw
>>>
>>>
>>> On Thu, Aug 22, 2013 at 11:20 AM, Ajith Vitharana wrote:
>>>
>>>> +1. But we are observing weird behavior in the test framework (may be
>>>> TestNG issue)  even with the default pack. The main problem is test
>>>> framework load all the test cases in all the packages and execute randomly.
>>>> This makes the different results at each time we run all the tests
>>>> together.
>>>>
>>>> Thanks
>>>> Ajith.
>>>>
>>>>
>>>> On Thu, Aug 22, 2013 at 11:06 AM, Krishantha Samaraweera <
>>>> krishan...@wso2.com> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I think we can easily run G-Reg integration test with different DB
>>>>> configs. We have to get G-Reg pack and edit DB configs, then compress
>>>>> it and put it to the correct location and execute tests.
>>>>>
>>>>> We can generate a pack with all integration tests and point and run
>>>>> but, but all test cases depends on the run time configuration changes will
>>>>> be skipped, To get the full benefit of automated tests I highly recommend
>>>>> to run the tests on the branch.
>>>>>
>>>>> Thanks,
>>>>> Krishantha.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Ajith Vitharana.
>>>> WSO2 Inc. - http://wso2.org
>>>> Email  :  aji...@wso2.com
>>>> Mobile : +94772217350
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Nuwan Wimalasekara
>>> Senior Software Engineer - Test Automation
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> phone: +94 71 668 4620
>>>
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] apimgt build failure in platform/components (branch)

2013-08-21 Thread Lasith Chandrasekara
Hi,

We are getting following build failure.

-Lasith.


[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 5:50.698s
[INFO] Finished at: Thu Aug 22 11:27:33 IST 2013
[INFO] Final Memory: 763M/1492M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
(default-compile) on project org.wso2.carbon.apimgt.impl: Compilation
failure: Compilation failure:
[ERROR]
/home/wso2/checkout/platform/4.2.0/components/apimgt/org.wso2.carbon.apimgt.impl/4.2.0/src/main/java/org/wso2/carbon/apimgt/impl/clients/SequenceAdminServiceClient.java:[53,21]
cannot find symbol
[ERROR] symbol  : method
addSequenceForTenant(org.apache.axiom.om.OMElement,java.lang.String)
[ERROR] location: class
org.wso2.carbon.sequences.stub.types.SequenceAdminServiceStub
[ERROR]
[ERROR]
/home/wso2/checkout/platform/4.2.0/components/apimgt/org.wso2.carbon.apimgt.impl/4.2.0/src/main/java/org/wso2/carbon/apimgt/impl/clients/SequenceAdminServiceClient.java:[73,21]
cannot find symbol
[ERROR] symbol  : method
deleteSequenceForTenant(java.lang.String,java.lang.String)
[ERROR] location: class
org.wso2.carbon.sequences.stub.types.SequenceAdminServiceStub
[ERROR]
[ERROR]
/home/wso2/checkout/platform/4.2.0/components/apimgt/org.wso2.carbon.apimgt.impl/4.2.0/src/main/java/org/wso2/carbon/apimgt/impl/clients/SequenceAdminServiceClient.java:[95,40]
cannot find symbol
[ERROR] symbol  : method
getSequenceForTenant(java.lang.String,java.lang.String)
[ERROR] location: class
org.wso2.carbon.sequences.stub.types.SequenceAdminServiceStub
[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  -rf :org.wso2.carbon.apimgt.impl
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Running G-Reg integrations tests with different DB config

2013-08-21 Thread Lasith Chandrasekara
Out tests are not designed to run in parallel. So either we should change
tests to run in parallel or should change test framework to execute tests
sequentially.
Changing tests to support this is not that easy also not possible for some
situations (like configuration changes to greg config files).



On Thu, Aug 22, 2013 at 11:26 AM, Nuwan Wimalasekara wrote:

> Hi Ajith
> I am looking into this.
>
> Thanks,
> Nuwanw
>
>
> On Thu, Aug 22, 2013 at 11:20 AM, Ajith Vitharana  wrote:
>
>> +1. But we are observing weird behavior in the test framework (may be
>> TestNG issue)  even with the default pack. The main problem is test
>> framework load all the test cases in all the packages and execute randomly.
>> This makes the different results at each time we run all the tests
>> together.
>>
>> Thanks
>> Ajith.
>>
>>
>> On Thu, Aug 22, 2013 at 11:06 AM, Krishantha Samaraweera <
>> krishan...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I think we can easily run G-Reg integration test with different DB
>>> configs. We have to get G-Reg pack and edit DB configs, then compress
>>> it and put it to the correct location and execute tests.
>>>
>>> We can generate a pack with all integration tests and point and run but,
>>> but all test cases depends on the run time configuration changes will be
>>> skipped, To get the full benefit of automated tests I highly recommend to
>>> run the tests on the branch.
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>
>>
>>
>> --
>> Ajith Vitharana.
>> WSO2 Inc. - http://wso2.org
>> Email  :  aji...@wso2.com
>> Mobile : +94772217350
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] After branching build is failing on windows - due to long pathnames

2013-08-19 Thread Lasith Chandrasekara
Hi Senaka,

Ok, will do it.

-Lasith


On Tue, Aug 20, 2013 at 12:11 PM, Senaka Fernando  wrote:

> Hi Krishantha,
>
> Can you please have a look. I don't think that this is because the path in
> the error is wrong, but because of some parameters that gets passed in into
> this report generation thing.
>
> Hi Lasith,
>
> Please comment out the report generation piece (this is used for code
> coverage) and build the rest for the moment. We can commit that change
> until Krishantha finds time to fix it.
>
> Thanks,
> Senaka.
>
>
> On Tue, Aug 20, 2013 at 1:39 AM, Lasith Chandrasekara wrote:
>
>> Hi,
>>
>> I am getting following error when building branch on Windows.
>> It seems after branching file name is too long and Windows can't run java
>> for that long file name.
>>
>> -Lasith.
>>
>> [INFO]
>> [INFO]
>> 
>> [INFO] Building Integration Test Reporting 4.6.0
>> [INFO]
>> 
>> [INFO]
>> [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
>> org.wso2.carbon.registry.integration.reports ---
>> [INFO] Verifying module descriptor ...
>> [INFO] Pom descriptor modification detected.
>> [INFO] Deleting
>> C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target
>> [INFO]
>> [INFO] --- maven-clean-plugin:2.4.1:clean (auto-clean) @
>> org.wso2.carbon.registry.integration.reports ---
>> [INFO] Deleting
>> C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target
>> [INFO]
>> [INFO] --- maven-dependency-plugin:2.1:copy-dependencies
>> (copy-emma-dependencies) @ org.wso2.carbon.registry.integration.reports ---
>> [INFO] Copying emma-2.1.5320.jar to
>> C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target\emma\emma-2.1.5320.jar
>> [INFO]
>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
>> org.wso2.carbon.registry.integration.reports ---
>> [INFO] Installing
>> C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\pom.xml
>> to
>> C:\Users\Lasith\.m2\repository\org\wso2\governance\org.wso2.carbon.registry.integrat
>> ion.reports\4.6.0\org.wso2.carbon.registry.integration.reports-4.6.0.pom
>> [INFO]
>> [INFO] --- exec-maven-plugin:1.2.1:exec (my-exec) @
>> org.wso2.carbon.registry.integration.reports ---
>> [INFO]
>> 
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Registry TestNG Test Module ... SUCCESS
>> [8.351s]
>> [INFO] Registry Resources TestNG Test Module . SUCCESS
>> [7.254s]
>> [INFO] Registry Metadata TestNG Test Module .. SUCCESS
>> [3.929s]
>> [INFO] Registry Extensibility TestNG Test Module . SUCCESS
>> [3.793s]
>> [INFO] Registry JIRA TestNG Test Module .. SUCCESS
>> [3.706s]
>> [INFO] Registry Search and Versioning TestNG Test Module . SUCCESS
>> [3.537s]
>> [INFO] Registry Permissions TestNG Test Module ... SUCCESS
>> [3.894s]
>> [INFO] Registry Governance API TestNG Test Module  SUCCESS
>> [22.649s]
>> [INFO] Registry TestNG Test Module ... SUCCESS
>> [3.286s]
>> [INFO] Registry UI Test Module ... SUCCESS
>> [2.892s]
>> [INFO] Integration Test Reporting  FAILURE
>> [0.950s]
>> [INFO]
>> 
>> [INFO] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Total time: 1:05.472s
>> [INFO] Finished at: Tue Aug 20 01:27:06 IST 2013
>> [INFO] Final Memory: 56M/1140M
>> [INFO]
>> 
>> [ERROR] Failed to execute goal
>> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (my-exec) on project
>> org.wso2.carbon.registry.integration.reports: Command execution failed. 
>> *Cannot
>> run program
>>  "java" (in directory
>> "C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target"):
>> * CreateProcess error=206, The filename or extension is too long ->
>> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Mave

[Dev] After branching build is failing on windows - due to long pathnames

2013-08-19 Thread Lasith Chandrasekara
Hi,

I am getting following error when building branch on Windows.
It seems after branching file name is too long and Windows can't run java
for that long file name.

-Lasith.

[INFO]
[INFO]

[INFO] Building Integration Test Reporting 4.6.0
[INFO]

[INFO]
[INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
org.wso2.carbon.registry.integration.reports ---
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (auto-clean) @
org.wso2.carbon.registry.integration.reports ---
[INFO] Deleting
C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target
[INFO]
[INFO] --- maven-dependency-plugin:2.1:copy-dependencies
(copy-emma-dependencies) @ org.wso2.carbon.registry.integration.reports ---
[INFO] Copying emma-2.1.5320.jar to
C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target\emma\emma-2.1.5320.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
org.wso2.carbon.registry.integration.reports ---
[INFO] Installing
C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\pom.xml
to
C:\Users\Lasith\.m2\repository\org\wso2\governance\org.wso2.carbon.registry.integrat
ion.reports\4.6.0\org.wso2.carbon.registry.integration.reports-4.6.0.pom
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (my-exec) @
org.wso2.carbon.registry.integration.reports ---
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] Registry TestNG Test Module ... SUCCESS [8.351s]
[INFO] Registry Resources TestNG Test Module . SUCCESS [7.254s]
[INFO] Registry Metadata TestNG Test Module .. SUCCESS [3.929s]
[INFO] Registry Extensibility TestNG Test Module . SUCCESS [3.793s]
[INFO] Registry JIRA TestNG Test Module .. SUCCESS [3.706s]
[INFO] Registry Search and Versioning TestNG Test Module . SUCCESS [3.537s]
[INFO] Registry Permissions TestNG Test Module ... SUCCESS [3.894s]
[INFO] Registry Governance API TestNG Test Module  SUCCESS [22.649s]
[INFO] Registry TestNG Test Module ... SUCCESS [3.286s]
[INFO] Registry UI Test Module ... SUCCESS [2.892s]
[INFO] Integration Test Reporting  FAILURE [0.950s]
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 1:05.472s
[INFO] Finished at: Tue Aug 20 01:27:06 IST 2013
[INFO] Final Memory: 56M/1140M
[INFO]

[ERROR] Failed to execute goal
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (my-exec) on project
org.wso2.carbon.registry.integration.reports: Command execution failed. *Cannot
run program
 "java" (in directory
"C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target"):
* CreateProcess error=206, The filename or extension is too long -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :org.wso2.carbon.registry.integration.reports
C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Startup when starting G-Reg pack in Branch

2013-08-16 Thread Lasith Chandrasekara
Hi,

I am getting following startup error when starting greg pack.

-Laisth.

[2013-08-16 16:14:19,986] ERROR
{org.wso2.carbon.apimgt.startup.publisher.APIManagerStartupPublisher} -
Error while initializing API Provider
org.wso2.carbon.apimgt.api.APIManagementException: Failed to add rxt to
registry
at
org.wso2.carbon.apimgt.impl.utils.APIUtil.loadloadTenantAPIRXT(APIUtil.java:1345)
at
org.wso2.carbon.apimgt.impl.AbstractAPIManager.(AbstractAPIManager.java:99)
at
org.wso2.carbon.apimgt.impl.APIProviderImpl.(APIProviderImpl.java:87)
at
org.wso2.carbon.apimgt.impl.UserAwareAPIProvider.(UserAwareAPIProvider.java:38)
at
org.wso2.carbon.apimgt.impl.APIManagerFactory.newProvider(APIManagerFactory.java:49)
at
org.wso2.carbon.apimgt.impl.APIManagerFactory.getAPIProvider(APIManagerFactory.java:69)
at
org.wso2.carbon.apimgt.startup.publisher.APIManagerStartupPublisher.createAPIModel(APIManagerStartupPublisher.java:193)
at
org.wso2.carbon.apimgt.startup.publisher.APIManagerStartupPublisher.createAPIAtServerStartup(APIManagerStartupPublisher.java:175)
at
org.wso2.carbon.apimgt.startup.publisher.APIManagerStartupPublisher.invoke(APIManagerStartupPublisher.java:153)
at
org.wso2.carbon.core.internal.CarbonCoreServiceComponent.startup(CarbonCoreServiceComponent.java:174)
at
org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:207)
at
org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:284)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at
org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.registerThrottlingAgent(ThrottlingAgentServiceComponent.java:123)
at
org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.activate(ThrottlingAgentServiceComponent.java:100)
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:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org

[Dev] Trunk build failure - Registry TCK Test Module

2013-08-11 Thread Lasith Chandrasekara
Hi,

I am getting following error with "Registry TCK Test Module"

Regards,
-Lasith.

[INFO]
[INFO]

[INFO] Building WSO2 Governance Registry Test Framework - Registry Test
Module Group 4.6.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
registry ---
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
C:\Lasith\svn\trunk\platform\products\greg\modules\integration\registry\target
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (auto-clean) @ registry ---
[INFO] Deleting
C:\Lasith\svn\trunk\platform\products\greg\modules\integration\registry\target
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ registry
---
[INFO] Installing
C:\Lasith\svn\trunk\platform\products\greg\modules\integration\registry\pom.xml
to
C:\Users\Lasith\.m2\repository\org\wso2\governance\registry\4.6.0-SNAPSHOT\registry-4.6.
0-SNAPSHOT.pom
[INFO]
[INFO]

[INFO] Building Registry TCK Test Module 4.6.0-SNAPSHOT
[INFO]

Downloading:
http://maven.wso2.org/nexus/content/groups/wso2-public/org/codehaus/jettison/wso2/jettison/1.3.4/jettison-1.3.4.pom
Downloading:
http://repo.maven.apache.org/maven2/org/codehaus/jettison/wso2/jettison/1.3.4/jettison-1.3.4.pom
[WARNING] The POM for org.codehaus.jettison.wso2:jettison:jar:1.3.4 is
missing, no dependency information available
Downloading:
http://maven.wso2.org/nexus/content/groups/wso2-public/org/codehaus/jettison/wso2/jettison/1.3.4/jettison-1.3.4.jar
Downloading:
http://repo.maven.apache.org/maven2/org/codehaus/jettison/wso2/jettison/1.3.4/jettison-1.3.4.jar
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] WSDL First Sample . SUCCESS [14.275s]
[INFO] Asynchronous JAX-WS Sample  SUCCESS [4.371s]
[INFO] JAX-WS Handler Sample . SUCCESS [2.141s]
[INFO] JAX-WS MTOM Sample  SUCCESS [1.786s]
[INFO] Samples/JAXWS-JAXRS Security .. SUCCESS [0.033s]
[INFO] Username Token JAX-WS Sample .. SUCCESS [2.892s]
[INFO] Sign and Encrypt JAX-WS Security Sample ... SUCCESS [4.012s]
[INFO] Sample/JSON ... SUCCESS [2.805s]
[INFO] Sample/JIBX ... SUCCESS [12.847s]
[INFO] Sample/HelloWorld . SUCCESS [0.913s]
[INFO] Sample/Client API . SUCCESS [1.178s]
[INFO] Sample/Mail Transport . SUCCESS [0.639s]
[INFO] Sample/HelloWorldWebapp ... SUCCESS [1.835s]
[INFO] Sample/WebappVersioning ... SUCCESS [0.385s]
[INFO] Sample/VirtualDirectoryListing  SUCCESS [3.202s]
[INFO] Sample/EJBLibrary . SUCCESS [0.031s]
[INFO] Library EJB module  SUCCESS [4.896s]
[INFO] Library EAR Archive ... SUCCESS [0.343s]
[INFO] Sample/GenericJavaBean  SUCCESS [1.736s]
[INFO] Sample/JDBCDataSource . SUCCESS [2.620s]
[INFO] CarbonDataSourceAccessSample .. SUCCESS [3.977s]
[INFO] Samples/LogModule . SUCCESS [1.156s]
[INFO] Entitlement_Sample_WebApp . SUCCESS [2.145s]
[INFO] WSO2 AS - Sample SimpleStockQuoteService .. SUCCESS [0.962s]
[INFO] WSO2 Stratos AppServer - Sample Installer . SUCCESS [3.339s]
[INFO] WSO2 AppServer - Samples Parent ... SUCCESS [0.121s]
[INFO] WSO2 Stratos  AppServer - Samples . SUCCESS [0.068s]
[INFO] WSO2 AS - Example webapp .. SUCCESS [14.767s]
[INFO] WSO2 AppServer - Features Parent .. SUCCESS [0.164s]
[INFO] WSO2 AppServer - Features Aggregator Module ... SUCCESS [0.376s]
[INFO] WSO2 AppServer - Style Features ... SUCCESS [2.215s]
[INFO] WSO2 AppServer - Utils Features ... SUCCESS [1.817s]
[INFO] WSO2 Stratos  AppServer - Style Features .. SUCCESS [1.204s]
[INFO] WSO2 Stratos  AppServer - Utils Features .. SUCCESS [15.026s]
[INFO] WSO2 Stratos  AppServer - Dashboard UI  SUCCESS [0.848s]
[INFO] WSO2 Stratos  AppServer - Dashboard UI Features ... SUCCESS [1.369s]
[INFO] WSO2 Stratos  AppServer - Dashboard UI Features ... SUCCESS [1.091s]
[INFO] WSO2 AS - Login User Interface  SUCCESS [0.952s]
[INFO] WSO2 Stratos  AppServer - Deployment Features . SUCCESS [1.397s]
[INFO] WSO2 Strato

[Dev] Error when login to the GReg

2013-08-06 Thread Lasith Chandrasekara
Hi,

I am getting following error when loging to the GReg (svn up - yesterday
evening).
This is related to the mail "[Dev] Cant create user role due to Api change
in user-core"

Regards,
Lasith.



[2013-08-07 11:24:01,667] ERROR
{org.apache.axis2.rpc.receivers.RPCMessageReceiver} -
org.wso2.carbon.user.core.common.AbstractUserStoreManager.getRoleNames(Ljava/lang/String;IZ)[Ljava/lan
g/String;
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
at
org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
at
org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:398)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.wso2.carbon.user.mgt.stub.UserAdminStub.getRolesOfCurrentUser(UserAdminStub.java:4489)
at
org.wso2.carbon.governance.notifications.ui.worklist.HumanTaskClient.getRoles(HumanTaskClient.java:146)
at
org.apache.jsp.worklist.header_jsp._jspService(org.apache.jsp.worklist.header_jsp:75)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at
org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
at
org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015)
at
org.apache.jsp.admin.layout.header_jsp._jspService(org.apache.jsp.admin.layout.header_jsp:169)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.Ht

Re: [Dev] Build failure in trunk

2013-08-06 Thread Lasith Chandrasekara
 Hi,

I also had the same issue with svn up. But it is only for maven clean.
Maven install is working fine for me.

Regards,
-Lasith.


On Tue, Aug 6, 2013 at 5:41 PM, Madhuka Udantha  wrote:

> Hi,
>
> I just check with ec2 builder for those component and those went
> successful.
>
>
> On Tue, Aug 6, 2013 at 5:05 PM, Nuwan Bandara  wrote:
>
>> @Madhuka,
>>
>> can you add relative path to child poms pointing to the parent, seems for
>> certain cases mvn cannot resolve the parent pom.
>>
>> Regards,
>> /Nuwan
>>
>>
>> On Tue, Aug 6, 2013 at 3:28 PM, Nuwan Bandara  wrote:
>>
>>> Hi Janaka,
>>>
>>> Can you remove jaggery directory inside components, and then take an
>>> update.
>>>
>>> Regards,
>>> /Nuwan
>>>
>>>
>>> On Tue, Aug 6, 2013 at 3:26 PM, Janaka Ranabahu  wrote:
>>>
 Hi Nuwan,

 Still no luck. I took a svn update from platform level but still facing
 the issue.

 *Fetching external item into
 'features/identity/relying-party/org.wso2.carbon.identity.relying.party.server.feature/resources/conf':
 *
 *
 *
 *Fetching external item into
 'features/identity/relying-party/org.wso2.carbon.identity.relying.party.server.feature/resources/conf/claim-config.xml':
 *
 *External at revision 179953.*
 *
 *
 *At revision 179953.*
 *At revision 179953.*
 *janaka@janaka-T530:~/work/wso2/carbon/platform/trunk$ mvn clean
 install*
  *[INFO] Scanning for projects...*
 *[ERROR] The build could not read 8 projects -> [Help 1]*
 *[ERROR]   *
 *[ERROR]   The project org.jaggeryjs:script-engine:0.9.0-07262013
 (/home/janaka/work/wso2/carbon/platform/trunk/products/jaggery/components/script-engine/pom.xml)
 has 1 error*
 *[ERROR] Non-resolvable parent POM: Failure to find
 org.jaggeryjs:components:pom:0.9.0-07262013 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update interval of
 central has elapsed or updates are forced and 'parent.relativePath' points
 at wrong local POM @ line 22, column 13 -> [Help 2]*
 *[ERROR]   *
 *[ERROR]   The project org.jaggeryjs:hostobjects:0.9.0-07262013
 (/home/janaka/work/wso2/carbon/platform/trunk/products/jaggery/components/hostobjects/pom.xml)
 has 1 error*
 *[ERROR] Non-resolvable parent POM: Failure to find
 org.jaggeryjs:components:pom:0.9.0-07262013 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update interval of
 central has elapsed or updates are forced and 'parent.relativePath' points
 at wrong local POM @ line 22, column 13 -> [Help 2]*
 *[ERROR]   *
 *[ERROR]   The project org.jaggeryjs:jaggery-core:0.9.0-07262013
 (/home/janaka/work/wso2/carbon/platform/trunk/products/jaggery/components/jaggery-core/pom.xml)
 has 1 error*
 *[ERROR] Non-resolvable parent POM: Failure to find
 org.jaggeryjs:components:pom:0.9.0-07262013 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update interval of
 central has elapsed or updates are forced and 'parent.relativePath' points
 at wrong local POM @ line 22, column 13 -> [Help 2]*
 *[ERROR]   *
 *[ERROR]   The project org.jaggeryjs:jaggery-admin:0.9.0-07262013
 (/home/janaka/work/wso2/carbon/platform/trunk/products/jaggery/components/jaggery-admin/pom.xml)
 has 1 error*
 *[ERROR] Non-resolvable parent POM: Failure to find
 org.jaggeryjs:components:pom:0.9.0-07262013 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update interval of
 central has elapsed or updates are forced and 'parent.relativePath' points
 at wrong local POM @ line 22, column 13 -> [Help 2]*
 *[ERROR]   *
 *[ERROR]   The project
 org.jaggeryjs:org.jaggeryjs.admin.styles.feature:0.9.0-07262013
 (/home/janaka/work/wso2/carbon/platform/trunk/products/jaggery/features/org.jaggeryjs.admin.styles.feature/pom.xml)
 has 1 error*
 *[ERROR] Non-resolvable parent POM: Failure to find
 org.jaggeryjs:features:pom:0.9.0-07262013 in
 http://repo.maven.apache.org/maven2 was cached in the local
 repository, resolution will not be reattempted until the update interval of
 central has elapsed or updates are forced and 'parent.relativePath' points
 at wrong local POM @ line 22, column 13 -> [Help 2]*
 *[ERROR]   *
 *[ERROR]   The project
 org.jaggeryjs:org.jaggeryjs.server.feature:0.9.0-07262013
 (/home/janaka/work/wso2/carbon/platform/trunk/products/jaggery/features/org.jaggeryjs.server.feature/pom.xml)
 has 1 error*
 *[ERROR] Non-resolvable parent POM: Failure to find
 org.jaggeryjs:features:pom:0.9.0-07262013 in
 http://repo.maven.apache.org/maven2 was cached in 

Re: [Dev] Error while authorizing system anonymous role against registry resources after setting permissions correctly

2013-08-02 Thread Lasith Chandrasekara
Hi Asela,

I think we should discuss these type of changes. Can you please let us know
(list down) all these kind of changes?
Also do we need to change other users as well? I am having permission issue
with wso2.system.user. Wonder here I have to append "*system/"

*
*-*Lasith*
*


On Fri, Aug 2, 2013 at 11:51 AM, Asela Pathberiya  wrote:

> +1 AFAIK,  here idea was to not to create this anonymous, system user and
> roles in user store...  Because user store can be an external AD,  LDAP or
> custom JDBC user store, It is not good to create users in external user
> store  Therefore it is planed to keep them in separate table inside
> user management database.  Therefore to uniquely identify the these roles
> and users from other users from stores,  "system" prefix has been added.  I
> guess, it is fine...  However, if we are running carbon with respect to an
> old user management database,  I guess you need to update the "
> wso2.anonymous.role" role name in to "system/wso2.anonymous.role" in
> UM_ROLE _PERMISSION table.  Could you please verify this also...  then we
> can add this to migration docs.  This what,  i got in to my mind... , If
> there any concerns or improvements regarding this, please let know...
>
> Thanks,
> Asela
>
>
> On Fri, Aug 2, 2013 at 10:56 AM, Lalaji Sureshika  wrote:
>
>> Hi,
>>
>> Due to $subject ,APIStore anonymous view is broken and no APIs shown..
>> To fix this,after talk to Asela, I did the change as r179591,but still
>> APIStore is having the same problem.
>>
>> When debugging the code,found in the method
>> of updatePermissionTreeFromDB() in PermissionTree class,its referring the
>> role names with domains as below.
>>
>> String roleWithDomain = UserCoreUtil.addDomainToName(roleName, domain);
>> roleWithDomain = roleWithDomain.toLowerCase();
>> if (allow == UserCoreConstants.ALLOW) {
>>* tree.authorizeRoleInTree(roleWithDomain,
>> rs.getString(2), rs.getString(4), false);*
>> } else {
>>* tree.denyRoleInTree(roleWithDomain,
>> rs.getString(2), rs.getString(4), false);*
>> }
>>
>> And the wso2 anonymous role ,has referred as "*system/wso2.anonymous.role
>> *" from above code block, when setting authorization per anonymous role
>> in permission tree.
>>
>> When we implicitly try to authorize existing anonymous role name['*
>> wso2.anonymous.role*'] from our code block ,it failed..
>>
>> As the solution if we changed the anonymous.role value defined in
>> CarbonConstants class [the constant referring from our code blocks] as
>> below diff,the above will fixed.
>>
>> -public static final String REGISTRY_ANONNYMOUS_ROLE_NAME = "*
>> wso2.anonymous.role*";
>> +public static final String REGISTRY_ANONNYMOUS_ROLE_NAME = "*
>> system/wso2.anonymous.role*";
>>
>> Shall I proceed with this change?
>>
>> Thanks;
>>
>>
>>
>> --
>> Lalaji Sureshika
>> WSO2, Inc.;  http://wso2.com/
>> email: lal...@wso2.com; cell: +94 71 608 6811
>> blog: http://lalajisureshika.blogspot.com
>>
>>
>
>
> --
> Thanks & Regards,
> Asela
>
> Mobile : +94 777 625 933
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invalid wsdl reference in service.metadata.xml (G-reg integration test)

2013-07-25 Thread Lasith Chandrasekara
Hi,

The service.metadata.xml [1] has invalid reference to BizService.wsdl.
This will lead to file not found exceptions in greg test cases i.e
MetaDataTestCase.testAddService()

Anyway the required wsdl is located at [2].

Shall we change wsdlurl in service.metadata.xml to [2] ? Or should we copy
BizService.wsdl to location mentioned in service.metadata.xml?

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/platform-integration/platform-automated-test-suite/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/GREG/services/service.metadata.xml

[2]
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/platform-integration/platform-automated-test-suite/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/GREG/wsdl/BizService.wsdl

Regards,
-Lasith.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Running multiple g-reg instances

2013-07-23 Thread Lasith Chandrasekara
Hi,

I tried to run multiple instances of g-reg by changing the offset. But
getting following "Address already in use"in APIKeyMgtServiceComponent.

Apimgt team will look into this.


[2013-07-24 10:37:45,723] ERROR
{org.wso2.carbon.apimgt.keymgt.internal.APIKeyMgtServiceComponent} -  Error
in initializing thrift transport
org.apache.thrift.transport.TTransportException: Could not bind to port
10397
at
org.apache.thrift.transport.TSSLTransportFactory.createServer(TSSLTransportFactory.java:117)
at
org.apache.thrift.transport.TSSLTransportFactory.getServerSocket(TSSLTransportFactory.java:103)
at
org.wso2.carbon.apimgt.keymgt.internal.APIKeyMgtServiceComponent.startThriftService(APIKeyMgtServiceComponent.java:197)
at
org.wso2.carbon.apimgt.keymgt.internal.APIKeyMgtServiceComponent.activate(APIKeyMgtServiceComponent.java:75)
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:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at
org.wso2.carbon.identity.thrift.authentication.internal.ThriftAuthenticationServiceComponent.activate(ThriftAuthenticationServiceComponent.java:69)
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:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
  

[Dev] GReg CMIS integration - Alfresco OpenCMIS extension

2013-07-11 Thread Lasith Chandrasekara
Hi Samuel,

Can we add shared document [1] for G-Reg 4.6.0 documentation wiki?
This can add under "connectors" with name "Alfresco".

[1]
https://docs.google.com/a/wso2.com/document/d/1Rzf59fqeMkgpenRt6id26RDa02NAyk_KFK3EtaEAoGg/edit?usp=sharing

Regards,
-Lasith.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting error in p2-profile-gen due to some missing features

2013-07-09 Thread Lasith Chandrasekara
Hi,

I also had the same issue.
Anyway now I got a svn update and doing a new build.

-Lasith


On Tue, Jul 9, 2013 at 5:59 PM, Pulasthi Supun  wrote:

> Hi All i am getting the following error when building the greg with a new
> update p2-profile-gen. Does anyone now how to fix this?
>
> Installing org.wso2.carbon.apimgt.store.feature.group 4.2.0.SNAPSHOT.
> Installation failed.
> Cannot complete the install because one or more required items could not
> be found.
>  Software being installed: WSO2 Carbon - Statistics Feature 4.2.0.SNAPSHOT
> (org.wso2.carbon.system.statistics.feature.group 4.2.0.SNAPSHOT)
>  Missing requirement: org.wso2.carbon.statistics.ui 4.2.0.SNAPSHOT
> (org.wso2.carbon.statistics.ui 4.2.0.SNAPSHOT) requires 'package
> org.wso2.carbon.webapp.statistics.data.xsd [4.2.0,5.0.0)' but it could not
> be found
>  Cannot satisfy dependency:
>   From: WSO2 Carbon - Statistics Feature 4.2.0.SNAPSHOT
> (org.wso2.carbon.system.statistics.feature.group 4.2.0.SNAPSHOT)
>   To: org.wso2.carbon.system.statistics.ui.feature.group [4.2.0.SNAPSHOT]
>  Cannot satisfy dependency:
>   From: WSO2 Carbon - Statistics UI Feature 4.2.0.SNAPSHOT
> (org.wso2.carbon.system.statistics.ui.feature.group 4.2.0.SNAPSHOT)
>   To: org.wso2.carbon.statistics.ui [4.2.0.SNAPSHOT]
> Application failed, log file location:
> /home/pulasthi/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1373372544724.log
> !SESSION 2013-07-09 17:52:24.545
> ---
> eclipse.buildId=unknown
> java.version=1.6.0_26
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments:  -application org.eclipse.equinox.p2.director
> -metadataRepository
> file:/home/pulasthi/work/wso2/carbon/carbon/platform/trunk/products/greg/modules/p2-profile-gen/target/p2-repo
> -artifactRepository
> file:/home/pulasthi/work/wso2/carbon/carbon/platform/trunk/products/greg/modules/p2-profile-gen/target/p2-repo
> -profileProperties org.eclipse.update.install.features=true -installIU
> org.wso2.carbon.jaxws.webapp.mgt.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.webapp.mgt.server.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.logging.mgt.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.databridge.datapublisher.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.security.mgt.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.system.statistics.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.event.common.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.event.server.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.identity.core.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.identity.user.profile.ui.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.identity.self.registration.server.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.identity.oauth.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.user.mgt.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.um.ws.service.server.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.um.ws.service.client.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.activities.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.handler.configuration.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.associations.dependencies.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.community.features.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.extensions.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.ws.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.uddi.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.social.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.gadget.editor.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.gadget.editor.ui.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.governance.lifecycle.management.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.governance.gadgets.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.governance.metadata.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.webdav.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.jcr.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.governance.notifications.configuration.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.core.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.contentsearch.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.ui.menu.governance.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.profiles.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.registry.resource.properties.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.governance.platform.extensions.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.discovery.core.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.discovery.proxy.feature.group/4.2.0.SNAPSHOT,org.wso2.governance.styles.feature.group/4.6.0.SNAPSHOT,org.wso2.stratos.governance.ui.feature.group/2.2.0.SNAPSHOT,org.wso2.carbon.dashboard.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.dashboard.dashboardpopulator.server.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.application.mgt.feature.group/4.2.0.SNAPSHOT,org.wso2.carbon.jaxwsservices.server.feature.group/4.2

Re: [Dev] Test failure in platform trunk - Registry - Extensions

2013-06-18 Thread Lasith Chandrasekara
Hi,

We are currently working on this.

Regards,
-Lasith.


On Tue, Jun 18, 2013 at 2:21 PM, Sinthuja Ragendran wrote:

> Hi,
>
> $subject. And my kernal revision is r175396 and platform revision is
> r175408. Please have a look.
>
> ---
>  T E S T S
> ---
> Running org.wso2.carbon.registry.extensions.test.Registry802Test
> Endpoint 1: /ep-FunctionService
> Endpoint 2: /ep-CharithaService
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
> Running org.wso2.carbon.registry.extensions.test.jdbc.DefaultLifecycleTest
> log4j:WARN No appenders could be found for logger
> (org.wso2.carbon.context.internal.CarbonContextDataHolder).
> log4j:WARN Please initialize the log4j system properly.
> carbon home
> /home/sinthuja/projects/backup_trunk/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/test/resources/carbon-home
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.055 sec
> <<< FAILURE!
> Running
> org.wso2.carbon.registry.extensions.test.jdbc.RepositoryCreationTest
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
>
> Results :
>
> Tests in error:
>
> testLifecycle(org.wso2.carbon.registry.extensions.test.jdbc.DefaultLifecycleTest):
> Failed to initialize the user manager. Error while reading realm
> configuration from file
>
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
>
> Thanks,
> Sinthuja.
>
> --
> *Sinthuja Rajendran*
> Software Engineer 
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build failure on kernel (trunk)

2013-06-16 Thread Lasith Chandrasekara
Hi,

Getting following build failure when building kernel on trunk.
Please have a look.

[INFO]
[INFO]

[INFO] Building WSO2 Carbon - Kernel 4.2.0-SNAPSHOT
[INFO]

[INFO]
[INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
org.wso2.carbon.core ---
[INFO] Verifying module descriptor ...
[INFO] Verifying parent modules...
[INFO] Module  updated
[INFO] Deleting C:\Lasith\svn\trunk\kernel\core\org.wso2.carbon.core\target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
org.wso2.carbon.core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
org.wso2.carbon.core ---
[INFO] Compiling 203 source files to
C:\Lasith\svn\trunk\kernel\core\org.wso2.carbon.core\target\classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR]
\Lasith\svn\trunk\kernel\core\org.wso2.carbon.core\src\main\java\org\wso2\carbon\core\clustering\hazelcast\HazelcastClusteringAgent.java:[63,7]
org.wso2.carbon.core.clustering.hazel
cast.HazelcastClusteringAgent is not abstract and does not override
abstract method
resetGroupManagementAgent(java.lang.String,java.lang.String) in
org.apache.axis2.clustering.ClusteringAge
nt
[INFO] 1 error
[INFO] -
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Parent . SUCCESS [1.639s]
[INFO] Apache Axis2 - Resource bundle  SUCCESS [1.863s]
[INFO] Axiom Parent POM .. SUCCESS [0.827s]
[INFO] Axiom Test Utilities .. SUCCESS [2.116s]
[INFO] Axiom Jaxen Test Suite  SUCCESS [0.994s]
[INFO] Axiom API . SUCCESS [18.217s]
[INFO] Axiom Implementation Test Suite ... SUCCESS [3.846s]
[INFO] Axiom Impl  SUCCESS [2.880s]
[INFO] Apache Axis2 - Kernel . SUCCESS [17.714s]
[INFO] Axiom DOM . SUCCESS [4.175s]
[INFO] Apache Axis2 - Data Binding ... SUCCESS [7.079s]
[INFO] Apache Axis2 - Transport - Local .. SUCCESS [1.465s]
[INFO] Apache Axis2 - Transport - HTTP ... SUCCESS [1.848s]
[INFO] Apache Axis2 - Code Generation  SUCCESS [5.905s]
[INFO] Apache Axis2 - ADB Codegen  SUCCESS [2.784s]
[INFO] Apache Axis2 - Addressing . SUCCESS [1.096s]
[INFO] Apache Axis2 - Java2WSDL .. SUCCESS [2.345s]
[INFO] Apache Axis2 - tool - Repository Maven Plugin . SUCCESS [2.537s]
[INFO] Apache Axis2 - Fast Infoset ... SUCCESS [1.089s]
[INFO] Apache Axis2 - Clustering . SUCCESS [2.674s]
[INFO] Apache Axis2 - Scripting .. SUCCESS [1.321s]
[INFO] Apache Axis2 - JAXB-RI Data Binding ... SUCCESS [1.228s]
[INFO] Apache Axis2 - SAAJ ... SUCCESS [2.520s]
[INFO] Apache Axis2 - Metadata ... SUCCESS [7.864s]
[INFO] Apache Axis2 - JAXWS .. SUCCESS [13.883s]
[INFO] Apache Axis2 - Test Utilities . SUCCESS [0.858s]
[INFO] Apache Axis2 - JAXWS Integration Tests  SUCCESS [1.935s]
[INFO] Apache Axis2 - JiBX Data Binding .. SUCCESS [1.992s]
[INFO] Apache Axis2 - JSON ... SUCCESS [2.077s]
[INFO] Apache Axis2 - MTOM Policy  SUCCESS [0.769s]
[INFO] Apache Axis2 - spring . SUCCESS [1.024s]
[INFO] Apache Axis2 - OSGi Integration ... SUCCESS [1.769s]
[INFO] Apache Axis2 - XMLBeans Data Binding .. SUCCESS [1.745s]
[INFO] Apache Axis2 - Integration  SUCCESS [0.957s]
[INFO] Apache Axis2 - MEX  SUCCESS [1.176s]
[INFO] Apache Axis2 - MTOM Policy module . SUCCESS [0.383s]
[INFO] Apache Axis2 - Ping ... SUCCESS [0.378s]
[INFO] Apache Axis2 - Version Service  SUCCESS [0.665s]
[INFO] Apache Axis2 - SOAP Monitor Servlet ... SUCCESS [0.533s]
[INFO] Apache Axis2 - SOAP Monitor Module  SUCCESS [0.340s]
[INFO] Apache Axis2 - tool - AAR Maven Plugin  SUCCESS [0.464s]
[INFO] Apache Axis2 - tool - Ant Plugin .. SUCCESS [1.048s]
[INFO] Apache Axis2 - tool - Ja

Re: [Dev] Build Break - attachment-management.xml (No such file or directory)

2013-06-12 Thread Lasith Chandrasekara
Hi,

Agree with Vijitha, I got the same error few weeks ago. But that time it
was fixed by Nandika.
Changes are on,
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/features/attachment-mgt/org.wso2.carbon.attachment.mgt.server.feature/4.1.2/resources/conf/

-Lasith.



On Wed, Jun 12, 2013 at 12:19 PM, Vijitha Kumara  wrote:

> This should be fixed, you may need to update BPS components and/or
> registry components/product as well.
>
>
> On Wed, Jun 12, 2013 at 11:58 AM, Malaka Silva  wrote:
>
>> I'm getting the following when building patch release 4.1.3?
>>
>> [INFO] WSO2 Carbon - Cloud Governance UI Feature . SUCCESS
>> [0.383s]
>> [INFO] WSO2 Governance Registry - P2 Profile Generation .. SUCCESS
>> [31.334s]
>> [INFO] WSO2 Governance Registry - Distribution ... FAILURE
>> [41.941s]
>> [INFO] WSO2 Governance Registry - Integration Tests .. SKIPPED
>> [INFO] WSO2 Governance Registry Test Framework - Registry Test Module
>> Group  SKIPPED
>> [INFO] Registry TestNG Test Samples .. SKIPPED
>> [INFO] Backward association handler Sample ... SKIPPED
>> [INFO] Registry TestNG Test Module ... SKIPPED
>> [INFO] Registry TestNG Test Module ... SKIPPED
>> [INFO] Registry UI Test Module ... SKIPPED
>> [INFO] WSO2 ESB - Aggregator Module .. SKIPPED
>> [INFO] WSO2 ESB - Styles Parent .. SKIPPED
>> [INFO] WSO2 ESB - Styles . SKIPPED
>> [INFO] WSO2 Stratos ESB - Styles . SKIPPED
>> [INFO] WSO2 ESB - Samples Parent . SKIPPED
>> [INFO] WSO2 ESB - Samples  SKIPPED
>> [INFO] WSO2 Stratos ESB - Samples  SKIPPED
>> [INFO] WSO2 ESB - Features Parent  SKIPPED
>> [INFO] WSO2 ESB - Features Aggregator Module . SKIPPED
>> [INFO] WSO2 ESB - Styles Features  SKIPPED
>> [INFO] WSO2 ESB - Samples Features ... SKIPPED
>> [INFO] WSO2 Stratos ESB - Login User Interface ... SKIPPED
>> [INFO] WSO2 Stratos ESB - Features Aggregator Module . SKIPPED
>> [INFO] WSO2 Stratos ESB - Login UI Feature ... SKIPPED
>> [INFO] WSO2 Stratos ESB - Styles Features  SKIPPED
>> [INFO] WSO2 Stratos ESB - Samples Features ... SKIPPED
>> [INFO] WSO2 ESB - P2 Profile Generation .. SKIPPED
>> [INFO] WSO2 ESB - Distribution ... SKIPPED
>> [INFO] WSO2 ESB - Integration Parent . SKIPPED
>> [INFO] WSO2 ESB Integration Test Core  SKIPPED
>> [INFO] ESB test Module ... SKIPPED
>> [INFO] ESB Sample Scenarios .. SKIPPED
>> [INFO] WSO2 ESB NHTTP Transport Integration Tests  SKIPPED
>> [INFO] Priority Executors Module . SKIPPED
>> [INFO] Proxy Services Integration Tests .. SKIPPED
>> [INFO] Sequence Module ... SKIPPED
>> [INFO] WSO2 ESB HTTP Servlet Transport Integration Tests . SKIPPED
>> [INFO] WS-Discovery Integration Tests  SKIPPED
>> [INFO] Module Mgt Integration Tests .. SKIPPED
>> [INFO] Service Mgt Integration Tests . SKIPPED
>> [INFO] af-archetype .. SKIPPED
>> [INFO] jaxrs-archetype ... SKIPPED
>> [INFO] jaxws-archetype ... SKIPPED
>> [INFO] jaggery-archetype . SKIPPED
>> [INFO] bpel-archetype  SKIPPED
>> [INFO] dbs-archetype . SKIPPED
>> [INFO] esb-archetype . SKIPPED
>> [INFO] php-archetype . SKIPPED
>> [INFO] maven-archetype-webapp  SKIPPED
>> [INFO] WSO2 AppFacotry - Parent .. SKIPPED
>> [INFO] WSO2 AppFactory - Archetype For Applications .. SKIPPED
>> [INFO] BPEL Parent ... SKIPPED
>> [INFO] UserCreation .. SKIPPED
>> [INFO] UserActivation  SKIPPED
>> [INFO] ApplicationCreation ... SKIPPED
>> [INFO] AddUserToApplication .. SKIPPED
>> [INFO] CreateArtifact  SKIPPED
>> [INFO] DeployArtifact  SKIPPED
>> [INFO] DeployToStage . SKIPPED
>> [INFO] UserCreationHT  SKIPPED
>> [INFO] GovernanceBPEL  SKIPPED
>> [INFO] UserApprovalTask .. SKIPPED
>> [INFO] WSO2 AppFa

[Dev] Fwd: Build failure on trunk/platform

2013-06-11 Thread Lasith Chandrasekara
Hi,

Getting following build failure.
Seems parent pom path is incorrect.

-Lasith.



[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.ode.wso2:ode:1.3.5.
wso2v9 (/media/MyDrive/svn/trunk/platform/dependencies/orbit/ode/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact
org.wso2.carbon:carbon-dependents:pom:4.2.0-SNAPSHOT and
'parent.relativePath' points at wrong local POM @ line 23, column 13 ->
[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/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev