Re: [Dev] Error when enabling the deployment synchronizer

2012-03-28 Thread Hiranya Jayathilaka
Miyuru fixed it.

On Wed, Mar 28, 2012 at 11:29 AM, Thilini Ishaka thil...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:22 AM, Srinath Perera srin...@wso2.com wrote:

 was this fixed .. else at least open a Jira

 This issue was found from the local build done yesterday too.
 I have already created a JIRA https://wso2.org/jira/browse/CARBON-12742 
 https://wso2.org/jira/browse/CARBON-12742

 Thanks
 Thilini


 On Mon, Mar 26, 2012 at 6:46 PM, Thilini Ishaka thil...@wso2.com wrote:
  I get below exception on ESB console when enabling the deployment
  synchronizer in the latest trunk build.
 
  [2012-03-26 18:36:27,754] ERROR - RPCInOnlyMessageReceiver Exception
  occurred while trying to invoke service method
  enableSynchronizerForCarbonRepository
  java.lang.NullPointerException
  at
 
 org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizationManager.scheduleSynchronizationTask(DeploymentSynchronizationManager.java:162)
  at
 
 org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizer.start(DeploymentSynchronizer.java:107)
  at
 
 org.wso2.carbon.deployment.synchronizer.services.DeploymentSynchronizerAdmin.enableSynchronizerForCarbonRepository(DeploymentSynchronizerAdmin.java:49)
  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.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
  at
 
 org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
  at
 
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
  at
 
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
  at
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
  at
 
 org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:205)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  at
 
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
  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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
  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)
  at
 
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:60)
  at
 
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:155)
  at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
  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:987)
  at
 
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
  at
 
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1600)
  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)
 
 
  Thanks
  Thilni
 
  --
  Regards
 
  Thilini Ishaka
  Platform  Cloud Technologies
  WSO2 Inc. http://wso2.com
  Mobile: +94 71 840 8171
  +94 77 211 8797
  Bolg: thiliniishaka.blogspot.com
 
 
  ___
  Dev mailing list
  Dev@wso2.org
  http://wso2.org/cgi-bin/mailman/listinfo/dev
 



 --
 
 Srinath Perera, Ph.D.
http://www.cs.indiana.edu/~hperera/
http://srinathsview.blogspot.com/




 --
 *Regards*

 *Thilini Ishaka*
 *Platform  Cloud Technologies*
 ***WSO2 Inc. http://wso2.com
 *

[Dev] [Bamboo-Build] WSO2 Carbon Products #8 has FAILED (1 tests failed, no failures were new). Change made by 7 authors.

2012-03-28 Thread Bamboo

---
WSO2 Carbon  Products  #8 failed.
---
This build was manually triggered by BambooBuilder.
1/1 tests failed, no failures were new.

http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-8/


--
Failing Jobs
--
  - Default Job (Default Stage): 1 of 1 tests failed.


--
Code Changes
--
krishantha (124205):

Test case for CARBON-10973

sinthuja (124212):

correcting artifact id due to recent change of artifact id change bam2

nirmal (124200):

Changes done to Agent Service Recovery and adds a singleton class to keep data 
of JVM adapter



--
Tests
--
Existing Test Failures (1)
   - ISTestServerManager: Start server

--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] ESB Build Break

2012-03-28 Thread Hiranya Jayathilaka
Installation failed.
Cannot complete the install because one or more required items could not be
found.
 Software being installed: WSO2 Carbon - Transport Management Feature
4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.feature.group 4.0.0.SNAPSHOT)
 Missing requirement: org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT
(org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT) requires 'package
javax.xml.namespace [1.0.0,2.0.0)' but it could not be found
 Cannot satisfy dependency:
  From: WSO2 Carbon - Transport Management Feature 4.0.0.SNAPSHOT
(org.wso2.carbon.transport.mgt.feature.group 4.0.0.SNAPSHOT)
  To: org.wso2.carbon.transport.mgt.ui.feature.group [4.0.0.SNAPSHOT]
 Cannot satisfy dependency:
  From: org.wso2.carbon.transport.mgt.ui 4.0.0.SNAPSHOT
(org.wso2.carbon.transport.mgt.ui 4.0.0.SNAPSHOT)
  To: package org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT
 Cannot satisfy dependency:
  From: WSO2 Carbon - Transport Management UI Feature 4.0.0.SNAPSHOT
(org.wso2.carbon.transport.mgt.ui.feature.group 4.0.0.SNAPSHOT)
  To: org.wso2.carbon.transport.mgt.ui [4.0.0.SNAPSHOT]


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


Re: [Dev] Error when enabling the deployment synchronizer

2012-03-28 Thread Thilini Ishaka
Hi Hiranya,
This is a different issue what Miyuru fixed here.
https://wso2.org/jira/browse/CARBON-12555
 https://wso2.org/jira/browse/CARBON-12555Even
https://wso2.org/jira/browse/CARBON-12742
https://wso2.org/jira/browse/CARBON-12742 can
be reproduce with
http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-3/artifact/JOB1/ESB

http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-3/artifact/JOB1/ESB
Thanks

On Wed, Mar 28, 2012 at 11:31 AM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Miyuru fixed it.


 On Wed, Mar 28, 2012 at 11:29 AM, Thilini Ishaka thil...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:22 AM, Srinath Perera srin...@wso2.comwrote:

 was this fixed .. else at least open a Jira

 This issue was found from the local build done yesterday too.
 I have already created a JIRA https://wso2.org/jira/browse/CARBON-12742 
 https://wso2.org/jira/browse/CARBON-12742

 Thanks
 Thilini


 On Mon, Mar 26, 2012 at 6:46 PM, Thilini Ishaka thil...@wso2.com
 wrote:
  I get below exception on ESB console when enabling the deployment
  synchronizer in the latest trunk build.
 
  [2012-03-26 18:36:27,754] ERROR - RPCInOnlyMessageReceiver Exception
  occurred while trying to invoke service method
  enableSynchronizerForCarbonRepository
  java.lang.NullPointerException
  at
 
 org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizationManager.scheduleSynchronizationTask(DeploymentSynchronizationManager.java:162)
  at
 
 org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizer.start(DeploymentSynchronizer.java:107)
  at
 
 org.wso2.carbon.deployment.synchronizer.services.DeploymentSynchronizerAdmin.enableSynchronizerForCarbonRepository(DeploymentSynchronizerAdmin.java:49)
  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.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
  at
 
 org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
  at
 
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
  at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
  at
 
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
  at
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
  at
 
 org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:205)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  at
 
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
  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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
  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)
  at
 
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:60)
  at
 
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:155)
  at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
  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:987)
  at
 
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
  at
 
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1600)
  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)
 
 
  Thanks
  Thilni
 
  --
  Regards
 
  Thilini Ishaka
  

Re: [Dev] ESB Build Break

2012-03-28 Thread Sanjaya Vithanagama
Getting the same issue for BPS as well :( . This was also reported in the
thread Errors when building AS.

On Wed, Mar 28, 2012 at 11:40 AM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - Transport Management Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.feature.group 4.0.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT
 (org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT) requires 'package
 javax.xml.namespace [1.0.0,2.0.0)' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.transport.mgt.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.ui.feature.group [4.0.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: org.wso2.carbon.transport.mgt.ui 4.0.0.SNAPSHOT
 (org.wso2.carbon.transport.mgt.ui 4.0.0.SNAPSHOT)
   To: package org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management UI Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.transport.mgt.ui.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.ui [4.0.0.SNAPSHOT]


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




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


Re: [Dev] Errors when building AS

2012-03-28 Thread Manjula Rathnayake
On Wed, Mar 28, 2012 at 11:52 AM, Isuru Suriarachchi is...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:18 AM, Manjula Rathnayake manju...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 11:12 AM, Kasun Gajasinghe kas...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 10:27 AM, Manjula Rathnayake 
 manju...@wso2.comwrote:



 On Tue, Mar 27, 2012 at 8:18 PM, Sinthuja Ragendran 
 sinth...@wso2.comwrote:

 Hi,

 I'm also experiencing similar error mentioning '*requires 'package
 javax.xml.namespace [1.0.0,2.0.0)' but it could not be found*' when
 installing the Transport Management Feature in product-BAM2.


 Have we sorted out this issue? I checked in orbit,carbon and platform
 poms, but I could not find a place where we export javax.xml.namespace
 package.

 Any others getting this error? Or it is local to me?


 No, it's still there. I'm also facing this issue. I think Bamboo will
 start complaining sooner.


 I exported in orbit axiom bundle, I will check the build and commit if
 there is no concern regarding this change.


 But before that, we have to find out how this issue came up and due to
 which change. Better if Pradeep also can have a look into this..

+1, I have done this change locally for getting packs to verify issues. We
need to find out root cause, and how it worked earlier. And we could not
figure out this with recent commit mails.

Thank you.


 Thanks,
 ~Isuru



 thank you.


 Thank you.


 Installation failed.

 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: WSO2 Carbon - Transport Management Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.feature.group 
 4.0.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.transport.mgt.stub
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT) 
 requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.transport.mgt.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.ui.feature.group [4.0.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management UI Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.transport.mgt.ui.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.stub [4.0.0.SNAPSHOT]

 Thanks,
 Sinthuja.



 On Tue, Mar 27, 2012 at 8:05 PM, Isuru Suriarachchi is...@wso2.comwrote:

 Looks like you haven't built data services ui feature.. I built AS
 after updating the entire platform about 4 hours ago and it built without
 any trouble..

 ~Isuru

 On Tue, Mar 27, 2012 at 7:35 PM, Manjula Rathnayake 
 manju...@wso2.com wrote:

 Hi all,

 Have we encountered this error?

 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: Data Service Hosting Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.dataservices.feature.group 
 4.0.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.dataservices.fileupload.stub
 4.0.0.SNAPSHOT (org.wso2.carbon.dataservices.fileupload.stub
 4.0.0.SNAPSHOT) requires 'package javax.xml.namespace [1.0.0,2.0.0)' 
 but it
 could not be found
  Cannot satisfy dependency:
   From: Data Service Hosting Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.dataservices.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.dataservices.ui.feature.group [4.0.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: Data Service Hosting UI Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.dataservices.ui.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.dataservices.fileupload.stub [4.0.0.SNAPSHOT]


 Thank you.

 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

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




 --
 Isuru Suriarachchi
 Technical Lead
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


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





 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

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




 --
 *Kasun Gajasinghe*
 Software Engineer; WSO2 Inc.; http://wso2.com

 ,
 *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813*
 *linked-in: *http://lk.linkedin.com/in/gajasinghe*
 *
  *blog: **http://blog.kasunbg.org* http://blog.kasunbg.org

 *
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg

 *
 *




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

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




 --
 Isuru Suriarachchi
 Technical Lead
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : 

Re: [Dev] [platform] why several libthrift orbit versions?

2012-03-28 Thread Thilini Ishaka
jira: https://wso2.org/jira/browse/CARBON-12748

On Wed, Mar 28, 2012 at 11:07 AM, Srinath Perera srin...@wso2.com wrote:

 +1

 On Wed, Mar 28, 2012 at 10:43 AM, Supun Malinga sup...@wso2.com wrote:
  Hi,
 
  I think we should make it use the same version. Otherwise it would lead
  to run-time errors in products or jar duplication.
 
  thanks,
 
  On Wed, Mar 28, 2012 at 10:38 AM, Thilini Ishaka thil...@wso2.com
 wrote:
 
 
  Noticed several libthrift orbit versions
  here
 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/dependencies/orbit/libthrift/
 
  Cassandra feature uses libthrift 0.6.1.wso2v1
  dss feature has libthrift 0.5.wso2v1
  identity and agent features have libthrift  0.8.0.wso2v1
 
  Is there any reason for this?
 
  Sorry if I have missed anything.
 
  Thanks
  Thilini
 
 
  --
  Regards
 
  Thilini Ishaka
  Platform  Cloud Technologies
  WSO2 Inc. http://wso2.com
  Mobile: +94 71 840 8171
  +94 77 211 8797
  Bolg: thiliniishaka.blogspot.com
 
 
  ___
  Dev mailing list
  Dev@wso2.org
  http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
 
  --
  Supun Malinga,
 
  Software Engineer,
  WSO2 Inc.
  http://wso2.com
  http://wso2.org
  email - sup...@wso2.com
  mobile - 071 56 91 321
 
 
  ___
  Dev mailing list
  Dev@wso2.org
  http://wso2.org/cgi-bin/mailman/listinfo/dev
 



 --
 
 Srinath Perera, Ph.D.
http://www.cs.indiana.edu/~hperera/
http://srinathsview.blogspot.com/




-- 
*Regards*

*Thilini Ishaka*
*Platform  Cloud Technologies*
***WSO2 Inc. http://wso2.com
*
*Mobile: +94 71 840 8171 *
*+94 77 211 8797*
*Bolg: thiliniishaka.blogspot.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Do we need $JAVA_HOME on windows?

2012-03-28 Thread Vijitha Kumara
If the product is Java based shouldn't it be the user's task to set these
things? When inside the JVM/Java he/she should not worry about any config
etc... (this is where Java's interoperability stays). But to get there they
need to setup the Java. Again the instructions need to be clear  precise
(and also simple enough to a computer user).

Of course if there's a standard way to find the JAVA_HOME (by backtracking
PATH etc...) no problem with that. But that should be some windows specific
stuff?

Just my humble opinion :)


On Wed, Mar 28, 2012 at 11:20 AM, Tharindu Mathew thari...@wso2.com wrote:

 I'm a .net guy who tries to start the wso2 server... and I'm told to set
 this JAVA_HOME... My first impression... this will not be as easy as the
 .net stuff I'm used to... Next, I'll go google this up and take about
 another half an hour to get this done.

 I'm working with a bunch of .net folks here and no one is complaining...
 but they are struggling to get the server to started...

 Something we need to fix? Maybe not, but it sure got me thinking...


 On Wed, Mar 28, 2012 at 10:55 AM, Thilina Buddhika thili...@wso2.comwrote:

 Most of the tools/servers like Maven, Ant, Tomcat, Apache DS requires
 users to set JAVA_HOME in advance which is kind of an standard approach.
 This is the case for most of the other proprietary app servers, etc.

 Some other tools, ask users to point to the JRE installation directory
 during their installation or it picks up the JRE installation and ask users
 to verify it.

 [ There can be other tools who will detect Java installation by checking
 the PATH variable or some other means. ]

 Because we do not provide any sophisticated UI based installer, our
 current approach should be fine IMO, given that we have clearly documented
 what needs to be done.

 Thanks,
 Thilina


 On Wed, Mar 28, 2012 at 10:41 AM, Vijitha Kumara viji...@wso2.comwrote:

  Usually in Windows when you install Java, the java binary becomes
 readily accessible from the command prompt.

 Installer adds an entry to ../bin to the PATH, AFAIR... But Tomcat etc..
 need JAVA_HOME to be available, not sure this has changed recently with the
 windows installers though.

 On Wed, Mar 28, 2012 at 10:18 AM, Hiranya Jayathilaka 
 hira...@wso2.comwrote:

 We use JAVA_HOME to locate the java binary in a reliable manner
 (JAVA_HOME/bin). I guess in Windows, there are other ways to locate it.
 Usually in Windows when you install Java, the java binary becomes readily
 accessible from the command prompt.

 Thanks,
 Hiranya


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

  Other programs seem to detect where it is...?

 Perhaps looking at a standard location C:/Program Files/Java... ?
 But cannot guarantee I guess.

 On Wed, Mar 28, 2012 at 10:11 AM, Thilina Buddhika 
 thili...@wso2.comwrote:

 If the JAVA_HOME environment variable is set in Windows(similar to
 Linux), then nothing additional is required to be done.

 It is pretty much similar to Linux.

 Thanks,
 Thilina

  On Wed, Mar 28, 2012 at 10:00 AM, Tharindu Mathew thari...@wso2.com
  wrote:

  Other programs seem to detect where it is... can we do the same?

 It's seems unnatural for a windows user to do this

 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/
 M: +9459908


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




 --
 Thilina Buddhika
 Associate Technical Lead
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.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




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




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




 --
 Thilina Buddhika
 Associate Technical Lead
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

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




 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/
 M: +9459908




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

Lean . Enterprise . Middleware

Re: [Dev] Errors when building AS

2012-03-28 Thread Isuru Suriarachchi
On Wed, Mar 28, 2012 at 12:00 PM, Manjula Rathnayake manju...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 11:52 AM, Isuru Suriarachchi is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 11:18 AM, Manjula Rathnayake 
 manju...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 11:12 AM, Kasun Gajasinghe kas...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 10:27 AM, Manjula Rathnayake manju...@wso2.com
  wrote:



 On Tue, Mar 27, 2012 at 8:18 PM, Sinthuja Ragendran sinth...@wso2.com
  wrote:

 Hi,

 I'm also experiencing similar error mentioning '*requires 'package
 javax.xml.namespace [1.0.0,2.0.0)' but it could not be found*' when
 installing the Transport Management Feature in product-BAM2.


 Have we sorted out this issue? I checked in orbit,carbon and platform
 poms, but I could not find a place where we export javax.xml.namespace
 package.

 Any others getting this error? Or it is local to me?


 No, it's still there. I'm also facing this issue. I think Bamboo will
 start complaining sooner.


 I exported in orbit axiom bundle, I will check the build and commit if
 there is no concern regarding this change.


 But before that, we have to find out how this issue came up and due to
 which change. Better if Pradeep also can have a look into this..

 +1, I have done this change locally for getting packs to verify issues. We
 need to find out root cause, and how it worked earlier. And we could not
 figure out this with recent commit mails.


Looks like non of the Carbon core guys are around. I'll have a look into
this..

Thanks,
~Isuru



 Thank you.


 Thanks,
 ~Isuru



 thank you.


 Thank you.


 Installation failed.

 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: WSO2 Carbon - Transport Management Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.feature.group 
 4.0.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.transport.mgt.stub
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT) 
 requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.transport.mgt.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.ui.feature.group [4.0.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management UI Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.transport.mgt.ui.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.stub [4.0.0.SNAPSHOT]

 Thanks,
 Sinthuja.



 On Tue, Mar 27, 2012 at 8:05 PM, Isuru Suriarachchi 
 is...@wso2.comwrote:

 Looks like you haven't built data services ui feature.. I built AS
 after updating the entire platform about 4 hours ago and it built 
 without
 any trouble..

 ~Isuru

 On Tue, Mar 27, 2012 at 7:35 PM, Manjula Rathnayake 
 manju...@wso2.com wrote:

 Hi all,

 Have we encountered this error?

 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: Data Service Hosting Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.dataservices.feature.group 
 4.0.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.dataservices.fileupload.stub
 4.0.0.SNAPSHOT (org.wso2.carbon.dataservices.fileupload.stub
 4.0.0.SNAPSHOT) requires 'package javax.xml.namespace [1.0.0,2.0.0)' 
 but it
 could not be found
  Cannot satisfy dependency:
   From: Data Service Hosting Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.dataservices.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.dataservices.ui.feature.group [4.0.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: Data Service Hosting UI Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.dataservices.ui.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.dataservices.fileupload.stub [4.0.0.SNAPSHOT]


 Thank you.

 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

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




 --
 Isuru Suriarachchi
 Technical Lead
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware


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





 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

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




 --
 *Kasun Gajasinghe*
 Software Engineer; WSO2 Inc.; http://wso2.com

 ,
 *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813*
 *linked-in: *http://lk.linkedin.com/in/gajasinghe*
 *
  *blog: **http://blog.kasunbg.org* http://blog.kasunbg.org

 *
 twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg

 *
 *




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

 

[Dev] Carbon logs out before session times out

2012-03-28 Thread Tharindu Mathew
I was experiencing this on and off. But sometimes $subject happens even
when you have to logged in a few seconds ago.

Product use : DSS 2.6.3, Carbon 3.2.3

Regards,

Tharindu

blog: http://mackiemathew.com/
M: +9459908
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Test Automation Dashboard

2012-03-28 Thread Srinath Perera
Hi NuwanW,

This looks great! Can we put the date with the build number as well?

--Srinath

On Tue, Mar 27, 2012 at 9:06 PM, Nuwan Wimalasekara nuw...@wso2.com wrote:
 Hi Srinath,

 You can access to the dashboard though following URL. Please note the link
 is not accessible from outside.

 http://192.168.0.21:9770/dashboard-4.0.0-SNAPSHOT/index.jsp

 Thanks
 Nuwanw


 On Mon, Mar 26, 2012 at 3:35 PM, Krishantha Samaraweera
 krishan...@wso2.com wrote:

 Hi Srinath,

 We lost automation test plan from bamboo due recent bamboo clean up. Need
 to setup the framework again on bamboo and configure it. BTW, last time we
 configured the automation framework to run after a successful build. However
 the framework got executed only few times as the build was unsuccessful. I
 think this is high time for us to setup the framework again on bamboo
 machine, will work on it. As the first step, we will include AS, ESB, G-Reg,
 DSS and BPS tests.

 Will send a link to hosted Dhasboard instance shortly.

 Thanks,
 Krishantha.


 On Mon, Mar 26, 2012 at 2:45 PM, Srinath Perera srin...@wso2.com wrote:

 do we have this Dashboard deployed with our Bamboo automation tests?
 if so, please send a link.

 --Srinath

 On Sat, Mar 17, 2012 at 7:54 PM, Amila Maha Arachchi ami...@wso2.com
 wrote:
  Nice work!
 
  Regards,
  AmilaM.
 
  On Fri, Mar 16, 2012 at 4:28 PM, Nuwan Wimalasekara nuw...@wso2.com
  wrote:
 
  Hi all,
 
  One of main drawback in System test framework was to keep test report
  history in place where we can see test status and stats. System test
  framework generate test reports as TestNG result XML files. But those
  reports only show the result of last test run. So there is no way to
  find
  past results by build. Therefore we added new feature to System test
  framework to parse result XML files and write result data to a
  database
  after each test framework execution. Dashboard is capable for display
  those
  result in proper manner.
 
  Dashboard address the visualization of the test results and history
  using
  Charts. Test Automation dashboard is a web application which display
  test
  results and history of System test framework builds. Web application
  is
  developed using JSP technology. It is bundled as a webapp file and can
  be
  deployed on any java application server such as WSO2 App server,
  Tomcat
  etc.. We have designed the Dashboard as separate project and
  integrated to
  System test framework. Related dashboard DB configuration can be found
  in
  framework.properties file in System test framework. So the idea is to
  reuse
  the Dashboard with any project which generate TestNG result XML files.
  Automation dashboard source can be found at [1]
 
  How to deploy Dashboard :
 
  1). Check out source of a dashboard from [1]
  2). Build the source to generate war file (mvn clean package)
  3). Extract a war file and open dbconf.properties in /WEB-INF/classes
  directory.
  4). Configure database connection properties(jdbc url should be same
  as
  database configuration in framework.property)
  5). Deploy the war fine on a application server.
  6). Run System test framework and check results using dashboard
 
  It will display all test result and you can navigate result history
  also.
 
  Please refer attached screen shots of Dashboard. DB script and table
  structure is also attached.
 
  Your feedbacks and suggestions are welcome.
 
  Thanks Chanaka for the support given for theme design.
 
  Thanks,
  NuwanW /Chamara
 
 
 
  [1] https://svn.wso2.org/repos/wso2/carbon/platform/trunk/platform-integration/dashboard/
  --
  Nuwan Wimalasekara
  Software Engineer - Test Automation
  WSO2, Inc.: http://wso2.com
  lean. enterprise. middleware
 
  phone: +94 71 668 4620
 
 
 
 
 
  ___
  Dev mailing list
  Dev@wso2.org
  http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
 
  --
  Amila Maharachchi
  Senior Software Engineer; 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
 



 --
 
 Srinath Perera, Ph.D.
    http://www.cs.indiana.edu/~hperera/
    http://srinathsview.blogspot.com/
 ___
 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




 --
 Nuwan Wimalasekara
 Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 phone: +94 71 668 4620







-- 

Srinath Perera, Ph.D.
  Senior Software Architect, WSO2 Inc.
  Visiting Faculty, University of Moratuwa
  Member, Apache Software Foundation
  Research Scientist, Lanka Software Foundation
  Blog: 

Re: [Dev] Test Automation Dashboard

2012-03-28 Thread Afkham Azeez
On Wed, Mar 28, 2012 at 12:43 PM, Srinath Perera srin...@wso2.com wrote:

 Hi NuwanW,

 This looks great! Can we put the date with the build number as well?


+1


 --Srinath

 On Tue, Mar 27, 2012 at 9:06 PM, Nuwan Wimalasekara nuw...@wso2.com
 wrote:
  Hi Srinath,
 
  You can access to the dashboard though following URL. Please note the
 link
  is not accessible from outside.
 
  http://192.168.0.21:9770/dashboard-4.0.0-SNAPSHOT/index.jsp
 
  Thanks
  Nuwanw
 
 
  On Mon, Mar 26, 2012 at 3:35 PM, Krishantha Samaraweera
  krishan...@wso2.com wrote:
 
  Hi Srinath,
 
  We lost automation test plan from bamboo due recent bamboo clean up.
 Need
  to setup the framework again on bamboo and configure it. BTW, last time
 we
  configured the automation framework to run after a successful build.
 However
  the framework got executed only few times as the build was
 unsuccessful. I
  think this is high time for us to setup the framework again on bamboo
  machine, will work on it. As the first step, we will include AS, ESB,
 G-Reg,
  DSS and BPS tests.
 
  Will send a link to hosted Dhasboard instance shortly.
 
  Thanks,
  Krishantha.
 
 
  On Mon, Mar 26, 2012 at 2:45 PM, Srinath Perera srin...@wso2.com
 wrote:
 
  do we have this Dashboard deployed with our Bamboo automation tests?
  if so, please send a link.
 
  --Srinath
 
  On Sat, Mar 17, 2012 at 7:54 PM, Amila Maha Arachchi ami...@wso2.com
  wrote:
   Nice work!
  
   Regards,
   AmilaM.
  
   On Fri, Mar 16, 2012 at 4:28 PM, Nuwan Wimalasekara nuw...@wso2.com
 
   wrote:
  
   Hi all,
  
   One of main drawback in System test framework was to keep test
 report
   history in place where we can see test status and stats. System test
   framework generate test reports as TestNG result XML files. But
 those
   reports only show the result of last test run. So there is no way to
   find
   past results by build. Therefore we added new feature to System test
   framework to parse result XML files and write result data to a
   database
   after each test framework execution. Dashboard is capable for
 display
   those
   result in proper manner.
  
   Dashboard address the visualization of the test results and history
   using
   Charts. Test Automation dashboard is a web application which display
   test
   results and history of System test framework builds. Web application
   is
   developed using JSP technology. It is bundled as a webapp file and
 can
   be
   deployed on any java application server such as WSO2 App server,
   Tomcat
   etc.. We have designed the Dashboard as separate project and
   integrated to
   System test framework. Related dashboard DB configuration can be
 found
   in
   framework.properties file in System test framework. So the idea is
 to
   reuse
   the Dashboard with any project which generate TestNG result XML
 files.
   Automation dashboard source can be found at [1]
  
   How to deploy Dashboard :
  
   1). Check out source of a dashboard from [1]
   2). Build the source to generate war file (mvn clean package)
   3). Extract a war file and open dbconf.properties in
 /WEB-INF/classes
   directory.
   4). Configure database connection properties(jdbc url should be same
   as
   database configuration in framework.property)
   5). Deploy the war fine on a application server.
   6). Run System test framework and check results using dashboard
  
   It will display all test result and you can navigate result history
   also.
  
   Please refer attached screen shots of Dashboard. DB script and table
   structure is also attached.
  
   Your feedbacks and suggestions are welcome.
  
   Thanks Chanaka for the support given for theme design.
  
   Thanks,
   NuwanW /Chamara
  
  
  
   [1]
 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/platform-integration/dashboard/
   --
   Nuwan Wimalasekara
   Software Engineer - Test Automation
   WSO2, Inc.: http://wso2.com
   lean. enterprise. middleware
  
   phone: +94 71 668 4620
  
  
  
  
  
   ___
   Dev mailing list
   Dev@wso2.org
   http://wso2.org/cgi-bin/mailman/listinfo/dev
  
  
  
  
   --
   Amila Maharachchi
   Senior Software Engineer; 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
  
 
 
 
  --
  
  Srinath Perera, Ph.D.
 http://www.cs.indiana.edu/~hperera/
 http://srinathsview.blogspot.com/
  ___
  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
 
 
 
 
  --
  Nuwan Wimalasekara
  Software Engineer - Test Automation
  WSO2, Inc.: http://wso2.com
  lean. enterprise. middleware
 
  phone: +94 

Re: [Dev] DSS exception at startup after deploying samples

2012-03-28 Thread Lakmali Baminiwatta
Hi,

I am looking into this. Jira has been created for the issue [1].

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

Thanks,
Lakmali


On Wed, Mar 28, 2012 at 11:23 AM, Tharindu Mathew thari...@wso2.com wrote:

 Hi,

 This is not a blocker right now for me :)

 But we should fix this. I go to the samples execute the ant script and
 start the server. I didn't run the event trigger sample but I assume that
 will not work.


 I get the following:

 [2012-03-28 10:51:57,590]  INFO
 {org.wso2.carbon.qpid.internal.QpidServiceComponent} -  Successfully
 connected to the server on port 5672
 [2012-03-28 10:51:57,718] ERROR
 {org.wso2.carbon.dataservices.core.engine.DataService} -  Error in setting
 event broker
 DS Fault Message: Error in event subscription for EPR: mailto:
 t...@test.com Topic:product_stock_low_topic
 DS Code: UNKNOWN_ERROR
 Nested Exception:-
 java.lang.NullPointerException

 at
 org.wso2.carbon.dataservices.core.description.event.EventTrigger.registerSubscribers(EventTrigger.java:134)
 at
 org.wso2.carbon.dataservices.core.description.event.EventTrigger.initEventBroker(EventTrigger.java:76)
 at
 org.wso2.carbon.dataservices.core.engine.DataService.initEventing(DataService.java:426)
 at
 org.wso2.carbon.dataservices.core.engine.DataService.setEventBroker(DataService.java:689)
 at
 org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.notifyEventServiceListeners(DataServicesDSComponent.java:240)
 at
 org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.doEventRealmInitiliased(DataServicesDSComponent.java:233)
 at
 org.wso2.carbon.dataservices.core.internal.DataServicesDSComponent.setRealmService(DataServicesDSComponent.java:139)
 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.ComponentReference.bind(ComponentReference.java:374)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:411)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bind(ServiceComponentProp.java:210)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:328)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:226)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:124)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:930)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:757)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:712)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:129)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:506)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:524)
 at
 org.wso2.carbon.event.core.internal.builder.EventBrokerBuilderDS.activate(EventBrokerBuilderDS.java:71)
 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:230)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:140)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:330)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:560)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:182)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:292)
 at
 

[Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Senaka Fernando
Hi all,

Carbon is no longer loading any instrumented jar on Windows. If we did some
MANIFEST manipulation, may be that we did it wrong. Azeez can you check?

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


Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Afkham Azeez
This happens if dropins are not working.

On Wed, Mar 28, 2012 at 1:04 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Carbon is no longer loading any instrumented jar on Windows. If we did
 some MANIFEST manipulation, may be that we did it wrong. Azeez can you
 check?

 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




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


[Dev] Creating Users in an Axis2 Service

2012-03-28 Thread metin d
Is it possible to create new users dynamically  from an Axis2 service which is 
deployed on Application Server ?___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] try it crashes browser when output is too large

2012-03-28 Thread Tharindu Mathew
Hi,

We faced $subject and couldn't figure out the problem until we reduced the
output to 10 elements.

Let's limit the number of elements displayed and display an appropriate
warning message. Otherwise, the impression is that the BE is not working.

-- 
Regards,

Tharindu

blog: http://mackiemathew.com/
M: +9459908
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Errors when building AS

2012-03-28 Thread Isuru Suriarachchi
OK, here's what I found so far.

* javax.xml.namespace package is taken from the JDK in our products (see
launch.ini)
* When a package is taken from the JDK, it's version is always 0.0.0
* So all the bundles which uses javax.xml.namespace package should import
it without specifying a version or with version 0.0.0
* Up to yesterday morning, all bundles which imports this package has
imported it without specifying a version
* But now, all stubs are importing javax.xml.namespace; version=
[1.0.0,2.0.0)
* When I have a look at poms of few stubs, there are no changes there and
no stub specifically import javax.xml.namespace in their bundle plugins
* AFAIK, maven bundle plugin adds import packages into MANIFEST.MF without
a version if there's no version specified
* But on current trunk, it adds the version [1.0.0,2.0.0) due to some
reason.

Now we have to find out the reason for this. Did anyone do any change
related to maven bundle plugin? May be a version change?

Thanks,
~Isuru

On Wed, Mar 28, 2012 at 12:15 PM, Isuru Suriarachchi is...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 12:00 PM, Manjula Rathnayake manju...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 11:52 AM, Isuru Suriarachchi is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 11:18 AM, Manjula Rathnayake 
 manju...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 11:12 AM, Kasun Gajasinghe kas...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 10:27 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Tue, Mar 27, 2012 at 8:18 PM, Sinthuja Ragendran 
 sinth...@wso2.com wrote:

 Hi,

 I'm also experiencing similar error mentioning '*requires 'package
 javax.xml.namespace [1.0.0,2.0.0)' but it could not be found*' when
 installing the Transport Management Feature in product-BAM2.


 Have we sorted out this issue? I checked in orbit,carbon and platform
 poms, but I could not find a place where we export javax.xml.namespace
 package.

 Any others getting this error? Or it is local to me?


 No, it's still there. I'm also facing this issue. I think Bamboo will
 start complaining sooner.


 I exported in orbit axiom bundle, I will check the build and commit if
 there is no concern regarding this change.


 But before that, we have to find out how this issue came up and due to
 which change. Better if Pradeep also can have a look into this..

 +1, I have done this change locally for getting packs to verify issues.
 We need to find out root cause, and how it worked earlier. And we could not
 figure out this with recent commit mails.


 Looks like non of the Carbon core guys are around. I'll have a look into
 this..

 Thanks,
 ~Isuru



 Thank you.


 Thanks,
 ~Isuru



 thank you.


 Thank you.


 Installation failed.

 Cannot complete the install because one or more required items could
 not be found.
  Software being installed: WSO2 Carbon - Transport Management
 Feature 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.feature.group
 4.0.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.transport.mgt.stub
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT) 
 requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.transport.mgt.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.ui.feature.group [4.0.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management UI Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.transport.mgt.ui.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.stub [4.0.0.SNAPSHOT]

 Thanks,
 Sinthuja.



 On Tue, Mar 27, 2012 at 8:05 PM, Isuru Suriarachchi 
 is...@wso2.comwrote:

 Looks like you haven't built data services ui feature.. I built AS
 after updating the entire platform about 4 hours ago and it built 
 without
 any trouble..

 ~Isuru

 On Tue, Mar 27, 2012 at 7:35 PM, Manjula Rathnayake 
 manju...@wso2.com wrote:

 Hi all,

 Have we encountered this error?

 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: Data Service Hosting Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.dataservices.feature.group 
 4.0.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.dataservices.fileupload.stub
 4.0.0.SNAPSHOT (org.wso2.carbon.dataservices.fileupload.stub
 4.0.0.SNAPSHOT) requires 'package javax.xml.namespace [1.0.0,2.0.0)' 
 but it
 could not be found
  Cannot satisfy dependency:
   From: Data Service Hosting Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.dataservices.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.dataservices.ui.feature.group
 [4.0.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: Data Service Hosting UI Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.dataservices.ui.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.dataservices.fileupload.stub [4.0.0.SNAPSHOT]


 Thank you.

 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

 

[Dev] [Bamboo-Build] WSO2 Carbon platform #30 has FAILED. Change made by 4 authors.

2012-03-28 Thread Bamboo

---
WSO2 Carbon  platform  #30 failed.
---
This build was manually triggered by BambooBuilder.
No failed tests found, a possible compilation error.

http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-30/


--
Failing Jobs
--
  - Default Job (Default Stage): 2019 tests passed.


--
Code Changes
--
achala (124219):

Admin services should be exposed only via HTTPS

charith (124221):

adding builder profile

charith (124222):

adding activation properties



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Errors when building AS

2012-03-28 Thread Kathiravelu Pradeeban
On Wed, Mar 28, 2012 at 2:12 PM, Isuru Suriarachchi is...@wso2.com wrote:

 OK, here's what I found so far.

 * javax.xml.namespace package is taken from the JDK in our products (see
 launch.ini)
 * When a package is taken from the JDK, it's version is always 0.0.0
 * So all the bundles which uses javax.xml.namespace package should import
 it without specifying a version or with version 0.0.0
 * Up to yesterday morning, all bundles which imports this package has
 imported it without specifying a version
 * But now, all stubs are importing javax.xml.namespace; version=
 [1.0.0,2.0.0)
 * When I have a look at poms of few stubs, there are no changes there and
 no stub specifically import javax.xml.namespace in their bundle plugins
 * AFAIK, maven bundle plugin adds import packages into MANIFEST.MF without
 a version if there's no version specified
 * But on current trunk, it adds the version [1.0.0,2.0.0) due to some
 reason.

 Now we have to find out the reason for this. Did anyone do any change
 related to maven bundle plugin? May be a version change?


I did a version declaration in carbon/orbit/trunk/pom.xml for the plugin to
be 2.3.7, to address the maven3 warnings, in the commit 124152.
We are looking into this to see whether that could be the case.

Regards,
Pradeeban.



 Thanks,
 ~Isuru

 On Wed, Mar 28, 2012 at 12:15 PM, Isuru Suriarachchi is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 12:00 PM, Manjula Rathnayake 
 manju...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 11:52 AM, Isuru Suriarachchi is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 11:18 AM, Manjula Rathnayake manju...@wso2.com
  wrote:



 On Wed, Mar 28, 2012 at 11:12 AM, Kasun Gajasinghe kas...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 10:27 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Tue, Mar 27, 2012 at 8:18 PM, Sinthuja Ragendran 
 sinth...@wso2.com wrote:

 Hi,

 I'm also experiencing similar error mentioning '*requires 'package
 javax.xml.namespace [1.0.0,2.0.0)' but it could not be found*'
 when installing the Transport Management Feature in product-BAM2.


 Have we sorted out this issue? I checked in orbit,carbon and
 platform poms, but I could not find a place where we export
 javax.xml.namespace package.

 Any others getting this error? Or it is local to me?


 No, it's still there. I'm also facing this issue. I think Bamboo will
 start complaining sooner.


 I exported in orbit axiom bundle, I will check the build and commit if
 there is no concern regarding this change.


 But before that, we have to find out how this issue came up and due to
 which change. Better if Pradeep also can have a look into this..

 +1, I have done this change locally for getting packs to verify issues.
 We need to find out root cause, and how it worked earlier. And we could not
 figure out this with recent commit mails.


 Looks like non of the Carbon core guys are around. I'll have a look into
 this..

 Thanks,
 ~Isuru



 Thank you.


 Thanks,
 ~Isuru



 thank you.


 Thank you.


 Installation failed.

 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: WSO2 Carbon - Transport Management
 Feature 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.feature.group
 4.0.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.transport.mgt.stub
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT) 
 requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.transport.mgt.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.ui.feature.group
 [4.0.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management UI Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.ui.feature.group
 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.stub [4.0.0.SNAPSHOT]

 Thanks,
 Sinthuja.



 On Tue, Mar 27, 2012 at 8:05 PM, Isuru Suriarachchi is...@wso2.com
  wrote:

 Looks like you haven't built data services ui feature.. I built AS
 after updating the entire platform about 4 hours ago and it built 
 without
 any trouble..

 ~Isuru

 On Tue, Mar 27, 2012 at 7:35 PM, Manjula Rathnayake 
 manju...@wso2.com wrote:

 Hi all,

 Have we encountered this error?

 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: Data Service Hosting Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.dataservices.feature.group 
 4.0.0.SNAPSHOT)
  Missing requirement:
 org.wso2.carbon.dataservices.fileupload.stub 4.0.0.SNAPSHOT
 (org.wso2.carbon.dataservices.fileupload.stub 4.0.0.SNAPSHOT) 
 requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be found
  Cannot satisfy dependency:
   From: Data Service Hosting Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.dataservices.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.dataservices.ui.feature.group
 [4.0.0.SNAPSHOT]
  

Re: [Dev] Do we need $JAVA_HOME on windows?

2012-03-28 Thread Chintana Wilamuna
IMO this it's no big deal to give control to the user to do this. We were
working with .Net devs a while back and they had no problem setting up
everything. They're knew Windows + .Net pretty well.

-Chintana

On Wed, Mar 28, 2012 at 11:20 AM, Tharindu Mathew thari...@wso2.com wrote:

 I'm a .net guy who tries to start the wso2 server... and I'm told to set
 this JAVA_HOME... My first impression... this will not be as easy as the
 .net stuff I'm used to... Next, I'll go google this up and take about
 another half an hour to get this done.

 I'm working with a bunch of .net folks here and no one is complaining...
 but they are struggling to get the server to started...

 Something we need to fix? Maybe not, but it sure got me thinking...


 On Wed, Mar 28, 2012 at 10:55 AM, Thilina Buddhika thili...@wso2.comwrote:

 Most of the tools/servers like Maven, Ant, Tomcat, Apache DS requires
 users to set JAVA_HOME in advance which is kind of an standard approach.
 This is the case for most of the other proprietary app servers, etc.

 Some other tools, ask users to point to the JRE installation directory
 during their installation or it picks up the JRE installation and ask users
 to verify it.

 [ There can be other tools who will detect Java installation by checking
 the PATH variable or some other means. ]

 Because we do not provide any sophisticated UI based installer, our
 current approach should be fine IMO, given that we have clearly documented
 what needs to be done.

 Thanks,
 Thilina


 On Wed, Mar 28, 2012 at 10:41 AM, Vijitha Kumara viji...@wso2.comwrote:

  Usually in Windows when you install Java, the java binary becomes
 readily accessible from the command prompt.

 Installer adds an entry to ../bin to the PATH, AFAIR... But Tomcat etc..
 need JAVA_HOME to be available, not sure this has changed recently with the
 windows installers though.

 On Wed, Mar 28, 2012 at 10:18 AM, Hiranya Jayathilaka 
 hira...@wso2.comwrote:

 We use JAVA_HOME to locate the java binary in a reliable manner
 (JAVA_HOME/bin). I guess in Windows, there are other ways to locate it.
 Usually in Windows when you install Java, the java binary becomes readily
 accessible from the command prompt.

 Thanks,
 Hiranya


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

  Other programs seem to detect where it is...?

 Perhaps looking at a standard location C:/Program Files/Java... ?
 But cannot guarantee I guess.

 On Wed, Mar 28, 2012 at 10:11 AM, Thilina Buddhika 
 thili...@wso2.comwrote:

 If the JAVA_HOME environment variable is set in Windows(similar to
 Linux), then nothing additional is required to be done.

 It is pretty much similar to Linux.

 Thanks,
 Thilina

  On Wed, Mar 28, 2012 at 10:00 AM, Tharindu Mathew thari...@wso2.com
  wrote:

  Other programs seem to detect where it is... can we do the same?

 It's seems unnatural for a windows user to do this

 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/
 M: +9459908


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




 --
 Thilina Buddhika
 Associate Technical Lead
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.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




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




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




 --
 Thilina Buddhika
 Associate Technical Lead
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

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




 --
 Regards,

 Tharindu

 blog: http://mackiemathew.com/
 M: +9459908


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




-- 
Chintana Wilamuna
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

phone: +94 75 211 1106
blog: http://engwar.com/
photos: http://flickr.com/photos/chintana
linkedin: http://www.linkedin.com/in/engwar
twitter: twitter.com/std_err
___
Dev mailing list

Re: [Dev] getting denied.system.properties property is not specified error in my stratos local setup

2012-03-28 Thread Manjula Rathnayake
Hi Supun,

The Stratos setup script is broken at the moment due to changing
configuration file paths. I will work with Damitha to fix this.

Thank you.

On Wed, Mar 28, 2012 at 2:08 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 This happens after I run the setup script and try to start stratos AS.
 But the before the stratos setup script run, stratos AS pack started fine.
 So I would assume some property change done by the setup script cause this.
 Would be helpful to know what this error means.

 error,
 JAVA_HOME environment variable is set to /home/disk1/Programs/jdk1.6.0_24
 CARBON_HOME environment variable is set to
 /home/supun/smoke/stratos/wso2stratos-as-1.1.0-SNAPSHOT
 Error occurred during initialization of VM
 java.lang.ExceptionInInitializerError
 at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)
  at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)
 Caused by: java.lang.IllegalArgumentException: denied.system.properties
 property is not specified.
  at
 org.wso2.carbon.bootstrap.CarbonSecurityManager.init(CarbonSecurityManager.java:44)
 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 java.lang.Class.newInstance0(Class.java:355)
  at java.lang.Class.newInstance(Class.java:308)
 at sun.misc.Launcher.init(Launcher.java:80)
  at sun.misc.Launcher.clinit(Launcher.java:43)
 at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)
  at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)

 thanks,
 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321


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




-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Bamboo-Build] WSO2 Carbon platform #30 has FAILED. Change made by 4 authors.

2012-03-28 Thread Charith Wickramarachchi
This is a due to a failure in Webharvest module

Failed to execute goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process
(default) on project synapse-samples: Error resolving project
artifact: Could not transfer artifact JLex:JLex:pom:0.0 from/to
central (http://repo1.maven.org/maven2): Error transferring file:
Connection timed out for project JLex:JLex:jar:0.0 - [Help 1]
build   28-Mar-2012 01:26:05[ERROR] Failed to execute goal on project
webharvest-core: Could not resolve dependencies for project
org.webharvest:webharvest-core:jar:2.0.wso2v1: Failed to collect
dependencies for [rhino:js:jar:1.7R1 (compile), bsh:bsh:jar:1.3.0
(compile), org.htmlcleaner:htmlcleaner:jar:2.1 (compile),
commons-codec:commons-codec:jar:1.3 (compile),
commons-collections:commons-collections:jar:3.2 (compile),
commons-httpclient:commons-httpclient:jar:3.1 (compile),
commons-net:commons-net:jar:2.0 (compile), log4j:log4j:jar:1.2.13
(compile), net.sf.saxon:saxon:jar:8.9 (compile),
commons-email:commons-email:jar:1.2 (compile),
groovy:groovy-all:jar:1.1-rc-1 (compile),
javax.activation:activation:jar:1.1.1 (compile)]: Failed to read
artifact descriptor for commons-email:commons-email:jar:1.2: Could not
transfer artifact commons-email:commons-email:pom:1.2 from/to central
(http://repo1.maven.org/maven2): Error transferring file: Connection
timed out - [Help 2]


--Charith


On Wed, Mar 28, 2012 at 2:06 PM, Bamboo cbuil...@wso2.org wrote:

  [image: Failed]  WSO2 
 Carbonhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON/›
 platformhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM/›
 #30http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-30/
 failed

 This build was manually triggered by 
 BambooBuilderhttp://builder4.us1.wso2.org:/bamboo/browse/user/bamboo_builder
 .

 No failed tests found, a possible compilation error.
   Failing 
 Jobshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-30/
 Job Duration Tests[image: Failed]  Default 
 Jobhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-30/
  (Default
 Stage)  136 minutes  2019 passed  
 Logshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-30/log|
 Artifactshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-30/artifact
  Code
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-30/commit/
   View
 all 6 code 
 changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-30/commit/
 charith http://builder4.us1.wso2.org:/bamboo/browse/author/charith
 adding activation properties  124222
 charithhttp://builder4.us1.wso2.org:/bamboo/browse/author/charith
 adding builder profile  124221
 achalahttp://builder4.us1.wso2.org:/bamboo/browse/author/achala
 Admin services should be exposed only via HTTPS  124219   3 more 
 changes…http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-30/commit
  View
 Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-30
 | Add 
 Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-30?commentMode=true

 This message was sent by Atlassian 
 Bamboohttp://builder4.us1.wso2.org:/bamboo
 .

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

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




-- 
Charith Dhanushka Wickramarachchi
Software Engineer
WSO2 Inc
http://wso2.com/
http://wso2.org/

blog
http://charithwiki.blogspot.com/

twitter
http://twitter.com/charithwiki

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


Re: [Dev] getting denied.system.properties property is not specified error in my stratos local setup

2012-03-28 Thread Supun Malinga
Hi Manjula,

On Wed, Mar 28, 2012 at 2:25 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi Supun,

 The Stratos setup script is broken at the moment due to changing
 configuration file paths. I will work with Damitha to fix this.

understood.
Can you explain what this error means so that I can change the property
files manually for the time being..

thanks,


 Thank you.

 On Wed, Mar 28, 2012 at 2:08 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 This happens after I run the setup script and try to start stratos AS.
 But the before the stratos setup script run, stratos AS pack started
 fine. So I would assume some property change done by the setup script cause
 this.
 Would be helpful to know what this error means.

 error,
 JAVA_HOME environment variable is set to /home/disk1/Programs/jdk1.6.0_24
 CARBON_HOME environment variable is set to
 /home/supun/smoke/stratos/wso2stratos-as-1.1.0-SNAPSHOT
 Error occurred during initialization of VM
 java.lang.ExceptionInInitializerError
 at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)
  at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)
 Caused by: java.lang.IllegalArgumentException: denied.system.properties
 property is not specified.
  at
 org.wso2.carbon.bootstrap.CarbonSecurityManager.init(CarbonSecurityManager.java:44)
 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 java.lang.Class.newInstance0(Class.java:355)
  at java.lang.Class.newInstance(Class.java:308)
 at sun.misc.Launcher.init(Launcher.java:80)
  at sun.misc.Launcher.clinit(Launcher.java:43)
 at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)
  at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)

 thanks,
 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321


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




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987




-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com sup...@wso2.com
mobile - 071 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] getting denied.system.properties property is not specified error in my stratos local setup

2012-03-28 Thread Manjula Rathnayake
On Wed, Mar 28, 2012 at 2:32 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Manjula,

 On Wed, Mar 28, 2012 at 2:25 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi Supun,

 The Stratos setup script is broken at the moment due to changing
 configuration file paths. I will work with Damitha to fix this.

 understood.
 Can you explain what this error means so that I can change the property
 files manually for the time being..


I am not aware of this error. Can you start server without setting up the
Stratos?


 thanks,


 Thank you.

 On Wed, Mar 28, 2012 at 2:08 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 This happens after I run the setup script and try to start stratos AS.
 But the before the stratos setup script run, stratos AS pack started
 fine. So I would assume some property change done by the setup script cause
 this.
 Would be helpful to know what this error means.

 error,
 JAVA_HOME environment variable is set to /home/disk1/Programs/jdk1.6.0_24
 CARBON_HOME environment variable is set to
 /home/supun/smoke/stratos/wso2stratos-as-1.1.0-SNAPSHOT
 Error occurred during initialization of VM
 java.lang.ExceptionInInitializerError
 at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)
  at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)
 Caused by: java.lang.IllegalArgumentException: denied.system.properties
 property is not specified.
  at
 org.wso2.carbon.bootstrap.CarbonSecurityManager.init(CarbonSecurityManager.java:44)
 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 java.lang.Class.newInstance0(Class.java:355)
  at java.lang.Class.newInstance(Class.java:308)
 at sun.misc.Launcher.init(Launcher.java:80)
  at sun.misc.Launcher.clinit(Launcher.java:43)
 at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)
  at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)

 thanks,
 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321


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




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon Products #9 has FAILED (1 tests failed, no failures were new). Change made by amani, charith and achala.

2012-03-28 Thread Bamboo

---
WSO2 Carbon  Products  #9 failed.
---
This build was manually triggered by BambooBuilder.
1/1 tests failed, no failures were new.

http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/


--
Failing Jobs
--
  - Default Job (Default Stage): 1 of 1 tests failed.


--
Code Changes
--
achala (124219):

Admin services should be exposed only via HTTPS

charith (124221):

adding builder profile

charith (124222):

adding activation properties



--
Tests
--
Existing Test Failures (1)
   - ISTestServerManager: Start server

--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Errors when building AS

2012-03-28 Thread Manjula Rathnayake
Hi,

I was trying removing features from products and was able to build when
following  features are not there.

For greg -- human task, uddi, system.statistics
For IS -- system.statistics

thank you.

On Wed, Mar 28, 2012 at 2:24 PM, Kathiravelu Pradeeban
pradee...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 2:12 PM, Isuru Suriarachchi is...@wso2.comwrote:

 OK, here's what I found so far.

 * javax.xml.namespace package is taken from the JDK in our products (see
 launch.ini)
 * When a package is taken from the JDK, it's version is always 0.0.0
 * So all the bundles which uses javax.xml.namespace package should import
 it without specifying a version or with version 0.0.0
 * Up to yesterday morning, all bundles which imports this package has
 imported it without specifying a version
 * But now, all stubs are importing javax.xml.namespace; version=
 [1.0.0,2.0.0)
 * When I have a look at poms of few stubs, there are no changes there and
 no stub specifically import javax.xml.namespace in their bundle plugins
 * AFAIK, maven bundle plugin adds import packages into MANIFEST.MF
 without a version if there's no version specified
 * But on current trunk, it adds the version [1.0.0,2.0.0) due to some
 reason.

 Now we have to find out the reason for this. Did anyone do any change
 related to maven bundle plugin? May be a version change?


 I did a version declaration in carbon/orbit/trunk/pom.xml for the plugin
 to be 2.3.7, to address the maven3 warnings, in the commit 124152.
 We are looking into this to see whether that could be the case.

 Regards,
 Pradeeban.



 Thanks,
 ~Isuru

 On Wed, Mar 28, 2012 at 12:15 PM, Isuru Suriarachchi is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 12:00 PM, Manjula Rathnayake 
 manju...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 11:52 AM, Isuru Suriarachchi is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 11:18 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:12 AM, Kasun Gajasinghe 
 kas...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 10:27 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Tue, Mar 27, 2012 at 8:18 PM, Sinthuja Ragendran 
 sinth...@wso2.com wrote:

 Hi,

 I'm also experiencing similar error mentioning '*requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be found
 *' when installing the Transport Management Feature in
 product-BAM2.


 Have we sorted out this issue? I checked in orbit,carbon and
 platform poms, but I could not find a place where we export
 javax.xml.namespace package.

 Any others getting this error? Or it is local to me?


 No, it's still there. I'm also facing this issue. I think Bamboo
 will start complaining sooner.


 I exported in orbit axiom bundle, I will check the build and commit
 if there is no concern regarding this change.


 But before that, we have to find out how this issue came up and due to
 which change. Better if Pradeep also can have a look into this..

 +1, I have done this change locally for getting packs to verify issues.
 We need to find out root cause, and how it worked earlier. And we could not
 figure out this with recent commit mails.


 Looks like non of the Carbon core guys are around. I'll have a look into
 this..

 Thanks,
 ~Isuru



 Thank you.


 Thanks,
 ~Isuru



 thank you.


 Thank you.


 Installation failed.

 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: WSO2 Carbon - Transport Management
 Feature 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.feature.group
 4.0.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.transport.mgt.stub
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT) 
 requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.transport.mgt.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.ui.feature.group
 [4.0.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management UI Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.ui.feature.group
 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.stub [4.0.0.SNAPSHOT]

 Thanks,
 Sinthuja.



 On Tue, Mar 27, 2012 at 8:05 PM, Isuru Suriarachchi 
 is...@wso2.com wrote:

 Looks like you haven't built data services ui feature.. I built
 AS after updating the entire platform about 4 hours ago and it built
 without any trouble..

 ~Isuru

 On Tue, Mar 27, 2012 at 7:35 PM, Manjula Rathnayake 
 manju...@wso2.com wrote:

 Hi all,

 Have we encountered this error?

 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: Data Service Hosting Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.dataservices.feature.group 
 4.0.0.SNAPSHOT)
  Missing requirement:
 org.wso2.carbon.dataservices.fileupload.stub 4.0.0.SNAPSHOT
 (org.wso2.carbon.dataservices.fileupload.stub 4.0.0.SNAPSHOT) 
 

[Dev] Adding google gson to orbit

2012-03-28 Thread Suhothayan Sriskandarajah
Hi

I have a use case in which I need to convert json to java object and
vice-versa.
I found google gson[1] is capable of doing this conversion. But currently
its not used in our platform
Are we using any alternatives to this? else I can go ahead and include
google gson.

[1] http://code.google.com/p/google-gson/

Thanks
Suho

-- 
*S. Suhothayan
*
Software Engineer,
Data Technologies Team,
 *WSO2, Inc. **http://wso2.com
 http://wso2.com/*
*lean.enterprise.middleware.*

*email: **s...@wso2.com* s...@wso2.com* cell: (+94) 779 756 757
blog: **http://suhothayan.blogspot.com/* http://suhothayan.blogspot.com/*
twitter: **http://twitter.com/suhothayan* http://twitter.com/suhothayan*
linked-in: **http://lk.linkedin.com/in/suhothayan*
*
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #9 has FAILED (1 tests failed, no failures were new). Change made by amani, charith and achala.

2012-03-28 Thread Charith Wickramarachchi
This is the Same reason reported in the Previous Product Build failure. Let
me know when this p2 profile gen issue is fixed.

Failed to execute goal
org.wso2.maven:carbon-p2-plugin:1.4-SNAPSHOT:p2-profile-gen
(3-p2-profile-generation) on project identity-profile-gen: P2
publisher return code was 13 - [Help 1]
build   28-Mar-2012 02:13:36[ERROR] Failed to execute goal
org.wso2.maven:carbon-p2-plugin:1.4-SNAPSHOT:p2-profile-gen
(3-p2-profile-generation) on project wso2stratos-identity-profile-gen:
P2 publisher return code was 13 - [Help 1]
build   28-Mar-2012 02:13:36[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached
(dist) on project wso2is: Failed to create assembly: Error adding file
to archive: 
/home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/is/modules/distribution/product/../../p2-profile-gen/product/target/wso2carbon-core-4.0.0-SNAPSHOT/repository/conf/claim-config.xml
isn't a file. - [Help 1]
build   28-Mar-2012 02:13:36[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached
(dist) on project wso2stratos-is: Failed to create assembly: Error
adding file to archive:
/home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/is/modules/distribution/service/../../p2-profile-gen/service/target/wso2carbon-core-4.0.0-SNAPSHOT/repository/conf/advanced/syslog-config.xml
isn't a file. - [Help 1]



thanks,
Charith


On Wed, Mar 28, 2012 at 2:43 PM, Bamboo cbuil...@wso2.org wrote:

  [image: Failed]  WSO2 
 Carbonhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON/›
 Productshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS/›
 #9http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/
 failed

 This build was manually triggered by 
 BambooBuilderhttp://builder4.us1.wso2.org:/bamboo/browse/user/bamboo_builder
 .

 *1/1* tests failed.
   Failing 
 Jobshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/
 Job Duration Tests[image: Failed]  Default 
 Jobhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-9/
  (Default
 Stage)  4 minutes  1 of 1 failed  
 Logshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-9/log|
 Artifactshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-9/artifact
  Code
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/commit/
   View
 all 4 code 
 changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/commit/
 charith http://builder4.us1.wso2.org:/bamboo/browse/author/charith
 adding activation properties  124222
 charithhttp://builder4.us1.wso2.org:/bamboo/browse/author/charith
 adding builder profile  124221
 achalahttp://builder4.us1.wso2.org:/bamboo/browse/author/achala
 Admin services should be exposed only via HTTPS  124219   1 more 
 changes…http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/commit
 Testshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/test
   View
 full test 
 detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/test
1
 Existing Test Failures  Test Job ISTestServerManager 
 startServerhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-9/test/case/14551999
   Default
 Jobhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-9/test
  View
 Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9
 | Add 
 Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9?commentMode=true

 This message was sent by Atlassian 
 Bamboohttp://builder4.us1.wso2.org:/bamboo
 .

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

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




-- 
Charith Dhanushka Wickramarachchi
Software Engineer
WSO2 Inc
http://wso2.com/
http://wso2.org/

blog
http://charithwiki.blogspot.com/

twitter
http://twitter.com/charithwiki

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


Re: [Dev] [Commits] [Carbon-platform] svn commit r124089 - carbon/platform/trunk/service-stubs

2012-03-28 Thread Isuru Suriarachchi
Hi Nirmal,

Can you please tell me the exact stub which needs WSDL 2.0 for stub
generation. We have to handle this properly to handle the
javax.xml.namespace issue.

Thanks,
~Isuru

On Tue, Mar 27, 2012 at 2:16 PM, nir...@wso2.com wrote:

 Author: nirmal
 Date: Tue Mar 27 04:46:04 2012
 New Revision: 124089
 URL: http://wso2.org/svn/browse/wso2?view=revrevision=124089

 Log:
 Adding woden dependency. This is needed for WSDL2.0

 Modified:
   carbon/platform/trunk/service-stubs/pom.xml

 Modified: carbon/platform/trunk/service-stubs/pom.xml
 URL:
 http://wso2.org/svn/browse/wso2/carbon/platform/trunk/service-stubs/pom.xml?rev=124089r1=124088r2=124089view=diff

 ==
 --- carbon/platform/trunk/service-stubs/pom.xml (original)
 +++ carbon/platform/trunk/service-stubs/pom.xml Tue Mar 27 04:46:04 2012
 @@ -261,12 +261,18 @@
 artifactIdaxiom/artifactId
version${orbit.version.axiom}/version
 /dependency
 +dependency
 +groupIdorg.apache.woden.wso2/groupId
 +artifactIdwoden/artifactId
 +version${orbit.version.woden}/version
 +/dependency
/dependencies


 properties
 orbit.version.wsdl4j1.6.2.wso2v2/orbit.version.wsdl4j
 -   orbit.version.xmlschema1.4.7.wso2v1/orbit.version.xmlschema
 +   orbit.version.xmlschema1.4.7.wso2v1/orbit.version.xmlschema
 +orbit.version.woden1.0.0.M8-wso2v1/orbit.version.woden
 /properties
  /project

 ___
 Commits mailing list
 comm...@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/commits




-- 
Isuru Suriarachchi
Technical Lead
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

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


Re: [Dev] [Commits] [Carbon-platform] svn commit r124089 - carbon/platform/trunk/service-stubs

2012-03-28 Thread Nirmal Fernando
Hi Isuru,

On Wed, Mar 28, 2012 at 3:21 PM, Isuru Suriarachchi is...@wso2.com wrote:

 Hi Nirmal,

 Can you please tell me the exact stub which needs WSDL 2.0 for stub
 generation. We have to handle this properly to handle the
 javax.xml.namespace issue.


As discussed off-line, I will put this woden dependency inside the POMs of
required stubs and remove it from parent POM.

Thanks.


 Thanks,
 ~Isuru


 On Tue, Mar 27, 2012 at 2:16 PM, nir...@wso2.com wrote:

 Author: nirmal
 Date: Tue Mar 27 04:46:04 2012
 New Revision: 124089
 URL: http://wso2.org/svn/browse/wso2?view=revrevision=124089

 Log:
 Adding woden dependency. This is needed for WSDL2.0

 Modified:
   carbon/platform/trunk/service-stubs/pom.xml

 Modified: carbon/platform/trunk/service-stubs/pom.xml
 URL:
 http://wso2.org/svn/browse/wso2/carbon/platform/trunk/service-stubs/pom.xml?rev=124089r1=124088r2=124089view=diff

 ==
 --- carbon/platform/trunk/service-stubs/pom.xml (original)
 +++ carbon/platform/trunk/service-stubs/pom.xml Tue Mar 27 04:46:04 2012
 @@ -261,12 +261,18 @@
 artifactIdaxiom/artifactId
version${orbit.version.axiom}/version
 /dependency
 +dependency
 +groupIdorg.apache.woden.wso2/groupId
 +artifactIdwoden/artifactId
 +version${orbit.version.woden}/version
 +/dependency
/dependencies


 properties
 orbit.version.wsdl4j1.6.2.wso2v2/orbit.version.wsdl4j
 -   orbit.version.xmlschema1.4.7.wso2v1/orbit.version.xmlschema
 +
 orbit.version.xmlschema1.4.7.wso2v1/orbit.version.xmlschema
 +orbit.version.woden1.0.0.M8-wso2v1/orbit.version.woden
 /properties
  /project

 ___
 Commits mailing list
 comm...@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/commits




 --
 Isuru Suriarachchi
 Technical Lead
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware




-- 

Thanks  regards,
Nirmal

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


[Dev] [Bamboo-Build] WSO2 Carbon Kernel #135 has FAILED. Change made by azeez.

2012-03-28 Thread Bamboo

---
WSO2 Carbon  Kernel  #135 failed.
---
Code has been updated by azeez.
No failed tests found, a possible compilation error.

http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-135/


--
Failing Jobs
--
  - Default Job (Default Stage): 2749 tests passed.


--
Code Changes
--
azeez (124220):

Making CodeCoverageUtils a non-extensible non-instantiable class





--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #9 has FAILED (1 tests failed, no failures were new). Change made by amani, charith and achala.

2012-03-28 Thread Charith Wickramarachchi
Yap i m also getting this Error in my local machine.

On Wed, Mar 28, 2012 at 3:27 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi Charith,

 I will fix the issue you reported now.  However this morning my local
 build passed. Will check again.

 Looks like there are several issues including the javax.xml.namespace
 problem.


 28-Mar-2012 02:12:31 Installation failed.  28-Mar-2012 02:12:31 Cannot
 complete the install because one or more required items could not be found.  
 28-Mar-2012
 02:12:31  Software being installed: WSO2 Carbon - Statistics Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.system.statistics.feature.group
 4.0.0.SNAPSHOT)  28-Mar-2012 02:12:31  Missing requirement:
 org.wso2.carbon.statistics.stub 4.0.0.SNAPSHOT
 (org.wso2.carbon.statistics.stub 4.0.0.SNAPSHOT) requires 'package
 javax.xml.namespace [1.0.0,2.0.0)' but it could not be found  28-Mar-2012
 02:12:31  Cannot satisfy dependency:  28-Mar-2012 02:12:31   From: WSO2
 Carbon - Statistics Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.system.statistics.feature.group 4.0.0.SNAPSHOT)  28-Mar-2012
 02:12:31   To: org.wso2.carbon.system.statistics.ui.feature.group
 [4.0.0.SNAPSHOT]  28-Mar-2012 02:12:31  Cannot satisfy dependency:  
 28-Mar-2012
 02:12:31   From: WSO2 Carbon - Statistics UI Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.system.statistics.ui.feature.group 4.0.0.SNAPSHOT)  
 28-Mar-2012
 02:12:31   To: org.wso2.carbon.statistics.stub [4.0.0.SNAPSHOT]  28-Mar-2012
 02:12:31 Application failed, log file location:
 /home/bamboo/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1332925947682.log


 tx,
 dimuthu


 On Wed, Mar 28, 2012 at 3:07 PM, Charith Wickramarachchi char...@wso2.com
  wrote:

 This is the Same reason reported in the Previous Product Build failure.
 Let me know when this p2 profile gen issue is fixed.

 Failed to execute goal 
 org.wso2.maven:carbon-p2-plugin:1.4-SNAPSHOT:p2-profile-gen 
 (3-p2-profile-generation) on project identity-profile-gen: P2 publisher 
 return code was 13 - [Help 1]
 build28-Mar-2012 02:13:36[ERROR] Failed to execute goal 
 org.wso2.maven:carbon-p2-plugin:1.4-SNAPSHOT:p2-profile-gen 
 (3-p2-profile-generation) on project wso2stratos-identity-profile-gen: P2 
 publisher return code was 13 - [Help 1]
 build28-Mar-2012 02:13:36[ERROR] Failed to execute goal 
 org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (dist) on 
 project wso2is: Failed to create assembly: Error adding file to archive: 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/is/modules/distribution/product/../../p2-profile-gen/product/target/wso2carbon-core-4.0.0-SNAPSHOT/repository/conf/claim-config.xml
  isn't a file. - [Help 1]
 build28-Mar-2012 02:13:36[ERROR] Failed to execute goal 
 org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (dist) on 
 project wso2stratos-is: Failed to create assembly: Error adding file to 
 archive: 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/is/modules/distribution/service/../../p2-profile-gen/service/target/wso2carbon-core-4.0.0-SNAPSHOT/repository/conf/advanced/syslog-config.xml
  isn't a file. - [Help 1]



 thanks,
 Charith


  On Wed, Mar 28, 2012 at 2:43 PM, Bamboo cbuil...@wso2.org wrote:

   [image: Failed]  WSO2 
 Carbonhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON/›
 Productshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS/›
 #9http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/
 failed

 This build was manually triggered by 
 BambooBuilderhttp://builder4.us1.wso2.org:/bamboo/browse/user/bamboo_builder
 .

 *1/1* tests failed.
Failing 
 Jobshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/
 Job
 Duration Tests[image: Failed]  Default 
 Jobhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-9/
  (Default
 Stage)  4 minutes  1 of 1 failed  
 Logshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-9/log|
 Artifactshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-9/artifact
  Code
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/commit/
   View
 all 4 code 
 changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/commit/
 charith http://builder4.us1.wso2.org:/bamboo/browse/author/charith
 adding activation properties  124222
 charithhttp://builder4.us1.wso2.org:/bamboo/browse/author/charith
 adding builder profile  124221
 achalahttp://builder4.us1.wso2.org:/bamboo/browse/author/achala
 Admin services should be exposed only via HTTPS  124219   1 more
 changes…http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/commit
 Testshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-9/test
   View
 full test 
 

Re: [Dev] Errors when building AS

2012-03-28 Thread Isuru Suriarachchi
I just built the platform up to AS and looks like everything is fine..

Thanks,
~Isuru

On Wed, Mar 28, 2012 at 3:17 PM, Isuru Suriarachchi is...@wso2.com wrote:

 OK, found the issue and fixed it. This has been introduced by the addition
 of the woden dependency into the service stubs root pom. It introduces a
 versioned javax.xml.namespace package. So maven bundle plugin adds it's
 version into the manifest.

 Please take an svn up in platform/service-stubs/pom.xml and build. Please
 let me know if there are more issues. In the mean while I'll try to
 properly handle the woden introduciton.

 Thanks,
 ~Isuru


 On Wed, Mar 28, 2012 at 2:57 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi,

 I was trying removing features from products and was able to build when
 following  features are not there.

 For greg -- human task, uddi, system.statistics
 For IS -- system.statistics

 thank you.

 On Wed, Mar 28, 2012 at 2:24 PM, Kathiravelu Pradeeban 
 pradee...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 2:12 PM, Isuru Suriarachchi is...@wso2.comwrote:

 OK, here's what I found so far.

 * javax.xml.namespace package is taken from the JDK in our products
 (see launch.ini)
 * When a package is taken from the JDK, it's version is always 0.0.0
 * So all the bundles which uses javax.xml.namespace package should
 import it without specifying a version or with version 0.0.0
 * Up to yesterday morning, all bundles which imports this package has
 imported it without specifying a version
 * But now, all stubs are importing javax.xml.namespace; version=
 [1.0.0,2.0.0)
 * When I have a look at poms of few stubs, there are no changes there
 and no stub specifically import javax.xml.namespace in their bundle plugins
 * AFAIK, maven bundle plugin adds import packages into MANIFEST.MF
 without a version if there's no version specified
 * But on current trunk, it adds the version [1.0.0,2.0.0) due to some
 reason.

 Now we have to find out the reason for this. Did anyone do any change
 related to maven bundle plugin? May be a version change?


 I did a version declaration in carbon/orbit/trunk/pom.xml for the plugin
 to be 2.3.7, to address the maven3 warnings, in the commit 124152.
 We are looking into this to see whether that could be the case.

 Regards,
 Pradeeban.



 Thanks,
 ~Isuru

 On Wed, Mar 28, 2012 at 12:15 PM, Isuru Suriarachchi is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 12:00 PM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:52 AM, Isuru Suriarachchi 
 is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 11:18 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:12 AM, Kasun Gajasinghe kas...@wso2.com
  wrote:



 On Wed, Mar 28, 2012 at 10:27 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Tue, Mar 27, 2012 at 8:18 PM, Sinthuja Ragendran 
 sinth...@wso2.com wrote:

 Hi,

 I'm also experiencing similar error mentioning '*requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be 
 found
 *' when installing the Transport Management Feature in
 product-BAM2.


 Have we sorted out this issue? I checked in orbit,carbon and
 platform poms, but I could not find a place where we export
 javax.xml.namespace package.

 Any others getting this error? Or it is local to me?


 No, it's still there. I'm also facing this issue. I think Bamboo
 will start complaining sooner.


 I exported in orbit axiom bundle, I will check the build and commit
 if there is no concern regarding this change.


 But before that, we have to find out how this issue came up and due
 to which change. Better if Pradeep also can have a look into this..

 +1, I have done this change locally for getting packs to verify
 issues. We need to find out root cause, and how it worked earlier. And we
 could not figure out this with recent commit mails.


 Looks like non of the Carbon core guys are around. I'll have a look
 into this..

 Thanks,
 ~Isuru



 Thank you.


 Thanks,
 ~Isuru



 thank you.


 Thank you.


 Installation failed.

 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: WSO2 Carbon - Transport Management
 Feature 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.feature.group
 4.0.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.transport.mgt.stub
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT) 
 requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be 
 found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.feature.group 
 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.ui.feature.group
 [4.0.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management UI Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.ui.feature.group
 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.stub [4.0.0.SNAPSHOT]

 Thanks,
 Sinthuja.



 On Tue, Mar 27, 2012 at 8:05 

Re: [Dev] [Commits] [Carbon-platform] svn commit r124089 - carbon/platform/trunk/service-stubs

2012-03-28 Thread Isuru Suriarachchi
On Wed, Mar 28, 2012 at 3:33 PM, Nirmal Fernando nir...@wso2.com wrote:

 Hi Isuru,

 On Wed, Mar 28, 2012 at 3:21 PM, Isuru Suriarachchi is...@wso2.comwrote:

 Hi Nirmal,

 Can you please tell me the exact stub which needs WSDL 2.0 for stub
 generation. We have to handle this properly to handle the
 javax.xml.namespace issue.


 As discussed off-line, I will put this woden dependency inside the POMs of
 required stubs and remove it from parent POM.


Ok great..



 Thanks.


 Thanks,
 ~Isuru


 On Tue, Mar 27, 2012 at 2:16 PM, nir...@wso2.com wrote:

 Author: nirmal
 Date: Tue Mar 27 04:46:04 2012
 New Revision: 124089
 URL: http://wso2.org/svn/browse/wso2?view=revrevision=124089

 Log:
 Adding woden dependency. This is needed for WSDL2.0

 Modified:
   carbon/platform/trunk/service-stubs/pom.xml

 Modified: carbon/platform/trunk/service-stubs/pom.xml
 URL:
 http://wso2.org/svn/browse/wso2/carbon/platform/trunk/service-stubs/pom.xml?rev=124089r1=124088r2=124089view=diff

 ==
 --- carbon/platform/trunk/service-stubs/pom.xml (original)
 +++ carbon/platform/trunk/service-stubs/pom.xml Tue Mar 27 04:46:04 2012
 @@ -261,12 +261,18 @@
 artifactIdaxiom/artifactId
version${orbit.version.axiom}/version
 /dependency
 +dependency
 +groupIdorg.apache.woden.wso2/groupId
 +artifactIdwoden/artifactId
 +version${orbit.version.woden}/version
 +/dependency
/dependencies


 properties
 orbit.version.wsdl4j1.6.2.wso2v2/orbit.version.wsdl4j
 -   orbit.version.xmlschema1.4.7.wso2v1/orbit.version.xmlschema
 +
 orbit.version.xmlschema1.4.7.wso2v1/orbit.version.xmlschema
 +orbit.version.woden1.0.0.M8-wso2v1/orbit.version.woden
 /properties
  /project

 ___
 Commits mailing list
 comm...@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/commits




 --
 Isuru Suriarachchi
 Technical Lead
 WSO2 Inc. http://wso2.com
 email : is...@wso2.com
 blog : http://isurues.wordpress.com/

 lean . enterprise . middleware




 --

 Thanks  regards,
 Nirmal

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




-- 
Isuru Suriarachchi
Technical Lead
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

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


Re: [Dev] Errors when building AS

2012-03-28 Thread Charith Wickramarachchi
ok. Now Build is in progress .

orbit - kernal - platform-products.

Now its building at kernal level.

Lets see.

--Charith

On Wed, Mar 28, 2012 at 3:52 PM, Isuru Suriarachchi is...@wso2.com wrote:

 I just built the platform up to AS and looks like everything is fine..

 Thanks,
 ~Isuru


 On Wed, Mar 28, 2012 at 3:17 PM, Isuru Suriarachchi is...@wso2.comwrote:

 OK, found the issue and fixed it. This has been introduced by the
 addition of the woden dependency into the service stubs root pom. It
 introduces a versioned javax.xml.namespace package. So maven bundle plugin
 adds it's version into the manifest.

 Please take an svn up in platform/service-stubs/pom.xml and build. Please
 let me know if there are more issues. In the mean while I'll try to
 properly handle the woden introduciton.

 Thanks,
 ~Isuru


 On Wed, Mar 28, 2012 at 2:57 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi,

 I was trying removing features from products and was able to build when
 following  features are not there.

 For greg -- human task, uddi, system.statistics
 For IS -- system.statistics

 thank you.

 On Wed, Mar 28, 2012 at 2:24 PM, Kathiravelu Pradeeban 
 pradee...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 2:12 PM, Isuru Suriarachchi is...@wso2.comwrote:

 OK, here's what I found so far.

 * javax.xml.namespace package is taken from the JDK in our products
 (see launch.ini)
 * When a package is taken from the JDK, it's version is always 0.0.0
 * So all the bundles which uses javax.xml.namespace package should
 import it without specifying a version or with version 0.0.0
 * Up to yesterday morning, all bundles which imports this package has
 imported it without specifying a version
 * But now, all stubs are importing javax.xml.namespace; version=
 [1.0.0,2.0.0)
 * When I have a look at poms of few stubs, there are no changes there
 and no stub specifically import javax.xml.namespace in their bundle 
 plugins
 * AFAIK, maven bundle plugin adds import packages into MANIFEST.MF
 without a version if there's no version specified
 * But on current trunk, it adds the version [1.0.0,2.0.0) due to some
 reason.

 Now we have to find out the reason for this. Did anyone do any change
 related to maven bundle plugin? May be a version change?


 I did a version declaration in carbon/orbit/trunk/pom.xml for the
 plugin to be 2.3.7, to address the maven3 warnings, in the commit 124152.
 We are looking into this to see whether that could be the case.

 Regards,
 Pradeeban.



 Thanks,
 ~Isuru

 On Wed, Mar 28, 2012 at 12:15 PM, Isuru Suriarachchi 
 is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 12:00 PM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:52 AM, Isuru Suriarachchi is...@wso2.com
  wrote:



 On Wed, Mar 28, 2012 at 11:18 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:12 AM, Kasun Gajasinghe 
 kas...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 10:27 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Tue, Mar 27, 2012 at 8:18 PM, Sinthuja Ragendran 
 sinth...@wso2.com wrote:

 Hi,

 I'm also experiencing similar error mentioning '*requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be 
 found
 *' when installing the Transport Management Feature in
 product-BAM2.


 Have we sorted out this issue? I checked in orbit,carbon and
 platform poms, but I could not find a place where we export
 javax.xml.namespace package.

 Any others getting this error? Or it is local to me?


 No, it's still there. I'm also facing this issue. I think Bamboo
 will start complaining sooner.


 I exported in orbit axiom bundle, I will check the build and
 commit if there is no concern regarding this change.


 But before that, we have to find out how this issue came up and due
 to which change. Better if Pradeep also can have a look into this..

 +1, I have done this change locally for getting packs to verify
 issues. We need to find out root cause, and how it worked earlier. And 
 we
 could not figure out this with recent commit mails.


 Looks like non of the Carbon core guys are around. I'll have a look
 into this..

 Thanks,
 ~Isuru



 Thank you.


 Thanks,
 ~Isuru



 thank you.


 Thank you.


 Installation failed.

 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: WSO2 Carbon - Transport Management
 Feature 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.feature.group
 4.0.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.transport.mgt.stub
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT) 
 requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be 
 found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management Feature
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.feature.group 
 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.transport.mgt.ui.feature.group
 [4.0.0.SNAPSHOT]
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport 

Re: [Dev] Errors when building AS

2012-03-28 Thread Hiranya Jayathilaka
ESB build is ok. All integration tests passed for me. Thanks Isuru for
looking into this.

Thanks,
Hiranya

On Wed, Mar 28, 2012 at 3:57 PM, Charith Wickramarachchi
char...@wso2.comwrote:

 ok. Now Build is in progress .

 orbit - kernal - platform-products.

 Now its building at kernal level.

 Lets see.

 --Charith

 On Wed, Mar 28, 2012 at 3:52 PM, Isuru Suriarachchi is...@wso2.comwrote:

 I just built the platform up to AS and looks like everything is fine..

 Thanks,
 ~Isuru


 On Wed, Mar 28, 2012 at 3:17 PM, Isuru Suriarachchi is...@wso2.comwrote:

 OK, found the issue and fixed it. This has been introduced by the
 addition of the woden dependency into the service stubs root pom. It
 introduces a versioned javax.xml.namespace package. So maven bundle plugin
 adds it's version into the manifest.

 Please take an svn up in platform/service-stubs/pom.xml and build.
 Please let me know if there are more issues. In the mean while I'll try to
 properly handle the woden introduciton.

 Thanks,
 ~Isuru


 On Wed, Mar 28, 2012 at 2:57 PM, Manjula Rathnayake 
 manju...@wso2.comwrote:

 Hi,

 I was trying removing features from products and was able to build when
 following  features are not there.

 For greg -- human task, uddi, system.statistics
 For IS -- system.statistics

 thank you.

 On Wed, Mar 28, 2012 at 2:24 PM, Kathiravelu Pradeeban 
 pradee...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 2:12 PM, Isuru Suriarachchi is...@wso2.comwrote:

 OK, here's what I found so far.

 * javax.xml.namespace package is taken from the JDK in our products
 (see launch.ini)
 * When a package is taken from the JDK, it's version is always 0.0.0
 * So all the bundles which uses javax.xml.namespace package should
 import it without specifying a version or with version 0.0.0
 * Up to yesterday morning, all bundles which imports this package has
 imported it without specifying a version
 * But now, all stubs are importing javax.xml.namespace; version=
 [1.0.0,2.0.0)
 * When I have a look at poms of few stubs, there are no changes there
 and no stub specifically import javax.xml.namespace in their bundle 
 plugins
 * AFAIK, maven bundle plugin adds import packages into MANIFEST.MF
 without a version if there's no version specified
 * But on current trunk, it adds the version [1.0.0,2.0.0) due to
 some reason.

 Now we have to find out the reason for this. Did anyone do any change
 related to maven bundle plugin? May be a version change?


 I did a version declaration in carbon/orbit/trunk/pom.xml for the
 plugin to be 2.3.7, to address the maven3 warnings, in the commit 124152.
 We are looking into this to see whether that could be the case.

 Regards,
 Pradeeban.



 Thanks,
 ~Isuru

 On Wed, Mar 28, 2012 at 12:15 PM, Isuru Suriarachchi 
 is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 12:00 PM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:52 AM, Isuru Suriarachchi 
 is...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:18 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:12 AM, Kasun Gajasinghe 
 kas...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 10:27 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Tue, Mar 27, 2012 at 8:18 PM, Sinthuja Ragendran 
 sinth...@wso2.com wrote:

 Hi,

 I'm also experiencing similar error mentioning '*requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be 
 found
 *' when installing the Transport Management Feature in
 product-BAM2.


 Have we sorted out this issue? I checked in orbit,carbon and
 platform poms, but I could not find a place where we export
 javax.xml.namespace package.

 Any others getting this error? Or it is local to me?


 No, it's still there. I'm also facing this issue. I think Bamboo
 will start complaining sooner.


 I exported in orbit axiom bundle, I will check the build and
 commit if there is no concern regarding this change.


 But before that, we have to find out how this issue came up and
 due to which change. Better if Pradeep also can have a look into 
 this..

 +1, I have done this change locally for getting packs to verify
 issues. We need to find out root cause, and how it worked earlier. And 
 we
 could not figure out this with recent commit mails.


 Looks like non of the Carbon core guys are around. I'll have a look
 into this..

 Thanks,
 ~Isuru



 Thank you.


 Thanks,
 ~Isuru



 thank you.


 Thank you.


 Installation failed.

 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: WSO2 Carbon - Transport Management
 Feature 4.0.0.SNAPSHOT 
 (org.wso2.carbon.transport.mgt.feature.group
 4.0.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.transport.mgt.stub
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.stub 
 4.0.0.SNAPSHOT) requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be 
 found
  Cannot satisfy dependency:
   From: WSO2 Carbon - Transport Management Feature
 4.0.0.SNAPSHOT 

Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Hiranya Jayathilaka
Same happens on Linux too. Not specific to Windows.

Thanks,
Hiranya

On Wed, Mar 28, 2012 at 1:04 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Carbon is no longer loading any instrumented jar on Windows. If we did
 some MANIFEST manipulation, may be that we did it wrong. Azeez can you
 check?

 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




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


Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Afkham Azeez
If you don't specify emma.home Emma will be disabled.

On Wed, Mar 28, 2012 at 5:21 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Azeez,

 Can we disable Emma integration for the moment, you can't build any
 integration tests right now on Windows, :(. I have also started an offline
 discussion on dropins.

 Thanks,
 Senaka.


 On Wed, Mar 28, 2012 at 1:08 PM, Afkham Azeez az...@wso2.com wrote:

 This happens if dropins are not working.


 On Wed, Mar 28, 2012 at 1:04 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Carbon is no longer loading any instrumented jar on Windows. If we did
 some MANIFEST manipulation, may be that we did it wrong. Azeez can you
 check?

 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




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




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




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


Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Afkham Azeez
You reported earlier that dropins is not working for you. So, it is not an
Emma specific problem.

On Wed, Mar 28, 2012 at 5:24 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Same happens on Linux too. Not specific to Windows.

 Thanks,
 Hiranya

 On Wed, Mar 28, 2012 at 1:04 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Carbon is no longer loading any instrumented jar on Windows. If we did
 some MANIFEST manipulation, may be that we did it wrong. Azeez can you
 check?

 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




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




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


Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Hiranya Jayathilaka
On Wed, Mar 28, 2012 at 5:27 PM, Afkham Azeez az...@wso2.com wrote:

 You reported earlier that dropins is not working for you. So, it is not an
 Emma specific problem.


No dropins is working for me now. But tests are getting hung anyway:

---
 T E S T S
---
Running TestSuite
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/home/hiranya/.m2/repository/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/hiranya/.m2/repository/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-03-28 17:37:41,950]  INFO
{org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying
/home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/../../../../integration/security-verifier/target/SecVerifier.aar
=
/home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar


Sanjaya just informed me he's getting the same in BPS.

Thanks,
Hiranya




 On Wed, Mar 28, 2012 at 5:24 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Same happens on Linux too. Not specific to Windows.

 Thanks,
 Hiranya

 On Wed, Mar 28, 2012 at 1:04 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Carbon is no longer loading any instrumented jar on Windows. If we did
 some MANIFEST manipulation, may be that we did it wrong. Azeez can you
 check?

 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




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




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




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


Re: [Dev] Adding google gson to orbit

2012-03-28 Thread Senaka Fernando
Hi all,

Doesn't the Jaggery/MS/GS folks already have a way of doing this?

Thanks,
Senaka.

On Wed, Mar 28, 2012 at 3:24 PM, Sanjaya Vithanagama sanja...@wso2.comwrote:

 Hi Suho,

 We have simple-json[1] but it doesn't allow direct conversions. So you'd
 have to create json objects ground up. But if your Java objects are
 serializable and type safe, Gson should be the correct approach as it
 allows one line conversion using #toJson(object). In that case +1 for
 adding it to orbit .

 [1] https://svn.wso2.org/repos/wso2/carbon/orbit/trunk/json-simple
 https://svn.wso2.org/repos/wso2/carbon/orbit/trunk/json-simple%20

 Regards,
 SanjayaV.

 On Wed, Mar 28, 2012 at 3:06 PM, Suhothayan Sriskandarajah 
 s...@wso2.comwrote:

 Hi

 I have a use case in which I need to convert json to java object and
 vice-versa.
 I found google gson[1] is capable of doing this conversion. But currently
 its not used in our platform
 Are we using any alternatives to this? else I can go ahead and include
 google gson.

 [1] http://code.google.com/p/google-gson/

 Thanks
 Suho

 --
 *S. Suhothayan
 *
 Software Engineer,
 Data Technologies Team,
  *WSO2, Inc. **http://wso2.com
  http://wso2.com/*
 *lean.enterprise.middleware.*

 *email: **s...@wso2.com* s...@wso2.com* cell: (+94) 779 756 757
 blog: **http://suhothayan.blogspot.com/*http://suhothayan.blogspot.com/
 *
 twitter: **http://twitter.com/suhothayan* http://twitter.com/suhothayan
 *
 linked-in: **http://lk.linkedin.com/in/suhothayan*
 *
 *


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




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




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


Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Hiranya Jayathilaka
Ok actually it's not getting hung. It just takes a long time to do the
instrumentation. In the mean time the test fails with the following error:

---
 T E S T S
---
Running TestSuite
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/home/hiranya/.m2/repository/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/hiranya/.m2/repository/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-03-28 17:37:41,950]  INFO
{org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying
/home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/../../../../integration/security-verifier/target/SecVerifier.aar
=
/home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
[2012-03-28 17:39:23,898]  INFO
{org.wso2.carbon.integration.framework.utils.CodeCoverageUtils} -
 Instrumented 452 files.
[2012-03-28 17:39:23,968]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 JAVA_HOME environment variable is set to /opt/jdk1.6.0_30
[2012-03-28 17:39:23,969]  INFO
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 CARBON_HOME environment variable is set to
/home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT
[2012-03-28 17:39:24,355] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
 java.lang.reflect.InvocationTargetException
[2012-03-28 17:39:24,356] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2012-03-28 17:39:24,356] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2012-03-28 17:39:24,356] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2012-03-28 17:39:24,356] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
java.lang.reflect.Method.invoke(Method.java:597)
[2012-03-28 17:39:24,356] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
[2012-03-28 17:39:24,356] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
[2012-03-28 17:39:24,356] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  Caused
by: java.lang.RuntimeException: Invalid signature file digest for Manifest
main attributes
[2012-03-28 17:39:24,356] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:101)
[2012-03-28 17:39:24,356] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.wso2.carbon.server.Main.launchCarbon(Main.java:112)
[2012-03-28 17:39:24,356] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
org.wso2.carbon.server.Main.main(Main.java:49)
[2012-03-28 17:39:24,356] ERROR
{org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   ... 6
more
FAILED CONFIGURATION: @BeforeSuite startServer
org.testng.internal.thread.ThreadTimeoutException: Method
org.testng.internal.ConfigurationMethod.startServer() didn't finish within
the time-out 12
at java.lang.Thread.sleep(Native Method)
at
org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:92)
at
org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:93)
at
org.wso2.carbon.integration.framework.TestServerManager.startServer(TestServerManager.java:79)
at
org.wso2.esb.integration.ESBTestServerManager.startServer(ESBTestServerManager.java:24)
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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at
org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46)
at
org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37)
at 

Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Hiranya Jayathilaka
I think the instrumentation takes a very long time (more than 2 mins) and
the test fails with a ThreadTimeoutException because the server is not
started within 2 minutes.

Thanks,
Hiranya

On Wed, Mar 28, 2012 at 5:41 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Ok actually it's not getting hung. It just takes a long time to do the
 instrumentation. In the mean time the test fails with the following error:

 ---
  T E S T S
 ---
 Running TestSuite
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/home/hiranya/.m2/repository/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/hiranya/.m2/repository/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-03-28 17:37:41,950]  INFO
 {org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/../../../../integration/security-verifier/target/SecVerifier.aar
 =
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
 [2012-03-28 17:39:23,898]  INFO
 {org.wso2.carbon.integration.framework.utils.CodeCoverageUtils} -
  Instrumented 452 files.
 [2012-03-28 17:39:23,968]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  JAVA_HOME environment variable is set to /opt/jdk1.6.0_30
 [2012-03-28 17:39:23,969]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  CARBON_HOME environment variable is set to
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT
 [2012-03-28 17:39:24,355] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  java.lang.reflect.InvocationTargetException
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 java.lang.reflect.Method.invoke(Method.java:597)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  Caused
 by: java.lang.RuntimeException: Invalid signature file digest for Manifest
 main attributes
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:101)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.Main.launchCarbon(Main.java:112)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.Main.main(Main.java:49)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   ...
 6 more
 FAILED CONFIGURATION: @BeforeSuite startServer
 org.testng.internal.thread.ThreadTimeoutException: Method
 org.testng.internal.ConfigurationMethod.startServer() didn't finish within
 the time-out 12
 at java.lang.Thread.sleep(Native Method)
  at
 org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:92)
 at
 org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:93)
  at
 org.wso2.carbon.integration.framework.TestServerManager.startServer(TestServerManager.java:79)
 at
 org.wso2.esb.integration.ESBTestServerManager.startServer(ESBTestServerManager.java:24)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at 

Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Afkham Azeez
That is strange. We were able to generate coverage reports for AS on two
different Linux machines. I believe Subash generated the G-Reg report also
on Linux. Instrumentation takes just a few seconds.

On Wed, Mar 28, 2012 at 5:41 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Ok actually it's not getting hung. It just takes a long time to do the
 instrumentation. In the mean time the test fails with the following error:

 ---
  T E S T S
 ---
 Running TestSuite
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/home/hiranya/.m2/repository/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/hiranya/.m2/repository/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-03-28 17:37:41,950]  INFO
 {org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/../../../../integration/security-verifier/target/SecVerifier.aar
 =
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
 [2012-03-28 17:39:23,898]  INFO
 {org.wso2.carbon.integration.framework.utils.CodeCoverageUtils} -
  Instrumented 452 files.
 [2012-03-28 17:39:23,968]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  JAVA_HOME environment variable is set to /opt/jdk1.6.0_30
 [2012-03-28 17:39:23,969]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  CARBON_HOME environment variable is set to
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT
 [2012-03-28 17:39:24,355] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  java.lang.reflect.InvocationTargetException
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 java.lang.reflect.Method.invoke(Method.java:597)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  Caused
 by: java.lang.RuntimeException: Invalid signature file digest for Manifest
 main attributes
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:101)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.Main.launchCarbon(Main.java:112)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.Main.main(Main.java:49)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   ...
 6 more
 FAILED CONFIGURATION: @BeforeSuite startServer
 org.testng.internal.thread.ThreadTimeoutException: Method
 org.testng.internal.ConfigurationMethod.startServer() didn't finish within
 the time-out 12
 at java.lang.Thread.sleep(Native Method)
  at
 org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:92)
 at
 org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:93)
  at
 org.wso2.carbon.integration.framework.TestServerManager.startServer(TestServerManager.java:79)
 at
 org.wso2.esb.integration.ESBTestServerManager.startServer(ESBTestServerManager.java:24)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at 

Re: [Dev] getting denied.system.properties property is not specified error in my stratos local setup

2012-03-28 Thread Supun Malinga
Hi,

On Wed, Mar 28, 2012 at 2:39 PM, Manjula Rathnayake manju...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 2:32 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Manjula,

 On Wed, Mar 28, 2012 at 2:25 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi Supun,

 The Stratos setup script is broken at the moment due to changing
 configuration file paths. I will work with Damitha to fix this.


Just hit me that it wouldn't be that much broken. I was able to start
manager fine!
Its not easy to configure stratos manually. Running the default AS would
work since I need to create few tenants.


 understood.
 Can you explain what this error means so that I can change the property
 files manually for the time being..


 I am not aware of this error. Can you start server without setting up the
 Stratos?


 thanks,


 Thank you.

 On Wed, Mar 28, 2012 at 2:08 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 This happens after I run the setup script and try to start stratos AS.
 But the before the stratos setup script run, stratos AS pack started
 fine. So I would assume some property change done by the setup script cause
 this.
 Would be helpful to know what this error means.

 error,
 JAVA_HOME environment variable is set to
 /home/disk1/Programs/jdk1.6.0_24
 CARBON_HOME environment variable is set to
 /home/supun/smoke/stratos/wso2stratos-as-1.1.0-SNAPSHOT
 Error occurred during initialization of VM
 java.lang.ExceptionInInitializerError
 at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)
  at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)
 Caused by: java.lang.IllegalArgumentException: denied.system.properties
 property is not specified.
  at
 org.wso2.carbon.bootstrap.CarbonSecurityManager.init(CarbonSecurityManager.java:44)
 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 java.lang.Class.newInstance0(Class.java:355)
  at java.lang.Class.newInstance(Class.java:308)
 at sun.misc.Launcher.init(Launcher.java:80)
  at sun.misc.Launcher.clinit(Launcher.java:43)
 at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)
  at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)

 thanks,
 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321


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




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987




-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com sup...@wso2.com
mobile - 071 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding google gson to orbit

2012-03-28 Thread Nuwan Bandara
We are using org.json and json-simple for our requirements.

Regards,
/Nuwan

On Wed, Mar 28, 2012 at 5:48 PM, Sagara Gunathunga sag...@wso2.com wrote:

 +1 use google gson .

 There is a ongoing project to rewrite Axis2 JSON processing using
 google gson, we have evaluated with a POC and receive some some
 exciting numbers for performance tests. From 1.7.0 onwards gson will
 be a Axis2 dependency too.

 Thanks !

 On Wed, Mar 28, 2012 at 3:24 PM, Sanjaya Vithanagama sanja...@wso2.com
 wrote:
  Hi Suho,
 
  We have simple-json[1] but it doesn't allow direct conversions. So you'd
  have to create json objects ground up. But if your Java objects are
  serializable and type safe, Gson should be the correct approach as it
 allows
  one line conversion using #toJson(object). In that case +1 for adding it
 to
  orbit .
 
  [1] https://svn.wso2.org/repos/wso2/carbon/orbit/trunk/json-simple
 
  Regards,
  SanjayaV.
 
  On Wed, Mar 28, 2012 at 3:06 PM, Suhothayan Sriskandarajah 
 s...@wso2.com
  wrote:
 
  Hi
 
  I have a use case in which I need to convert json to java object and
  vice-versa.
  I found google gson[1] is capable of doing this conversion. But
 currently
  its not used in our platform
  Are we using any alternatives to this? else I can go ahead and include
  google gson.
 
  [1] http://code.google.com/p/google-gson/
 
  Thanks
  Suho
 
  --
  S. Suhothayan
  Software Engineer,
  Data Technologies Team,
  WSO2, Inc. http://wso2.com
  lean.enterprise.middleware.
 
  email: s...@wso2.com cell: (+94) 779 756 757
  blog: http://suhothayan.blogspot.com/
  twitter: http://twitter.com/suhothayan
  linked-in: http://lk.linkedin.com/in/suhothayan
 
 
 
  ___
  Dev mailing list
  Dev@wso2.org
  http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
 
  --
  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
 



 --
 Sagara Gunathunga

 Technical Lead; WSO2, Inc.; http://wso2.com
 Blog - http://ssagara.blogspot.com
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Thanks  Regards,

Nuwan Bandara
Senior Software Engineer
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware

http://nuwan.bandara.co
*
http://www.nuwanbando.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Dimuthu Leelarathne
Hi all,

I also experience the long delay on the first startup, when I add a bundle
into dropins.

However subsequent startups are fast.

thanks,
dimuthu

On Wed, Mar 28, 2012 at 5:45 PM, Afkham Azeez az...@wso2.com wrote:

 That is strange. We were able to generate coverage reports for AS on two
 different Linux machines. I believe Subash generated the G-Reg report also
 on Linux. Instrumentation takes just a few seconds.


 On Wed, Mar 28, 2012 at 5:41 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Ok actually it's not getting hung. It just takes a long time to do the
 instrumentation. In the mean time the test fails with the following error:

 ---
  T E S T S
 ---
 Running TestSuite
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/home/hiranya/.m2/repository/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/hiranya/.m2/repository/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-03-28 17:37:41,950]  INFO
 {org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/../../../../integration/security-verifier/target/SecVerifier.aar
 =
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
 [2012-03-28 17:39:23,898]  INFO
 {org.wso2.carbon.integration.framework.utils.CodeCoverageUtils} -
  Instrumented 452 files.
 [2012-03-28 17:39:23,968]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  JAVA_HOME environment variable is set to /opt/jdk1.6.0_30
 [2012-03-28 17:39:23,969]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  CARBON_HOME environment variable is set to
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT
 [2012-03-28 17:39:24,355] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  java.lang.reflect.InvocationTargetException
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 java.lang.reflect.Method.invoke(Method.java:597)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  Caused
 by: java.lang.RuntimeException: Invalid signature file digest for Manifest
 main attributes
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:101)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.Main.launchCarbon(Main.java:112)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.Main.main(Main.java:49)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   ...
 6 more
 FAILED CONFIGURATION: @BeforeSuite startServer
 org.testng.internal.thread.ThreadTimeoutException: Method
 org.testng.internal.ConfigurationMethod.startServer() didn't finish within
 the time-out 12
 at java.lang.Thread.sleep(Native Method)
  at
 org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:92)
 at
 org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:93)
  at
 org.wso2.carbon.integration.framework.TestServerManager.startServer(TestServerManager.java:79)
 at
 org.wso2.esb.integration.ESBTestServerManager.startServer(ESBTestServerManager.java:24)
  at 

Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Afkham Azeez
You can enable Emma log messages by putting an emma.properties file as
instructed in
https://docs.google.com/a/wso2.com/document/d/1337AOkx5wkhW89obhxgsq3cY8DxGmJQzz5JtmgX_5rc/edit

A sample emma.properties file can be copied from
https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/distribution/integration/framework/src/main/resources/emma.properties

Set verbosity.level: info in that properties file, and place it into the
ESB integration test directory, and see whether Emma instrumentation
messages are appearing.


On Wed, Mar 28, 2012 at 5:45 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 I think the instrumentation takes a very long time (more than 2 mins) and
 the test fails with a ThreadTimeoutException because the server is not
 started within 2 minutes.

 Thanks,
 Hiranya


 On Wed, Mar 28, 2012 at 5:41 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Ok actually it's not getting hung. It just takes a long time to do the
 instrumentation. In the mean time the test fails with the following error:

 ---
  T E S T S
 ---
 Running TestSuite
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/home/hiranya/.m2/repository/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/hiranya/.m2/repository/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-03-28 17:37:41,950]  INFO
 {org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/../../../../integration/security-verifier/target/SecVerifier.aar
 =
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
 [2012-03-28 17:39:23,898]  INFO
 {org.wso2.carbon.integration.framework.utils.CodeCoverageUtils} -
  Instrumented 452 files.
 [2012-03-28 17:39:23,968]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  JAVA_HOME environment variable is set to /opt/jdk1.6.0_30
 [2012-03-28 17:39:23,969]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  CARBON_HOME environment variable is set to
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT
 [2012-03-28 17:39:24,355] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  java.lang.reflect.InvocationTargetException
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 java.lang.reflect.Method.invoke(Method.java:597)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  Caused
 by: java.lang.RuntimeException: Invalid signature file digest for Manifest
 main attributes
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:101)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.Main.launchCarbon(Main.java:112)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.Main.main(Main.java:49)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   ...
 6 more
 FAILED CONFIGURATION: @BeforeSuite startServer
 org.testng.internal.thread.ThreadTimeoutException: Method
 org.testng.internal.ConfigurationMethod.startServer() didn't finish within
 the time-out 12
 at java.lang.Thread.sleep(Native Method)
  at
 

Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Ishara Karunarathna
Hi,

I tried to build AS and G-Reg, but it fails with Timeouts.

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


Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Supun Malinga
On Wed, Mar 28, 2012 at 5:45 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 I think the instrumentation takes a very long time (more than 2 mins) and
 the test fails with a ThreadTimeoutException because the server is not
 started within 2 minutes.


ahh.. this must be why bamboo builds failed yesterday.
http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-5/test/case/14549057


 Thanks,
 Hiranya


 On Wed, Mar 28, 2012 at 5:41 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Ok actually it's not getting hung. It just takes a long time to do the
 instrumentation. In the mean time the test fails with the following error:

 ---
  T E S T S
 ---
 Running TestSuite
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/home/hiranya/.m2/repository/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/hiranya/.m2/repository/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-03-28 17:37:41,950]  INFO
 {org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/../../../../integration/security-verifier/target/SecVerifier.aar
 =
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
 [2012-03-28 17:39:23,898]  INFO
 {org.wso2.carbon.integration.framework.utils.CodeCoverageUtils} -
  Instrumented 452 files.
 [2012-03-28 17:39:23,968]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  JAVA_HOME environment variable is set to /opt/jdk1.6.0_30
 [2012-03-28 17:39:23,969]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  CARBON_HOME environment variable is set to
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT
 [2012-03-28 17:39:24,355] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  java.lang.reflect.InvocationTargetException
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 java.lang.reflect.Method.invoke(Method.java:597)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  Caused
 by: java.lang.RuntimeException: Invalid signature file digest for Manifest
 main attributes
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:101)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.Main.launchCarbon(Main.java:112)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.Main.main(Main.java:49)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   ...
 6 more
 FAILED CONFIGURATION: @BeforeSuite startServer
 org.testng.internal.thread.ThreadTimeoutException: Method
 org.testng.internal.ConfigurationMethod.startServer() didn't finish within
 the time-out 12
 at java.lang.Thread.sleep(Native Method)
  at
 org.wso2.carbon.integration.framework.ClientConnectionUtil.waitForPort(ClientConnectionUtil.java:92)
 at
 org.wso2.carbon.integration.framework.utils.ServerUtils.startServerUsingCarbonHome(ServerUtils.java:93)
  at
 org.wso2.carbon.integration.framework.TestServerManager.startServer(TestServerManager.java:79)
 at
 org.wso2.esb.integration.ESBTestServerManager.startServer(ESBTestServerManager.java:24)
  at 

Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Dimuthu Leelarathne
Hi all,

This is not an Emma issue.

I unpacked a kernel distribution. I copied
org.wso2.carbon.um.ws.service_4.0.0.SNAPSHOT.jar by hand to dropins.

I restarted the server and the server hangs.

So this is definitely not an Emma issue.

thanks,
dimuthu

On Wed, Mar 28, 2012 at 5:53 PM, Afkham Azeez az...@wso2.com wrote:

 You can enable Emma log messages by putting an emma.properties file as
 instructed in
 https://docs.google.com/a/wso2.com/document/d/1337AOkx5wkhW89obhxgsq3cY8DxGmJQzz5JtmgX_5rc/edit

 A sample emma.properties file can be copied from
 https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/distribution/integration/framework/src/main/resources/emma.properties

 Set verbosity.level: info in that properties file, and place it into
 the ESB integration test directory, and see whether Emma instrumentation
 messages are appearing.


 On Wed, Mar 28, 2012 at 5:45 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 I think the instrumentation takes a very long time (more than 2 mins) and
 the test fails with a ThreadTimeoutException because the server is not
 started within 2 minutes.

 Thanks,
 Hiranya


 On Wed, Mar 28, 2012 at 5:41 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 Ok actually it's not getting hung. It just takes a long time to do the
 instrumentation. In the mean time the test fails with the following error:

 ---
  T E S T S
 ---
 Running TestSuite
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/home/hiranya/.m2/repository/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/hiranya/.m2/repository/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-03-28 17:37:41,950]  INFO
 {org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/../../../../integration/security-verifier/target/SecVerifier.aar
 =
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
 [2012-03-28 17:39:23,898]  INFO
 {org.wso2.carbon.integration.framework.utils.CodeCoverageUtils} -
  Instrumented 452 files.
 [2012-03-28 17:39:23,968]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  JAVA_HOME environment variable is set to /opt/jdk1.6.0_30
 [2012-03-28 17:39:23,969]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  CARBON_HOME environment variable is set to
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT
 [2012-03-28 17:39:24,355] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  java.lang.reflect.InvocationTargetException
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 java.lang.reflect.Method.invoke(Method.java:597)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  Caused
 by: java.lang.RuntimeException: Invalid signature file digest for Manifest
 main attributes
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:101)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.Main.launchCarbon(Main.java:112)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.Main.main(Main.java:49)
 [2012-03-28 17:39:24,356] ERROR
 

Re: [Dev] [Blocker] Integration Tests stay hanged on Windows after Emma Integration

2012-03-28 Thread Afkham Azeez
On Wed, Mar 28, 2012 at 6:03 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi all,

 This is not an Emma issue.

 I unpacked a kernel distribution. I copied
 org.wso2.carbon.um.ws.service_4.0.0.SNAPSHOT.jar by hand to dropins.

 I restarted the server and the server hangs.

 So this is definitely not an Emma issue.


Make sure that you have a fully updated kernel build and
org.eclipse.osgi.p2.reconciler.dropins is not there in the plugins
directory. As long as that jar is there, the dropins functionality
implemented by Sameera will not work.


 thanks,
 dimuthu


 On Wed, Mar 28, 2012 at 5:53 PM, Afkham Azeez az...@wso2.com wrote:

 You can enable Emma log messages by putting an emma.properties file as
 instructed in
 https://docs.google.com/a/wso2.com/document/d/1337AOkx5wkhW89obhxgsq3cY8DxGmJQzz5JtmgX_5rc/edit

 A sample emma.properties file can be copied from
 https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/distribution/integration/framework/src/main/resources/emma.properties

 Set verbosity.level: info in that properties file, and place it into
 the ESB integration test directory, and see whether Emma instrumentation
 messages are appearing.


 On Wed, Mar 28, 2012 at 5:45 PM, Hiranya Jayathilaka hira...@wso2.comwrote:

 I think the instrumentation takes a very long time (more than 2 mins)
 and the test fails with a ThreadTimeoutException because the server is not
 started within 2 minutes.

 Thanks,
 Hiranya


 On Wed, Mar 28, 2012 at 5:41 PM, Hiranya Jayathilaka 
 hira...@wso2.comwrote:

 Ok actually it's not getting hung. It just takes a long time to do the
 instrumentation. In the mean time the test fails with the following error:

 ---
  T E S T S
 ---
 Running TestSuite
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in
 [jar:file:/home/hiranya/.m2/repository/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/hiranya/.m2/repository/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-03-28 17:37:41,950]  INFO
 {org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/../../../../integration/security-verifier/target/SecVerifier.aar
 =
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
 [2012-03-28 17:39:23,898]  INFO
 {org.wso2.carbon.integration.framework.utils.CodeCoverageUtils} -
  Instrumented 452 files.
 [2012-03-28 17:39:23,968]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  JAVA_HOME environment variable is set to /opt/jdk1.6.0_30
 [2012-03-28 17:39:23,969]  INFO
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  CARBON_HOME environment variable is set to
 /home/hiranya/Projects/java/wso2/carbon/platform/trunk/products/esb/modules/integration/localentry/target/carbontmp1332936459059/wso2esb-4.0.0-SNAPSHOT
 [2012-03-28 17:39:24,355] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -
  java.lang.reflect.InvocationTargetException
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 java.lang.reflect.Method.invoke(Method.java:597)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  Caused
 by: java.lang.RuntimeException: Invalid signature file digest for Manifest
 main attributes
 [2012-03-28 17:39:24,356] ERROR
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -   at
 org.wso2.carbon.server.CarbonLauncher.launch(CarbonLauncher.java:101)
 [2012-03-28 17:39:24,356] ERROR
 

[Dev] MS build failure

2012-03-28 Thread Manjula Rathnayake
Hi,

Installation failed.
Cannot complete the install because one or more required items could not be
found.
 Software being installed: WSO2 Carbon - Synapse Feature 2.1.0.wso2v6
(org.apache.synapse.wso2.feature.group 2.1.0.wso2v6)
 Missing requirement: Apache Synapse - Extensions 2.1.0.wso2v6
(synapse-extensions 2.1.0.wso2v6) requires 'package
com.sun.phobos.script.javascript 0.0.0' but it could not be found
 Cannot satisfy dependency:
  From: WSO2 Carbon - Synapse Feature 2.1.0.wso2v6
(org.apache.synapse.wso2.feature.group 2.1.0.wso2v6)
  To: synapse-extensions [2.1.0.wso2v6]

thank you.

-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Manager build failure

2012-03-28 Thread Manjula Rathnayake
Hi,

Installation failed.
Cannot complete the install because one or more required items could not be
found.
 Software being installed: WSO2 Carbon - BAM Core Feature 4.0.0.SNAPSHOT
(org.wso2.carbon.bam.server.feature.group 4.0.0.SNAPSHOT)
 Missing requirement: Data Service Hosting Server Feature 4.0.0.SNAPSHOT
(org.wso2.carbon.dataservices.server.feature.group 4.0.0.SNAPSHOT) requires
'org.wso2.carbon.transaction.manager.feature.group [4.0.0.SNAPSHOT,4.1.0)'
but it could not be found
 Cannot satisfy dependency:
  From: WSO2 Carbon - BAM Core Feature 4.0.0.SNAPSHOT
(org.wso2.carbon.bam.server.feature.group 4.0.0.SNAPSHOT)
  To: org.wso2.carbon.dataservices.server.feature.group
[4.0.0.SNAPSHOT,4.1.0)

thank you.

-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [maven3 warning] 'dependencies.dependency.systemPath' should not point at files within the project directory

2012-03-28 Thread Kathiravelu Pradeeban
Hi Data team,
I can see $Subject, when building
platform/components/data-services/org.wso2.carbon.dataservices.core

[WARNING] Some problems were encountered while building the effective model
for org.wso2.carbon:org.wso2.carbon.dataservices.core:bundle:4.0.0-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for ojdbc:ojdbc6:jar should
not point at files within the project directory,
${basedir}/src/test/resources/lib/ojdbc6.jar will be unresolvable by
dependent projects @ line 160, column 25
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.


In the pom.xml,
dependency
groupIdojdbc/groupId
artifactIdojdbc6/artifactId
scopesystem/scope
version6/version
*
systemPath${basedir}/src/test/resources/lib/ojdbc6.jar/systemPath
*/dependency

Is it safe to ignore the above exception?

Thank you.
Regards,
Pradeeban.
-- 
Kathiravelu Pradeeban.
Software Engineer.
Cloud Technologies Team.
WSO2 Inc.

Blog: [Llovizna] http://kkpradeeban.blogspot.com/
M: +94 776 477 976
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] getting denied.system.properties property is not specified error in my stratos local setup

2012-03-28 Thread Supun Malinga
On Wed, Mar 28, 2012 at 5:49 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 On Wed, Mar 28, 2012 at 2:39 PM, Manjula Rathnayake manju...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 2:32 PM, Supun Malinga sup...@wso2.com wrote:

 Hi Manjula,

 On Wed, Mar 28, 2012 at 2:25 PM, Manjula Rathnayake 
 manju...@wso2.comwrote:

 Hi Supun,

 The Stratos setup script is broken at the moment due to changing
 configuration file paths. I will work with Damitha to fix this.


 Just hit me that it wouldn't be that much broken. I was able to start
 manager fine!
 Its not easy to configure stratos manually. Running the default AS would
 work since I need to create few tenants.


seems recent config. file moving isn't done for manager!. That's why it
works fine.



 understood.
 Can you explain what this error means so that I can change the property
 files manually for the time being..


 I am not aware of this error. Can you start server without setting up the
 Stratos?


 thanks,


 Thank you.

 On Wed, Mar 28, 2012 at 2:08 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 This happens after I run the setup script and try to start stratos AS.
 But the before the stratos setup script run, stratos AS pack started
 fine. So I would assume some property change done by the setup script 
 cause
 this.
 Would be helpful to know what this error means.

 error,
 JAVA_HOME environment variable is set to
 /home/disk1/Programs/jdk1.6.0_24
 CARBON_HOME environment variable is set to
 /home/supun/smoke/stratos/wso2stratos-as-1.1.0-SNAPSHOT
 Error occurred during initialization of VM
 java.lang.ExceptionInInitializerError
 at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)
  at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)
 Caused by: java.lang.IllegalArgumentException:
 denied.system.properties property is not specified.
  at
 org.wso2.carbon.bootstrap.CarbonSecurityManager.init(CarbonSecurityManager.java:44)
 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 java.lang.Class.newInstance0(Class.java:355)
  at java.lang.Class.newInstance(Class.java:308)
 at sun.misc.Launcher.init(Launcher.java:80)
  at sun.misc.Launcher.clinit(Launcher.java:43)
 at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1338)
  at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1320)

 thanks,
 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321


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




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987




 --
 Supun Malinga,

 Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - sup...@wso2.com sup...@wso2.com
mobile - 071 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] ESB Code Coverage

2012-03-28 Thread Hiranya Jayathilaka
We are in the process of integrating Emma code coverage to ESB. Work is
still not complete due to a few issues (see other threads on this list).
But to give you all a rough idea, with the esb-samples integration module
we get a 56% class coverage and a 30% line coverage. This is only taking
synapse-core and synapse-commons into count. We can't add other Synapse
libs yet due to the above mentioned issues. But it can be said with
confidence that the percentage coverage won't change by a great amount by
adding other libs, because these 2 are the largest and most important.

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


Re: [Dev] Errors when building AS

2012-03-28 Thread Nirmal Fernando
Hi All,

On Wed, Mar 28, 2012 at 3:17 PM, Isuru Suriarachchi is...@wso2.com wrote:

 OK, found the issue and fixed it. This has been introduced by the addition
 of the woden dependency into the service stubs root pom. It introduces a
 versioned javax.xml.namespace package. So maven bundle plugin adds it's
 version into the manifest.


 Apologies for been the culprit for this issue! :( I was advised by the
core team, that building 'service-stubs' successfully is sufficient and
better if I can build components too.

Though I tried to build components, it failed due to some other reason (I
have sent an email) and since the commit was urgent I thought to commit.

Though I kept an eye on bamboo result, I couldn't locate an issue, further
I missed this conversation due to working on a support issue.

Thanks a lot Isuru for tracking this out and fixing it :)

I'll make sure that this won't happen again.

Again, sorry for the inconvenience caused.


 Please take an svn up in platform/service-stubs/pom.xml and build. Please
 let me know if there are more issues. In the mean while I'll try to
 properly handle the woden introduciton.

 Thanks,
 ~Isuru


 On Wed, Mar 28, 2012 at 2:57 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi,

 I was trying removing features from products and was able to build when
 following  features are not there.

 For greg -- human task, uddi, system.statistics
 For IS -- system.statistics

 thank you.

 On Wed, Mar 28, 2012 at 2:24 PM, Kathiravelu Pradeeban 
 pradee...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 2:12 PM, Isuru Suriarachchi is...@wso2.comwrote:

 OK, here's what I found so far.

 * javax.xml.namespace package is taken from the JDK in our products
 (see launch.ini)
 * When a package is taken from the JDK, it's version is always 0.0.0
 * So all the bundles which uses javax.xml.namespace package should
 import it without specifying a version or with version 0.0.0
 * Up to yesterday morning, all bundles which imports this package has
 imported it without specifying a version
 * But now, all stubs are importing javax.xml.namespace; version=
 [1.0.0,2.0.0)
 * When I have a look at poms of few stubs, there are no changes there
 and no stub specifically import javax.xml.namespace in their bundle plugins
 * AFAIK, maven bundle plugin adds import packages into MANIFEST.MF
 without a version if there's no version specified
 * But on current trunk, it adds the version [1.0.0,2.0.0) due to some
 reason.

 Now we have to find out the reason for this. Did anyone do any change
 related to maven bundle plugin? May be a version change?


 I did a version declaration in carbon/orbit/trunk/pom.xml for the plugin
 to be 2.3.7, to address the maven3 warnings, in the commit 124152.
 We are looking into this to see whether that could be the case.

 Regards,
 Pradeeban.



 Thanks,
 ~Isuru

 On Wed, Mar 28, 2012 at 12:15 PM, Isuru Suriarachchi is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 12:00 PM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:52 AM, Isuru Suriarachchi 
 is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 11:18 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:12 AM, Kasun Gajasinghe kas...@wso2.com
  wrote:



 On Wed, Mar 28, 2012 at 10:27 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Tue, Mar 27, 2012 at 8:18 PM, Sinthuja Ragendran 
 sinth...@wso2.com wrote:

 Hi,

 I'm also experiencing similar error mentioning '*requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be 
 found
 *' when installing the Transport Management Feature in
 product-BAM2.


 Have we sorted out this issue? I checked in orbit,carbon and
 platform poms, but I could not find a place where we export
 javax.xml.namespace package.

 Any others getting this error? Or it is local to me?


 No, it's still there. I'm also facing this issue. I think Bamboo
 will start complaining sooner.


 I exported in orbit axiom bundle, I will check the build and commit
 if there is no concern regarding this change.


 But before that, we have to find out how this issue came up and due
 to which change. Better if Pradeep also can have a look into this..

 +1, I have done this change locally for getting packs to verify
 issues. We need to find out root cause, and how it worked earlier. And we
 could not figure out this with recent commit mails.


 Looks like non of the Carbon core guys are around. I'll have a look
 into this..

 Thanks,
 ~Isuru



 Thank you.


 Thanks,
 ~Isuru



 thank you.


 Thank you.


 Installation failed.

 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: WSO2 Carbon - Transport Management
 Feature 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.feature.group
 4.0.0.SNAPSHOT)
  Missing requirement: org.wso2.carbon.transport.mgt.stub
 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.stub 4.0.0.SNAPSHOT) 
 requires
 'package javax.xml.namespace 

[Dev] [Bamboo-Build] WSO2 Carbon platform #31 was SUCCESSFUL (with 2065 tests). Change made by 10 authors.

2012-03-28 Thread Bamboo

---
WSO2 Carbon  platform  #31 was successful.
---
This build was manually triggered by BambooBuilder.
2065 tests in total.

http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-31/


--
Code Changes
--
nuwan (124239):

edit API fixes

nandika (124255):

added new properties to bps.xml from ode-axis2.properties file.

isuru (124256):

commenting out wooden dependecy which bring javax.xml.namespace into osgi 
imports. have to fix properly



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [maven3 warning] 'dependencies.dependency.systemPath' should not point at files within the project directory

2012-03-28 Thread Prabath Abeysekera
Hi Pradeeban,

On Wed, Mar 28, 2012 at 6:28 PM, Kathiravelu Pradeeban
pradee...@wso2.comwrote:

 Hi Data team,
 I can see $Subject, when building
 platform/components/data-services/org.wso2.carbon.dataservices.core

 [WARNING] Some problems were encountered while building the effective
 model for
 org.wso2.carbon:org.wso2.carbon.dataservices.core:bundle:4.0.0-SNAPSHOT
 [WARNING] 'dependencies.dependency.systemPath' for ojdbc:ojdbc6:jar should
 not point at files within the project directory,
 ${basedir}/src/test/resources/lib/ojdbc6.jar will be unresolvable by
 dependent projects @ line 160, column 25
 [WARNING]
 [WARNING] It is highly recommended to fix these problems because they
 threaten the stability of your build.
 [WARNING]
 [WARNING] For this reason, future Maven versions might no longer support
 building such malformed projects.


 In the pom.xml,
 dependency
 groupIdojdbc/groupId
 artifactIdojdbc6/artifactId
 scopesystem/scope
 version6/version
 *
 systemPath${basedir}/src/test/resources/lib/ojdbc6.jar/systemPath
 */dependency

 Is it safe to ignore the above exception?


Yeah I believe you can ignore those exceptions. The Oracle JDBC jar is not
hosted in any public repository that we're currently using. Thus, it is
currently kept in the aforementioned location and is only used to run
data-service Oracle test suite. However, If I'm not mistaken, we can upload
it to the hosted 3rd party repository of Nexus and access it. I believe
that would be a better option than referring it the above mentioned way.
WDYT?



 Thank you.
 Regards,
 Pradeeban.
 --
 Kathiravelu Pradeeban.
 Software Engineer.
 Cloud Technologies Team.
 WSO2 Inc.

 Blog: [Llovizna] http://kkpradeeban.blogspot.com/
 M: +94 776 477 976




-- 
Prabath Abeysekara
Software Engineer
WSO2 Inc.
Email: praba...@wso2.com harsha...@wso2.com
Mobile: +94774171471

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


Re: [Dev] [maven3 warning] 'dependencies.dependency.systemPath' should not point at files within the project directory

2012-03-28 Thread Kathiravelu Pradeeban
On Wed, Mar 28, 2012 at 8:04 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi Pradeeban,

 On Wed, Mar 28, 2012 at 6:28 PM, Kathiravelu Pradeeban pradee...@wso2.com
  wrote:

 Hi Data team,
 I can see $Subject, when building
 platform/components/data-services/org.wso2.carbon.dataservices.core

 [WARNING] Some problems were encountered while building the effective
 model for
 org.wso2.carbon:org.wso2.carbon.dataservices.core:bundle:4.0.0-SNAPSHOT
 [WARNING] 'dependencies.dependency.systemPath' for ojdbc:ojdbc6:jar
 should not point at files within the project directory,
 ${basedir}/src/test/resources/lib/ojdbc6.jar will be unresolvable by
 dependent projects @ line 160, column 25
 [WARNING]
 [WARNING] It is highly recommended to fix these problems because they
 threaten the stability of your build.
 [WARNING]
 [WARNING] For this reason, future Maven versions might no longer support
 building such malformed projects.


 In the pom.xml,
 dependency
 groupIdojdbc/groupId
 artifactIdojdbc6/artifactId
 scopesystem/scope
 version6/version
 *
 systemPath${basedir}/src/test/resources/lib/ojdbc6.jar/systemPath
 */dependency

 Is it safe to ignore the above exception?


 Yeah I believe you can ignore those exceptions. The Oracle JDBC jar is not
 hosted in any public repository that we're currently using. Thus, it is
 currently kept in the aforementioned location and is only used to run
 data-service Oracle test suite. However, If I'm not mistaken, we can upload
 it to the hosted 3rd party repository of Nexus and access it. I believe
 that would be a better option than referring it the above mentioned way.
 WDYT?


+1 Prabath.
In that way we can also avoid packing this jar with the source.

Thank you.
Regards,
Pradeeban.




 Thank you.
 Regards,
 Pradeeban.
 --
 Kathiravelu Pradeeban.
 Software Engineer.
 Cloud Technologies Team.
 WSO2 Inc.

 Blog: [Llovizna] http://kkpradeeban.blogspot.com/
 M: +94 776 477 976




 --
 Prabath Abeysekara
 Software Engineer
 WSO2 Inc.
 Email: praba...@wso2.com harsha...@wso2.com
 Mobile: +94774171471

 http://harshana05.blogspot.com/




-- 
Kathiravelu Pradeeban.
Software Engineer.
Cloud Technologies Team.
WSO2 Inc.

Blog: [Llovizna] http://kkpradeeban.blogspot.com/
M: +94 776 477 976
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Errors when building AS

2012-03-28 Thread Tharindu Mathew
On Wed, Mar 28, 2012 at 7:42 PM, Nirmal Fernando nir...@wso2.com wrote:

 Hi All,

 On Wed, Mar 28, 2012 at 3:17 PM, Isuru Suriarachchi is...@wso2.comwrote:

 OK, found the issue and fixed it. This has been introduced by the
 addition of the woden dependency into the service stubs root pom. It
 introduces a versioned javax.xml.namespace package. So maven bundle plugin
 adds it's version into the manifest.


  Apologies for been the culprit for this issue! :( I was advised by the
 core team, that building 'service-stubs' successfully is sufficient and
 better if I can build components too.

 Though I tried to build components, it failed due to some other reason (I
 have sent an email) and since the commit was urgent I thought to commit.

So you committed although the build failed locally???


 Though I kept an eye on bamboo result, I couldn't locate an issue, further
 I missed this conversation due to working on a support issue.

 Thanks a lot Isuru for tracking this out and fixing it :)

 I'll make sure that this won't happen again.

 Again, sorry for the inconvenience caused.


 Please take an svn up in platform/service-stubs/pom.xml and build. Please
 let me know if there are more issues. In the mean while I'll try to
 properly handle the woden introduciton.

 Thanks,
 ~Isuru


 On Wed, Mar 28, 2012 at 2:57 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi,

 I was trying removing features from products and was able to build when
 following  features are not there.

 For greg -- human task, uddi, system.statistics
 For IS -- system.statistics

 thank you.

 On Wed, Mar 28, 2012 at 2:24 PM, Kathiravelu Pradeeban 
 pradee...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 2:12 PM, Isuru Suriarachchi is...@wso2.comwrote:

 OK, here's what I found so far.

 * javax.xml.namespace package is taken from the JDK in our products
 (see launch.ini)
 * When a package is taken from the JDK, it's version is always 0.0.0
 * So all the bundles which uses javax.xml.namespace package should
 import it without specifying a version or with version 0.0.0
 * Up to yesterday morning, all bundles which imports this package has
 imported it without specifying a version
 * But now, all stubs are importing javax.xml.namespace; version=
 [1.0.0,2.0.0)
 * When I have a look at poms of few stubs, there are no changes there
 and no stub specifically import javax.xml.namespace in their bundle 
 plugins
 * AFAIK, maven bundle plugin adds import packages into MANIFEST.MF
 without a version if there's no version specified
 * But on current trunk, it adds the version [1.0.0,2.0.0) due to some
 reason.

 Now we have to find out the reason for this. Did anyone do any change
 related to maven bundle plugin? May be a version change?


 I did a version declaration in carbon/orbit/trunk/pom.xml for the
 plugin to be 2.3.7, to address the maven3 warnings, in the commit 124152.
 We are looking into this to see whether that could be the case.

 Regards,
 Pradeeban.



 Thanks,
 ~Isuru

 On Wed, Mar 28, 2012 at 12:15 PM, Isuru Suriarachchi 
 is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 12:00 PM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:52 AM, Isuru Suriarachchi is...@wso2.com
  wrote:



 On Wed, Mar 28, 2012 at 11:18 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:12 AM, Kasun Gajasinghe 
 kas...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 10:27 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Tue, Mar 27, 2012 at 8:18 PM, Sinthuja Ragendran 
 sinth...@wso2.com wrote:

 Hi,

 I'm also experiencing similar error mentioning '*requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be 
 found
 *' when installing the Transport Management Feature in
 product-BAM2.


 Have we sorted out this issue? I checked in orbit,carbon and
 platform poms, but I could not find a place where we export
 javax.xml.namespace package.

 Any others getting this error? Or it is local to me?


 No, it's still there. I'm also facing this issue. I think Bamboo
 will start complaining sooner.


 I exported in orbit axiom bundle, I will check the build and
 commit if there is no concern regarding this change.


 But before that, we have to find out how this issue came up and due
 to which change. Better if Pradeep also can have a look into this..

 +1, I have done this change locally for getting packs to verify
 issues. We need to find out root cause, and how it worked earlier. And 
 we
 could not figure out this with recent commit mails.


 Looks like non of the Carbon core guys are around. I'll have a look
 into this..

 Thanks,
 ~Isuru



 Thank you.


 Thanks,
 ~Isuru



 thank you.


 Thank you.


 Installation failed.

 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: WSO2 Carbon - Transport Management
 Feature 4.0.0.SNAPSHOT (org.wso2.carbon.transport.mgt.feature.group
 4.0.0.SNAPSHOT)
  Missing requirement: 

Re: [Dev] Errors when building AS

2012-03-28 Thread Nirmal Fernando
On Wed, Mar 28, 2012 at 9:07 PM, Tharindu Mathew thari...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 7:42 PM, Nirmal Fernando nir...@wso2.com wrote:

 Hi All,

 On Wed, Mar 28, 2012 at 3:17 PM, Isuru Suriarachchi is...@wso2.comwrote:

 OK, found the issue and fixed it. This has been introduced by the
 addition of the woden dependency into the service stubs root pom. It
 introduces a versioned javax.xml.namespace package. So maven bundle plugin
 adds it's version into the manifest.


  Apologies for been the culprit for this issue! :( I was advised by the
 core team, that building 'service-stubs' successfully is sufficient and
 better if I can build components too.

 Though I tried to build components, it failed due to some other reason (I
 have sent an email) and since the commit was urgent I thought to commit.

 So you committed although the build failed locally???


Build failed due to some other error!



 Though I kept an eye on bamboo result, I couldn't locate an issue,
 further I missed this conversation due to working on a support issue.

 Thanks a lot Isuru for tracking this out and fixing it :)

 I'll make sure that this won't happen again.

 Again, sorry for the inconvenience caused.


 Please take an svn up in platform/service-stubs/pom.xml and build.
 Please let me know if there are more issues. In the mean while I'll try to
 properly handle the woden introduciton.

 Thanks,
 ~Isuru


 On Wed, Mar 28, 2012 at 2:57 PM, Manjula Rathnayake 
 manju...@wso2.comwrote:

 Hi,

 I was trying removing features from products and was able to build when
 following  features are not there.

 For greg -- human task, uddi, system.statistics
 For IS -- system.statistics

 thank you.

 On Wed, Mar 28, 2012 at 2:24 PM, Kathiravelu Pradeeban 
 pradee...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 2:12 PM, Isuru Suriarachchi is...@wso2.comwrote:

 OK, here's what I found so far.

 * javax.xml.namespace package is taken from the JDK in our products
 (see launch.ini)
 * When a package is taken from the JDK, it's version is always 0.0.0
 * So all the bundles which uses javax.xml.namespace package should
 import it without specifying a version or with version 0.0.0
 * Up to yesterday morning, all bundles which imports this package has
 imported it without specifying a version
 * But now, all stubs are importing javax.xml.namespace; version=
 [1.0.0,2.0.0)
 * When I have a look at poms of few stubs, there are no changes there
 and no stub specifically import javax.xml.namespace in their bundle 
 plugins
 * AFAIK, maven bundle plugin adds import packages into MANIFEST.MF
 without a version if there's no version specified
 * But on current trunk, it adds the version [1.0.0,2.0.0) due to
 some reason.

 Now we have to find out the reason for this. Did anyone do any change
 related to maven bundle plugin? May be a version change?


 I did a version declaration in carbon/orbit/trunk/pom.xml for the
 plugin to be 2.3.7, to address the maven3 warnings, in the commit 124152.
 We are looking into this to see whether that could be the case.

 Regards,
 Pradeeban.



 Thanks,
 ~Isuru

 On Wed, Mar 28, 2012 at 12:15 PM, Isuru Suriarachchi 
 is...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 12:00 PM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:52 AM, Isuru Suriarachchi 
 is...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:18 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:12 AM, Kasun Gajasinghe 
 kas...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 10:27 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Tue, Mar 27, 2012 at 8:18 PM, Sinthuja Ragendran 
 sinth...@wso2.com wrote:

 Hi,

 I'm also experiencing similar error mentioning '*requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be 
 found
 *' when installing the Transport Management Feature in
 product-BAM2.


 Have we sorted out this issue? I checked in orbit,carbon and
 platform poms, but I could not find a place where we export
 javax.xml.namespace package.

 Any others getting this error? Or it is local to me?


 No, it's still there. I'm also facing this issue. I think Bamboo
 will start complaining sooner.


 I exported in orbit axiom bundle, I will check the build and
 commit if there is no concern regarding this change.


 But before that, we have to find out how this issue came up and
 due to which change. Better if Pradeep also can have a look into 
 this..

 +1, I have done this change locally for getting packs to verify
 issues. We need to find out root cause, and how it worked earlier. And 
 we
 could not figure out this with recent commit mails.


 Looks like non of the Carbon core guys are around. I'll have a look
 into this..

 Thanks,
 ~Isuru



 Thank you.


 Thanks,
 ~Isuru



 thank you.


 Thank you.


 Installation failed.

 Cannot complete the install because one or more required items
 could not be found.
  Software being installed: WSO2 Carbon - Transport 

Re: [Dev] Errors when building AS

2012-03-28 Thread Nirmal Fernando
On Wed, Mar 28, 2012 at 9:10 PM, Nirmal Fernando nir...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 9:07 PM, Tharindu Mathew thari...@wso2.comwrote:



 On Wed, Mar 28, 2012 at 7:42 PM, Nirmal Fernando nir...@wso2.com wrote:

 Hi All,

 On Wed, Mar 28, 2012 at 3:17 PM, Isuru Suriarachchi is...@wso2.comwrote:

 OK, found the issue and fixed it. This has been introduced by the
 addition of the woden dependency into the service stubs root pom. It
 introduces a versioned javax.xml.namespace package. So maven bundle plugin
 adds it's version into the manifest.


  Apologies for been the culprit for this issue! :( I was advised by the
 core team, that building 'service-stubs' successfully is sufficient and
 better if I can build components too.

 Though I tried to build components, it failed due to some other reason
 (I have sent an email) and since the commit was urgent I thought to commit.

 So you committed although the build failed locally???


 Build failed due to some other error!


I've reported that in the thread which is subjected Compilation failure in
components.





 Though I kept an eye on bamboo result, I couldn't locate an issue,
 further I missed this conversation due to working on a support issue.

 Thanks a lot Isuru for tracking this out and fixing it :)

 I'll make sure that this won't happen again.

 Again, sorry for the inconvenience caused.


 Please take an svn up in platform/service-stubs/pom.xml and build.
 Please let me know if there are more issues. In the mean while I'll try to
 properly handle the woden introduciton.

 Thanks,
 ~Isuru


 On Wed, Mar 28, 2012 at 2:57 PM, Manjula Rathnayake 
 manju...@wso2.comwrote:

 Hi,

 I was trying removing features from products and was able to build
 when following  features are not there.

 For greg -- human task, uddi, system.statistics
 For IS -- system.statistics

 thank you.

 On Wed, Mar 28, 2012 at 2:24 PM, Kathiravelu Pradeeban 
 pradee...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 2:12 PM, Isuru Suriarachchi 
 is...@wso2.comwrote:

 OK, here's what I found so far.

 * javax.xml.namespace package is taken from the JDK in our products
 (see launch.ini)
 * When a package is taken from the JDK, it's version is always 0.0.0
 * So all the bundles which uses javax.xml.namespace package should
 import it without specifying a version or with version 0.0.0
 * Up to yesterday morning, all bundles which imports this package
 has imported it without specifying a version
 * But now, all stubs are importing javax.xml.namespace; version=
 [1.0.0,2.0.0)
 * When I have a look at poms of few stubs, there are no changes
 there and no stub specifically import javax.xml.namespace in their 
 bundle
 plugins
 * AFAIK, maven bundle plugin adds import packages into MANIFEST.MF
 without a version if there's no version specified
 * But on current trunk, it adds the version [1.0.0,2.0.0) due to
 some reason.

 Now we have to find out the reason for this. Did anyone do any
 change related to maven bundle plugin? May be a version change?


 I did a version declaration in carbon/orbit/trunk/pom.xml for the
 plugin to be 2.3.7, to address the maven3 warnings, in the commit 124152.
 We are looking into this to see whether that could be the case.

 Regards,
 Pradeeban.



 Thanks,
 ~Isuru

 On Wed, Mar 28, 2012 at 12:15 PM, Isuru Suriarachchi is...@wso2.com
  wrote:



 On Wed, Mar 28, 2012 at 12:00 PM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:52 AM, Isuru Suriarachchi 
 is...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:18 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 11:12 AM, Kasun Gajasinghe 
 kas...@wso2.com wrote:



 On Wed, Mar 28, 2012 at 10:27 AM, Manjula Rathnayake 
 manju...@wso2.com wrote:



 On Tue, Mar 27, 2012 at 8:18 PM, Sinthuja Ragendran 
 sinth...@wso2.com wrote:

 Hi,

 I'm also experiencing similar error mentioning '*requires
 'package javax.xml.namespace [1.0.0,2.0.0)' but it could not be 
 found
 *' when installing the Transport Management Feature in
 product-BAM2.


 Have we sorted out this issue? I checked in orbit,carbon and
 platform poms, but I could not find a place where we export
 javax.xml.namespace package.

 Any others getting this error? Or it is local to me?


 No, it's still there. I'm also facing this issue. I think
 Bamboo will start complaining sooner.


 I exported in orbit axiom bundle, I will check the build and
 commit if there is no concern regarding this change.


 But before that, we have to find out how this issue came up and
 due to which change. Better if Pradeep also can have a look into 
 this..

 +1, I have done this change locally for getting packs to verify
 issues. We need to find out root cause, and how it worked earlier. 
 And we
 could not figure out this with recent commit mails.


 Looks like non of the Carbon core guys are around. I'll have a look
 into this..

 Thanks,
 ~Isuru



 Thank you.


 Thanks,
 ~Isuru



 thank you.


 Thank 

Re: [Dev] [platform] why several libthrift orbit versions?

2012-03-28 Thread Pradeep Fernando
Hi all,

Actually we decided to have different versions after a long mailing thread
discussion. Its better to use the same version, but it was not the case.
After all we are using OSGi module layer. So why not different versions.

please correct me if i'm wrong, else,
please resolve the JIRA.

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


Re: [Dev] [platform] why several libthrift orbit versions?

2012-03-28 Thread Buddhika Chamith
On Wed, Mar 28, 2012 at 10:02 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi all,

 Actually we decided to have different versions after a long mailing thread
 discussion. Its better to use the same version, but it was not the case.
 After all we are using OSGi module layer. So why not different versions.


Yes having the same version may not be practical since specially due to
Cassandra dependency on an earlier version of Thrift which is AFAIK is
incompatible with new version. Identity and Agent components use new
features present in Thrift if I am not mistaken which are not present in
the version used by Cassandra. Not sure about dss though.

Regards
Buddhika



 please correct me if i'm wrong, else,
 please resolve the JIRA.

 --Pradeep

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


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


[Dev] [Bamboo-Build] WSO2 Carbon Kernel #138 was SUCCESSFUL (with 2790 tests)

2012-03-28 Thread Bamboo

---
WSO2 Carbon  Kernel  #138 was successful.
---
This build was manually triggered by BambooBuilder.
2790 tests in total.

http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-138/



--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Running some code when installing a feature for C4

2012-03-28 Thread Tharindu Mathew
I thought about this thoroughly and we can't rely on file system based
configs for some artifacts we need like gadgets.

I feel it might be helpful for many cases to allow to implement this touch
point in a clean manner. Executing some code is really valuable since lots
of components rely on registry based configurations.

We should think about implementing for a future release, so we can take the
full advantage of p2.

On Wed, Mar 28, 2012 at 9:24 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 had an offline chat with Tharindu regarding this. We do not support this
 functionality in carbon-core. We just use OOTB touchpoints provided for
 eclipse environment.

 Tharindu decided to handle its requirement within the component code. The
 meta files can be provided using existing p2 copy mechanism. I think it is
 the right approach. Otherwise we  have to write a p2-touchpoint
 implementation that execute java/some DSL code.

 --Pradeep




-- 
Regards,

Tharindu

blog: http://mackiemathew.com/
M: +9459908
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MS build failure

2012-03-28 Thread Sinthuja Ragendran
Hi,

same problem is experienced with bam2 products.

Installation failed.
Cannot complete the install because one or more required items could not be
found.
 Software being installed: WSO2 Carbon - Scheduled Tasks Core Feature
4.0.0.SNAPSHOT (org.wso2.carbon.task.server.feature.group 4.0.0.SNAPSHOT)
 Missing requirement: Apache Synapse - Extensions 2.1.0.wso2v6
(synapse-extensions 2.1.0.wso2v6) requires 'package
com.sun.phobos.script.javascript 0.0.0' but it could not be found
 Cannot satisfy dependency:
  From: WSO2 Carbon - Synapse Feature 2.1.0.wso2v6
(org.apache.synapse.wso2.feature.group 2.1.0.wso2v6)
  To: synapse-extensions [2.1.0.wso2v6]
 Cannot satisfy dependency:
  From: WSO2 Carbon - Scheduled Tasks Core Feature 4.0.0.SNAPSHOT
(org.wso2.carbon.task.server.feature.group 4.0.0.SNAPSHOT)
  To: org.apache.synapse.wso2.feature.group [2.1.0.wso2v6,2.2.0)
Application failed, log file location:
/home/sinthuja/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1332952974601.log

Thanks,
Sinthuja.

On Wed, Mar 28, 2012 at 7:48 PM, Nirmal Fernando nir...@wso2.com wrote:

 Hi,

 On Wed, Mar 28, 2012 at 6:23 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi,

 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - Synapse Feature 2.1.0.wso2v6
 (org.apache.synapse.wso2.feature.group 2.1.0.wso2v6)
  Missing requirement: Apache Synapse - Extensions 2.1.0.wso2v6
 (synapse-extensions 2.1.0.wso2v6) requires 'package
 com.sun.phobos.script.javascript 0.0.0' but it could not be found


 I think this is due to the recent commit r124159. Reason for that commit
 might be to get rid of an issue of adding woden dependency to service stubs?

 Since that is fixed now, r124159 could be reverted ?



  Cannot satisfy dependency:
   From: WSO2 Carbon - Synapse Feature 2.1.0.wso2v6
 (org.apache.synapse.wso2.feature.group 2.1.0.wso2v6)
   To: synapse-extensions [2.1.0.wso2v6]

 thank you.

 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

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




 --

 Thanks  regards,
 Nirmal

 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


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


Re: [Dev] Manager build failure

2012-03-28 Thread Sinthuja Ragendran
Hi,

I think the org.wso2.carbon.transaction.manager.feature also should be
installed in the p2 profile gen.
Similar fix is done for AS in
r124058http://wso2.org/svn/browse/wso2/carbon/platform/trunk/products/as/modules/p2-profile-gen/product/pom.xml?revision=124058view=markuppathrev=124058.
Please refer [1].
That should solve the problem.


[1]
http://wso2.org/svn/browse/wso2/carbon/platform/trunk/products/as/modules/p2-profile-gen/product/pom.xml?view=diffr1=124057r2=124058pathrev=124058

Thanks,
Sinthuja.

On Wed, Mar 28, 2012 at 6:28 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi,

 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - BAM Core Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.bam.server.feature.group 4.0.0.SNAPSHOT)
  Missing requirement: Data Service Hosting Server Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.dataservices.server.feature.group 4.0.0.SNAPSHOT) requires
 'org.wso2.carbon.transaction.manager.feature.group [4.0.0.SNAPSHOT,4.1.0)'
 but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - BAM Core Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.bam.server.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.dataservices.server.feature.group
 [4.0.0.SNAPSHOT,4.1.0)

 thank you.

 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

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


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


Re: [Dev] Manager build failure

2012-03-28 Thread Prabath Abeysekera
On Wed, Mar 28, 2012 at 10:35 PM, Sinthuja Ragendran sinth...@wso2.comwrote:

 Hi,

 I think the org.wso2.carbon.transaction.manager.feature also should be
 installed in the p2 profile gen.
 Similar fix is done for AS in 
 r124058http://wso2.org/svn/browse/wso2/carbon/platform/trunk/products/as/modules/p2-profile-gen/product/pom.xml?revision=124058view=markuppathrev=124058.
 Please refer [1].
 That should solve the problem.


Yeah. Data-Service hosting feature depends on the transaction-manager
feature for its distributed transaction related functionalities. After
detaching the transaction-manager related dependencies from the carbon-core
it's been introduced as a separate feature. As a result you would want to
add it to BAM's p2 profile as well.




 [1]
 http://wso2.org/svn/browse/wso2/carbon/platform/trunk/products/as/modules/p2-profile-gen/product/pom.xml?view=diffr1=124057r2=124058pathrev=124058

 Thanks,
 Sinthuja.

 On Wed, Mar 28, 2012 at 6:28 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi,

 Installation failed.
 Cannot complete the install because one or more required items could not
 be found.
  Software being installed: WSO2 Carbon - BAM Core Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.bam.server.feature.group 4.0.0.SNAPSHOT)
  Missing requirement: Data Service Hosting Server Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.dataservices.server.feature.group 4.0.0.SNAPSHOT) requires
 'org.wso2.carbon.transaction.manager.feature.group [4.0.0.SNAPSHOT,4.1.0)'
 but it could not be found
  Cannot satisfy dependency:
   From: WSO2 Carbon - BAM Core Feature 4.0.0.SNAPSHOT
 (org.wso2.carbon.bam.server.feature.group 4.0.0.SNAPSHOT)
   To: org.wso2.carbon.dataservices.server.feature.group
 [4.0.0.SNAPSHOT,4.1.0)

 thank you.

 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

 ___
 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




-- 
Prabath Abeysekara
Software Engineer
WSO2 Inc.
Email: praba...@wso2.com harsha...@wso2.com
Mobile: +94774171471

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


[Dev] [Bamboo-Build] WSO2 Carbon platform #32 has FAILED (1 tests failed). Change made by 15 authors.

2012-03-28 Thread Bamboo

---
WSO2 Carbon  platform  #32 failed.
---
This build was manually triggered by BambooBuilder.
1/2066 tests failed.

http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-32/


--
Failing Jobs
--
  - Default Job (Default Stage): 1 of 2066 tests failed.


--
Code Changes
--
johann (124302):

removing dependency usage.client

pradeeban (124275):

Fixing the maven3 warnings in business-processes.


johann (124284):

Adding names to apimgt.usage module and child modules



--
Tests
--
New Test Failures (1)
   - APIMgtDAOTest: Register access token

--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] G-Reg Code Coverage

2012-03-28 Thread Senaka Fernando
The code coverage considering all bundles related to the G-Reg product as a
part of the integration test suite is 54% in terms of classes covered and
35.5% in terms of lines covered. We are further planning to introduce more
integration test cases to cover some of the areas in the governance space,
which would give us a fairly decent number for this release.

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


[Dev] [Bamboo-Build] WSO2 Carbon Products #11 has FAILED (1 tests failed). Change made by 15 authors.

2012-03-28 Thread Bamboo

---
WSO2 Carbon  Products  #11 failed.
---
This build was manually triggered by BambooBuilder.
1/68 tests failed.

http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PRODUCTS-11/


--
Failing Jobs
--
  - Default Job (Default Stage): 1 of 68 tests failed.


--
Code Changes
--
johann (124302):

removing dependency usage.client

pradeeban (124275):

Fixing the maven3 warnings in business-processes.


johann (124284):

Adding names to apimgt.usage module and child modules



--
Tests
--
New Test Failures (1)
   - ESBTestServerManager: Start server

--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [platform] why several libthrift orbit versions?

2012-03-28 Thread Deependra Ariyadewa
On Wed, Mar 28, 2012 at 9:48 PM, Buddhika Chamith buddhi...@wso2.com wrote:


 On Wed, Mar 28, 2012 at 10:02 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi all,

 Actually we decided to have different versions after a long mailing thread
 discussion. Its better to use the same version, but it was not the case.
 After all we are using OSGi module layer. So why not different versions.


 Yes having the same version may not be practical since specially due to
 Cassandra dependency on an earlier version of Thrift which is AFAIK is
 incompatible with new version. Identity and Agent components use new
 features present in Thrift if I am not mistaken which are not present in the
 version used by Cassandra. Not sure about dss though.

Cassandra 1.x.x depends on libthrift 0.6.1 and Cassandra can not work
with higher libthrift versions due to libthrift implementation
changes. I tried to use Cassandra 1.1.x but it is not production ready
and it depends on libthrift 0.7.0.

IS and CSG need libthrift 0.8.x therefore we have to keep multiple
versions of libthrift.

Thanks,

Deependra.


 Regards
 Buddhika



 please correct me if i'm wrong, else,
 please resolve the JIRA.

 --Pradeep

 ___
 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




-- 
Deependra Ariyadewa
WSO2, Inc. http://wso2.com/ http://wso2.org

email d...@wso2.com; cell +94 71 403 5996 ;
Blog http://risenfall.wordpress.com/
PGP info: KeyID: 'DC627E6F'
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon platform #33 has FAILED (1 tests failed, no failures were new). Change made by 5 authors.

2012-03-28 Thread Bamboo

---
WSO2 Carbon  platform  #33 failed.
---
Code has been updated by pradeeban, krishantha, johann, senaka, nuwan.
1/2066 tests failed, no failures were new.

http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-33/


--
Failing Jobs
--
  - Default Job (Default Stage): 1 of 2066 tests failed.


--
Code Changes
--
johann (124339):

Fixing

pradeeban (124329):

removal of a duplicate dependency.


pradeeban (124335):

maven3 warnings in the rule components.




--
Tests
--
Existing Test Failures (1)
   - APIMgtDAOTest: Register access token

--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Bamboo-Build] WSO2 Carbon platform #34 has FAILED (1 tests failed, no failures were new). Change made by pradeeban, krishantha and senaka.

2012-03-28 Thread Bamboo

---
WSO2 Carbon  platform  #34 failed.
---
This build occurred because it is a dependant of 
WSO2CARBON-CARBONCOREKERNELBUILD-139.
1/2066 tests failed, no failures were new.

http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/


--
Failing Jobs
--
  - Default Job (Default Stage): 1 of 2066 tests failed.


--
Code Changes
--
pradeeban (124350):

Maven3 best practices for rest-api.


pradeeban (124351):

Maven3 best practice.


pradeeban (124349):

removal of the duplicate dependencies.




--
Tests
--
Existing Test Failures (1)
   - APIMgtDAOTest: Register access token

--
This message is automatically generated by Atlassian Bamboo___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Bamboo-Build] WSO2 Carbon platform #34 has FAILED (1 tests failed, no failures were new). Change made by pradeeban, krishantha and senaka.

2012-03-28 Thread Dimuthu Leelarathne
Hi IS RMs,

Please note Identity test failures.

tx,
dimuthu

On Thu, Mar 29, 2012 at 7:57 AM, Bamboo cbuil...@wso2.org wrote:

  [image: Failed]  WSO2 
 Carbonhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON/›
 platformhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM/›
 #34http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/
 failed

 This build occurred because it is a dependant of
 WSO2CARBON-CARBONCOREKERNELBUILD-139http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-139
 .

 *1/2066* tests failed.
   Failing 
 Jobshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/
 Job Duration Tests[image: Failed]  Default 
 Jobhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/
  (Default
 Stage)  134 minutes  1 of 2066 failed  
 Logshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/log|
 Artifactshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/artifact
  Code
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/commit/
   View
 all 11 code 
 changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/commit/
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban
 Fixing maven3 warnings in hostobjects.
  124352
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban
 Maven3 best practice.
  124351
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban
 Maven3 best practices for rest-api.
  124350   8 more 
 changes…http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/commit
 Testshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/test
   View
 full test 
 detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/test
1
 Existing Test Failures  Test Job APIMgtDAOTest 
 testRegisterAccessTokenhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/test/case/14550486
   Default
 Jobhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/test
  View
 Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34
 | Add 
 Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34?commentMode=true

 This message was sent by Atlassian 
 Bamboohttp://builder4.us1.wso2.org:/bamboo
 .

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

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




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


Re: [Dev] G-Reg Code Coverage

2012-03-28 Thread Afkham Azeez
35.5% is a fairly decent coverage.

On Thu, Mar 29, 2012 at 12:42 AM, Senaka Fernando sen...@wso2.com wrote:

 The code coverage considering all bundles related to the G-Reg product as
 a part of the integration test suite is 54% in terms of classes covered and
 35.5% in terms of lines covered. We are further planning to introduce more
 integration test cases to cover some of the areas in the governance space,
 which would give us a fairly decent number for this release.

 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


[Dev] Please complete code coverage integration today

2012-03-28 Thread Afkham Azeez
Folks,
Please make sure that this gets completed today. This is a simple task that
will take at most 1/2 hour.

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


Re: [Dev] ESB Startup Hanging

2012-03-28 Thread Charith Wickramarachchi
In this case Build was triggered with r124320. According to Dimuthu the fix
for dropins was done at r124321. So Lets wait for the new build. Now its at
ESB level.

thanks,
Charith


On Thu, Mar 29, 2012 at 10:00 AM, Hiranya Jayathilaka hira...@wso2.comwrote:

 We see that ESB startup is getting hung time to time during integration
 tests. This has happened twice in the last build triggered by Bamboo. In
 both cases the startup log is similar to the following:

 build 28-Mar-2012 12:59:56[2012-03-28 12:59:56,104]  INFO 
 {org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/../../../../integration/security-verifier/target/SecVerifier.aar
  = 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
 build 28-Mar-2012 12:59:56[2012-03-28 12:59:56,161]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  JAVA_HOME 
 environment variable is set to /home/bamboo/jdk1.6.0_24
 build 28-Mar-2012 12:59:56[2012-03-28 12:59:56,161]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 CARBON_HOME environment variable is set to 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,709]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,709]  INFO - CarbonCoreActivator Starting WSO2 Carbon...
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,955]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Operating System : 
 Linux 2.6.32-5-amd64, amd64
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,955]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Java Home: 
 /home/bamboo/jdk1.6.0_24/jre
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,955]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Java Version : 
 1.6.0_24
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Java VM  : Java 
 HotSpot(TM) 64-Bit Server VM 19.1-b02,Sun Microsystems Inc.
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,956]  INFO - CarbonCoreActivator Carbon Home  : 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,956]  INFO - CarbonCoreActivator Java Temp Dir: 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT/tmp
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,956]  INFO - CarbonCoreActivator User : 
 bamboo, en-US, America/Los_Angeles
 build 28-Mar-2012 13:00:03[2012-03-28 13:00:03,254]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:03,253]  INFO - RuleEngineConfigDS Successfully registered 
 the Rule Config service
 build 28-Mar-2012 13:00:03[2012-03-28 13:00:03,426]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:03,426]  INFO - Activator registering the JNDI stream 
 handler
 build 28-Mar-2012 13:00:03[2012-03-28 13:00:03,612]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:03,595]  INFO - ExtendedStandardService starting extended 
 standard service  :   StandardService[Catalina]
 build 28-Mar-2012 13:00:04[2012-03-28 13:00:04,801]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:04,801]  INFO - PermissionTree Newly loaded permission tree 
 from database for tenant 0
 build 28-Mar-2012 13:00:05[2012-03-28 13:00:05,229]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:05,229]  INFO - RegistryCoreServiceComponent Registry Mode  
   : READ-WRITE
 build 

Re: [Dev] ESB Startup Hanging

2012-03-28 Thread Charith Wickramarachchi
ESB Build was successful.

--Charith

On Thu, Mar 29, 2012 at 10:05 AM, Charith Wickramarachchi
char...@wso2.comwrote:

 In this case Build was triggered with r124320. According to Dimuthu the
 fix for dropins was done at r124321. So Lets wait for the new build. Now
 its at ESB level.

 thanks,
 Charith


 On Thu, Mar 29, 2012 at 10:00 AM, Hiranya Jayathilaka hira...@wso2.comwrote:

 We see that ESB startup is getting hung time to time during integration
 tests. This has happened twice in the last build triggered by Bamboo. In
 both cases the startup log is similar to the following:

 build28-Mar-2012 12:59:56[2012-03-28 12:59:56,104]  INFO 
 {org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/../../../../integration/security-verifier/target/SecVerifier.aar
  = 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
 build28-Mar-2012 12:59:56[2012-03-28 12:59:56,161]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 JAVA_HOME environment variable is set to /home/bamboo/jdk1.6.0_24
 build28-Mar-2012 12:59:56[2012-03-28 12:59:56,161]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 CARBON_HOME environment variable is set to 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT
 build28-Mar-2012 13:00:02[2012-03-28 13:00:02,709]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,709]  INFO - CarbonCoreActivator Starting WSO2 Carbon...
 build28-Mar-2012 13:00:02[2012-03-28 13:00:02,955]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Operating System : 
 Linux 2.6.32-5-amd64, amd64
 build28-Mar-2012 13:00:02[2012-03-28 13:00:02,955]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Java Home: 
 /home/bamboo/jdk1.6.0_24/jre
 build28-Mar-2012 13:00:02[2012-03-28 13:00:02,955]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Java Version : 
 1.6.0_24
 build28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Java VM  : 
 Java HotSpot(TM) 64-Bit Server VM 19.1-b02,Sun Microsystems Inc.
 build28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,956]  INFO - CarbonCoreActivator Carbon Home  : 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT
 build28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,956]  INFO - CarbonCoreActivator Java Temp Dir: 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT/tmp
 build28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,956]  INFO - CarbonCoreActivator User : 
 bamboo, en-US, America/Los_Angeles
 build28-Mar-2012 13:00:03[2012-03-28 13:00:03,254]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:03,253]  INFO - RuleEngineConfigDS Successfully registered 
 the Rule Config service
 build28-Mar-2012 13:00:03[2012-03-28 13:00:03,426]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:03,426]  INFO - Activator registering the JNDI stream 
 handler
 build28-Mar-2012 13:00:03[2012-03-28 13:00:03,612]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:03,595]  INFO - ExtendedStandardService starting extended 
 standard service  :   StandardService[Catalina]
 build28-Mar-2012 13:00:04[2012-03-28 13:00:04,801]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:04,801]  INFO - PermissionTree Newly loaded permission 
 tree from database for tenant 0
 

Re: [Dev] [Bamboo-Build] WSO2 Carbon platform #34 has FAILED (1 tests failed, no failures were new). Change made by pradeeban, krishantha and senaka.

2012-03-28 Thread Thilina Buddhika
Hi Dimuthu,

These test failures are not from IS, but from the API Manager product.

Anyway, we will look into those.

Thanks,
Thilina

On Thu, Mar 29, 2012 at 8:34 AM, Dimuthu Leelarathne dimut...@wso2.comwrote:


 Hi IS RMs,

 Please note Identity test failures.

 tx,
 dimuthu

 On Thu, Mar 29, 2012 at 7:57 AM, Bamboo cbuil...@wso2.org wrote:

  [image: Failed]  WSO2 
 Carbonhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON/›
 platformhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM/›
 #34http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/
 failed

 This build occurred because it is a dependant of
 WSO2CARBON-CARBONCOREKERNELBUILD-139http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-139
 .

 *1/2066* tests failed.
Failing 
 Jobshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/
 Job
 Duration Tests[image: Failed]  Default 
 Jobhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/
  (Default
 Stage)  134 minutes  1 of 2066 failed  
 Logshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/log|
 Artifactshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/artifact
  Code
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/commit/
   View
 all 11 code 
 changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/commit/
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban
 Fixing maven3 warnings in hostobjects.
  124352
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban
 Maven3 best practice.
  124351
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban
 Maven3 best practices for rest-api.
  124350   8 more 
 changes…http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/commit
 Testshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/test
   View
 full test 
 detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/test
1
 Existing Test Failures   Test Job APIMgtDAOTest
 testRegisterAccessTokenhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/test/case/14550486
   Default
 Jobhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/test
  View
 Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34
 | Add 
 Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34?commentMode=true

 This message was sent by Atlassian 
 Bamboohttp://builder4.us1.wso2.org:/bamboo
 .

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

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




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




-- 
Thilina Buddhika
Associate Technical Lead
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware

phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB Startup Hanging

2012-03-28 Thread Dimuthu Leelarathne
Hi Hiranya,

In my local setup this happens on the first startup. I still haven't built
Senaka's commit.

thanks,
dimuthu

On Thu, Mar 29, 2012 at 10:22 AM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Thu, Mar 29, 2012 at 10:17 AM, Charith Wickramarachchi 
 char...@wso2.com wrote:

 ESB Build was successful.


 That's great.

 But I'm not fully convinced that this issue is fixed. The error occurred
 before we had Emma integration stuff. And it only occurred for 2 test
 modules (out of about 11). Looks more like a random error to me.

 Thanks,
 Hiranya



 --Charith


 On Thu, Mar 29, 2012 at 10:05 AM, Charith Wickramarachchi 
 char...@wso2.com wrote:

 In this case Build was triggered with r124320. According to Dimuthu the
 fix for dropins was done at r124321. So Lets wait for the new build.
 Now its at ESB level.

 thanks,
 Charith


 On Thu, Mar 29, 2012 at 10:00 AM, Hiranya Jayathilaka 
 hira...@wso2.comwrote:

 We see that ESB startup is getting hung time to time during integration
 tests. This has happened twice in the last build triggered by Bamboo. In
 both cases the startup log is similar to the following:

 build  28-Mar-2012 12:59:56[2012-03-28 12:59:56,104]  INFO 
 {org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/../../../../integration/security-verifier/target/SecVerifier.aar
  = 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
 build  28-Mar-2012 12:59:56[2012-03-28 12:59:56,161]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 JAVA_HOME environment variable is set to /home/bamboo/jdk1.6.0_24
 build  28-Mar-2012 12:59:56[2012-03-28 12:59:56,161]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 CARBON_HOME environment variable is set to 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT
 build  28-Mar-2012 13:00:02[2012-03-28 13:00:02,709]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,709]  INFO - CarbonCoreActivator Starting WSO2 
 Carbon...
 build  28-Mar-2012 13:00:02[2012-03-28 13:00:02,955]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Operating System : 
 Linux 2.6.32-5-amd64, amd64
 build  28-Mar-2012 13:00:02[2012-03-28 13:00:02,955]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Java Home: 
 /home/bamboo/jdk1.6.0_24/jre
 build  28-Mar-2012 13:00:02[2012-03-28 13:00:02,955]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Java Version : 
 1.6.0_24
 build  28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Java VM  : 
 Java HotSpot(TM) 64-Bit Server VM 19.1-b02,Sun Microsystems Inc.
 build  28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,956]  INFO - CarbonCoreActivator Carbon Home  : 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT
 build  28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,956]  INFO - CarbonCoreActivator Java Temp Dir: 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT/tmp
 build  28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,956]  INFO - CarbonCoreActivator User : 
 bamboo, en-US, America/Los_Angeles
 build  28-Mar-2012 13:00:03[2012-03-28 13:00:03,254]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:03,253]  INFO - RuleEngineConfigDS Successfully 
 registered the Rule Config service
 build  28-Mar-2012 13:00:03[2012-03-28 13:00:03,426]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:03,426]  INFO - Activator registering the JNDI stream 
 

Re: [Dev] ESB Startup Hanging

2012-03-28 Thread Hiranya Jayathilaka
Hi Dimuthu,

On Thu, Mar 29, 2012 at 10:27 AM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi Hiranya,

 In my local setup this happens on the first startup. I still haven't built
 Senaka's commit.


Does this happen consistently? If that is the case and the dropins related
change fixes it, then that's sufficient evidence that the problem is all
fixed.

Thanks,
Hiranya



 thanks,
 dimuthu


 On Thu, Mar 29, 2012 at 10:22 AM, Hiranya Jayathilaka hira...@wso2.comwrote:



 On Thu, Mar 29, 2012 at 10:17 AM, Charith Wickramarachchi 
 char...@wso2.com wrote:

 ESB Build was successful.


 That's great.

 But I'm not fully convinced that this issue is fixed. The error occurred
 before we had Emma integration stuff. And it only occurred for 2 test
 modules (out of about 11). Looks more like a random error to me.

 Thanks,
 Hiranya



  --Charith


 On Thu, Mar 29, 2012 at 10:05 AM, Charith Wickramarachchi 
 char...@wso2.com wrote:

 In this case Build was triggered with r124320. According to Dimuthu
 the fix for dropins was done at r124321. So Lets wait for the new
 build. Now its at ESB level.

 thanks,
 Charith


 On Thu, Mar 29, 2012 at 10:00 AM, Hiranya Jayathilaka hira...@wso2.com
  wrote:

 We see that ESB startup is getting hung time to time during
 integration tests. This has happened twice in the last build triggered by
 Bamboo. In both cases the startup log is similar to the following:

 build 28-Mar-2012 12:59:56[2012-03-28 12:59:56,104]  INFO 
 {org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/../../../../integration/security-verifier/target/SecVerifier.aar
  = 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/axis2services/SecVerifier.aar
 build 28-Mar-2012 12:59:56[2012-03-28 12:59:56,161]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 JAVA_HOME environment variable is set to /home/bamboo/jdk1.6.0_24
 build 28-Mar-2012 12:59:56[2012-03-28 12:59:56,161]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 CARBON_HOME environment variable is set to 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,709]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,709]  INFO - CarbonCoreActivator Starting WSO2 
 Carbon...
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,955]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Operating System : 
 Linux 2.6.32-5-amd64, amd64
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,955]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Java Home: 
 /home/bamboo/jdk1.6.0_24/jre
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,955]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Java Version : 
 1.6.0_24
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,955]  INFO - CarbonCoreActivator Java VM  : 
 Java HotSpot(TM) 64-Bit Server VM 19.1-b02,Sun Microsystems Inc.
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,956]  INFO - CarbonCoreActivator Carbon Home  : 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,956]  INFO - CarbonCoreActivator Java Temp Dir: 
 /home/bamboo/Bamboo-3.4/source-repository/build-dir/WSO2CARBON-PRODUCTS-JOB1/products/esb/modules/integration/nhttp-transport/target/carbontmp1332964791763/wso2esb-4.0.0-SNAPSHOT/tmp
 build 28-Mar-2012 13:00:02[2012-03-28 13:00:02,956]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:02,956]  INFO - CarbonCoreActivator User : 
 bamboo, en-US, America/Los_Angeles
 build 28-Mar-2012 13:00:03[2012-03-28 13:00:03,254]  INFO 
 {org.wso2.carbon.integration.framework.utils.InputStreamHandler} -  
 [2012-03-28 13:00:03,253]  INFO - RuleEngineConfigDS 

Re: [Dev] What is products/hosting?

2012-03-28 Thread Damitha Kumarage

Hi Azeez,
These code relate to non wso2 products hosting service.

Thanks,
Damitha
On 03/27/2012 09:18 PM, Afkham Azeez wrote:

What is this new product?

--
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com http://wso2.com/
Member; Apache Software Foundation; http://www.apache.org/
///
email: //az...@wso2.com/ mailto:az...@wso2.com/cell: +94 77 3320919
blog: //http://blog.afkham.org//
twitter: //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



--
__

Damitha Kumarage
Technical Lead; WSO2 Inc.
email:dami...@wso2.com; phone:+94 332262389; cell:+94 719169327
Oxygenating the Web Service Platform;  http://www.wso2.com/

blog:  http://damithakumarage.wordpress.com/
__
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is products/hosting?

2012-03-28 Thread Afkham Azeez
But we have to come up with a better name. products/hosting does not make
any sense.

On Thu, Mar 29, 2012 at 10:44 AM, Damitha Kumarage dami...@wso2.com wrote:

 **
 Hi Azeez,
 These code relate to non wso2 products hosting service.

 Thanks,
 Damitha

 On 03/27/2012 09:18 PM, Afkham Azeez wrote:

 What is this new product?

  --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; 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 listDev@wso2.orghttp://wso2.org/cgi-bin/mailman/listinfo/dev



 --
  __

 Damitha Kumarage
 Technical Lead; WSO2 Inc.
 email:dami...@wso2.com; phone:+94 332262389; cell:+94 719169327
 Oxygenating the Web Service Platform;  http://www.wso2.com/

 blog:  http://damithakumarage.wordpress.com/
 __

 ___
 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


[Dev] [AS] Carbon examples in example webapp are broken

2012-03-28 Thread Kishanthan Thangarajah
Hi,
All three samples which access CarbonContext to get the registry and
UserRealm are broken because CarbonContext from the holder is null. Digging
in further, found that GhostRegistry is not getting set to
carbonContextHolder because of UserRealmService becoming null in
CompositeValve. I'm further looking in to find the root cause. Looks like
CarbonRealmServiceComponent is not called anymore. Did anyone do a change
related to this service comp? Please share it, it would be helpful to to
find the root cause.

Thanks,
Kishanthan.

-- 
*Kishanthan Thangarajah*
Software Engineer,
Development Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Creating Users in an Axis2 Service

2012-03-28 Thread metin d
I couldn't find the example.war in the repository,

I have looked this places:

https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/products/as/4.1.1/modules/samples/

http://svn.wso2.org/repos/wso2/tags/carbon/3.2.0/samples/




 From: Isuru Suriarachchi is...@wso2.com
To: metin d met...@yahoo.com 
Cc: carbon-...@wso2.org carbon-...@wso2.org 
Sent: Wednesday, March 28, 2012 7:03 PM
Subject: Re: [Dev] Creating Users in an Axis2 Service
 

You can access the User Manager API through CarbonContext and handle your 
users. Please have a look at the example.war shipped with AS. It uses the 
CarbonContext for the same purpose..


On Wed, Mar 28, 2012 at 1:36 PM, metin d met...@yahoo.com wrote:

Is it possible to create new users dynamically  from an Axis2 service which is 
deployed on Application Server ?
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Isuru Suriarachchi
Technical Lead
WSO2 Inc. http://wso2.com
email : is...@wso2.com
blog : http://isurues.wordpress.com/

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


Re: [Dev] [Bamboo-Build] WSO2 Carbon platform #34 has FAILED (1 tests failed, no failures were new). Change made by pradeeban, krishantha and senaka.

2012-03-28 Thread Sumedha Rubasinghe
Sorry. This was my bad. I have passed in a wrong master data for a test
case. Fixed now.


On Thu, Mar 29, 2012 at 10:17 AM, Thilina Buddhika thili...@wso2.comwrote:

 Hi Dimuthu,

 These test failures are not from IS, but from the API Manager product.

 Anyway, we will look into those.

 Thanks,
 Thilina


 On Thu, Mar 29, 2012 at 8:34 AM, Dimuthu Leelarathne dimut...@wso2.comwrote:


 Hi IS RMs,

 Please note Identity test failures.

 tx,
 dimuthu

 On Thu, Mar 29, 2012 at 7:57 AM, Bamboo cbuil...@wso2.org wrote:

  [image: Failed]  WSO2 
 Carbonhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON/›
 platformhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM/›
 #34http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/
 failed

 This build occurred because it is a dependant of
 WSO2CARBON-CARBONCOREKERNELBUILD-139http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-CARBONCOREKERNELBUILD-139
 .

 *1/2066* tests failed.
Failing 
 Jobshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/
 Job
 Duration Tests[image: Failed]  Default 
 Jobhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/
  (Default
 Stage)  134 minutes  1 of 2066 failed  
 Logshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/log|
 Artifactshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/artifact
  Code
 Changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/commit/
   View
 all 11 code 
 changeshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/commit/
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban
 Fixing maven3 warnings in hostobjects.
  124352
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban
 Maven3 best practice.
  124351
 pradeebanhttp://builder4.us1.wso2.org:/bamboo/browse/author/pradeeban
 Maven3 best practices for rest-api.
  124350   8 more 
 changes…http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/commit
 Testshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/test
   View
 full test 
 detailshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34/test
1
 Existing Test Failures   Test Job APIMgtDAOTest
 testRegisterAccessTokenhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/test/case/14550486
   Default
 Jobhttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-JOB1-34/test
  View
 Onlinehttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34
 | Add 
 Commentshttp://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-PLATFORM-34?commentMode=true

 This message was sent by Atlassian 
 Bamboohttp://builder4.us1.wso2.org:/bamboo
 .

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

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




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




 --
 Thilina Buddhika
 Associate Technical Lead
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 77 44 88 727
 blog : http://blog.thilinamb.com

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




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