[Dev] [Turing branch] Issues with externals

2013-11-05 Thread Vijitha Kumara
Hi All,

I can see below issues while doing svn update. Can the relevant product
teams fix these please...


svn: warning: W20: Error handling externals definition for
'products/is/4.5.1/modules/distribution/conf/claim-config.xml':
svn: warning: W17: URL '
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/features/claim-management/org.wso2.carbon.claim.mgt.server.feature/4.2.0/resources/conf/claim-config.xml'
at revision 190224 doesn't exist


svn: warning: W20: Error handling externals definition for
'products/as/5.2.0/modules/samples/dataServiceSamples':
svn: warning: W17: URL '
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/products/dss/3.1.0/modules/samples'
at revision 190224 doesn't exist


svn: warning: W20: Error handling externals definition for
'features/stratos/common/org.wso2.carbon.stratos.common.server.feature/2.2.0/resources/conf/tenant-mgt.xml':
svn: warning: W17: URL '
https://svn.wso2.org/repos/wso2/carbon/kernel/branches/turing/core/org.wso2.carbon.user.core/4.2.0/src/main/resources/tenant-mgt.xml'
at revision 190224 doesn't exist


svn: warning: W20: Error handling externals definition for
'products/esb/4.8.0/modules/features/product/etc':
svn: warning: W17: URL '
https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/features/etc' at
revision 190224 doesn't exist


svn: warning: W20: Error handling externals definition for
'products/dss/3.1.0/modules/integration/tests/src/test/resources/artifacts/DSS':
svn: warning: W17: URL '
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/platform-integration/platform-automated-test-suite/1.2.0/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/DSS'
at revision 190224 doesn't exist










-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Error while executing integration tests (while running ant command)

2013-09-22 Thread Vijitha Kumara
Hi Sanjeewa,

Don't we have ant globally available in the builder?  Can you check ant
version in builder? I think we should have ant globally anyway?


On Sun, Sep 22, 2013 at 6:35 PM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 Hi Team,
 I got following error on builder machine while build product(greg) with
 tests (yesterday). It seems we are trying to execute ant command while
 running tests. Is this correct behavior? Do we need to install ant in the
 system or should we use ant jar to run this?



 [2013-09-22 05:12:10,791]  INFO
 {org.wso2.carbon.automation.core.PlatformReportManager} -
  
 /home/wso2/4.2.0_branch/platform/products/greg/4.6.0/modules/integration/tcks/cmis-tck/target/surefire-reports/GregTestSuite-
 [2013-09-22 05:12:10,792]  INFO
 {org.wso2.carbon.automation.core.PlatformReportManager} -
  
 /home/wso2/4.2.0_branch/platform/products/greg/4.6.0/modules/integration/tcks/cmis-tck/target/surefire-reports/GregTestSuite-
 Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 215.274
 sec  FAILURE!
 runTckTest(org.wso2.carbon.registry.tck.cmis.CMISTck)  Time elapsed: 0.005
 sec   FAILURE!
 java.io.IOException: Cannot run program ant: java.io.IOException:
 error=2, No such file or directory
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
  at java.lang.Runtime.exec(Runtime.java:593)
 at java.lang.Runtime.exec(Runtime.java:431)
 at java.lang.Runtime.exec(Runtime.java:328)
  at org.wso2.carbon.registry.tck.cmis.CMISTck.runTckTest(CMISTck.java:86)
 Caused by: java.io.IOException: java.io.IOException: error=2, No such file
 or directory
  at java.lang.UNIXProcess.init(UNIXProcess.java:148)
 at java.lang.ProcessImpl.start(ProcessImpl.java:65)
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
 ... 37 more

 [2013-09-22 05:12:11,223]  INFO
 {org.wso2.carbon.automation.core.utils.serverutils.ServerUtils} -  Shutting
 down server..

 Results :

 Failed tests:   runTckTest(org.wso2.carbon.registry.tck.cmis.CMISTck):
 Cannot run program ant: java.io.IOException: error=2, No such file or
 directory

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

 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]


 Thanks,
 sanjeewa.
 --
 *
 *
 *Sanjeewa Malalgoda*
 Senior Software Engineer
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/



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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Nightly Build Packs - 21/09/2013

2013-09-21 Thread Vijitha Kumara
On Sat, Sep 21, 2013 at 11:14 AM, Sanjeewa Malalgoda sanje...@wso2.comwrote:

 Please find the latest packs[2] with updated with patch provided by
 darshana.

 [2]http://builder3.us1.wso2.org/builds/chunk-02/21-sept-2013-v1/


So, why the fix is committed to 4.2.0 component (r186038)?



 Thanks,
 sanjeewa.


 On Sat, Sep 21, 2013 at 10:40 AM, Nirmal Fernando nir...@wso2.com wrote:

 Cool.


 On Sat, Sep 21, 2013 at 10:39 AM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Nirmal,
 Sanjeewa is re-building with the patch for
 https://wso2.org/jira/browse/REGISTRY-1957. We should wait for new
 packs to come.


 On Sat, Sep 21, 2013 at 10:22 AM, Nirmal Fernando nir...@wso2.comwrote:

 With this ELB pack, https://wso2.org/jira/browse/LB-104 should be
 fixed. QA team can you please verify, the normal session affinity stuff
 works and also this particular scenario work with the new pack?

 Thanks.


 On Sat, Sep 21, 2013 at 8:50 AM, Sanjeewa Malalgoda 
 sanje...@wso2.comwrote:

 Hi Team,

 Packs from revision 186029 (API Manager, GREG, CEP, ELB) can be
 downloaded from [1].

 [1] : http://builder3.us1.wso2.org/builds/chunk-02/21-sept-2013/



 Thanks and Regards,
 Sanjeewa.
 --
 *
 *
 *Sanjeewa Malalgoda*
 Senior Software Engineer
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/



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




 --

 Thanks  regards,
 Nirmal

 Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/


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




 --
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha




 --

 Thanks  regards,
 Nirmal

 Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/




 --
 *
 *
 *Sanjeewa Malalgoda*
 Senior Software Engineer
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/



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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Ubable to find in Features

2013-09-16 Thread Vijitha Kumara
On Mon, Sep 16, 2013 at 3:28 PM, Malaka Silva mal...@wso2.com wrote:

 I have done some changes to
 platform/components/wsdl2form/org.wso2.carbon.wsdl2form/4.2.0
 and
 platform/service-stubs/org.wso2.carbon.proxyadmin.stub/4.2.0

 I can't find those in features.

 Any idea where to change?


You need to add them to the corresponding pom.xml like
product-releases/chunk-0*X*/components/pom.xml etc..


Regards,
Vijitha.



 --
 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Ubable to find in Features

2013-09-16 Thread Vijitha Kumara
On Mon, Sep 16, 2013 at 4:03 PM, Malaka Silva mal...@wso2.com wrote:

 thx Vijitha

 Just that. No need to add it to features and p2profile?


All affecting pom.xmls needs to be updated and the product level changes
need to be done inside the product. I was referring an example earlier :)


Regards,
Vijitha.




 On Mon, Sep 16, 2013 at 3:47 PM, Vijitha Kumara viji...@wso2.com wrote:


 On Mon, Sep 16, 2013 at 3:28 PM, Malaka Silva mal...@wso2.com wrote:

 I have done some changes to
  platform/components/wsdl2form/org.wso2.carbon.wsdl2form/4.2.0
 and
 platform/service-stubs/org.wso2.carbon.proxyadmin.stub/4.2.0

 I can't find those in features.

 Any idea where to change?


 You need to add them to the corresponding pom.xml like
 product-releases/chunk-0*X*/components/pom.xml etc..


 Regards,
 Vijitha.



 --
 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/

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




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
  email: viji...@wso2.com


 Lean . Enterprise . Middleware




 --
 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Ubable to find in Features

2013-09-16 Thread Vijitha Kumara
On Mon, Sep 16, 2013 at 5:16 PM, Malaka Silva mal...@wso2.com wrote:

 Issue is I'm unable to find it in features?


If you mean under the product-releases/... then you need add any features
etc... which will be released under the particular chunk (if it is modified
for the current release or the 4.2.0/any previous version is not released).


Regards,
Vijitha.




 On Mon, Sep 16, 2013 at 4:45 PM, Vijitha Kumara viji...@wso2.com wrote:




 On Mon, Sep 16, 2013 at 4:03 PM, Malaka Silva mal...@wso2.com wrote:

 thx Vijitha

 Just that. No need to add it to features and p2profile?


 All affecting pom.xmls needs to be updated and the product level changes
 need to be done inside the product. I was referring an example earlier :)


 Regards,
 Vijitha.




 On Mon, Sep 16, 2013 at 3:47 PM, Vijitha Kumara viji...@wso2.comwrote:


 On Mon, Sep 16, 2013 at 3:28 PM, Malaka Silva mal...@wso2.com wrote:

 I have done some changes to
  platform/components/wsdl2form/org.wso2.carbon.wsdl2form/4.2.0
 and
 platform/service-stubs/org.wso2.carbon.proxyadmin.stub/4.2.0

 I can't find those in features.

 Any idea where to change?


 You need to add them to the corresponding pom.xml like
 product-releases/chunk-0*X*/components/pom.xml etc..


 Regards,
 Vijitha.



 --
 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/

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




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
  email: viji...@wso2.com


 Lean . Enterprise . Middleware




 --
 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
  Tel : 94 11 214 5345
 Fax :94 11 2145300
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com


 Lean . Enterprise . Middleware




 --
 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] Chunk02 clean repo build fails (r184926)

2013-09-10 Thread Vijitha Kumara
[ERROR] Failed to execute goal on project
org.wso2.carbon.databridge.datasink.cassandra: Could not resolve
dependencies for project
org.wso2.carbon:org.wso2.carbon.databridge.datasink.cassandra:bundle:4.2.0:
The following artifacts could not be resolved:
org.wso2.carbon:org.wso2.carbon.event.builder.core:jar:1.0.0,
org.wso2.carbon:org.wso2.carbon.event.processor.api:jar:1.0.0: Could not
find artifact org.wso2.carbon:org.wso2.carbon.event.builder.core:jar:1.0.0
in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
[Help 1]











-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Chunk02 clean repo build fails (r184926)

2013-09-10 Thread Vijitha Kumara
Another one:


[ERROR] Failed to execute goal on project org.wso2.carbon.sequences.ui:
Could not resolve dependencies for project
org.wso2.carbon:org.wso2.carbon.sequences.ui:bundle:4.2.0: Could not find
artifact
org.wso2.carbon:org.wso2.carbon.mediation.templates.service:jar:4.2.0 in
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
[Help 1]







On Tue, Sep 10, 2013 at 11:58 AM, Vijitha Kumara viji...@wso2.com wrote:


 [ERROR] Failed to execute goal on project
 org.wso2.carbon.databridge.datasink.cassandra: Could not resolve
 dependencies for project
 org.wso2.carbon:org.wso2.carbon.databridge.datasink.cassandra:bundle:4.2.0:
 The following artifacts could not be resolved:
 org.wso2.carbon:org.wso2.carbon.event.builder.core:jar:1.0.0,
 org.wso2.carbon:org.wso2.carbon.event.processor.api:jar:1.0.0: Could not
 find artifact org.wso2.carbon:org.wso2.carbon.event.builder.core:jar:1.0.0
 in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 - [Help 1]











 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com


 Lean . Enterprise . Middleware




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Chunk02 clean repo build fails (r184926)

2013-09-10 Thread Vijitha Kumara
On Tue, Sep 10, 2013 at 3:06 PM, Ruwan Yatawara ruw...@wso2.com wrote:


 On Tue, Sep 10, 2013 at 2:11 PM, Vijitha Kumara viji...@wso2.com wrote:

 carbon:org


 Pls take an update in the chunk-02 section. The entire sequence-editor is
 not being used by AM, hence removed the additional ones, keeping only the
 remaining ones.


Thanks, There were other issues related to mediators as well, hence
building Chunk01 as a temp work around. But we need to remove all
unnecessary ones like these.


Cheers,
Vijitha.



 Thanks and Regards,

 Ruwan Yatawara

 Software Engineer,
 WSO2 Inc.
 lean . enterprise . middleware

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://ruwansrants.blogspot.com/
 www: :http://wso2.com




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Chunk02 clean repo build fails (r184926)

2013-09-10 Thread Vijitha Kumara
On Tue, Sep 10, 2013 at 3:16 PM, Ruwan Yatawara ruw...@wso2.com wrote:

 Yes this process is underway. However I don't suppose building chunk 1
 would be of any use since said artifacts are already in the nexus repo.


Wasn't sure whether those are uploaded properly hence built it. Anyway need
to built other components manually to get this working for now.

Anyway please update when this is done.





 Thanks and Regards,

 Ruwan Yatawara

 Software Engineer,
 WSO2 Inc.
 lean . enterprise . middleware

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://ruwansrants.blogspot.com/
 www: :http://wso2.com



 On Tue, Sep 10, 2013 at 3:10 PM, Vijitha Kumara viji...@wso2.com wrote:




 On Tue, Sep 10, 2013 at 3:06 PM, Ruwan Yatawara ruw...@wso2.com wrote:


 On Tue, Sep 10, 2013 at 2:11 PM, Vijitha Kumara viji...@wso2.comwrote:

 carbon:org


 Pls take an update in the chunk-02 section. The entire sequence-editor
 is not being used by AM, hence removed the additional ones, keeping only
 the remaining ones.


 Thanks, There were other issues related to mediators as well, hence
 building Chunk01 as a temp work around. But we need to remove all
 unnecessary ones like these.


 Cheers,
 Vijitha.



 Thanks and Regards,

 Ruwan Yatawara

 Software Engineer,
 WSO2 Inc.
 lean . enterprise . middleware

 email : ruw...@wso2.com
 mobile : +94 77 9110413
 blog : http://ruwansrants.blogspot.com/
 www: :http://wso2.com




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com


 Lean . Enterprise . Middleware





-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] WSO2 IS 4.5 RC2 - Developer Testing Updates

2013-08-24 Thread Vijitha Kumara
On Sat, Aug 24, 2013 at 8:01 PM, Chamath Gunawardana chama...@wso2.comwrote:




 On Sat, Aug 24, 2013 at 7:50 PM, Chamath Gunawardana chama...@wso2.comwrote:




 On Sat, Aug 24, 2013 at 4:28 PM, Prabath Siriwardena prab...@wso2.comwrote:

 Please update this thread with the scenarios you tested under each
 case.. Then we will know anything we missed..

 Thanks  regards,
 -Prabath


 IS team, let's test following features between us..

 1. SAML2 / OpenID - Dulanja
 2. OAuth 2 / 1  / OpenID Connect - Johann
 3. STS/Passive STS/KDC - Prabath
 4. XACML - Asela
 5. Identity Management - Chamath

 The fix for [1] does not seems to be in the latest 24th rc2 IS pack. It
 seems that when building IS the claim-config.xml file does not packed from
 [2]. This needs to be fixed.

 [1] - https://wso2.org/jira/browse/IDENTITY-1731
 [2] -
 http://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/features/claim-management/org.wso2.carbon.claim.mgt.server.feature/4.2.0/resources/conf

 The claim-config.xml file is also in [3]. I think when building the pack
 it's taken from there. Seems this is duplicated and it should be taken from
 [2] above. WDYT?


There was an issue with svn update regards to this (mail on that @dev). You
might need to fix the externals as well.


Regards,
Vijitha.



 [3] -
 http://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/features/identity/identity-mgt/org.wso2.carbon.identity.mgt.server.feature/4.2.0/resources



 6. Multiple User Stores - Darshana/Pushpalanka
 7. SCIM/User Management/LDAP/AD/JDBC - Venura

 Thanks  regards,
 -Prabath


 On Sat, Aug 24, 2013 at 12:38 PM, Sameera Jayasoma same...@wso2.comwrote:



 -- Forwarded message --
 From: Sameera Jayasoma same...@wso2.com
 Date: Sat, Aug 24, 2013 at 12:37 PM
 Subject: WSO2 Carbon 4.2.0 Release - RC2 Packs
 To: WSO2 Developers' List dev@wso2.org


 Hi all,

 Here is the location[1]  to download the packs. I will add other
 products when they are available.

 thanks,
 Sameera.

 [1] http://ec2-54-224-94-128.compute-1.amazonaws.com/rc2/

 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware



 --
 Sameera Jayasoma,
 Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections

 Lean . Enterprise . Middleware




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com



 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com




 --
 Best Regards,
 Chamath Gunawardana
 Technical Lead; WSO2 Inc.
 Mobile : +94776322240




 --
 Best Regards,
 Chamath Gunawardana
 Technical Lead; WSO2 Inc.
 Mobile : +94776322240

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] Use a central location for all test artifacts

2013-08-23 Thread Vijitha Kumara
All these need to be referred from trunk location

svn: warning: W20: Error handling externals definition for
'modules/integration/registry/tests-search-version/src/test/resources/artifact/GREG':
svn: warning: W17: URL '
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/platform-integration/platform-automated-test-suite/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/GREG'
at revision 182748 doesn't exist
svn: warning: W20: Error handling externals definition for
'modules/integration/registry/tests-new/src/test/resources/artifact/GREG':
svn: warning: W17: URL '
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/platform-integration/platform-automated-test-suite/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/GREG'
at revision 182748 doesn't exist
svn: warning: W20: Error handling externals definition for
'modules/integration/registry/tests-resources/src/test/resources/artifact/GREG':
svn: warning: W17: URL '
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/platform-integration/platform-automated-test-suite/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/GREG'
at revision 182748 doesn't exist

Fetching external item into 'modules/p2-profile-gen/carbon.product':
External at revision 182748.

svn: warning: W20: Error handling externals definition for
'modules/integration/registry/tests-permissions/src/test/resources/artifact/GREG':
svn: warning: W17: URL '
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/platform-integration/platform-automated-test-suite/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/GREG'
at revision 182748 doesn't exist
svn: warning: W20: Error handling externals definition for
'modules/integration/registry/tests-extensibility/src/test/resources/artifact/GREG':
svn: warning: W17: URL '
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/platform-integration/platform-automated-test-suite/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/GREG'
at revision 182748 doesn't exist
svn: warning: W20: Error handling externals definition for
'modules/integration/registry/tests-ui/src/test/resources/artifacts/GREG':
svn: warning: W17: URL '
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/platform-integration/platform-automated-test-suite/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/GREG'
at revision 182748 doesn't exist
svn: warning: W20: Error handling externals definition for
'modules/integration/registry/tests-governance-api/src/test/resources/artifact/GREG':
svn: warning: W17: URL '
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/platform-integration/platform-automated-test-suite/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/GREG'
at revision 182748 doesn't exist









-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] SVN external issue - identity-mgt

2013-08-23 Thread Vijitha Kumara
Fetching external item into
'identity/identity-mgt/org.wso2.carbon.identity.mgt.server.feature/4.2.0/resources/claim-config.xml':
svn: warning: W200014: Base checksum mismatch for
'/home/vijitha/Src-Repo/carbon/platform/branches/4.2.0/features/identity/identity-mgt/org.wso2.carbon.identity.mgt.server.feature/4.2.0/resources/claim-config.xml':
   expected:  0f99333da1f3c8dea41b7a82e3f4f721
 actual:  6eb7627d5064f43487597bc14cab0a94











-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Error observed while shutting down G-Reg server when clustering is enabled

2013-08-18 Thread Vijitha Kumara
)
  at java.lang.reflect.Method.invoke(Method.java:601)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.deactivate(ServiceComponent.java:387)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.deactivate(ServiceComponentProp.java:161)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:389)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:344)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
 at
 org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:717)
  at
 org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:693)
  at
 org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
 at
 org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
  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.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
  at
 org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
 at
 org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
  at
 org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:506)
  at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
 at
 org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206)
  at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
  at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
  at
 org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
  at
 org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
  at
 org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692)
  at
 org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
 at
 org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
  at
 org.wso2.carbon.core.init.CarbonServerManager.shutdown(CarbonServerManager.java:849)
  at
 org.wso2.carbon.core.init.CarbonServerManager.shutdownGracefully(CarbonServerManager.java:883)
  at
 org.wso2.carbon.core.init.CarbonServerManager$4.run(CarbonServerManager.java:894)
 Caused by: java.lang.IllegalStateException: Hazelcast Instance is not
 active!
  at com.hazelcast.impl.FactoryImpl.initialChecks(FactoryImpl.java:728)
  at com.hazelcast.impl.MProxyImpl.beforeCall(MProxyImpl.java:102)
 at com.hazelcast.impl.MProxyImpl.access$000(MProxyImpl.java:49)
  at
 com.hazelcast.impl.MProxyImpl$DynamicInvoker.invoke(MProxyImpl.java:64)
  at $Proxy145.containsKey(Unknown Source)
 at com.hazelcast.impl.MProxyImpl.containsKey(MProxyImpl.java:312)
  at
 org.wso2.carbon.caching.impl.CacheImpl.containsKey(CacheImpl.java:255)
  at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:248)
  at
 org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:629)
 at
 org.wso2.carbon.ntask.core.impl.RegistryBasedTaskRepository.getAllTasks(RegistryBasedTaskRepository.java:117)
  ... 55 more
 [2013-08-16 16:42:30,109]  INFO
 {org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent}
 -
  
 org.wso2.carbon.attachment.mgt.server.internal.AttachmentServiceComponent.deactivate
 [2013-08-16 16:42:31,317]  INFO
 {org.wso2.carbon.core.init.CarbonServerManager} -  Shutdown complete
 [2013-08-16 16:42:31,317]  INFO
 {org.wso2.carbon.core.init.CarbonServerManager} -  Halting JVM

 Regards,
 Evanthika Amarasiri
 Senior Technical Lead - Quality Assurance
 Mobile: +94773125935
 *
 *
 wso2.com Lean Enterprise Middleware




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350




 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Error observed while shutting down G-Reg server when clustering is enabled

2013-08-18 Thread Vijitha Kumara
On Sun, Aug 18, 2013 at 3:39 PM, Vijitha Kumara viji...@wso2.com wrote:

 Hi All,

 [Adding Azeez]

 This seems to be the result of distributed cache not being initialized
 when clustering enabled in axis2.xml. It never reaches the distributed
 cache initialization of CacheImpl hence when shutting down it tries to
 remove the task entries and failed trying to get the entry from the
 distributed cache (when containsKey(K) checks the value in the distributed
 cache). And this can be due to distributedMapProvider not being set.


Reason for this is CachingServiceComponent.setDistributedMapProvider is
called little late after the above flow is passed hence it never get to
initialize the distributedCache in CacheImpl.





 Is there any additional parameters to be provided for this Or any reason
 whys this can be failed?



 Cheers,
 Vijitha.





 On Sun, Aug 18, 2013 at 2:31 AM, Anjana Fernando anj...@wso2.com wrote:

 Hi Ajith,

 Actually, this is not related to the latest changes I did to ntask. I
 just committed those changes a few hours ago, and the pack Evanthika has
 uses ntask in the standalone mode (which is shown in the stacktrace). And
 also by looking at the stacktrace, it seems to be an issue with how
 registry caching works with Hazelcast, where, when the task component uses
 the registry API with caching, the Hazelcast instance seemed to have
 shutdown already. This is because, the registry's 
 RegistryTaskServiceComponent.unsetTaskService,
 which is being called when the server is shutting down, does some logic to
 list all the tasks, which in-turn the task component does a call to the
 registry. You may want to check the code in 
 RegistryTaskServiceComponent.unsetTaskService,
 if that can be changed.

 Cheers,
 Anjana.


 On Sun, Aug 18, 2013 at 1:18 AM, Ajith Vitharana aji...@wso2.com wrote:

 Hi Anjana,

 Could you please verify that the above issue is fixed with your
 improvement [1].

 [1]https://wso2.org/jira/browse/CARBON-14391

 Thanks
 Ajith



 On Fri, Aug 16, 2013 at 4:49 PM, Evanthika Amarasiri evanth...@wso2.com
  wrote:

 We noticed the below exception when shutting down the G-Reg server when
 clustering is enabled.

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


 [2013-08-16 16:42:27,520]  INFO
 {org.wso2.carbon.core.init.CarbonServerManager} -  Shutting down OSGi
 framework...
 [2013-08-16 16:42:27,710]  WARN
 {org.wso2.carbon.registry.task.internal.RegistryTaskServiceComponent} -
  Unable to clean-up scheduled tasks
 org.wso2.carbon.ntask.common.TaskException: Error in getting all tasks
 from repository
 at
 org.wso2.carbon.ntask.core.impl.RegistryBasedTaskRepository.getAllTasks(RegistryBasedTaskRepository.java:128)
  at
 org.wso2.carbon.ntask.core.impl.standalone.StandaloneTaskManager.getAllTasks(StandaloneTaskManager.java:74)
  at
 org.wso2.carbon.registry.task.internal.RegistryTaskServiceComponent.unsetTaskService(RegistryTaskServiceComponent.java:160)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:601)
 at
 org.eclipse.equinox.internal.ds.model.ComponentReference.unbind(ComponentReference.java:476)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.unbindReference(ServiceComponentProp.java:619)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.unbind(ServiceComponentProp.java:264)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:390)
  at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.dispose(ServiceComponentProp.java:102)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:344)
  at
 org.eclipse.equinox.internal.ds.InstanceProcess.disposeInstances(InstanceProcess.java:306)
 at
 org.eclipse.equinox.internal.ds.Resolver.disposeComponentConfigs(Resolver.java:717)
  at
 org.eclipse.equinox.internal.ds.Resolver.disableComponents(Resolver.java:693)
  at
 org.eclipse.equinox.internal.ds.SCRManager.stoppingBundle(SCRManager.java:554)
 at
 org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:233)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
  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.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
  at
 org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
 at
 org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
  at
 org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:506

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

2013-08-17 Thread Vijitha Kumara
 *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




 --
 -Ratha
 mobile: (+94)755906608

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Status of ESB 4.8.0 on kernal 4.2.0

2013-08-14 Thread Vijitha Kumara
 password
 for user : wso2carbon
 at
 org.apache.rampart.builder.BindingBuilder.getSignatureBuilder(BindingBuilder.java:330)
  at
 org.apache.rampart.builder.BindingBuilder.getSignatureBuilder(BindingBuilder.java:263)
 at
 org.apache.rampart.builder.AsymmetricBindingBuilder.doSignature(AsymmetricBindingBuilder.java:717)
  at
 org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:414)
 at
 org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:90)
  at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147)
 at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
  ... 18 more
 Caused by: javax.security.auth.callback.UnsupportedCallbackException:
 Tenant domain has not been set in CarbonContext
 at
 org.wso2.carbon.security.util.ServicePasswordCallbackHandler.handle(ServicePasswordCallbackHandler.java:152)
  at
 org.apache.rampart.builder.BindingBuilder.getSignatureBuilder(BindingBuilder.java:316)
 ... 24 more


 Thanks,
 Nalin.



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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] APIM integration - Registry's publisher/store not accessible

2013-08-14 Thread Vijitha Kumara
)
at
org.jaggeryjs.rhino.publisher.site.pages.c0.call(/publisher/site/pages/index.jag)
 at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
 at
org.jaggeryjs.rhino.publisher.site.pages.c0.call(/publisher/site/pages/index.jag)
at
org.jaggeryjs.rhino.publisher.site.pages.c0.exec(/publisher/site/pages/index.jag)
 at
org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:577)
... 36 more
Caused by: org.jaggeryjs.scriptengine.exceptions.ScriptException: A module
cannot be found with the specified name : i18n
 at
org.jaggeryjs.jaggery.core.manager.CommonManager.require(CommonManager.java:235)
at
org.jaggeryjs.jaggery.core.manager.WebAppManager.require(WebAppManager.java:306)
 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.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
... 45 more











-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] APIM integration - Registry's publisher/store not accessible

2013-08-14 Thread Vijitha Kumara
On Wed, Aug 14, 2013 at 11:38 PM, Lakmali Baminiwatta lakm...@wso2.comwrote:

 Hi,


 On 14 August 2013 23:21, Lalaji Sureshika lal...@wso2.com wrote:

 Hi Vijitha,

 Sorry,I was referring to a different i18n related error from my previous
 reply. Your getting error is due to i18n module is not available with
 pack.Can you check whether a folder called i18n exists in location
  {GREG_Home}/modules.
 There was an issue on that jaggery related modules not copying to above
 mentioned location in pack and AFAIK lakmali fixed it on yesterday evening..


 Yes, I committed the fix yesterday.


Thanks, will see in a pack with the new branch.


Regards,
Vijitha.



 Thanks,
 Lakmali


 Thanks;



 On Wed, Aug 14, 2013 at 10:45 AM, Lalaji Sureshika lal...@wso2.comwrote:

 Hi Vijitha,

 This is due to  the changes done for APIM with i18n module is not sync
 with latest jaggery git repo i18n module.We encountered this issue and I
 have already committed the changes to jaggery git repo and hope this fix
 will be available with next pack building cycle..



 Thanks;




 On Wed, Aug 14, 2013 at 10:28 AM, Vijitha Kumara viji...@wso2.comwrote:

 This was a build with yesterday's updates.

 Get an empty page for the store and the below for the publisher 
 (http://host:9763/publisher).
 Is this tested with recent jaggery changes etc...?



 [2013-08-14 16:30:27,656] ERROR
 {org.jaggeryjs.jaggery.core.manager.CommonManager} -  A module cannot be
 found with the specified name : i18n
 [2013-08-14 16:30:27,658] ERROR
 {org.jaggeryjs.scriptengine.engine.RhinoEngine} -
  org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : i18n (/publisher/site/pages/index.jag#6)
 [2013-08-14 16:30:27,658] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
  org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : i18n (/publisher/site/pages/index.jag#6)
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException: A module cannot be
 found with the specified name : i18n (/publisher/site/pages/index.jag#6)
  at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:582)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:280)
  at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:432)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doGet(JaggeryServlet.java:24)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
  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.processRequest(ApplicationDispatcher.java:487)
  at
 org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
 at
 org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
  at
 org.jaggeryjs.jaggery.core.JaggeryFilter.doFilter(JaggeryFilter.java:21)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
  at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
  at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
  at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
 at
 org.wso2.carbon.apimgt.interceptor.valve.APIManagerInterceptorValve.invoke(APIManagerInterceptorValve.java:116)
  at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
  at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
  at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52

[Dev] Compilation error - Message Processor

2013-08-13 Thread Vijitha Kumara
Looks like we haven't renamed the BlockingMsgSender ?


[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.0:compile
(default-compile) on project org.wso2.carbon.message.processor: Compilation
failure: Compilation failure:
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/trunk/components/mediation/message-processor/org.wso2.carbon.message.processor/src/main/java/org/wso2/carbon/message/processor/service/MessageProcessorAdminService.java:[31,58]
cannot find symbol
[ERROR] symbol  : class BlockingMessageSender
[ERROR] location: package
org.apache.synapse.message.processor.impl.forwarder
[ERROR]
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/trunk/components/mediation/message-processor/org.wso2.carbon.message.processor/src/main/java/org/wso2/carbon/message/processor/service/MessageProcessorAdminService.java:[618,103]
cannot find symbol
[ERROR] symbol  : class BlockingMessageSender
[ERROR] location: class
org.wso2.carbon.message.processor.service.MessageProcessorAdminService









-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] Automation framework's inconsistent behavior

2013-08-07 Thread Vijitha Kumara
Hi All,

Apparently there's some serious ordering/execution issue when the bunch of
tests run with the framework.

For example if you run a single class LCStateIdNameTestCase all test passes
but fails when running only with the package
(org.wso2.carbon.registry.lifecycle.test in this case). Failure below with
the reason for the same. This fails as the logs indicate a different LC is
attached to the service while executing the method.

So how this is possible? There can be multiple reasons but one can be the
use of same service/metadata in multiple test cases and another test case
attaches a different LC to the same service referred by the current test
case.

One way this can be avoided (at least for the most part) is re-factor the
test cases to avoid these multiple test methods with @Test (to add
service/LC etc...) in that the main test case in focus do the necessary
 method calls directly (to setup required services etc...) and do the
asserts (This can be done some restructuring of the current tests) itself.

Is there any other way this interference can be avoided within the
framework?




[2013-08-07 16:33:49,811]  INFO
{org.wso2.carbon.automation.core.PlatformTestManager} -  On test success..
[2013-08-07 16:33:49,812]  INFO
{org.wso2.carbon.automation.core.PlatformTestManager} -  Running the test
method ---
org.wso2.carbon.registry.lifecycle.test.LCStateIdNameTestCase.testAddLcToService

+++ LC PR:
+/trunk/services/com/abb/IntergalacticService, *
StateIdNameLC*
++ LC PROP: +++registry.lifecycle.*
TransitionApprovalLC*.state
++ LC PROP:
+++registry.custom_lifecycle.checklist.option.1.item
++ LC PROP:
+++registry.custom_lifecycle.checklist.option.1.item.permission
++ LC PROP:
+++registry.custom_lifecycle.checklist.option.2.item
++ LC PROP:
+++registry.custom_lifecycle.checklist.option.0.item.permission
++ LC PROP:
+++registry.custom_lifecycle.checklist.option.2.item.permission
++ LC PROP:
+++registry.custom_lifecycle.checklist.option.0.item
[2013-08-07 16:33:50,082] ERROR
{org.wso2.carbon.automation.core.PlatformTestManager} -  On Test failure..
[2013-08-07 16:33:50,083] ERROR
{org.wso2.carbon.automation.core.PlatformTestManager} -
*java.lang.AssertionError:
LifeCycle not added to service expected [true] but found [false]*




Regards,
Vijitha.














-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Automation framework's inconsistent behavior

2013-08-07 Thread Vijitha Kumara
Hi Nuwan,

I see most of the test cases have cleanup code to do the necessary stuff
but we need to review all of them as well if there's any doubt.

But this is not about resource cleanup rather the issue with the inferences
and the related consequences I explained. The test in focus is not done but
while invoking one of its methods it has met with an unexpected state (that
can be a result of another test case which might also not finished).

If the latter is finished then it might have cleaned up the service (same
service used across both classes in this case) so it might fail the current
test case with no service found, which is another side effect of these. So
this might have to do with ordering/execution as well. I'm not sure about
the implementation but we can analyze that.


On Wed, Aug 7, 2013 at 6:02 PM, Nuwan Wimalasekara nuw...@wso2.com wrote:

 This happens when the resources used for a test is not cleared
 properly after the test. Those clearance  should be called under AfterClass
 or After Test annotated methods. Then Those methods will call even if the
 test is failed or passed.  Then there are no effects of other test classes.
 Some test methods have all the steps inside it. Once it gets failed, It
 may affect other test too.  If we do that properly we can use the same
 resources in many test cases. if not we have to use different names for
 artifact we use.


That's also a possible solution for these kind which requires redoing all
test classes again which I'm not sure an option with the time frames of the
current release.




Regards,
Vijitha.




 Thanks,
 Nuwanw


 On Wed, Aug 7, 2013 at 5:44 PM, Vijitha Kumara viji...@wso2.com wrote:

 Hi All,

 Apparently there's some serious ordering/execution issue when the bunch
 of tests run with the framework.

 For example if you run a single class LCStateIdNameTestCase all test
 passes but fails when running only with the package
 (org.wso2.carbon.registry.lifecycle.test in this case). Failure below with
 the reason for the same. This fails as the logs indicate a different LC is
 attached to the service while executing the method.

 So how this is possible? There can be multiple reasons but one can be the
 use of same service/metadata in multiple test cases and another test case
 attaches a different LC to the same service referred by the current test
 case.

 One way this can be avoided (at least for the most part) is re-factor the
 test cases to avoid these multiple test methods with @Test (to add
 service/LC etc...) in that the main test case in focus do the necessary
  method calls directly (to setup required services etc...) and do the
 asserts (This can be done some restructuring of the current tests) itself.

 Is there any other way this interference can be avoided within the
 framework?




 [2013-08-07 16:33:49,811]  INFO
 {org.wso2.carbon.automation.core.PlatformTestManager} -  On test success..
 [2013-08-07 16:33:49,812]  INFO
 {org.wso2.carbon.automation.core.PlatformTestManager} -  Running the test
 method ---
 org.wso2.carbon.registry.lifecycle.test.LCStateIdNameTestCase.testAddLcToService
 
 +++ LC PR:
 +/trunk/services/com/abb/IntergalacticService, *
 StateIdNameLC*
 ++ LC PROP: +++registry.lifecycle.*
 TransitionApprovalLC*.state
 ++ LC PROP:
 +++registry.custom_lifecycle.checklist.option.1.item
 ++ LC PROP:
 +++registry.custom_lifecycle.checklist.option.1.item.permission
 ++ LC PROP:
 +++registry.custom_lifecycle.checklist.option.2.item
 ++ LC PROP:
 +++registry.custom_lifecycle.checklist.option.0.item.permission
 ++ LC PROP:
 +++registry.custom_lifecycle.checklist.option.2.item.permission
 ++ LC PROP:
 +++registry.custom_lifecycle.checklist.option.0.item
 [2013-08-07 16:33:50,082] ERROR
 {org.wso2.carbon.automation.core.PlatformTestManager} -  On Test failure..
 [2013-08-07 16:33:50,083] ERROR
 {org.wso2.carbon.automation.core.PlatformTestManager} -  
 *java.lang.AssertionError:
 LifeCycle not added to service expected [true] but found [false]*




 Regards,
 Vijitha.














 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com


 Lean . Enterprise . Middleware

 ___
 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






-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Governance Registry Test-New module Integration test results

2013-08-05 Thread Vijitha Kumara
Hi All,

On a side note, We have loads of redundant tests which are not necessary
for a given scenario which need to be cleaned up,  and they are not
properly organized as well.

For example, LCStateIdNameTestCase (which tests promotion of LC and the
state) should not have tests for adding services/LC etc... (Almost every
test class has same test methods for adding service/LC etc... ). Those
should already be setup and the test methods should perform related
operations and do assert the results. Testing of adding services/LC etc...
 should be part of another test. Of course it can have a separate test case
for various scenarios which involves combinations of these but for basic
tests these are redundant IMO.




Regards,
Vijitha.




On Tue, Aug 6, 2013 at 8:57 AM, Shelan Perera she...@wso2.com wrote:

 Hi,

 I ran the integration/registry/tests-new 's all packages. And also you can
 find the breakdown [1] we have been trying to fix.

 [1]
 https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0Alsa_FZDEHCkdGJfV0t1MTl3ckxUY2JaYU9Xdl90Unc#gid=0

 Thanks


 On Tue, Aug 6, 2013 at 8:38 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi Shelan,

 On Mon, Aug 5, 2013 at 11:16 PM, Shelan Perera she...@wso2.com wrote:

 Hi,

 Following are the results that i obtained.
 Tests run: 1457, Failures: 312, Errors: 0, Skipped: 901

 But this does not reflect the true picture of the current integration
 test status. We use the divide and conquer approach to fix the tests (
 i.e we fix package wise).


 There are lots of connection refused errors, that's why 901 tests have
 skipped, the server has gone into some inconsistence state.


 We have seen most of the tests are passing when run alone and as a class
 and failed when run as a complete package. Those are due to resource/role 
 clean
 up issues which  cause an avalanche of the failures.


 I have fixed all most all resource cleanup issues in G-Reg 4.5.3. There
 can be some missing cases. Also, I haven't fixed UM data cleanup, so this
 could cause some dependent test failures.

 Can you please point me to exact test package, so we can find out the
 root cause and fix all tests.



 Same goes when runs multiple packages. The above figure has fixed tests
 when run as a package. So most of the failures in the above figures does
 not give the correct picture of the success rate.


 I think above test stats are not accurate, due to above mentioned
 connection refused error.

 Thanks,
 Krishantha.



 The good news is over 90% we have fixed tests not implementation code.
 But we have to keep on fixing until we pass all the integration tests.


 I am attaching the surefire reports.

 --
 *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





 --
 *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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] Compilation Failure - user.mgt

2013-08-04 Thread Vijitha Kumara
FYI (on r179784). This seems to be a result of r179783


[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project org.wso2.carbon.user.mgt: Compilation failure
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/trunk/components/user-manager/org.wso2.carbon.user.mgt/src/main/java/org/wso2/carbon/user/mgt/UserRealmProxy.java:[2052,46]
cannot find symbol
[ERROR] symbol  : variable SHARED_DOMAIN_NAME
[ERROR] location: class org.wso2.carbon.user.core.UserCoreConstants
[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.user.mgt







-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] Automation Framework login fails

2013-07-27 Thread Vijitha Kumara
$Subject with latest UM changes.



initialize(org.wso2.carbon.registry.metadata.test.wsdl.WsdlDependencyVerificationTestCase)
 Time elapsed: 52.558 sec   FAILURE!
org.wso2.carbon.authenticator.stub.LoginAuthenticationExceptionException:
Login Unsuccessful. Return false as a login status by Server
at
org.wso2.carbon.automation.api.clients.authenticators.AuthenticatorClient.login(AuthenticatorClient.java:62)
at
org.wso2.carbon.automation.core.utils.environmentutils.EnvironmentBuilder.loginSetup(EnvironmentBuilder.java:495)
at
org.wso2.carbon.automation.core.utils.environmentutils.EnvironmentBuilder.greg(EnvironmentBuilder.java:236)









-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Publishing GREG Rest API

2013-07-25 Thread Vijitha Kumara
Please update the status on this as we need to finalize the work for the
release. Note what is supported for this release and what's pending etc...


Regards,
Vijitha.


On Tue, Jul 23, 2013 at 7:25 AM, Vijitha Kumara viji...@wso2.com wrote:

  Hi All,

 On Fri, Jul 19, 2013 at 3:48 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Nuwan,

 I believe that you should be able to determine the availability of the
 required components using @scr annotations isn't it? Before looking into
 other options such as onLogin, I think its best to experiment with that
 possibility which would make it possible for us to easily make use of
 option #2.


 In addition can we also make this configurable that is embedded or
 external APIM? So that the user can set the appropriate URL for the latter
 and the APIM component can lookup and publish if that is the case. Or an
 optional config param only for an external APIM as we can use the default
 URL in case with an embedded APIM.

 Also we need to make sure all possible basic use cases are covered (when
 getting started) and user friendly specially when it is an OOTB feature.



 Regards,
 Vijitha.



 Thanks,
 Senaka.


 On Fri, Jul 19, 2013 at 3:39 PM, Sriragu Arudsothy srir...@wso2.comwrote:

 Hi Nuwan,

  I agree to you. I also have done the second option calling
 jaggery REST endpoint to publish the REST API. I tested using a menu item
  click on it will publish the REST API after Greg server start up. User who
 has certain permission may publish the REST API if not published under the
 same tenant.

 Thanks,



 On Fri, Jul 19, 2013 at 3:20 PM, Nuwan Dias nuw...@wso2.com wrote:

 On Fri, Jul 19, 2013 at 2:59 PM, Senaka Fernando sen...@wso2.comwrote:

 Hi Nuwan,

 I think the check at start-up is not going to be very expensive.
 During server start-up we do several checks for services too. It will
 become expensive if you try to do the same for all tenants of course. Such
 needs to happen when the tenant gets loaded. That's the standard pattern
 which is followed by all deployers. I believe API Mgt needs a similar
 concept here.

 Understood. There is however another problem that will arise if we're
 going to create APIs at server startup. See explanation below.

 There are two ways that we can create the API.
 1) Create the registry artifact and database entry.
 2) Call the jaggery REST endpoint for creating the API.

 Both options will work with embedded API Management. But option 1 will
 not work with external API Management since we do not know the details of
 the API registry and DB. So when going with external API Management, we
 will have to go with option 2. Therefore it would be better to stick to
 option 2 for both cases since it'll be cleaner and have less
 complexity. For option 2 to work, the server should already be started.
 Therefore creating APIs at server startup in this manner would not be
 possible AFAIK.

 Thanks,
 NuwanD.

 Thanks,
 Senaka.


 On Fri, Jul 19, 2013 at 2:48 PM, Nuwan Dias nuw...@wso2.com wrote:

 On Fri, Jul 19, 2013 at 12:35 PM, Lakmali Baminiwatta 
 lakm...@wso2.com wrote:

 Hi Nuwan,


  On 19 July 2013 12:19, Nuwan Dias nuw...@wso2.com wrote:

 Hi,

 I think the API should initially be in a created state rather than
 being in a published state. The admin or whoever responsible should 
 publish
 it through the publisher.

 We also need to make this a generic solution so that it works even
 with external API Management. When the API is added to the registry, it
 will be visible on the publisher (external). And when the admin goes 
 and
 publishes it, the API will then be deployed onto the Store and Gateway.


 +1. Agree.

 Thanks,
 Lakmali


 Thanks,
 NuwanD.


 On Fri, Jul 19, 2013 at 12:10 PM, Lakmali Baminiwatta 
 lakm...@wso2.com wrote:

 Hi all,

 We have completed the implementation of the Embedded APIM
 functionality, to manage GREG Rest APIs. We need to clarify how are we
 going to publish the GREG Rest API. Publishing the API includes 
 following
 tasks,

- Add the API artifact to the registry
- Add the API to the APIM database

 So we have three options to publish the API.

 1. Admin manually create the API and publish through API Publisher
 app. (This is what we do at the moment)


 Since we're publishing internal Product APIs here, this would not be
 a good option since users will not know what to publish and what
 information to enter.


 2. Publish the API at the server startup.
But since this is a one time operation, there will
 be an overhead at each server startup, in checking whether the API has
 already published.


 Yes, as mentioned it would be an overhead to check whether the
 necessary APIs have been published at server startup.


 3. Publish the API at the GREG pack build time.


 This will work with embedded API Management but this is not a
 solution when going with External API Management.


 What would be the best option to procede with?


 Looking at the given options

[Dev] Ability to integrate and run TCKs with porducts

2013-07-24 Thread Vijitha Kumara
Hi All,

I think it'd be good if we have the $Subject. What need to be done is to
have a simple config in pom.xml (or some other config method) which enables
a carbon server get started (and shutdown/cleanup) and run some external
test cases along with it. As I see we currently depend on TestNG this might
involve some custom task execution for Ant based JUnit tests etc... (not
sure whether we have tried that?) or something similar.

For example if you have a TCK jar (which might be based on JUnit tests) it
should be able to run with the framework as part of the integration test
flow and get the results. This would be very much useful when it comes to
specification implementations so it can run any other standard compatible
TCKs as part of the product integration test suite to showcase the
compliance.





Regards,
Vijitha.








-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] [Architecture] Current Status of The Registry REST API and Issues I face when Integrate with APIM

2013-07-15 Thread Vijitha Kumara
Had a chat with Lakmali about this.

As of now this requires a manual publishing of the REST API, but since this
is a feature of the registry itself it would be good to ship it published
OOTB?

As we are not letting the REST API to be accessed without going through
APIM component, the EnableAPIManagement property should be set to true by
default as well or it can be ignored altogether? Or we can have a different
property to denote any other aspect to be enabled//disabled other than
default ones here?



Regards,
Vijitha.



On Sun, Jul 14, 2013 at 9:09 PM, Dinusha Senanayaka dinu...@wso2.comwrote:

 Hi Vijitha,

 On Sun, Jul 14, 2013 at 11:13 AM, Vijitha Kumara viji...@wso2.com wrote:

 Hi All,

 What's the status of this now? Do we have a working use case to be
 reviewed? We might need to finalize  test within next few days.

 We have committed changes to trunk and have completed basic testing.  You
 can use trunk GReg pack for testing..

 Regards,
 Dinusha.




 Regards,
 Vijitha.



 On Thu, Jun 20, 2013 at 11:20 AM, Dinusha Senanayaka dinu...@wso2.comwrote:

 Hi Ragu,

 On Thu, Jun 20, 2013 at 10:52 AM, Sriragu Arudsothy srir...@wso2.comwrote:

 Hi Lakmali and Dinusha,


As you have been completed the tomcat valve, shall I use the
 tomcat valve ( kind of interceptor) to test the Registry REST API with the
 externally running API Manager instance ?


 We are still working on supporting externally running API Manager
 instance. Will try to finish this by EOT.. But you can use inbuilt api-mgt
 support to test registry REST API.
 We have some concerns regarding the registry REST API;
 1. We need to have versioning support there. In the current API does not
 have the versions support..
 2. We need to pass both userName and tenantId as query params, if some
 user need to use the registry REST API. Having the user name is fine, but
 tenantId is something external users don't know. So having to pass tenantId
 to invoke rest API is not correct as we see.
 eg :
 http://localhost:9763/resource/comments?path=/_system/governance/apimgt/apiconf.xml;
 *username=admintenantid=-1234 *

 Regards,
 Dinusha.


  Thanks,
  Ragu



 On Tue, Jun 18, 2013 at 1:20 PM, Dinusha Senanayaka 
 dinu...@wso2.comwrote:



 On Tue, Jun 18, 2013 at 12:59 PM, Sriragu Arudsothy 
 srir...@wso2.comwrote:

 Hai Dinusha,

   At the later part of your answer, you mentioned the
 how to send the request. Do we have a use case where without API 
 manager.
 AFAIR, It has been clearly said during the final discussion , request 
 will
 be given inbuilt or external APIM. But you mention about without APIM.


 But, when it comes to services like DSS, AS etc, we need to have this
 capability. Services, should be able to invoke with api management or
 without api management. yes, for the GRreg (in built apis), manageAPIs 
 will
 be always true.

 Regards,
 Dinusha.


 Thanks!
 Ragu






 On Tue, Jun 18, 2013 at 12:31 PM, Dinusha Senanayaka 
 dinu...@wso2.com wrote:

 Hi Ragu,

 We have wrote a Tomcat Valve which will be act as interceptor for
 all incoming requests. There was a need of using
 Axis2ConfigurationContextObserver to get the throttling related 
 properties,
 which cannot be done through the CXF hander in GREG REST API. This 
 tomcat
 valve can be used not only by the GReg, also from any other product like
 AS, DSS when it comes to manage APIs.

 Also we have been working on, getting publisher and store jaggery
 apps into Greg. It was not straight forward because just putting these 
 apps
 into GReg wont work. We had do some code changes in apimgt side to avoid
 synapse dependencies. As an example, api-store and publisher need to 
 have
 apimgt-impl component been activated and while this module getting
 activated we are creating the tenant artifacts by coping  synapse.xml 
 files
 into synapse deployment directories of tenants. We had to customize 
 apimgt
 code that it can identify the where api management is doing and avoid 
 these
 synapse related tasks.


 On Tue, Jun 18, 2013 at 9:43 AM, Sriragu Arudsothy srir...@wso2.com
  wrote:

 Hai Dinusha and Lakmali,

 Please update this mail thread
 that what have you done so far  regarding the Lightweight API manager
 component.

 1) Please let me know the strategy that you are using when
 integrate the external API manager instance.

 2) when an API manager instance  externally running,  Do we need to
 call the API published at the API gateway? or Does the user call the
 Registry REST API and re-directing the URL to API gateway URL?

 3) If it is a lightweight APIM component which resides within
 G-Reg, Will the request be given to Registry REST API ?

 Answering to the Q 1, 2, 3:
  Always user request will be to the G-Reg API. If the ManageAPIs
 is enabled then API Management will be handle through the embedded 
 apimgt
 components. And If ManageAPIs enabled and if it has been provided
 Store, Publisher, Gateway, KeyManager urls

Re: [Dev] [Architecture] Current Status of The Registry REST API and Issues I face when Integrate with APIM

2013-07-13 Thread Vijitha Kumara
.

 In this mode, There are 2 ways in which I have implemented the
 REST API invocation process. This is explained as below.

 1  REST client  API gateway(REST API published at the
 APIM) Registry REST API  Registry Resource  
 Response go to
 REST client.

 The above implementation works fine.

 2  REST Client - Registry REST API  Call the REST
 endpoint at the APIM  return call from APIM to Registry REST 
 API 
 Registry Resource  Response back to REST client.

 The above approach, I have the an issue to pass the payload
 from Registry REST API to APIM. I have designed the REST API in 
 CXF/
 JAx-Rs. The apache CXF Jax-Rs implementation provide a Request 
 Handler
 which is an interceptor for the incoming requests. Therefore any 
 request
 made from REST client to Registry REST API will hit the Request 
 Handler
 First.

 Therefore, when the request go to the handler, it will check
 whether the request comes from APIM or Straight from the Client. 
 If it
 comes from the client it will call the REST API endpoint at the 
 APIM via an
 apache HttpClient. Therefore when I call it, I have to extract the 
 access
 token, queryParam, payload..etc from REST client's request and add 
 it to
 the request given to APIM. But I am able to extract the access 
 token,
 queryparam and add it to HttpMethod and call the APIM. Request 
 Handler
 seems that does not have a way to extract the payload ( POST/PUT).
 Therefore unable to pass the payload to the REGISTRY REST API. 
 That is why
 GET and DELETE requests are working fine in the second approach 
 since those
 do not require the payload. BUT POST/PUT requests fail to proceed.


 Therefore The CXF JAX-RS Request Handler has both the
 Standalone Mode and APIM mode execution. Therefore the standalone 
 mode is
 working fine. But Which approach to be selected regarding the APIM 
 mode to
 put it in the request handler class. Since there is an issue in 
 Approach 2
 @ APIM mode, It went to approach 1. According to the approach 1 
 the code
 will be cleaner than approach 2.

 *According to Approach 1 @APIM mode the example Request URL
 will be,*

 http://{ipaddress}:8280/{REST API context
 @APIM}/{version}/comments?path=/sample.xml.

 *in Standalone mode:
 *
 http:{IP address}:{greg http port}/{rest api context @
 greg}/comments?path=/sample.xml.


 The APIM team already given their words to derive an integrate
 able APIM solution for other WSO2 products. Meanwhile we heard 
 that APIM
 team working on that too.

 Few days ago, Had a chat with APIM guys, They said that API
 publisher and API store will be there as it is. Therefore whoever 
 wants to
 publish an API have login to the API publisher and publish an API. 
 This can
 not be done automatically during the server starts up.

 This is all about the integration part of REST API with API
 Manager. @APIM please let us know the current stage of your 
 solution.

 Thanks!
 Ragu






 --
 Dinusha Dilrukshi
 Senior Software Engineer
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --
 *
 *
 *Sanjeewa Malalgoda*
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/http://sanjeewamalalgoda.blogspot.com/








 --
 Dinusha Dilrukshi
 Senior Software Engineer
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/





 --
 Dinusha Dilrukshi
 Senior Software Engineer
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/





 --
 Dinusha Dilrukshi
 Senior Software Engineer
 WSO2 Inc.: http://wso2.com/
 Mobile: +94725255071
 Blog: http://dinushasblog.blogspot.com/

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] [Trunk] Compilation Failure - Automation API

2013-07-10 Thread Vijitha Kumara
.carbon.automation.api/src/main/java/org/wso2/carbon/automation/api/clients/rssmanager/RSSManagerAdminServiceClient.java:[245,38]
getRSSInstance(org.wso2.carbon.rssmanager.ui.stub.types.config.environment.RSSEnvironmentContext)
in org.wso2.carbon.rssmanager.ui.stub.RSSAdminStub cannot be applied to
(java.lang.String)
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/trunk/platform-integration/test-automation-framework/org.wso2.carbon.automation.api/src/main/java/org/wso2/carbon/automation/api/clients/rssmanager/RSSManagerAdminServiceClient.java:[266,24]
createDatabaseUser(org.wso2.carbon.rssmanager.ui.stub.types.config.environment.RSSEnvironmentContext,org.wso2.carbon.rssmanager.ui.stub.types.DatabaseUser)
in org.wso2.carbon.rssmanager.ui.stub.RSSAdminStub cannot be applied to
(org.wso2.carbon.rssmanager.ui.stub.types.DatabaseUser)
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/trunk/platform-integration/test-automation-framework/org.wso2.carbon.automation.api/src/main/java/org/wso2/carbon/automation/api/clients/rssmanager/RSSManagerAdminServiceClient.java:[280,24]
dropDatabaseUser(org.wso2.carbon.rssmanager.ui.stub.types.config.environment.RSSEnvironmentContext,java.lang.String)
in org.wso2.carbon.rssmanager.ui.stub.RSSAdminStub cannot be applied to
(java.lang.String,java.lang.String)
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/trunk/platform-integration/test-automation-framework/org.wso2.carbon.automation.api/src/main/java/org/wso2/carbon/automation/api/clients/rssmanager/RSSManagerAdminServiceClient.java:[298,35]
getUsersAttachedToDatabase(org.wso2.carbon.rssmanager.ui.stub.types.config.environment.RSSEnvironmentContext,java.lang.String)
in org.wso2.carbon.rssmanager.ui.stub.RSSAdminStub cannot be applied to
(java.lang.String,java.lang.String)
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/trunk/platform-integration/test-automation-framework/org.wso2.carbon.automation.api/src/main/java/org/wso2/carbon/automation/api/clients/identity/entitlement/EntitlementPolicyServiceClient.java:[89,41]
removePolicy(java.lang.String) in
org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceStub
cannot be applied to
(org.wso2.carbon.identity.entitlement.stub.dto.PolicyDTO)




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] Warnings in new pack (security role/auth-constraint)

2013-07-08 Thread Vijitha Kumara
We shouldn't have this warnings OOTB?


INFO: WARNING: Security role name admin used in an auth-constraint
without being defined in a security-role
[2013-07-08 13:39:55,673]  INFO
{org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
webapp:
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/publisher].







-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] Inconsistent/no version used for some components in trunk

2013-06-26 Thread Vijitha Kumara
Please fix the $Subject for cartridge.messages  lb-endpoint components.




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Inconsistent/no version used for some components in trunk

2013-06-26 Thread Vijitha Kumara
Still not fixed. Is 2.2.0-SNAPSHOT the correct version for
cartrige.messages component (referred from lb.endpoint)?


On Wed, Jun 26, 2013 at 2:22 PM, Vijitha Kumara viji...@wso2.com wrote:


 Please fix the $Subject for cartridge.messages  lb-endpoint components.




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com


 Lean . Enterprise . Middleware




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Inconsistent/no version used for some components in trunk

2013-06-26 Thread Vijitha Kumara
On Thu, Jun 27, 2013 at 10:13 AM, Nirmal Fernando nir...@wso2.com wrote:

 Have you build
 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/stratos/cartridge-agent/org.wso2.carbon.cartridge.messages?

 Version upgrade was done few days back. Please take an svn up there and
 rebuild.


pom.xml[1] doesn't have a version.


[1]
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/stratos/cartridge-agent/org.wso2.carbon.cartridge.messages/pom.xml


Regards,
Vijitha.




 On Thu, Jun 27, 2013 at 10:10 AM, Vijitha Kumara viji...@wso2.com wrote:

 Still not fixed. Is 2.2.0-SNAPSHOT the correct version for
 cartrige.messages component (referred from lb.endpoint)?


 On Wed, Jun 26, 2013 at 2:22 PM, Vijitha Kumara viji...@wso2.com wrote:


 Please fix the $Subject for cartridge.messages  lb-endpoint components.




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com


 Lean . Enterprise . Middleware




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com


 Lean . Enterprise . Middleware




 --

 Thanks  regards,
 Nirmal

 Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


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

2013-06-12 Thread Vijitha Kumara
] scm-carbon-auth-plugin  SKIPPED
 [INFO] SCM Web App ... SKIPPED
 [INFO] WSO2 AppFacotry - Distribution Parent . SKIPPED
 [INFO] WSO2 AppFacotry - Distribution  SKIPPED
 [INFO] WSO2 Carbon - Patch releases - products - Aggregator Module  SKIPPED
 [INFO] WSO2 Carbon - Patch releases - Platform Automated Test Suite
  SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 15:13.076s
 [INFO] Finished at: Wed Jun 12 11:55:20 IST 2013
 [INFO] Final Memory: 1315M/1995M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (dist)
 on project wso2greg: Failed to create assembly: File to filter not found:
 /home/malaka/work/wso2410/platform/products/greg/4.6.0/modules/distribution/../p2-profile-gen/target/wso2carbon-core-4.1.0/repository/conf/attachment-management.xml
 (No such file or directory) - [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 goals -rf :wso2greg


 --
 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 T: +1 408 754 7388
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] [Architecture] Is there a Registry method to return asset with id in jaggery?

2013-06-12 Thread Vijitha Kumara
This seems to be a design decision taken while developing the API? Is there
any other method accepting id in jaggery module?


On Wed, Jun 12, 2013 at 12:40 PM, Chan duli...@wso2mobile.com wrote:

 As I have tested with the jaggery artifact.js module - it uses 
 GenericArtifactManager
 and GenericArtifactManager.getGenericArtifact() requires a path. Now
 switching to the @dev list as suggested by Nirmal


 On Wed, Jun 12, 2013 at 11:45 AM, Pulasthi Supun pulas...@wso2.comwrote:

 Hi Chan

 Did you take a look at GenericArtifactManager [1]. it has a method to get
 an artifact through the id not sure how applicable it is to your scenario
 just take a look and see if it does the job

 [1]
 http://wso2.org/project/registry/4.1.1/docs/apidocs/governance/org/wso2/carbon/governance/api/generic/GenericArtifactManager.html#getGenericArtifact(java.lang.String)

 Regards,
 Pulasthi


 On Wed, Jun 12, 2013 at 11:26 AM, Chan duli...@wso2mobile.com wrote:

 Hi all,
 I want to know if there is a way to get an asset with the id of it.

 var carbon = require('carbon'),
server = new carbon.server.Server(),
registry = new carbon.registry.Registry(server, {
username : 'admin',
tenantId : -1234
});
 am = new carbon.registry.ArtifactManager(registry, 'android');

 like am.get(id)? I looked into the 
 documentationhttp://wso2.org/project/registry/1.1/docs/apidocs/org/wso2/registry/CoreRegistry.htmland
  saw that registry has a get method but that requires a path parameter
 (Also this is pure greg, I am accessing Greg through the jaggery module).

 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2mobile.com*
 *  ~Mobile +94712112165*
 *  ~Website   dulithawijewantha.com
 *
 *  ~Blog blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
 *
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*

 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi

 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture




 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2mobile.com*
 *  ~Mobile +94712112165*
 *  ~Website   dulithawijewantha.com
 *
 *  ~Blog blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
 *
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] build issue-trunk/registry uddi module

2013-06-10 Thread Vijitha Kumara
\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[49
 ,19] cannot find symbol
 symbol  : class UDDISecurityImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[50
 ,19] cannot find symbol
 symbol  : class UDDIPublicationImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[51
 ,19] cannot find symbol
 symbol  : class UDDIInquiryImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[15
 6,19] cannot find symbol
 symbol  : class UDDISecurityImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[17
 0,19] cannot find symbol
 symbol  : class UDDIPublicationImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[18
 3,19] cannot find symbol
 symbol  : class UDDIInquiryImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\servlet\JUDDIRegistrySe
 rvlet.java:[6,23] cannot find symbol
 symbol  : class Registry
 location: package org.apache.juddi
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[15
 8,31] cannot find symbol
 symbol  : class UDDISecurityImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[17
 2,30] cannot find symbol
 symbol  : class UDDIPublicationImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[18
 5,30] cannot find symbol
 symbol  : class UDDIInquiryImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[21
 6,12] cannot find symbol
 symbol  : class JUDDIApiImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[21
 6,40] cannot find symbol
 symbol  : class JUDDIApiImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[24
 3,16] cannot find symbol
 symbol  : class UDDISecurityImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[24
 3,48] cannot find symbol
 symbol  : class UDDISecurityImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\servlet\JUDDIRegistrySe
 rvlet.java:[25,12] cannot find symbol
 symbol  : variable Registry
 location: class org.wso2.carbon.registry.uddi.servlet.JUDDIRegistryServlet
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\servlet\JUDDIRegistrySe
 rvlet.java:[34,12] cannot find symbol
 symbol  : variable Registry
 location: class org.wso2.carbon.registry.uddi.servlet.JUDDIRegistryServlet
 [INFO] 31 errors
 --
 -Ratha
 mobile: (+94)755906608

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] build issue-trunk/registry uddi module

2013-06-10 Thread Vijitha Kumara
On Mon, Jun 10, 2013 at 10:57 PM, Vijayaratha Vijayasingam
rat...@wso2.comwrote:

 Please tell me where to update..I did up last friday!..You fixed during
 weekend?


You need to update components/registry/orguddi




 On 10 June 2013 20:54, Vijitha Kumara viji...@wso2.com wrote:

 When did you last update platform? This should be fixed in trunk.


 On Mon, Jun 10, 2013 at 12:19 PM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:


 Hi all;
 Im getting
 [INFO] Building WSO2 Carbon - Registry - UDDI Service 4.2.0-SNAPSHOT
 [INFO]
 
 [INFO]
 [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
 org.wso2.carbon.registry.uddi ---
 [INFO]
 [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
 org.wso2.carbon.registry.uddi ---
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 C:\Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\target
 [INFO]
 [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
 org.wso2.carbon.registry.uddi ---
 [debug] execute contextualize
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 1 resource
 [INFO]
 [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
 org.wso2.carbon.registry.uddi ---
 [INFO] Compiling 10 source files to
 C:\Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\target\classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[21
 ,32] package org.apache.juddi.api.impl does not exist
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[22
 ,32] package org.apache.juddi.api.impl does not exist
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[23
 ,32] package org.apache.juddi.api.impl does not exist
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[24
 ,32] package org.apache.juddi.api.impl does not exist
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[49
 ,19] cannot find symbol
 symbol  : class UDDISecurityImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[50
 ,19] cannot find symbol
 symbol  : class UDDIPublicationImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[51
 ,19] cannot find symbol
 symbol  : class UDDIInquiryImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[15
 6,19] cannot find symbol
 symbol  : class UDDISecurityImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[17
 0,19] cannot find symbol
 symbol  : class UDDIPublicationImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[18
 3,19] cannot find symbol
 symbol  : class UDDIInquiryImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\servlet\JUDDIRegistrySe
 rvlet.java:[6,23] cannot find symbol
 symbol  : class Registry
 location: package org.apache.juddi
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[21
 ,32] package org.apache.juddi.api.impl does not exist
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[22
 ,32] package org.apache.juddi.api.impl does not exist
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[23
 ,32] package

Re: [Dev] build issue-trunk/registry uddi module

2013-06-10 Thread Vijitha Kumara
On Mon, Jun 10, 2013 at 10:59 PM, Vijitha Kumara viji...@wso2.com wrote:




 On Mon, Jun 10, 2013 at 10:57 PM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:

 Please tell me where to update..I did up last friday!..You fixed during
 weekend?


 You need to update components/registry/orguddi


And dependencies/pom.xml






 On 10 June 2013 20:54, Vijitha Kumara viji...@wso2.com wrote:

 When did you last update platform? This should be fixed in trunk.


 On Mon, Jun 10, 2013 at 12:19 PM, Vijayaratha Vijayasingam 
 rat...@wso2.com wrote:


 Hi all;
 Im getting
 [INFO] Building WSO2 Carbon - Registry - UDDI Service 4.2.0-SNAPSHOT
 [INFO]
 
 [INFO]
 [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
 org.wso2.carbon.registry.uddi ---
 [INFO]
 [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @
 org.wso2.carbon.registry.uddi ---
 [INFO] Verifying module descriptor ...
 [INFO] Pom descriptor modification detected.
 [INFO] Deleting
 C:\Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\target
 [INFO]
 [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
 org.wso2.carbon.registry.uddi ---
 [debug] execute contextualize
 [INFO] Using 'UTF-8' encoding to copy filtered resources.
 [INFO] Copying 1 resource
 [INFO]
 [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
 org.wso2.carbon.registry.uddi ---
 [INFO] Compiling 10 source files to
 C:\Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\target\classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[21
 ,32] package org.apache.juddi.api.impl does not exist
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[22
 ,32] package org.apache.juddi.api.impl does not exist
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[23
 ,32] package org.apache.juddi.api.impl does not exist
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[24
 ,32] package org.apache.juddi.api.impl does not exist
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[49
 ,19] cannot find symbol
 symbol  : class UDDISecurityImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[50
 ,19] cannot find symbol
 symbol  : class UDDIPublicationImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[51
 ,19] cannot find symbol
 symbol  : class UDDIInquiryImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[15
 6,19] cannot find symbol
 symbol  : class UDDISecurityImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[17
 0,19] cannot find symbol
 symbol  : class UDDIPublicationImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[18
 3,19] cannot find symbol
 symbol  : class UDDIInquiryImpl
 location: class org.wso2.carbon.registry.uddi.utils.UDDIUtil
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\servlet\JUDDIRegistrySe
 rvlet.java:[6,23] cannot find symbol
 symbol  : class Registry
 location: package org.apache.juddi
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[21
 ,32] package org.apache.juddi.api.impl does not exist
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2.carbon.registry.uddi\src\main\java\org\wso2\carbon\registry\uddi\utils\UDDIUtil.java:[22
 ,32] package org.apache.juddi.api.impl does not exist
 [ERROR]
 \Projects\platform\trunk\components\registry\org.wso2

[Dev] Compilation error in trunk - DSS core

2013-06-08 Thread Vijitha Kumara
FYI below and the code inside  execute(XMLStreamWriter xmlWriter) need to
be re-factored (two null checks for same object) too.


[ERROR]
/home/vijitha/Src-Repo/carbon/platform/trunk/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/engine/DSOMDataSource.java:[95,2]
'try' without 'catch' or 'finally'
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/trunk/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/engine/DSOMDataSource.java:[108,4]
illegal start of type






-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] 4.1.3 build failure

2013-06-04 Thread Vijitha Kumara
This should be fixed. Update /components/business-messaging/hl7 and see.


On Tue, Jun 4, 2013 at 2:57 PM, Dimuthu De Lanerolle dimut...@wso2.comwrote:


 Hi,

 I am getting the following build failure while carrying out 4.1.3 build. (
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/patch-releases/4.1.3
 )

 [INFO] --- maven-compiler-plugin:2.3.2:
 compile (default-compile) @
 org.wso2.carbon.business.messaging.hl7.transport ---
 [INFO] Compiling 7 source files to
 /home/wso2/TestAutomationSvn/platform/branches/4.1.0/components/business-messaging/hl7/org.wso2.carbon.business.messaging.hl7.transport/4.1.3/target/classes
 [INFO] -
 [ERROR] COMPILATION ERROR :
 [INFO] -
 [ERROR]
 /home/wso2/TestAutomationSvn/platform/branches/4.1.0/components/business-messaging/hl7/org.wso2.carbon.business.messaging.hl7.transport/4.1.3/src/main/java/org/wso2/carbon/business/messaging/hl7/transport/HL7Endpoint.java:[107,24]
 cannot find symbol
 symbol  : method setTimeOutVal(int)
 location: class
 org.wso2.carbon.business.messaging.hl7.common.HL7ProcessingContext
 [ERROR]
 /home/wso2/TestAutomationSvn/platform/branches/4.1.0/components/business-messaging/hl7/org.wso2.carbon.business.messaging.hl7.transport/4.1.3/src/main/java/org/wso2/carbon/business/messaging/hl7/transport/HL7TransportListener.java:[43,85]
 cannot find symbol
 symbol  : variable HL7_TRANSPORT_TIMEOUT
 location: class org.wso2.carbon.business.messaging.hl7.common.HL7Constants
 [ERROR]
 /home/wso2/TestAutomationSvn/platform/branches/4.1.0/components/business-messaging/hl7/org.wso2.carbon.business.messaging.hl7.transport/4.1.3/src/main/java/org/wso2/carbon/business/messaging/hl7/transport/HL7TransportSender.java:[183,26]
 cannot find symbol
 symbol  : method
 offerApplicationResponses(ca.uhn.hl7v2.model.Message,org.apache.axis2.context.MessageContext)
 location: class
 org.wso2.carbon.business.messaging.hl7.common.HL7ProcessingContext
 [INFO] 3 errors
 [INFO] -
 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] WSO2 Carbon - HL7 Business Messaging - Transport .. FAILURE [2.939s]


 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project
 org.wso2.carbon.business.messaging.hl7.transport: Compilation failure:
 Compilation failure:
 [ERROR]
 /home/wso2/TestAutomationSvn/platform/branches/4.1.0/components/business-messaging/hl7/org.wso2.carbon.business.messaging.hl7.transport/4.1.3/src/main/java/org/wso2/carbon/business/messaging/hl7/transport/HL7Endpoint.java:[107,24]
 cannot find symbol
 [ERROR] symbol  : method setTimeOutVal(int)
 [ERROR] location: class
 org.wso2.carbon.business.messaging.hl7.common.HL7ProcessingContext
 [ERROR]
 /home/wso2/TestAutomationSvn/platform/branches/4.1.0/components/business-messaging/hl7/org.wso2.carbon.business.messaging.hl7.transport/4.1.3/src/main/java/org/wso2/carbon/business/messaging/hl7/transport/HL7TransportListener.java:[43,85]
 cannot find symbol
 [ERROR] symbol  : variable HL7_TRANSPORT_TIMEOUT
 [ERROR] location: class
 org.wso2.carbon.business.messaging.hl7.common.HL7Constants
 [ERROR]
 /home/wso2/TestAutomationSvn/platform/branches/4.1.0/components/business-messaging/hl7/org.wso2.carbon.business.messaging.hl7.transport/4.1.3/src/main/java/org/wso2/carbon/business/messaging/hl7/transport/HL7TransportSender.java:[183,26]
 cannot find symbol
 [ERROR] symbol  : method
 offerApplicationResponses(ca.uhn.hl7v2.model.Message,org.apache.axis2.context.MessageContext)
 [ERROR] location: class
 org.wso2.carbon.business.messaging.hl7.common.HL7ProcessingContext
 [ERROR] - [Help 1]


 Regards

 --
 Dimuthu De Lanerolle
 Software Engineer (Automation)
 WSO2 Inc.

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] HL7 build failure - Fix the version

2013-06-03 Thread Vijitha Kumara
Compilation errors when building from 4.1.3 patch release due to version
4.1.3 not being picked. Please fix properly with the property below.


Index: org.wso2.carbon.business.messaging.hl7.transport/4.1.3/pom.xml
===
--- org.wso2.carbon.business.messaging.hl7.transport/4.1.3/pom.xml (revision
173777)
+++ org.wso2.carbon.business.messaging.hl7.transport/4.1.3/pom.xml (working
copy)
@@ -86,8 +86,13 @@
 dependency
 groupIdorg.wso2.carbon/groupId

 artifactIdorg.wso2.carbon.business.messaging.hl7.common/artifactId
-version${wso2carbon.version.hl7}/version
-/dependency
+version4.1.3/version
+/dependency
 dependency
 groupIdorg.apache.ws.commons.schema/groupId
 artifactIdXmlSchema/artifactId






-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] Build failure in a clean repo (kernel trunk)

2013-05-27 Thread Vijitha Kumara
[ERROR] Failed to execute goal on project carbon-kernel-service-stubs:
Could not resolve dependencies for project
org.wso2.carbon:carbon-kernel-service-stubs:pom:4.2.0-SNAPSHOT: Could not
find artifact org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v10 in wso2-nexus (
http://maven.wso2.org/nexus/content/groups/wso2-public/) - [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.





-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Build Failure in 4.1.3

2013-05-27 Thread Vijitha Kumara
 Automated Test Suite
  SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 28.415s
 [INFO] Finished at: Mon May 27 12:13:52 IST 2013
 [INFO] Final Memory: 101M/597M
 [INFO]
 
 [ERROR] Failed to execute goal on project Apache-Synapse: Could not
 resolve dependencies for project
 org.apache.synapse:Apache-Synapse:pom:2.1.1-wso2v6: Failure to find
 org.wso2.uri.template:wso2-uri-templates:jar:1.6.3 in
 http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the
 local repository, resolution will not be reattempted until the update
 interval of wso2-nexus has elapsed or updates are forced - [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/DependencyResolutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :Apache-Synapse


 --
 ajanthan
 --
 Ajanthan Balachandiran
 Senior Software Engineer;
 Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/

 email: ajanthan http://goog_595075977@wso2.com; cell: +94775581497
 blog: http://bkayts.blogspot.com/

 Lean . Enterprise . Middleware

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Build failure in a clean repo (kernel trunk)

2013-05-27 Thread Vijitha Kumara
An old local change seems to have caused this. Thanks!


On Mon, May 27, 2013 at 1:01 PM, Ananda Manoj Kumara ma...@wso2.com wrote:

 Hi Vijitha,

 I have build the clean updated kernal trunk successfully with no issues
 (without tests).
 Try build again by updating the local copy.

 Thanks,
 Manoj

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Mon, May 27, 2013 at 12:08 PM, Vijitha Kumara viji...@wso2.com wrote:



 [ERROR] Failed to execute goal on project carbon-kernel-service-stubs:
 Could not resolve dependencies for project
 org.wso2.carbon:carbon-kernel-service-stubs:pom:4.2.0-SNAPSHOT: Could not
 find artifact org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v10 in wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/) - [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.





 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com


 Lean . Enterprise . Middleware

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





-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Build failed in trunk - org.wso2.carbon:org.wso2.carbon.registry.extensions

2013-05-27 Thread Vijitha Kumara
There was an error in relative path, can you update and check now?


On Mon, May 27, 2013 at 3:04 PM, Hasini Gunasinghe has...@wso2.com wrote:

 Same fails with following compilation error as well. Appreciate if this
 could be fixed.

 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2:30.573s
 [INFO] Finished at: Mon May 27 14:53:29 IST 2013
 [INFO] Final Memory: 682M/924M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.registry.extensions:
 Compilation failure: Compilation failure:
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ServiceMediaTypeHandler.java:[433,14]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ServiceMediaTypeHandler.java:[433,14]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ServiceMediaTypeHandler.java:[265,20]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ServiceMediaTypeHandler.java:[434,19]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ZipWSDLMediaTypeHandler.java:[454,12]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ZipWSDLMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ZipWSDLMediaTypeHandler.java:[454,46]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ZipWSDLMediaTypeHandler
 [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.registry.extensions

 Thanks,
 Hasini.

 On Mon, May 27, 2013 at 2:49 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Hi,

 Trunk build failed with following error. Fixed with r173186. Please
 verify.

 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project
 org.wso2.carbon:org.wso2.carbon.registry.extensions:4.1.3
 (/home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/pom.xml)
 has 1 error
 [ERROR] Non-resolvable parent POM: The repository system is offline
 but the artifact org.wso2.carbon:registry:pom:4.1.0 is not available in the
 local repository. and 'parent.relativePath' points at wrong local POM @
 line 22, 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

 Thanks,
 Hasini.



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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


Lean . Enterprise

Re: [Dev] Build failed in trunk - org.wso2.carbon:org.wso2.carbon.registry.extensions

2013-05-27 Thread Vijitha Kumara
On Mon, May 27, 2013 at 2:49 PM, Hasini Gunasinghe has...@wso2.com wrote:

 Hi,

 Trunk build failed with following error. Fixed with r173186. Please verify.


+1



 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project
 org.wso2.carbon:org.wso2.carbon.registry.extensions:4.1.3
 (/home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/pom.xml)
 has 1 error
 [ERROR] Non-resolvable parent POM: The repository system is offline
 but the artifact org.wso2.carbon:registry:pom:4.1.0 is not available in the
 local repository. and 'parent.relativePath' points at wrong local POM @
 line 22, 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

 Thanks,
 Hasini.

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Build failed in trunk - org.wso2.carbon:org.wso2.carbon.registry.extensions

2013-05-27 Thread Vijitha Kumara
Running a new build in a clean repo, will check and update here.


On Mon, May 27, 2013 at 3:33 PM, Hasini Gunasinghe has...@wso2.com wrote:

 Hi Vijitha,

 Still fails with the same error..

 Thanks,
 Hasini.


 On Mon, May 27, 2013 at 3:10 PM, Vijitha Kumara viji...@wso2.com wrote:

 There was an error in relative path, can you update and check now?


 On Mon, May 27, 2013 at 3:04 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Same fails with following compilation error as well. Appreciate if this
 could be fixed.

 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2:30.573s
 [INFO] Finished at: Mon May 27 14:53:29 IST 2013
 [INFO] Final Memory: 682M/924M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.registry.extensions:
 Compilation failure: Compilation failure:
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ServiceMediaTypeHandler.java:[433,14]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ServiceMediaTypeHandler.java:[433,14]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ServiceMediaTypeHandler.java:[265,20]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ServiceMediaTypeHandler.java:[434,19]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ZipWSDLMediaTypeHandler.java:[454,12]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ZipWSDLMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ZipWSDLMediaTypeHandler.java:[454,46]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ZipWSDLMediaTypeHandler
 [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.registry.extensions

 Thanks,
 Hasini.

 On Mon, May 27, 2013 at 2:49 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Hi,

 Trunk build failed with following error. Fixed with r173186. Please
 verify.

 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project
 org.wso2.carbon:org.wso2.carbon.registry.extensions:4.1.3
 (/home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/pom.xml)
 has 1 error
 [ERROR] Non-resolvable parent POM: The repository system is offline
 but the artifact org.wso2.carbon:registry:pom:4.1.0 is not available in the
 local repository. and 'parent.relativePath' points at wrong local POM @
 line 22, 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

Re: [Dev] Build failed in trunk - org.wso2.carbon:org.wso2.carbon.registry.extensions

2013-05-27 Thread Vijitha Kumara
This is fixed, please update governance.registry.extensions component and
build.


On Mon, May 27, 2013 at 3:51 PM, Vijitha Kumara viji...@wso2.com wrote:

 Running a new build in a clean repo, will check and update here.


 On Mon, May 27, 2013 at 3:33 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Hi Vijitha,

 Still fails with the same error..

 Thanks,
 Hasini.


 On Mon, May 27, 2013 at 3:10 PM, Vijitha Kumara viji...@wso2.com wrote:

 There was an error in relative path, can you update and check now?


 On Mon, May 27, 2013 at 3:04 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Same fails with following compilation error as well. Appreciate if this
 could be fixed.

 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2:30.573s
 [INFO] Finished at: Mon May 27 14:53:29 IST 2013
 [INFO] Final Memory: 682M/924M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.registry.extensions:
 Compilation failure: Compilation failure:
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ServiceMediaTypeHandler.java:[433,14]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ServiceMediaTypeHandler.java:[433,14]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ServiceMediaTypeHandler.java:[265,20]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ServiceMediaTypeHandler.java:[434,19]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ServiceMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ZipWSDLMediaTypeHandler.java:[454,12]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ZipWSDLMediaTypeHandler
 [ERROR]
 /home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/ZipWSDLMediaTypeHandler.java:[454,46]
 cannot find symbol
 [ERROR] symbol  : class WADLProcessor
 [ERROR] location: class
 org.wso2.carbon.registry.extensions.handlers.ZipWSDLMediaTypeHandler
 [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.registry.extensions

 Thanks,
 Hasini.

 On Mon, May 27, 2013 at 2:49 PM, Hasini Gunasinghe has...@wso2.comwrote:

 Hi,

 Trunk build failed with following error. Fixed with r173186. Please
 verify.

 [INFO] Scanning for projects...
 [ERROR] The build could not read 1 project - [Help 1]
 [ERROR]
 [ERROR]   The project
 org.wso2.carbon:org.wso2.carbon.registry.extensions:4.1.3
 (/home/hasini/WSO2/CARBON_TRUNK/carbon/platform/trunk/components/registry/org.wso2.carbon.registry.extensions/pom.xml)
 has 1 error
 [ERROR] Non-resolvable parent POM: The repository system is
 offline but the artifact org.wso2.carbon:registry:pom:4.1.0 is not
 available in the local repository. and 'parent.relativePath' points at
 wrong local POM @ line 22, 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

[Dev] Bunch of warnings and build failures in features of trunk

2013-05-27 Thread Vijitha Kumara
 they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.








-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] Bunch of warnings and build failures in features of trunk

2013-05-27 Thread Vijitha Kumara
These are not build failures at this point but some need to be fixed.


On Mon, May 27, 2013 at 11:08 PM, Vijitha Kumara viji...@wso2.com wrote:

 Hi All,

 For example some duplicate declarations involved as well.

 I have removed the duplicate resource plugin
 from org.wso2.carbon.databridge.receiver.restapi.server.feature. Can we
 check all these and fix as needed?


 [WARNING]
 [WARNING] Some problems were encountered while building the effective
 model for org.apache.rampart:rampart-policy:jar:1.6.1-wso2v9
 [WARNING] 'reporting.plugins.plugin.version' for
 org.apache.maven.plugins:maven-site-plugin is missing. @ line 61, column 21
 [WARNING]
 [WARNING] Some problems were encountered while building the effective
 model for org.apache.rampart:rampart-trust:jar:1.6.1-wso2v9
 [WARNING] 'reporting.plugins.plugin.version' for
 org.apache.maven.plugins:maven-site-plugin is missing. @ line 69, column 21
 [WARNING]
 [WARNING] Some problems were encountered while building the effective
 model for org.apache.rampart:rampart-core:jar:1.6.1-wso2v9
 [WARNING] 'reporting.plugins.plugin.version' for
 org.apache.maven.plugins:maven-site-plugin is missing. @ line 74, column 21
 [WARNING]
 [WARNING] Some problems were encountered while building the effective
 model for org.apache.rampart:rampart-tests:jar:1.6.1-wso2v9
 [WARNING] 'reporting.plugins.plugin.version' for
 org.apache.maven.plugins:maven-site-plugin is missing. @ line 81, column 21
 [WARNING]
 [WARNING] Some problems were encountered while building the effective
 model for org.apache.rampart:rampart-integration:jar:1.6.1-wso2v9
 [WARNING] 'reporting.plugins.plugin.version' for
 org.apache.maven.plugins:maven-site-plugin is missing. @ line 621, column 21
 [WARNING]
 [WARNING] Some problems were encountered while building the effective
 model for org.wso2.caching:wso2caching-core:bundle:4.0.2
 [WARNING] 'repositories.repository.layout' for
 wso2-maven2-repository-snapshot uses the unsupported value 'legacy',
 artifact resolution might fail. @ org.wso2.caching:wso2caching:4.0.2,
 /home/vijitha/Src-Repo/carbon/platform/trunk/dependencies/commons/caching/4.0.2/pom.xml,
 line 119, column 21
 [WARNING] 'repositories.repository.layout' for apache-zones uses the
 unsupported value 'legacy', artifact resolution might fail. @
 org.wso2.caching:wso2caching:4.0.2,
 /home/vijitha/Src-Repo/carbon/platform/trunk/dependencies/commons/caching/4.0.2/pom.xml,
 line 124, column 21
 [WARNING]
 [WARNING] Some problems were encountered while building the effective
 model for org.wso2.caching:wso2caching-mar:jar:4.0.2
 [WARNING] 'repositories.repository.layout' for
 wso2-maven2-repository-snapshot uses the unsupported value 'legacy',
 artifact resolution might fail. @ org.wso2.caching:wso2caching:4.0.2,
 /home/vijitha/Src-Repo/carbon/platform/trunk/dependencies/commons/caching/4.0.2/pom.xml,
 line 119, column 21
 [WARNING] 'repositories.repository.layout' for apache-zones uses the
 unsupported value 'legacy', artifact resolution might fail. @
 org.wso2.caching:wso2caching:4.0.2,
 /home/vijitha/Src-Repo/carbon/platform/trunk/dependencies/commons/caching/4.0.2/pom.xml,
 line 124, column 21
 [WARNING]
 [WARNING] Some problems were encountered while building the effective
 model for org.wso2.caching:wso2caching-samples:jar:4.0.2
 [WARNING] 'repositories.repository.layout' for
 wso2-maven2-repository-snapshot uses the unsupported value 'legacy',
 artifact resolution might fail. @ org.wso2.caching:wso2caching:4.0.2,
 /home/vijitha/Src-Repo/carbon/platform/trunk/dependencies/commons/caching/4.0.2/pom.xml,
 line 119, column 21
 [WARNING] 'repositories.repository.layout' for apache-zones uses the
 unsupported value 'legacy', artifact resolution might fail. @
 org.wso2.caching:wso2caching:4.0.2,
 /home/vijitha/Src-Repo/carbon/platform/trunk/dependencies/commons/caching/4.0.2/pom.xml,
 line 124, column 21
 [WARNING]
 [WARNING] Some problems were encountered while building the effective
 model for org.wso2.caching:wso2caching:pom:4.0.2
 [WARNING] 'repositories.repository.layout' for
 wso2-maven2-repository-snapshot uses the unsupported value 'legacy',
 artifact resolution might fail. @ line 119, column 21
 [WARNING] 'repositories.repository.layout' for apache-zones uses the
 unsupported value 'legacy', artifact resolution might fail. @ line 124,
 column 21
 [WARNING]
 [WARNING] Some problems were encountered while building the effective
 model for
 org.apache.synapse:synapse-xar-maven-plugin:maven-plugin:2.1.1-wso2v3
 [WARNING] 'build.plugins.plugin.version' for
 org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 76,
 column 21
 [WARNING]
 [WARNING] Some problems were encountered while building the effective
 model for org.wso2.charon:org.wso2.charon.samples:jar:1.0.1-wso2v1
 [WARNING] 'build.plugins.plugin.version' for
 org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 57,
 column 21
 [WARNING] 'build.plugins.plugin.version' for
 org.codehaus.mojo:build-helper

Re: [Dev] Build Fail with compilation errors on [Governance - Notifications User Interface]

2013-05-24 Thread Vijitha Kumara
FYI, this is fixed.


On Wed, May 22, 2013 at 2:22 PM, Ananda Manoj Kumara ma...@wso2.com wrote:

 Hi,

 When I tried to build component platform/trunk/components I get the
 following compilations on Governance - Notifications User Interface
 component. Please check


 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 6:38.965s
 [INFO] Finished at: Wed May 22 09:28:02 IST 2013
 [INFO] Final Memory: 1067M/1704M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.governance.notifications.ui:
 Compilation failure: Compilation failure:
 [ERROR]
 /media/Carbon/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/java/org/wso2/carbon/governance/notifications/ui/worklist/HumanTaskClient.java:[134,12]
 cannot find symbol
 [ERROR] symbol  : class GetAllRolesNamesUserAdminExceptionException
 [ERROR] location: class
 org.wso2.carbon.governance.notifications.ui.worklist.HumanTaskClient
 [ERROR]
 /media/Carbon/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/java/org/wso2/carbon/governance/notifications/ui/worklist/HumanTaskClient.java:[135,12]
 cannot find symbol
 [ERROR] symbol  : class GetUserStoreInfoUserAdminExceptionException
 [ERROR] location: class
 org.wso2.carbon.governance.notifications.ui.worklist.HumanTaskClient
 [ERROR]
 /media/Carbon/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/java/org/wso2/carbon/governance/notifications/ui/worklist/HumanTaskClient.java:[136,12]
 cannot find symbol
 [ERROR] symbol  : class GetRolesOfCurrentUserUserAdminExceptionException
 [ERROR] location: class
 org.wso2.carbon.governance.notifications.ui.worklist.HumanTaskClient
 [ERROR]
 /media/Carbon/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/java/org/wso2/carbon/governance/notifications/ui/worklist/HumanTaskClient.java:[134,12]
 cannot find symbol
 [ERROR] symbol  : class GetAllRolesNamesUserAdminExceptionException
 [ERROR] location: class
 org.wso2.carbon.governance.notifications.ui.worklist.HumanTaskClient
 [ERROR]
 /media/Carbon/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/java/org/wso2/carbon/governance/notifications/ui/worklist/HumanTaskClient.java:[135,12]
 cannot find symbol
 [ERROR] symbol  : class GetUserStoreInfoUserAdminExceptionException
 [ERROR] location: class
 org.wso2.carbon.governance.notifications.ui.worklist.HumanTaskClient
 [ERROR]
 /media/Carbon/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/java/org/wso2/carbon/governance/notifications/ui/worklist/HumanTaskClient.java:[136,12]
 cannot find symbol
 [ERROR] symbol  : class GetRolesOfCurrentUserUserAdminExceptionException
 [ERROR] location: class
 org.wso2.carbon.governance.notifications.ui.worklist.HumanTaskClient
 [ERROR]
 /media/Carbon/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/java/org/wso2/carbon/governance/notifications/ui/worklist/HumanTaskClient.java:[149,56]
 void cannot be dereferenced
 [ERROR]
 /media/Carbon/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/java/org/wso2/carbon/governance/notifications/ui/worklist/HumanTaskClient.java:[154,42]
 getAllRolesNames(java.lang.String,int) in
 org.wso2.carbon.user.mgt.stub.UserAdminStub cannot be applied to ()
 [ERROR]
 /media/Carbon/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.notifications.ui/src/main/java/org/wso2/carbon/governance/notifications/ui/worklist/HumanTaskClient.java:[158,52]
 void cannot be dereferenced


 Thanks,
 Manoj


 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] User manager in trunk

2013-05-19 Thread Vijitha Kumara
Is $Subject updated to latest from branch? I get below error while merging
some components from 4.1.0 branch. Can we fix this soon?



[ERROR]
/home/vijitha/Src-Repo/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.gadgets.ui/src/main/java/org/wso2/carbon/governance/gadgets/ui/ProjectDataProcessor.java:[114,63]
getUsersOfRole(java.lang.String,java.lang.String,int) in
org.wso2.carbon.user.mgt.ui.UserAdminClient cannot be applied to
(java.lang.String,java.lang.String)
[INFO] 1 error







-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] Include org.wso2.carbon.humantask.server.feature 4.1.2 in the patch release

2013-05-17 Thread Vijitha Kumara
Please do the $Subject in the appropriate patch release.




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


[Dev] Compilation failures (Attachment Management 4.1.2)

2013-05-17 Thread Vijitha Kumara
]
/home/vijitha/Src-Repo/carbon/platform/branches/4.1.0/components/business-processes/attachment-mgt/org.wso2.carbon.attachment.mgt/4.1.2/src/main/java/org/wso2/carbon/attachment/mgt/configuration/AttachmentServerConfiguration.java:[86,8]
cannot find symbol
[ERROR] symbol  : class TAttachmentManagementConfig
[ERROR] location: class
org.wso2.carbon.attachment.mgt.configuration.AttachmentServerConfiguration
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/branches/4.1.0/components/business-processes/attachment-mgt/org.wso2.carbon.attachment.mgt/4.1.2/src/main/java/org/wso2/carbon/attachment/mgt/configuration/AttachmentServerConfiguration.java:[163,53]
package AttachmentManagementConfigDocument does not exist






-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com


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


Re: [Dev] [Bamboo-Build] WSO2 Carbon 4.1.x Products 4.1.1 #208 has FAILED (2 tests failed, no failures were new). Change made by 9 authors.

2013-05-11 Thread Vijitha Kumara
On Fri, May 10, 2013 at 8:44 PM, Maheshika Goonetilleke
mahesh...@wso2.comwrote:

 HI Amila,


 Both build for 4.1.2  4.1.3 are running along with 4.1.1 version.
 However, I'm trying to get the 4.1.1 build successful.

 However, since it is release we could cancel the 4.1.1 build.


Have we deployed all the artifacts in Nexus for those patch releases?


Cheers,
Vijitha.





 On Fri, May 10, 2013 at 5:09 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Why are we building 4.1.1 now. It is already released. Now we should be
 building 4.1.2 which is the about to release.


 On Fri, May 10, 2013 at 4:57 PM, Bamboo cbuil...@wso2.org wrote:

[image: Failed]  WSO2 Carbon 
 4.1.xhttp://wso2.org/bamboo/browse/WCB003/› Products
 4.1.1 http://wso2.org/bamboo/browse/WCB003-PRO002/ › 
 #208http://wso2.org/bamboo/browse/WCB003-PRO002-208/
 failed

 Changes by 9 
 peoplehttp://wso2.org/bamboo/browse/WCB003-PRO002-208#changesSummary

 *2/1297* tests failed.
Responsible  Ajith 
 Vitharanahttp://wso2.org/bamboo/browse/user/aji...@wso2.com Automatically
 assigned Amila De 
 Silvahttp://wso2.org/bamboo/browse/user/ami...@wso2.com Automatically
 assigned Dinusha 
 Dilrukshihttp://wso2.org/bamboo/browse/user/dinu...@wso2.com Automatically
 assigned Dushan 
 Abeyruwanhttp://wso2.org/bamboo/browse/user/dus...@wso2.com Automatically
 assigned Isuru Udana Loku 
 Narangodahttp://wso2.org/bamboo/browse/user/isu...@wso2.com Automatically
 assigned Johann 
 Nallathambyhttp://wso2.org/bamboo/browse/user/joh...@wso2.com 
 Automatically
 assigned Nuwan Diashttp://wso2.org/bamboo/browse/user/nuw...@wso2.com 
 Automatically
 assigned Prabath 
 Abeysekarahttp://wso2.org/bamboo/browse/user/praba...@wso2.com 
 Automatically
 assigned Ramith 
 Jayasinghehttp://wso2.org/bamboo/browse/user/ram...@wso2.com Automatically
 assigned Senaka 
 Fernandohttp://wso2.org/bamboo/browse/user/sen...@wso2.com Automatically
 assigned
Failing Jobs http://wso2.org/bamboo/browse/WCB003-PRO002-208/Job
 Duration Tests[image: Failed]  Default 
 Jobhttp://wso2.org/bamboo/browse/WCB003-PRO002-JOB1-208/ (Default
 Stage)  11 minutes  2 of 1297 failed  
 Logshttp://wso2.org/bamboo/browse/WCB003-PRO002-JOB1-208/log|
 Artifactshttp://wso2.org/bamboo/browse/WCB003-PRO002-JOB1-208/artifact
  Code
 Changes http://wso2.org/bamboo/browse/WCB003-PRO002-208/commit/  View
 all 18 code 
 changeshttp://wso2.org/bamboo/browse/WCB003-PRO002-208/commit/  
 Sinthuja
 Rajendran http://wso2.org/bamboo/browse/user/sinth...@wso2.com
 commiting gokul's patch 
 BAM-1046http://wso2.org/bamboo/project/jiraRedirect.action?jiraIssueKey=BAM-1046bambooProjectKey=WCB003
 172100Amila 
 Maharachchihttp://wso2.org/bamboo/browse/user/ami...@wso2.com
 Applying patch from IsuruP https://wso2.org/jira/browse/SPI-218  172099
 Amila
 De Silva http://wso2.org/bamboo/browse/user/ami...@wso2.com
 Fixing issues in API Search - Duplicate entries in tenant mode.  172098   15
 more changes… http://wso2.org/bamboo/browse/WCB003-PRO002-208/commit
 Tests http://wso2.org/bamboo/browse/WCB003-PRO002-208/test  View full
 test details http://wso2.org/bamboo/browse/WCB003-PRO002-208/test   2
 Existing Test Failures   Test Job FailedTest
 org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuitehttp://wso2.org/bamboo/browse/WCB003-PRO002-JOB1-208/test/case/49446957
   Default
 Job http://wso2.org/bamboo/browse/WCB003-PRO002-JOB1-208/test
 StratosManagerTestServerManager 
 startServerhttp://wso2.org/bamboo/browse/WCB003-PRO002-JOB1-208/test/case/49447848
   Default
 Job http://wso2.org/bamboo/browse/WCB003-PRO002-JOB1-208/test   1
 Fixed Tests   Test Job FailedTest
 org.jvnet.hudson.test.JellyTestSuiteBuilder$JellyTestSuitehttp://wso2.org/bamboo/browse/WCB003-PRO002-JOB1-208/test/case/49446957
   Default
 Job http://wso2.org/bamboo/browse/WCB003-PRO002-JOB1-208/test View
 Online http://wso2.org/bamboo/browse/WCB003-PRO002-208 | Add 
 Commentshttp://wso2.org/bamboo/browse/WCB003-PRO002-208?commentMode=true

 This message was sent by Atlassian Bamboo http://wso2.org/bamboo.

 If you wish to stop receiving these emails edit your user 
 profilehttp://wso2.org/bamboo/profile/userNotifications.actionor notify
 your administrator http://wso2.org/bamboo/viewAdministrators.action.




 --
 *Amila Maharachchi*
 Technical Lead
 Member, Management Committee - Cloud  Platform TG
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446




 --

 Thanks  Best Regards,

 Maheshika Goonetilleke
 Engineering Process Coordinator
 WSO2 Inc

 www.wso2.com/

 M : 0773 596707

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com
m: +1 408 874 5622

Lean . Enterprise . Middleware
___
Dev mailing list
Dev

Re: [Dev] crusible link for REST API code review

2013-05-03 Thread Vijitha Kumara
Why have we not linked the source here?


On Thu, May 2, 2013 at 10:59 PM, Sriragu Arudsothy srir...@wso2.com wrote:

 http://wso2.org/crucible/cru/WCP045-4

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com
m: +1 408 874 5622

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


[Dev] Platform build failure (4.1.2 patch release)

2013-04-29 Thread Vijitha Kumara
Error:


[ERROR] Failed to execute goal on project wso2pats: Could not resolve
dependencies for project org.wso2.carbon.automation:wso2pats:jar:1.1.2: The
following artifacts could not be resolved:
org.wso2.am:org.wso2.carbon.am.test:jar:tests:1.4.0,
org.wso2.esb:org.wso2.carbon.esb.tests:jar:tests:4.7.0,
org.wso2.carbon.automation:org.wso2.carbon.automation.test.platform.scenario:jar:tests:1.1.2:
Could not find artifact org.wso2.am:org.wso2.carbon.am.test:jar:tests:1.4.0
in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
[Help 1]





-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com
m: +1 408 874 5622

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


[Dev] Build failure (patch release 4.1.1)

2013-03-24 Thread Vijitha Kumara
Error below...



[ERROR] Failed to execute goal on project
org.wso2.carbon.appfactory.server.feature: Could not resolve dependencies
for project
org.wso2.carbon:org.wso2.carbon.appfactory.server.feature:pom:1.0.2: Failed
to collect dependencies for
[org.wso2.carbon:org.wso2.carbon.hostobjects.carbonutil:jar:1.0.1
(compile),
org.wso2.carbon:org.wso2.carbon.appfactory.hostobjects.configuration:jar:1.0.2
(compile), org.wso2.carbon:org.wso2.carbon.hostobjects.sysprop:jar:1.0.0
(compile), org.wso2.carbon:org.wso2.carbon.hostobjects.sso:jar:1.0.1
(compile), org.wso2.carbon:org.wso2.carbon.hostobjects.svnclient:jar:1.0.0
(compile),
org.wso2.carbon:org.wso2.carbon.appfactory.application.mgt:jar:1.0.2
(compile),
org.wso2.carbon:org.wso2.carbon.appfactory.user.registration:jar:1.0.2
(compile),
org.wso2.carbon:org.wso2.carbon.appfactory.apiManager.integration:jar:1.0.2
(compile), org.wso2.carbon:org.wso2.carbon.appfactory.common:jar:1.0.2
(compile), org.wso2.carbon:org.wso2.carbon.email.sender:jar:2.0.0
(compile), org.wso2.carbon:org.wso2.carbon.email.verification:jar:4.1.0
(compile), org.tigris:svn-client-adapter:jar:1.6.18.wso2v1 (compile),
plexus-utils.wso2:plexus-utils:jar:1.5.12.wso2v1 (compile),
maven-invoker.wso2:maven-invoker:jar:2.0.11.wso2v1 (compile),
org.wso2.carbon:org.wso2.carbon.appfactory.login.ui:jar:1.0.2 (compile),
org.wso2.carbon:org.wso2.carbon.appfactory.userstore:jar:1.0.2 (compile),
org.wso2.carbon:org.wso2.carbon.appfactory.core:jar:1.0.2 (compile),
org.wso2.carbon:org.wso2.carbon.appfactory.events.notification:jar:1.0.2
(compile),
org.wso2.carbon:org.wso2.carbon.appfactory.events.notification.stub:jar:1.0.2
(compile), org.wso2.carbon:org.wso2.carbon.appfactory.build:jar:1.0.2
(compile), org.apache.maven.scm.wso2:maven-scm:jar:1.7.0.wso2v3 (compile),
org.wso2.carbon:org.wso2.carbon.appfactory.repository.mgt.service:jar:1.0.2
(compile), org.wso2.carbon:org.wso2.carbon.appfactory.utilities:jar:1.0.2
(compile), org.apache.maven.wso2:maven-model:jar:3.0.3.wso2v1 (compile),
org.apache.maven.wso2:maven-core:jar:3.0.3.wso2v1 (compile),
org.wso2.carbon:org.wso2.carbon.appfactory.issuetracking:jar:1.0.2
(compile), com.gitblit:gitblit:jar:1.2.0.wso2v1 (compile),
org.wso2.carbon:org.wso2.carbon.hosting.mgt.stub:jar:1.0.0 (compile)]:
Failed to read artifact descriptor for
org.wso2.carbon:org.wso2.carbon.hostobjects.carbonutil:jar:1.0.1: Could not
find artifact org.wso2.carbon:carbon-components:pom:4.1.0-SNAPSHOT in
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
[Help 1]









-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com
m: +1 408 874 5622

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


[Dev] [4.1.0 branch] Platform Build Error

2013-03-18 Thread Vijitha Kumara
FYI.


[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project org.wso2.carbon.um.ws.api: Compilation failure
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/branches/4.1.0/components/remote-usermgt/org.wso2.carbon.um.ws.api/4.1.0/src/main/java/org/wso2/carbon/um/ws/api/WSAuthorizationManager.java:[30,7]
org.wso2.carbon.um.ws.api.WSAuthorizationManager is not abstract and does
not override abstract method
authorizeRole(java.lang.String,org.wso2.carbon.user.core.Permission[]) in
org.wso2.carbon.user.core.AuthorizationManager
[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.um.ws.api








-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com
m: +1 408 874 5622

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


Re: [Dev] Problems importing WSO2 kernel as Maven project into Eclipse

2013-02-25 Thread Vijitha Kumara
Hi Bin,

On Thu, Feb 21, 2013 at 7:51 PM, Bin Rong steven.r...@gmail.com wrote:

 Hi there,

 I tried to  import WSO2 kernel as Maven project into Eclipse, however,
 there are all sorts of build path problems, in particular, couldn't locate
 the necessary libraries.

 FYI, I use Spring STS with m2eclipse plugin, and checkout source code from
 https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/.

 Could anyone point me to a developer guide or any documentation of how to
 develop/extend WSO2 kernel, and how to add/remove bundles when it's
 necessary.


You'd need to point to a specific patch release pom files specifically if
you intend to work on a such, or the pom file inside 4.0.0 for the initial
4.0.0 release. You can run maven eclipse:eclipse to convert them to
eclipse projects.


Regards,
Vijitha.





 Thanks in advance.

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com
m: +1 408 874 5622

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


[Dev] [Test Automation] Tests unable to import resources via URLs

2013-01-22 Thread Vijitha Kumara
Hi All,

Is there a solution for the $Subject? As of now all these fail in the
development branch.

Sample error:

testAddNameWithSpacesWSDL(org.wso2.carbon.registry.metadata.test.wsdl.NameWithSpacesWsdlAdditionTestCase)
 Time elapsed: 0.141 sec   FAILURE!
org.apache.axis2.AxisFault: Failed to import resource from the URL
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/platform-integration/clarity-tests/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/GREG/wsdl/wsdl%20with%20spaces%20in%20the%20name.wsdlto
path /Wsdl with spaces in the name. Invalid WSDL definition found.
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at
org.wso2.carbon.registry.resource.stub.ResourceAdminServiceStub.importResource(ResourceAdminServiceStub.java:3975)
at
org.wso2.carbon.automation.api.clients.registry.ResourceAdminServiceClient.addWSDL(ResourceAdminServiceClient.java:117)
at
org.wso2.carbon.registry.metadata.test.wsdl.NameWithSpacesWsdlAdditionTestCase.testAddNameWithSpacesWSDL(NameWithSpacesWsdlAdditionTestCase.java:48)



Regards,
Vijitha.





-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] No class found exception at org.apache.amber.oauth.client.HttpClient Occurs In The REST api call in Greg

2013-01-17 Thread Vijitha Kumara
On Thu, Jan 17, 2013 at 5:01 PM, Sriragu Arudsothy srir...@wso2.com wrote:

 Hai all,

   I have the following class structure.

 class x{

public String getAuthorizeUserAccess()

   {
   try
   {
   OAuthClientRequest access_request = 
 OAuthClientRequest.tokenLocation(accessEP).
   
 setGrantType(GrantType.PASSWORD).
   
 setClientId(clientID).
   
 setClientSecret(clientSecret).
   
 setUsername(resOwnerUsername).
   
 setPassword(resOwnerPwd).buildBodyMessage();
   OAuthClient oAuthClient = new OAuthClient(new 
 URLConnectionClient());
   try
   {
   OAuthClientResponse oAuthClientResp = 
 oAuthClient.accessToken(access_request);
   accToken = 
 oAuthClientResp.getParam(accessToken);
   
   }
   catch (OAuthProblemException e) {
   // TODO Auto-generated catch block
   e.printStackTrace();
   }
   }
   catch (OAuthSystemException e) {
   // TODO Auto-generated catch block
   e.printStackTrace();
   }
   
   return accToken;
   }


 }


 The above class is being called as follows.

 claas b{

 String methodA()
 {
 x instx = new x();
 return instx.getAuthorizeUserAccess();
 }

 }

 When I debug the code, at the time cursor execute the x instx = new x();
 line, throws the exception as said before.

 The exception file is as follows:
 1)java.lang.RuntimeException: org.apache.cxf.interceptor.Fault:
 org/apache/amber/oauth2/client/HttpClient

 org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:116)
  
 org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:322)
  
 org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:122)
  
 org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)
  
 org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
  
 org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
  
 org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:129)
  
 org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:187)
  
 org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:115)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:621)

 java.lang.ClassNotFoundException: org.apache.amber.oauth2.client.HttpClient


 But I have the required jar on my classpath.
 org.apache.amber/Oauth-client/the version 2 jar and OAuth-common jars were
 added to class path.
 how can I resolve this issue ?


From where you execute this? Through Ant script/IDE... ? Can you check the
jar is present at the runtime?

Regards,
Vijitha.



 Thanks!
 Sriragu






-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] No class found exception at org.apache.amber.oauth.client.HttpClient Occurs In The REST api call in Greg

2013-01-17 Thread Vijitha Kumara
Just to make it complete, this was due to a missing jar which does not ship
OOTB. This can be included in the App you are building or can make it ship
OOTB if it is required generally.


Regards,
Vijitha.

On Fri, Jan 18, 2013 at 7:47 AM, Sriragu Arudsothy srir...@wso2.com wrote:

 I build the REST.API and deployed the war file. When I execute the
 getAccesstoken method I got this error from the http response.

 I added the org.apache.amber.Oauth2.client.jar as a dependency in the
 pom.xml

 Particular location has HttpClient interface. One of the IS sample used
 the same jar. I think the sample did not work fully when deployed under the
 webapps.

 Thanks!
 Ragu


 On Fri, Jan 18, 2013 at 7:37 AM, Vijitha Kumara viji...@wso2.com wrote:



 On Thu, Jan 17, 2013 at 5:01 PM, Sriragu Arudsothy srir...@wso2.comwrote:

 Hai all,

   I have the following class structure.

 class x{

public String getAuthorizeUserAccess()

 {
 try
 {
 OAuthClientRequest access_request = 
 OAuthClientRequest.tokenLocation(accessEP).
 
 setGrantType(GrantType.PASSWORD).
 
 setClientId(clientID).
 
 setClientSecret(clientSecret).
 
 setUsername(resOwnerUsername).
 
 setPassword(resOwnerPwd).buildBodyMessage();
 OAuthClient oAuthClient = new OAuthClient(new 
 URLConnectionClient());
 try
 {
 OAuthClientResponse oAuthClientResp = 
 oAuthClient.accessToken(access_request);
 accToken = 
 oAuthClientResp.getParam(accessToken);
 
 }
 catch (OAuthProblemException e) {
 // TODO Auto-generated catch block
 e.printStackTrace();
 }
 }
 catch (OAuthSystemException e) {
 // TODO Auto-generated catch block
 e.printStackTrace();
 }
 
 return accToken;
 }


 }


 The above class is being called as follows.

 claas b{

 String methodA()
 {
 x instx = new x();
 return instx.getAuthorizeUserAccess();
 }

 }

 When I debug the code, at the time cursor execute the x instx = new x();
 line, throws the exception as said before.

 The exception file is as follows:
 1)java.lang.RuntimeException: org.apache.cxf.interceptor.Fault:
 org/apache/amber/oauth2/client/HttpClient

 org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:116)
  
 org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:322)
  
 org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:122)
  
 org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)
  
 org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
  
 org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
  
 org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:129)
  
 org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:187)
  
 org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:115)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:621)

 java.lang.ClassNotFoundException: org.apache.amber.oauth2.client.HttpClient


 But I have the required jar on my classpath.
 org.apache.amber/Oauth-client/the version 2 jar and OAuth-common jars were
 added to class path.
 how can I resolve this issue ?


 From where you execute this? Through Ant script/IDE... ? Can you check
 the jar is present at the runtime?

 Regards,
 Vijitha.



 Thanks!
 Sriragu






 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com

 Lean . Enterprise . Middleware





-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Authentication When invoke the REST calls to Access the Resource from G-Reg

2013-01-15 Thread Vijitha Kumara
 calls to access the resources or
 resource related properties, the request has to be authenticated 
 against
 the user credentials using OAuth 2.0. It is a jax web app running on 
 G-Reg.
 Currently it works without the OAuth mechanism.  I went through some 
 extent
 on how OAuth is working on IS.

 1) Is that the OAuth is adaptable component to G-Reg? or Do I need
 to run the IS?

 2) If OAuth is a separate component then how can I integrate to my
 problem?

 Your thoughts are welcome on way how do I need to approach?

 Thanks!
 Sriragu




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




 --
 * http://wso2con.com/
 *
 *

 Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware



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




 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com





 --
 Thanks  Regards,
 Prabath

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.com






-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Build fail - Identity OAuth Mediator 4.0.6

2013-01-04 Thread Vijitha Kumara
But we need to get a proper fix as anyone from inside/outside should be
able to build it without a problem (or manual jar replacement).

May be we can find another repo with the same if available (if this repo
continues to be offline)?


Regards,
Vijitha.

On Fri, Jan 4, 2013 at 4:59 PM, Dulanja Liyanage dula...@wso2.com wrote:

 Resolved...

 I replaced the saxon in .m2 repo with a one I got from a team member and
 build completed successfully.


 On Fri, Jan 4, 2013 at 4:06 PM, Dulanja Liyanage dula...@wso2.com wrote:

 Yes...Synapse related stuff got built after doing that. But I'm stuck at
 OAuth Mediator.


 On Fri, Jan 4, 2013 at 4:02 PM, Isuru Perera isu...@wso2.com wrote:

 +1 for the find in files command. :)

 Did you comment entire repository tag in all pom.xml files found from
 your command?

 For example:

 !--
 repository
 idsnmp4j-repo/id
 nameSNMP4J Repository/name
 urlhttps://server.oosnmp.net/dist/release//url
 releases
 updatePolicynever/updatePolicy
 /releases
 snapshots
 enabledfalse/enabled
 /snapshots
 /repository--

 On Fri, Jan 4, 2013 at 3:41 PM, Dulanja Liyanage dula...@wso2.comwrote:

 find . -name 'pom.xml' | xargs grep -i oosnmp





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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Repeating error - RxtLoader Failed to add rxt files to registry

2012-12-10 Thread Vijitha Kumara
)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:172)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:680)
 Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException:
 Failed to check the existence of the resource
 /_system/governance/repository/components/org.wso2.carbon.governance/types.
 Timeout trying to lock table REG_RESOURCE; SQL statement:
 SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME IS
 NULL AND REG_TENANT_ID=? [50200-140]
 at
 org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getVersion(JDBCResourceDAO.java:206)
 at
 org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:147)
 at
 org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:156)
 at
 org.wso2.carbon.registry.core.jdbc.Repository.resourceExists(Repository.java:159)
 at
 org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.resourceExists(EmbeddedRegistry.java:644)
 at
 org.wso2.carbon.registry.core.caching.CacheBackedRegistry.resourceExists(CacheBackedRegistry.java:250)
 at
 org.wso2.carbon.registry.core.session.UserRegistry.resourceExists(UserRegistry.java:630)
 at
 org.wso2.carbon.governance.registry.extensions.utils.CommonUtil.addRxtConfigs(CommonUtil.java:169)
 ... 45 more
 Caused by: org.h2.jdbc.JdbcSQLException: Timeout trying to lock table
 REG_RESOURCE; SQL statement:
 SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME IS
 NULL AND REG_TENANT_ID=? [50200-140]
 at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
 at org.h2.message.DbException.get(DbException.java:167)
 at org.h2.message.DbException.get(DbException.java:144)
 at org.h2.table.RegularTable.doLock(RegularTable.java:466)
 at org.h2.table.RegularTable.lock(RegularTable.java:404)
 at org.h2.table.TableFilter.lock(TableFilter.java:139)
 at org.h2.command.dml.Select.queryWithoutCache(Select.java:554)
 at org.h2.command.dml.Query.query(Query.java:241)
 at org.h2.command.CommandContainer.query(CommandContainer.java:80)
 at org.h2.command.Command.executeQuery(Command.java:132)
 at
 org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:96)
 at
 org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getVersion(JDBCResourceDAO.java:184)
 ... 52 more--
 /sumedha
 m: +94 773017743
 b :  bit.ly/sumedha


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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] UI improvements for transition approval process.

2012-12-10 Thread Vijitha Kumara
On Mon, Dec 10, 2012 at 11:53 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 I don't think we should display role. If you cannot vote you should
 realize that you cannot, but getting to know who can vote is secondary is
 not covered right now. Displaying the role name in plain text is a cheap
 solution, and we should not do that IMO, but implement it properly (based
 on notifications etc) later on. But please do display something like 1/3 or
 4/5 votes to let the user know how many more votes are needed and disable
 the button as proposed.


+1, Ideally users don't have privilege should not even see/aware of the
votes as that is completely related to that particular relevant role(s).
But for now we can go with this.



 Thanks,
 Senaka.

 On Mon, Dec 10, 2012 at 11:44 PM, Eranda Sooriyabandara 
 era...@wso2.comwrote:

 HI all,



 *1. *If the vote count is not satisfied, we should disable the promote
 button.
 When other buttons are appearing with Promote button, we thought
 disabling Promote would give an inconsistent look to the UI. Therefore we
 added a message informing votes remain to promote to next state when it is
 clicked. Anyway we can disable the button until required vote count
 achieved.

 Yes, its a good point. How can we figure it out the required check list
 items from the number of votes to promote? IMO, its better keep this in
 this way.

 thanks
 Eranda
 *
 *


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




 --
 * http://wso2con.com/
 *
 *

 Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Regarding Issue Id: [ WSO2 Governance Registry : REGISTRY-1451 ]

2012-11-06 Thread Vijitha Kumara
On Wed, Nov 7, 2012 at 10:24 AM, Sriragu Arudsothy srir...@wso2.com wrote:

 Hai All,

   It does not a matter to change from application/xml to other
 valid human/MIME  mediatypes. Code will do the necessary changes. But I
 wanted to know whether Do we need to give an error warning message to the
 user who does it or not?

 Referring to Senaka : This is not a valid convention if it is outside the
 _system/governance. That is right. Still I m waiting to his final opinion.

 Referring to Eranda : Changing the generic xml file (application/xml-
 media type) to WSDL is not relevant or kind of invalid scenario/ not
 meaningful. This is what Shelan was said yesterday. But of course it  can
 be  like what you said. Eventhough if such have to be, can be done within
 _system/governance directory. It is like user first uploads a generic xml
 file, then add more relevant information related to Policy and changes to
 policy mediatype. [changing the mediatype must be relevant to context, if
 some thing goes wrong with the user its upto him/her]

 All my concern is to leave it as it is OR give a error message to the user?


Perhaps we can popup a message for now saying this might impact the
behavior of some features.


 How does a user get to know that the governance artifacts must be uploaded
 within _system/governance directory ? Did it mention in the documentation?


We had a chat recently whether to use the media type only to identify the
artifact rather than their exact location. But if we going to change this
it should be done with a proper plan as their might be more changes in the
components related to this.

Here there can be couple of options:
  - All artifacts based on media type than their stored location
  - Specific locations for specific types such as Policy, Schema etc...
(similar to the current behavior)
  - Have some specific location for specialized set of files and rest
should be based on media type where ever they stored.



Regards,
Vijitha.




 thanks
 Ragu


 On Wed, Nov 7, 2012 at 9:46 AM, Eranda Sooriyabandara era...@wso2.comwrote:

 Hi Ragu,

 There can be a solution to prompt an error
 message(CarbonUImessage) to the user if he/she changes the mediatype from
  application/xml to Policy and click the save button on the metadata panel
 when the source path does not contain the _system/governance string.

 I did this yesterday. I do have to do some improvement anyway. but it
 works.

 But G-reg guys were telling me that this is not a real bug. Since it is
 a governance artifact it must be governed within governance directory.

 What shall I do?


 Its not only about policies but wsdls/schemas/etc are xml files where
 they also need to be change their mediatype application/xml to
 application/(wsdl/schema)+xml. Anyway to me the solution is kind of
 over-engineering because of what Senaka mentioned in his mail.

 thanks
 Eranda
 *
 *



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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


[Dev] Compilation failure - BAM

2012-09-26 Thread Vijitha Kumara
Error below:


[ERROR]
/home/vijitha/Src-Repo/carbon/platform/branches/4.0.0/components/data-agents/org.wso2.carbon.bam.service.data.publisher/4.0.2/src/main/java/org/wso2/carbon/bam/service/data/publisher/modules/StatisticsInHandler.java:[73,40]
cannot find symbol
symbol  : method getTenantId(org.apache.axis2.context.MessageContext)
location: class org.wso2.carbon.bam.data.publisher.util.PublisherUtil
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/branches/4.0.0/components/data-agents/org.wso2.carbon.bam.service.data.publisher/4.0.2/src/main/java/org/wso2/carbon/bam/service/data/publisher/modules/ActivityInHandler.java:[64,36]
cannot find symbol
symbol  : method getTenantId(org.apache.axis2.context.MessageContext)
location: class org.wso2.carbon.bam.data.publisher.util.PublisherUtil
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/branches/4.0.0/components/data-agents/org.wso2.carbon.bam.service.data.publisher/4.0.2/src/main/java/org/wso2/carbon/bam/service/data/publisher/modules/ActivityOutHandler.java:[60,36]
cannot find symbol
symbol  : method getTenantId(org.apache.axis2.context.MessageContext)
location: class org.wso2.carbon.bam.data.publisher.util.PublisherUtil
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/branches/4.0.0/components/data-agents/org.wso2.carbon.bam.service.data.publisher/4.0.2/src/main/java/org/wso2/carbon/bam/service/data/publisher/modules/StatisticsOutHandler.java:[58,40]
cannot find symbol
symbol  : method getTenantId(org.apache.axis2.context.MessageContext)
location: class org.wso2.carbon.bam.data.publisher.util.PublisherUtil









-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] javax.el is not found

2012-07-23 Thread Vijitha Kumara
Just FYI ...

javax.el should comes from JSP 2.1 API not from JDK... (available in Apache)

On Mon, Jul 23, 2012 at 5:21 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi Pradeep,

 Here is the issue I mentioned,

 I guess we need to add this to launch.ini, I got a CNF when deploying a
 webapp. this javax package should come from jdk, but the app server cannot
 see this. any idea ?

 --
 *Thanks  Regards,

 Nuwan Bandara
 Associate Technical Lead  Member, MC, Development Technologies
 WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
 blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/

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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


[Dev] G-Reg samples (shutterbug)

2012-07-21 Thread Vijitha Kumara
Hi All,


We had a quick review about the $Subject. Apparently the shutterbug sample
is broken due to the changes of the Carbon platform structure. More
specifically the setup (explained in [1] which is of course for an older
version of the product) with Tomcat is completely different with the
current structure of the platform (like we have all conf/resources etc...
inside the repository), so do other dependencies etc... as a result of that.

So is there any identified workaround (based on the changes to the
platform) to get this working? Are we going to support this?

Any other suggestions/thoughts?



[1]
http://opensource-soa.blogspot.com/2009/03/deploying-wso2-registry-on-tomcat.html






-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] commons-io-2.0.0.wso2v2 not available in Nexus

2012-07-14 Thread Vijitha Kumara
Just to update, this is now available.

On Fri, Jul 13, 2012 at 9:57 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 we didnt expire the nexus cache. thats the issue.

 --Pradeep




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] commons-io-2.0.0.wso2v2 not available in Nexus

2012-07-13 Thread Vijitha Kumara
As a workaround one can get the files [1] manually and have them in local
m2 repo...

[1] http://dist.wso2.org/maven2/commons-io/wso2/commons-io/2.0.0.wso2v2/

On Fri, Jul 13, 2012 at 2:48 PM, Vijitha Kumara viji...@wso2.com wrote:


 Can we have the $subject please? Not available as of now... This is
 already referenced by kernel/parent/pom.xml.




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com

 Lean . Enterprise . Middleware




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


[Dev] commons-io-2.0.0.wso2v2 not available in Nexus

2012-07-13 Thread Vijitha Kumara
Can we have the $subject please? Not available as of now... This is already
referenced by kernel/parent/pom.xml.




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Have we tested JMX monitoring in trunk

2012-07-05 Thread Vijitha Kumara
Have you changed the CARBON_HOME/repository/conf/etc/jmx.xml HostName
to the correct value (i.e. ip)?


On Thu, Jul 5, 2012 at 1:51 PM, Amila Maha Arachchi ami...@wso2.com wrote:

 Hi again,

 I tested this today also with ESB 4.0.3 pack. I followed two methods.

 NOTE: I am using an offset of 3 and I have replaced the localhost with my
 IP in the below urls.

 1) Enable both RMIRegistryPort and RMIServerPort - Then provided the jmx
 url which we get at server startup to JConsole. But couldn't connect to the
 server (credentials provided)
 service:jmx:rmi://10.100.2.91:4/jndi/rmi://10.100.2.91:10002/jmxrmi

 2) Enabled only RMIRegistryPort (as mentioned in Charitha's blog). Then
 also it was not successful. Even-though RMIServerPort was disabled, it
 appeared in the jmx url as follows.
 service:jmx:rmi://*10.100.2.91http://10.100.2.91:4/jndi/rmi://10.100.2.91:10002/jmxrmi
 **:2*/jndi/rmi://10.100.2.91http://10.100.2.91:4/jndi/rmi://10.100.2.91:10002/jmxrmi
 :10002/jmxrmi

 AmilaM.


 On Thu, Jul 5, 2012 at 1:25 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Hiranya,

 When we try to *remotely* monitor a WSO2 product instance, instructions
 in [1] (in my previous mail) failed. For example I try to monitor instance
 running in some other person's machine (no firewalls etc..). I hope I have
 followed the steps correctly.

 Regards,
 AmilaM.


 On Thu, Jul 5, 2012 at 1:11 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Hi Amila,

 Can you please explain which part of JMX monitoring is not working?

 Thanks,
 Hiranya

 On Thu, Jul 5, 2012 at 10:54 AM, Charitha Kankanamge 
 chari...@wso2.comwrote:

 Noted.



 On Thu, Jul 5, 2012 at 10:40 AM, Amila Maha Arachchi 
 ami...@wso2.comwrote:

 Hi all,

 $subject? I tried to follow some articles on how to remotely monitor
 WSO2 products via JMX (with 3.2.3 packs) and it seems the instructions
 mentioned in those articles are not working. One such article is [1]. But
 there is a workaround which can be found at [2].

 Charitha et al, please pay attention to this during your testing
 cycles. If this is broken, we'll have to fix this before we release the
 kernel.

 [1]
 http://wso2.org/library/knowledge-base/2011/04/monitoring-wso2-esb-using-jconsole
 [2]
 http://maharachchi.blogspot.com/2011/02/monitoring-your-java-application-with.html

 Regards,
 AmilaM.
 --
 *Amila Maharachchi*
 Technical Lead
 Member, Management Committee - Cloud  Platform TG
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446




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




 --
 Hiranya Jayathilaka
 Senior Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com




 --
 *Amila Maharachchi*
 Technical Lead
 Member, Management Committee - Cloud  Platform TG
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446





 --
 *Amila Maharachchi*
 Technical Lead
 Member, Management Committee - Cloud  Platform TG
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446



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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Cannot log into product after creating Tennants

2012-07-05 Thread Vijitha Kumara
On Wed, Jul 4, 2012 at 8:59 PM, Shelan Perera she...@wso2.com wrote:

 Hi,

 I tried to create a tenant and then few users to test a scenario using
 Greg packs obtained from [1].When i try to login as Tenant admin it fails
 with following exception [2].


This is fixed. There was a mismatch of the name in the
cloud-services-desc.xml.



 After that carbon theme comes up not the Greg.

 [1]
 http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-267/artifact/JOB1/GREG

 [2] http://pastie.org/4199393

 --
 *Shelan Perera*

 Software Engineer
 **
 *WSO2, Inc. : wso2.com*
 lean.enterprise.middleware.

 *Home Page*  :shelan.org
 *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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


[Dev] Error starting a newly built pack (G-Reg)

2012-06-28 Thread Vijitha Kumara
(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
==



-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Error starting a newly built pack (G-Reg)

2012-06-28 Thread Vijitha Kumara
On Thu, Jun 28, 2012 at 4:48 PM, Sanjaya Vithanagama sanja...@wso2.comwrote:

 Hi Vijitha,

 Please make sure that you've updated and built
 platform/components/business-processes and platform/features/humantask.
 Let me know if you still get the error.


All three (orbit,kernel,platform) are updated and built today...



 Regards,
 SanjayaV.

 On Thu, Jun 28, 2012 at 4:20 PM, Vijitha Kumara viji...@wso2.com wrote:


 I get this in an all updated locally built pack while starting the server
 (G-Reg), any idea about the issue?


 ==

 [2012-06-28 16:16:20,000]  INFO
 {org.wso2.carbon.tomcat.internal.CarbonTomcat} -  web application context:
 StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home]
 [2012-06-28 16:16:20,000]  INFO
 {org.wso2.carbon.stratos.landing.page.deployer.LandingPageWebappDeployer} -
  Deployed product landing page webapp:
 StandardEngine[Catalina].StandardHost[localhost].StandardContext[/home]
 [2012-06-28 16:16:20,005]  INFO
 {org.wso2.carbon.humantask.deployer.HumanTaskDeployer} -  Initializing
 HumanTask Deployer for tenant -1234.
 [2012-06-28 16:16:20,006] FATAL
 {org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
 initialization Failed
 java.lang.NoSuchMethodError:
 org.wso2.carbon.humantask.core.store.HumanTaskStoreManager.createHumanTaskStoreForTenant(Ljava/lang/Integer;Lorg/apache/axis2/context/ConfigurationContext;)Lorg/wso2/carbon/humantask/core/store/HumanTaskStore;
  at
 org.wso2.carbon.humantask.deployer.HumanTaskDeployer.init(HumanTaskDeployer.java:58)
 at
 org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:1165)
  at
 org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:1154)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:89)
  at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:395)
  at
 org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:217)
 at
 org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:64)
  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.getEligible(Resolver.java:328)
  at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
  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.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:78)
  at
 org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:57)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:39)
  at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:27)
 at
 org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
  at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
 at
 org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080

Re: [Dev] Smoke test - Kernel Beta2 Packs

2012-06-25 Thread Vijitha Kumara
On Mon, Jun 25, 2012 at 3:22 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi Vijitha,

 After the modification you have to create a new tenant and try with it.
 This is because the registry entries are created during the tenant creation.


Yes I get a different issue with a new tenant as I posted earlier, I'll
have to look what Shariq has mentioned here as a fix for that...


 thanks,
 dimuthu


 On Mon, Jun 25, 2012 at 2:25 PM, Vijitha Kumara viji...@wso2.com wrote:

 Hi Dimuthu,

 On Mon, Jun 25, 2012 at 1:58 PM, Dimuthu Leelarathne 
 dimut...@wso2.comwrote:

 Hi Vijitha,

 This is because the product name of the Greg and name of Greg in
 cloud-services-desc.xml are not matching. Please make the necessary change
 in the cloud-services-desc.xml.


 Please find the changes have made attached but the issue still persist...
 Am I missing something?



 Since there is a workaround is editing the cloud-services-desc.xml in
 Greg pack I think we can say this is ok. Please let me know if the
 suggested workaround is not working.

 thanks,
 dimuthu


 On Mon, Jun 25, 2012 at 1:51 PM, Vijitha Kumara viji...@wso2.comwrote:

 *G-Reg smoke tests:*

 G-Reg seems to have a issue with the tenant log in...

 Attached are the tenant created (tenantList.png), exception
 (errorUI.png) and below is the ST:


 

 [2012-06-25 13:44:37,725]  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  '
 v...@wso2.com [1]' logged in at [2012-06-25 13:44:37,725+0530] from IP
 address 10.200.3.51
 [2012-06-25 13:44:37,778] @wso2.com [1] [WSO2 Governance Registry]
 WARN {org.wso2.carbon.activation.module.ActivationHandler} -  Failed
 attempt to access WSO2 Governance Registry by tenant 1
 [2012-06-25 13:44:37,780] ERROR
 {org.wso2.carbon.registry.ws.client.registry.WSRegistryServiceClient} -
  Failed to perform executeQuery operation.
 org.apache.axis2.AxisFault: The input stream for an incoming message is
 null.
  at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:92)
 at
 org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
  at
 org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
  at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
  at
 org.wso2.carbon.registry.ws.stub.WSRegistryServiceStub.wSexecuteQuery(WSRegistryServiceStub.java:12405)
 at
 org.wso2.carbon.registry.ws.client.registry.WSRegistryServiceClient.executeQuery(WSRegistryServiceClient.java:603)
  at
 org.wso2.carbon.governance.api.util.GovernanceUtils.getResultPaths(GovernanceUtils.java:174)
 at
 org.wso2.carbon.governance.api.util.GovernanceUtils.findGovernanceArtifacts(GovernanceUtils.java:117)
  at
 org.wso2.carbon.governance.api.util.GovernanceUtils.findGovernanceArtifactConfigurations(GovernanceUtils.java:386)
 at
 org.wso2.carbon.governance.list.ui.internal.GovernanceListUIServiceComponent$1.onSuccessAdminLogin(GovernanceListUIServiceComponent.java:79)
  at
 org.wso2.carbon.ui.util.CarbonUIAuthenticationUtil.onSuccessAdminLogin(CarbonUIAuthenticationUtil.java:109)
 at
 org.wso2.carbon.ui.util.CarbonUIAuthenticationUtil.onSuccessAdminLogin(CarbonUIAuthenticationUtil.java:70)
  at
 org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttpContext.java:431)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:86)
  at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:45)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
  at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98

[Dev] [DEV] Compilation Failure (directory-server-manager)

2012-06-22 Thread Vijitha Kumara
FYA...




[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project org.wso2.carbon.directory.server.manager:
Compilation failure
[ERROR]
/home/vijitha/Src-Repo/carbon/platform/trunk/components/directory-server-manager/org.wso2.carbon.directory.server.manager/src/main/java/org/wso2/carbon/directory/server/manager/internal/LDAPServerStoreManager.java:[366,98]
cannot find symbol
[ERROR] symbol  : variable USER_FILTER
[ERROR] location: class org.wso2.carbon.user.core.ldap.LDAPConstants
[ERROR] - [Help 1]




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


[Dev] Role based tables in the Carbon

2012-06-13 Thread Vijitha Kumara
Hi All,

We have UM_ROLE_PERMISSION table which contains the UM_ROLE_NAME while
UM_ROLE  UM_HYBRID_ROLE can contain the name themselves? Do we really use
them to store roles? It seems the default roles/permissions goes in to the
UM_ROLE_PERMISSION table?

And where we use the **HYBRID** version instead of other?



-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] WSO2 Committers += Vijitha Kumara

2012-06-09 Thread Vijitha Kumara
Thanks Senaka  everyone else for all the support given, hope I'll be able
to contribute more... :)

On Sat, Jun 9, 2012 at 4:35 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Vijitha Kumara as a WSO2 Committer. Vijitha has
 made some great contributions to Governance Registry during the last
 few months and in recognition of his commitment and contributions the
 Integration MC has voted Vijitha as a committer.

 Vijitha, welcome aboard and keep up the good work.

 Best Regards,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] [Integration TG][Code-Review] Exposing the Generic API as a Service

2012-06-01 Thread Vijitha Kumara
On Fri, Jun 1, 2012 at 12:51 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Ok, I just had a look into the code, :-).

 If Avoid hard coding xsds in to String variables, but rather use them in
 a file/resource separately and load them in to  memory at the beginning is
 related to the schema definitions for the three exception classes, +1 for
 that. And, if Use constant for operation names and URLs in axis2service
 creation phase is related to making operation names such as get, add,
 delete, update and the relevant NS URLs into constants, +1 for that
 too.

Correct.


 If it meant something more than that, please clarify. If not, sorry for
 the noise.

 Thanks,
 Senaka.


 On Fri, Jun 1, 2012 at 12:45 PM, Senaka Fernando sen...@wso2.com wrote:

 Sorry that I missed it. But, I think we need more clarity into these two
 points.

 - Use constant for operation names and URLs in axis2service creation
 phase.

 - Avoid hard coding xsds in to String variables, but rather use them in a
 file/resource separately and load them in to  memory at the beginning.

 This is about generating a Service for an Asset defined through an RXT.
 So, everything that you generate will vary according to what you define in
 the RXT. But, this SHOULD NOT mean, RXT + several other XSD files for
 example, because we cannot expect users to produce all of that. I'd like to
 understand how these improvements would safeguard the concept of an RXT
 definition before going ahead with these.

 Thanks,
 Senaka.

 On Fri, Jun 1, 2012 at 12:35 PM, Subash Chaturanga sub...@wso2.comwrote:



 On Fri, Jun 1, 2012 at 12:28 PM, Kasun Indrasiri ka...@wso2.com wrote:

 Please create a Jira with the improvements that we discussed.

 Done



 On Fri, Jun 1, 2012 at 12:15 PM, Subash Chaturanga sub...@wso2.comwrote:

 Hi all,
 Following will be the notes taken down during the review.

 *- Use constant for operation names and URLs in axis2service creation
 phase.*

 - Avoid hard coding xsds in to String variables, but rather use them
 in a file/resource separately and load them in to memory at the beginning 
 .

 - Don't catch NullPointerException, but check for null (in
 DeleteOperation and ReadOperation classes)

 - Check for invalid artifact when registering the artifact through
 artifact manager

 - Logicall handle ArrayIndexOOBE rather than catching it (in CRUD
 operation impl classes)

  - Use one static util method to throw axisFault exception which can
 be used by all other classes

 - Consider multitenancy aspect when registering services for RXTs

  Thanks
  /Subash




 --
 Kasun Indrasiri
 Associate Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 536 4128
 Blog : http://kasunpanorama.blogspot.com/




 --

 Subash Chaturanga
 Software Engineer
 WSO2 Inc. http://wso2.com

 email - sub...@wso2.com
 phone - 077 2225922




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Form submit with non-utf-8 characters

2012-05-30 Thread Vijitha Kumara
On Wed, May 30, 2012 at 8:50 PM, Ajith Vitharana aji...@wso2.com wrote:


 Hi All,

 I'm doing a form submit after filled  some text fields with non-utf-8
 characters.
 After when I try to get values of those text fields , it doesn't return
 same value which I have submitted.

 submit : param =Overview_Provider , value=ÇÇ

 request.getParameter(Overview_Provider) return ÇÇÇÇÇÇ.


Is the JSP used for this uses the encoding (e.g: %@ page
contentType=text/html; charset=UTF-8 pageEncoding=ISO-8859-1 %) ?



 But same thing working fine in branch (3.2.3 branch, In G-reg 4.1.1).

 Thanks
 Ajithn
 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94714631794



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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Form submit with non-utf-8 characters

2012-05-30 Thread Vijitha Kumara
On Thu, May 31, 2012 at 10:20 AM, Ajith Vitharana aji...@wso2.com wrote:



 On Thu, May 31, 2012 at 9:47 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi Ajith,

 On Thu, May 31, 2012 at 9:31 AM, Vijitha Kumara viji...@wso2.com wrote:


 On Wed, May 30, 2012 at 8:50 PM, Ajith Vitharana aji...@wso2.comwrote:


 Hi All,

 I'm doing a form submit after filled  some text fields with non-utf-8
 characters.
 After when I try to get values of those text fields , it doesn't return
 same value which I have submitted.

 submit : param =Overview_Provider , value=ÇÇ

 request.getParameter(Overview_Provider) return ÇÇÇÇÇÇ.


 Is the JSP used for this uses the encoding (e.g: %@ page
 contentType=text/html; charset=UTF-8 pageEncoding=ISO-8859-1 %) ?


 Can we fix the @page declaration of JSPs in the Registry and Governance
 components to match the following, recompile, and test,

 %@ page contentType=text/html;charset=UTF-8 language=java
 pageEncoding=UTF-8 %


 Hi Senaka/Vijitha,

 I tried this but doesn't work.


We can check with request.getCharacterEncoding() to see it's actually
UTF-8 that we get.


 I found following solution and it works fine.

 new
 String(request.getParameter(Overview_Provider).getBytes(ISO-8859-1));

 Now the resource URL contain the non-utf-8 characters therefore can't open
 it.
 It can be resolve adding following property to  catalina-server.xml.

 URIEncoding=UTF-8


This set thes encoding globally to Tomcat. Some points for that[1]

[1] http://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q8


 Thanks
 Ajith


 Thanks,
 Senaka.




 But same thing working fine in branch (3.2.3 branch, In G-reg 4.1.1).

 Thanks
 Ajithn
 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94714631794



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




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com

 Lean . Enterprise . Middleware


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




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *
 Lean . Enterprise . Middleware




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94714631794





-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


[Dev] G-Reg unused Handlers

2012-05-08 Thread Vijitha Kumara
Hi All,

While adding some comments to describe the G-Regs config (registry.xml), I
learned that some handlers are not used within the registry
(i.e.: PeopleMediaTypeHandler). They still available in the registry.xml.
Should we remove this altogether?

-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] G-Reg unused Handlers

2012-05-08 Thread Vijitha Kumara
Also, ProcessMediaTypeHandler  SLAMediaTypeHandler can be removed?

On Tue, May 8, 2012 at 4:12 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Ajith,

 Janaka apparently commented it out in r114979.

 Thanks,
 Senaka.

 On Tue, May 8, 2012 at 4:11 PM, Ajith Vitharana aji...@wso2.com wrote:



 On Tue, May 8, 2012 at 3:59 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Vijitha,

 Yes please. I thought we did it sometime in the past.

 Thanks,
 Senaka.


 On Tue, May 8, 2012 at 3:53 PM, Vijitha Kumara viji...@wso2.com wrote:

 Hi All,

 While adding some comments to describe the G-Regs config
 (registry.xml), I learned that some handlers are not used within the
 registry (i.e.: PeopleMediaTypeHandler). They still available in the
 registry.xml. Should we remove this altogether?


 Hi Senaka,

 We have included DeleteServiceHandler to remove collection hierarchy
 when delete a service.
 But that handler has commented in the default pack?

  !--handler
 class=org.wso2.carbon.registry.extensions.handlers.DeleteServiceHandler
 filter
 class=org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher
 property
 name=mediaTypeapplication/vnd.wso2-service+xml/property
 /filter
 /handler--


 Thanks
 Ajith


 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com

 Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *
 Lean . Enterprise . Middleware




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94714631794





 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] G-Reg unused Handlers

2012-05-08 Thread Vijitha Kumara
I think there's no point in keeping the source/config files related to
those handlers and eventually shipped the jars which are not used. So we
should clean them up too...

On Tue, May 8, 2012 at 9:18 PM, Janaka Ranabahu jan...@wso2.com wrote:

 Hi,

 On Tue, May 8, 2012 at 4:42 AM, Senaka Fernando sen...@wso2.com wrote:

 Yes.

 Thanks,
 Senaka.


 On Tue, May 8, 2012 at 5:07 PM, Vijitha Kumara viji...@wso2.com wrote:

 Also, ProcessMediaTypeHandler  SLAMediaTypeHandler can be removed?


 On Tue, May 8, 2012 at 4:12 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Ajith,

 Janaka apparently commented it out in r114979.


 Thats because this handler was causing some other issue. Please refer [1].
 If we are going to add this, then we need to fix these issues as well.
 IIRC, I discussed this with Ajith before I commented out the handler.

 Thanks,
 Janaka

 [1] https://wso2.org/jira/browse/CARBON-11332


 Thanks,
 Senaka.

 On Tue, May 8, 2012 at 4:11 PM, Ajith Vitharana aji...@wso2.comwrote:



 On Tue, May 8, 2012 at 3:59 PM, Senaka Fernando sen...@wso2.comwrote:

 Hi Vijitha,

 Yes please. I thought we did it sometime in the past.

 Thanks,
 Senaka.


 On Tue, May 8, 2012 at 3:53 PM, Vijitha Kumara viji...@wso2.comwrote:

 Hi All,

 While adding some comments to describe the G-Regs config
 (registry.xml), I learned that some handlers are not used within the
 registry (i.e.: PeopleMediaTypeHandler). They still available in the
 registry.xml. Should we remove this altogether?


 Hi Senaka,

 We have included DeleteServiceHandler to remove collection hierarchy
 when delete a service.
 But that handler has commented in the default pack?

  !--handler
 class=org.wso2.carbon.registry.extensions.handlers.DeleteServiceHandler
 filter
 class=org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher
 property
 name=mediaTypeapplication/vnd.wso2-service+xml/property
 /filter
 /handler--


 Thanks
 Ajith


 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com

 Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *
 Lean . Enterprise . Middleware




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94714631794





 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com

 Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


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




 --
 Janaka Ranabahu
 Software Engineer
 WSO2 Inc.

 Mobile +94 718370861
 Email : jan...@wso2.com
 Blog : janakaranabahu.blogspot.com




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Carbon Alpha 4 packs for smoke testing

2012-04-23 Thread Vijitha Kumara
Couple of minor mistakes found in the samples README files, will be fixed
them soon... One exception while running some samples related to the carbon
log file still exists.

Other samples and startup are passed in GReg.

Regards,

On Mon, Apr 23, 2012 at 9:55 AM, Rajika Kumarasiri raj...@wso2.com wrote:

 CSG passed the smoke tests.

 Rajika

 On Mon, Apr 23, 2012 at 9:08 AM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi RMs,

 Please find candidates for Carbon 4.00 Alpha 4 packs here.


 http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-66/artifact

 Please do a smoke test. Smoke test means

 1) No errors at startup
 2) All samples are running

 thanks,
 dimuthu

 --
 Dimuthu Leelarathne
 Technical Lead

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com

 Lean . Enterprise . Middleware


 ___
 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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Error message when starting samples/axis2Server

2012-04-22 Thread Vijitha Kumara
(PropertyConfigurator.java:612)
 at
 org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:533)
 at
 org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:417)
 at
 org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)
 at
 org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
 at org.apache.log4j.LogManager.clinit(LogManager.java:122)
 at org.apache.log4j.Logger.getLogger(Logger.java:104)
 at
 org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289)
 at
 org.apache.commons.logging.impl.Log4JLogger.init(Log4JLogger.java:109)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 at
 org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1116)
 at
 org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:914)
 at
 org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
 at
 org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
 at
 org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
 at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
 at
 org.wso2.bps.samples.util.SampleAxis2Server.clinit(SampleAxis2Server.java:24)
 log4j:ERROR Either File or DatePattern options are not set for appender
 [CARBON_TRACE_LOGFILE].

 [1] :
 http://builder4.us1.wso2.org:/bamboo/artifact/WSO2CARBON-PRODUCTS/JOB1/build-51/BPS/wso2bps-3.0.0-SNAPSHOT.zip

 Regards,
 SanjayaV.

 --
 Sanjaya Vithanagama
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 342 2881


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*




 --
 Sanjaya Vithanagama
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 342 2881


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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Bamboo Fails On - Registry TestNG Test Module

2012-04-19 Thread Vijitha Kumara
This seems bit strange, the real test case expects the length to be 2 but
the test failure complains it expects 3...

-
build 18-Apr-2012 17:01:13 Failed tests:
build 18-Apr-2012 17:01:13
testAddSchema(org.wso2.carbon.registry.governance.api.test.SchemaTestCase):
expected:3 but was:2
build 18-Apr-2012 17:01:13
build 18-Apr-2012 17:01:13 Tests run: 233, Failures: 1, Errors: 0, Skipped:
0
-

Test case:
-
Schema[] schemas = schemaManager.findSchemas(new SchemaFilter() {
public boolean matches(Schema schema) throws
GovernanceException {
if (schema.getAttribute(version).equals(0.01)) {
return true;
}
return false;
}
});
*assertEquals(2, schemas.length);*
assertEquals(newSchema.getId(), schemas[0].getId());
-

Regards,

On Thu, Apr 19, 2012 at 10:56 AM, Subash Chaturanga sub...@wso2.com wrote:



 On Thu, Apr 19, 2012 at 10:41 AM, Subash Chaturanga sub...@wso2.comwrote:



 On Thu, Apr 19, 2012 at 10:19 AM, Ishan Jayawardena is...@wso2.comwrote:

 Hi, please have a look at this error. Attached Log.


 Hi,  already saw this on bamboo logs and working on it, this is not only
 due to a testng failure. But product-governance-services also fails.

 - governance stratos fails.

 There was patch for this fix, and not yet commited. I think Dimuthu is
 looking in to this to commit the patch.


 - 1 test failure and I am locally trying to reproduce this.(This was a
 randomly failing test and we intentionally add this(+ two other tests) to
 see the behavior of this, because we couldn't reproduce this locally in
 anyway).

 Excluded SchemaTest until get fixed.

 Thanks


 Thanks,
 Ishan.
 --
 Ishan Jayawardena
 Software Engineer
 Integration Technologies Team
 WSO2, Inc. http://wso2.com/



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




 --

 Subash Chaturanga
 Software Engineer
 WSO2 Inc. http://wso2.com

 email - sub...@wso2.com
 phone - 077 2225922




 --

 Subash Chaturanga
 Software Engineer
 WSO2 Inc. http://wso2.com

 email - sub...@wso2.com
 phone - 077 2225922


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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Bamboo Fails On - Registry TestNG Test Module

2012-04-19 Thread Vijitha Kumara
This didn't fail locally (I ran a verify including all the products with a
latest build). We might need to log some params etc... inside the test to
see what happens in Bamboo. Will do it today and we can see the results
with the next build in Bamboo.

Regards,

On Thu, Apr 19, 2012 at 3:27 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi guys,

 If you debug the failure and test it, may be it will give a hint. Or else
 if it is not reproducible locally, let the test actually fail but printout
 the names of the failed schemas in the failure message
 (i.e. assertEquals(2, schemas.length, MESSAGE).

 Thanks,
 Senaka.


 On Thu, Apr 19, 2012 at 1:47 PM, Vijitha Kumara viji...@wso2.com wrote:


 This seems bit strange, the real test case expects the length to be 2 but
 the test failure complains it expects 3...


 -
 build 18-Apr-2012 17:01:13 Failed tests:
 build 18-Apr-2012 17:01:13  
 testAddSchema(org.wso2.carbon.registry.governance.api.test.SchemaTestCase):
 expected:3 but was:2
 build 18-Apr-2012 17:01:13
 build 18-Apr-2012 17:01:13 Tests run: 233, Failures: 1, Errors: 0,
 Skipped: 0

 -

 Test case:

 -
 Schema[] schemas = schemaManager.findSchemas(new SchemaFilter() {
 public boolean matches(Schema schema) throws
 GovernanceException {
 if (schema.getAttribute(version).equals(0.01)) {
 return true;
 }
 return false;
 }
 });
 *assertEquals(2, schemas.length);*
 assertEquals(newSchema.getId(), schemas[0].getId());

 -

 Regards,

 On Thu, Apr 19, 2012 at 10:56 AM, Subash Chaturanga sub...@wso2.comwrote:



 On Thu, Apr 19, 2012 at 10:41 AM, Subash Chaturanga sub...@wso2.comwrote:



 On Thu, Apr 19, 2012 at 10:19 AM, Ishan Jayawardena is...@wso2.comwrote:

 Hi, please have a look at this error. Attached Log.


 Hi,  already saw this on bamboo logs and working on it, this is not
 only due to a testng failure. But product-governance-services also fails.

 - governance stratos fails.

 There was patch for this fix, and not yet commited. I think Dimuthu is
 looking in to this to commit the patch.


 - 1 test failure and I am locally trying to reproduce this.(This was a
 randomly failing test and we intentionally add this(+ two other tests) to
 see the behavior of this, because we couldn't reproduce this locally in
 anyway).

 Excluded SchemaTest until get fixed.

  Thanks


 Thanks,
 Ishan.
 --
 Ishan Jayawardena
 Software Engineer
 Integration Technologies Team
 WSO2, Inc. http://wso2.com/



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




 --

 Subash Chaturanga
 Software Engineer
 WSO2 Inc. http://wso2.com

 email - sub...@wso2.com
 phone - 077 2225922




 --

 Subash Chaturanga
 Software Engineer
 WSO2 Inc. http://wso2.com

 email - sub...@wso2.com
 phone - 077 2225922


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




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com

 Lean . Enterprise . Middleware


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




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *
 Lean . Enterprise . Middleware




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


[Dev] Failure in ESB samples

2012-04-18 Thread Vijitha Kumara
FYI...

Encountered this while running a verify against the platform...

==
Results :

Failed tests:
testOutgoingSecurity(org.wso2.esb.samples.security.Sample100Test): Read
timed out

testSecurityHeadersPassThrough(org.wso2.esb.samples.security.Sample153Test):
Error in encryption
  testSecuredProxyService(org.wso2.esb.samples.security.Sample200Test):
Error in encryption

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

==

-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Redundant Time logged in Authentication audit records

2012-04-18 Thread Vijitha Kumara
And it seems to log the statement at least twice (for example when logging
it print the same twice). Is this the default behavior?

I get six log statements on the console in just logged in and traverse to
the search screen...

=
[2012-04-18 16:40:16,472]  INFO
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
logged in at [2012-04-18 16:40:16,472+0530] from IP address 127.0.0.1
[2012-04-18 16:40:16,502]  INFO
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
logged in at [2012-04-18 16:40:16,502+0530] from IP address 127.0.0.1
[2012-04-18 16:40:22,472]  INFO
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
logged in at [2012-04-18 16:40:22,471+0530] from IP address 127.0.0.1
[2012-04-18 16:40:22,494]  INFO
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
logged in at [2012-04-18 16:40:22,494+0530] from IP address 127.0.0.1
[2012-04-18 16:40:24,271]  INFO
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
logged in at [2012-04-18 16:40:24,271+0530] from IP address 127.0.0.1
[2012-04-18 16:40:24,315]  INFO
{org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
logged in at [2012-04-18 16:40:24,315+0530] from IP address 127.0.0.1
=

Regards,

On Mon, Apr 16, 2012 at 1:09 PM, Afkham Azeez az...@wso2.com wrote:



 On Sat, Apr 14, 2012 at 12:30 PM, Senaka Fernando sen...@wso2.com wrote:

 *[2012-04-14 05:01:03,430]*  INFO
 {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
 logged in at *[2012-04-14 05:01:03,0429]* from IP address 10.0.0.14

 Why do we need to have the time logged twice? and, interestingly why do
 we have a leading zero in the number of milliseconds? that will never go
 beyond 999, :-).


 The 4 digits is due to a bug in the way we have defined the
 SimpleDateFormat. It has to be changed to;
 '['-MM-dd HH:mm:ss,SSS*Z*']' from '['-MM-dd HH:mm:ss,SSS*S*
 ']'

 It is not that the time is logged twice. It is obvious that the first
 timestamp is added by log4j, and that can be removed as per the user
 discretion using the log4j.properties file. However, the authentication
 logic is independent from log4j, and has to record all information
 necessary, independent of how the underlying logging framework is
 configured.




 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*


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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Redundant Time logged in Authentication audit records

2012-04-18 Thread Vijitha Kumara
This actually happens in my local build (up taken yesterday). Not happen in
Alpha 3 packs. Perhaps a latest change has caused this?

On Wed, Apr 18, 2012 at 4:53 PM, Afkham Azeez az...@wso2.com wrote:

 If you carefully look, the log4j timestamps are different. For a single
 login, you should get only one login statement.

 On Wed, Apr 18, 2012 at 4:42 PM, Vijitha Kumara viji...@wso2.com wrote:

 16,502




 --
 *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*




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Failure in ESB samples

2012-04-18 Thread Vijitha Kumara
Thanks Hiranya  Charitha, it seems to fine now.

On Wed, Apr 18, 2012 at 1:47 PM, Charitha Kankanamge chari...@wso2.comwrote:


 http://charithaka.blogspot.com/2008/08/how-to-avoid-javasecurityinvalidkeyexce.html

 /Charitha



 On Wed, Apr 18, 2012 at 1:38 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 You need to install the JCE policy files to run security samples.

 Thanks,
 Hiranya

 On Wed, Apr 18, 2012 at 1:29 PM, Vijitha Kumara viji...@wso2.com wrote:

 FYI...

 Encountered this while running a verify against the platform...

 ==
 Results :

 Failed tests:
 testOutgoingSecurity(org.wso2.esb.samples.security.Sample100Test): Read
 timed out

 testSecurityHeadersPassThrough(org.wso2.esb.samples.security.Sample153Test):
 Error in encryption
   testSecuredProxyService(org.wso2.esb.samples.security.Sample200Test):
 Error in encryption

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

 ==

 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com

 Lean . Enterprise . Middleware


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




 --
 Hiranya Jayathilaka
 Associate Technical Lead;
 WSO2 Inc.;  http://wso2.org
 E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
 Blog: http://techfeast-hiranya.blogspot.com

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





-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


[Dev] MB TestNG failure

2012-04-18 Thread Vijitha Kumara
Hi All,

While running a verify for the products there's a failure in MB:

==
Running TestSuite
Configuring TestNG with:
org.apache.maven.surefire.testng.conf.TestNGMapConfigurator@2dcb25f1
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/home/vijitha/Local-Repo/maven-clean/org/slf4j/slf4j-log4j12/1.5.10/slf4j-log4j12-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/home/vijitha/Local-Repo/maven-clean/org/slf4j/slf4j-jdk14/1.5.2/slf4j-jdk14-1.5.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
[2012-04-19 10:27:10,335]  INFO
{org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying
/home/vijitha/Src-Repo/carbon/platform/trunk/products/mb/modules/integration/../../../integration/security-verifier/target/SecVerifier.aar
=
/home/vijitha/Src-Repo/carbon/platform/trunk/products/mb/modules/integration/target/carbontmp1334811428447/wso2mb-1.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
[2012-04-19 10:27:10,426]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 JAVA_HOME environment variable is set to /usr/lib/java6/jdk1.6.0_30
[2012-04-19 10:27:10,426]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 CARBON_HOME environment variable is set to
/home/vijitha/Src-Repo/carbon/platform/trunk/products/mb/modules/integration/target/carbontmp1334811428447/wso2mb-1.0.0-SNAPSHOT
[2012-04-19 10:27:10,500] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  Class
not found: java.net.CarbonInet6AddressImpl:
[2012-04-19 10:27:10,500] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  check
impl.prefix property in your properties file.
Tests run: 5, Failures: 1, Errors: 0, Skipped: 4, Time elapsed: 300.327 sec
 FAILURE!
[2012-04-19 10:32:08,512]  INFO
{org.wso2.carbon.integration.framework.utils.ServerUtils} -  Shutting down
server...

Results :

Failed tests:
startServer(org.wso2.mb.integration.tests.MBTestServerManager): Method
org.testng.internal.ConfigurationMethod.startServer() didn't finish within
the time-out 30

Tests run: 5, Failures: 1, Errors: 0, Skipped: 4
==

-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Platform build error

2012-04-16 Thread Vijitha Kumara
Hi AmilaJ,

It seems the patch is not committed to the trunk. Can we get this committed
please or we might miss this :)


Regards,

On Tue, Apr 3, 2012 at 5:39 PM, Vijitha Kumara viji...@wso2.com wrote:

 Hi AmilaJ,

 This patch works and the build succeeded.

 Regards,


 On Tue, Apr 3, 2012 at 11:37 AM, Vijitha Kumara viji...@wso2.com wrote:

 Thanks AmilaJ, no worries :)

 I'll try the patch locally...


 On Tue, Apr 3, 2012 at 11:29 AM, Amila Jayasekara ami...@wso2.comwrote:

 Hi Vijitha,

 Sorry, I have missed this from some products. Attaching a diff which
 fixes the issue. SVN seems to be still in freezed state. Person with
 commit rights please apply the patch.

 Sorry for the inconvenience.

 Thanks
 AmilaJ

 On Tue, Apr 3, 2012 at 10:59 AM, Vijitha Kumara viji...@wso2.com
 wrote:
  And the pom contains a dependency for the carbon.thread.jar:
 
  
 
   dependencies
  dependency
  groupIdorg.wso2.carbon/groupId
  artifactIdwso2carbon-core/artifactId
  version${carbon.version}/version
  typezip/type
  /dependency
  dependency
  groupIdorg.wso2.carbon/groupId
  artifactIdorg.wso2.carbon.thread/artifactId
  version${carbon.platform.version}/version
  /dependency
  dependency
  --
 
 
  On Tue, Apr 3, 2012 at 10:57 AM, Vijitha Kumara viji...@wso2.com
 wrote:
 
  Hi AmilaJ,
 
  This comes while platform is built from the WSO2 Stratos - Cloud
  Governance Distribution module.
 
  
  [INFO] WSO2 Governance Registry - Distribution ... SUCCESS
  [1:04.704s]
  [INFO] WSO2 Stratos - Cloud Governance Distribution .. FAILURE
  [11.728s]
  
 
 
  Regards,
 
 
  On Tue, Apr 3, 2012 at 10:16 AM, Amila Jayasekara ami...@wso2.com
 wrote:
 
  Yes, this (org.wso2.carbon:org.wso2.carbon.thread.jar) is removed.
  From where are you getting this build failure ? I mean what is the
  component you build ?
 
  - AmilaJ
 
  On Tue, Apr 3, 2012 at 8:49 AM, Vijitha Kumara viji...@wso2.com
 wrote:
   Thanks, My Bad, had picked the wrong list and yes this was in the
   trunk.Let's wait for confirmation...
  
  
   On Tue, Apr 3, 2012 at 8:25 AM, Amila Maha Arachchi 
 ami...@wso2.com
   wrote:
  
   Hi Vijitha,
  
   AmilaJ was working on removing this jar IIRC. AJ, can you confirm?
  
   Thanks,
   AmilaM.
  
   On Mon, Apr 2, 2012 at 8:25 PM, Vijitha Kumara viji...@wso2.com
   wrote:
  
   Hi All,
  
   Below error while building the platform from a clean M2 repo. Is
 this
   known?
  
  
   =
  
   [ERROR] Failed to execute goal on project wso2stratos-governance:
   Could
   not resolve dependencies for project
   org.wso2.governance:wso2stratos-governance:jar:1.1.0-SNAPSHOT:
 Could
   not
   find artifact
   org.wso2.carbon:org.wso2.carbon.thread:jar:4.0.0-SNAPSHOT in
   wso2-nexus (
 http://maven.wso2.org/nexus/content/groups/wso2-public/)
   -
   [Help 1]
   [ERROR]
   =
  
   --
   Vijitha Kumara
   Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
   email: viji...@wso2.com
  
   Lean . Enterprise . Middleware
  
  
  
  
   --
   Amila Maharachchi
   Senior Software Engineer; WSO2, Inc.; http://wso2.com
  
   Blog: http://maharachchi.blogspot.com
   Mobile: +94719371446
  
  
  
  
  
   --
   Vijitha Kumara
   Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
   email: viji...@wso2.com
  
   Lean . Enterprise . Middleware
  
 
 
 
  --
  Mobile : +94773330538
 
 
 
 
  --
  Vijitha Kumara
  Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
  email: viji...@wso2.com
 
  Lean . Enterprise . Middleware
 
 
 
 
  --
  Vijitha Kumara
  Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
  email: viji...@wso2.com
 
  Lean . Enterprise . Middleware
 



 --
 Mobile : +94773330538




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com

 Lean . Enterprise . Middleware




 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com

 Lean . Enterprise . Middleware




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


Re: [Dev] Error message when starting samples/axis2Server

2012-04-16 Thread Vijitha Kumara
)
 at
 org.apache.commons.logging.impl.Log4JLogger.init(Log4JLogger.java:109)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 at
 org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1116)
 at
 org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:914)
 at
 org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
 at
 org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
 at
 org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
 at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
 at
 org.wso2.bps.samples.util.SampleAxis2Server.clinit(SampleAxis2Server.java:24)
 log4j:ERROR Either File or DatePattern options are not set for appender
 [CARBON_TRACE_LOGFILE].

 [1] :
 http://builder4.us1.wso2.org:/bamboo/artifact/WSO2CARBON-PRODUCTS/JOB1/build-51/BPS/wso2bps-3.0.0-SNAPSHOT.zip

 Regards,
 SanjayaV.

 --
 Sanjaya Vithanagama
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 342 2881


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/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*


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




-- 
Vijitha Kumara
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: viji...@wso2.com

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


  1   2   >