Re: [Dev] Is -DenableOsgiDebug working?

2012-04-02 Thread Rajika Kumarasiri
Off the topic.

I noticed that Main.java#processCmdLineArgs(
https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/core/org.wso2.carbon.server/src/main/java/org/wso2/carbon/server/Main.java)
has used a manual way of parsing command line options. You can use
commons-cli for this purposes(http://commons.apache.org/cli/).

Rajika

On Mon, Apr 2, 2012 at 11:28 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 not sure whether its working (I haven't used it, honestly). I created a
 JIRA to track this.

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

 ___
 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] wss4j build time warning

2012-04-02 Thread Afkham Azeez
The Java version has not been set in the compiler plugin

[WARNING] File encoding has not been set, using platform encoding MacRoman,
i.e. build is platform dependent!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/KerberosTokenPrincipal.java:
Can't use annotations when running in JDK 1.4 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/KerberosTokenPrincipal.java:
Can't use annotations when running in JDK 1.4 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/KerberosTokenPrincipal.java:
Can't use annotations when running in JDK 1.4 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/kerberos/KrbSessionCache.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/kerberos/KrbSessionCache.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/kerberos/KrbSessionCache.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/message/WSSecKerberosToken.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/message/WSSecKerberosToken.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/message/WSSecKerberosToken.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/processor/KerberosTokenProcessor.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/processor/KerberosTokenProcessor.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/processor/KerberosTokenProcessor.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/saml/SAML2Util.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/saml/SAML2Util.java:
Can't use generics unless running in JDK 1.5 mode!
[WARNING] Error while parsing
/Users/azeez/projects/wso2/org/carbon/kernel/trunk/dependencies/wss4j/1.5.11-wso2v3/src/org/apache/ws/security/saml/SAML2Util.java:
Can't use generics unless running in JDK 1.5 mode!


-- 
*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] Some bundles getting activated only after Manager start-up

2012-04-02 Thread Muhammed Shariq
Hi,

Since starting to write integration test for Manager I am facing an issue
in that, even though the server starts up and the ports are open some
bundles are not even activated. Initially the idea was that the ther server
getting started up before the relevant admin services gets deployed, so I
tried marking that service as an Axis2RequiredService, with this change the
server never starts up at all (presumably due to deadlock). Next I enabled
debug logs in tennat-mgt, billing, usage bundles and noticed that some
bundles only get activated after the server start up. However adding a 30
sec sleep solves the issue, meaning within that interval all the bundles
get activated ...

I tried many ways like figure out what causes this delay, but still haven't
managed to pinpoint which bundle+reference is causing the issue. Any tips
on sorting this issue out if highly appreciated. Some logs extracted with
some sysouts are as follows,


[2012-04-02 11:28:58,826]  INFO
{org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent} -
 Initialized Identity Persistence Store.
[2012-04-02 11:28:58,872]  INFO
{org.wso2.carbon.core.transports.http.HttpsTransportListener} -  HTTPS port
  : 9443
[2012-04-02 11:28:58,872]  INFO
{org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP port
 : 9763
[2012-04-02 11:28:59,443]  INFO
{org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Started
Transport Listener Manager
[2012-04-02 11:28:59,443]  INFO
{org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
  :  WSO2 Stratos Manager-3.2.0
[2012-04-02 11:28:59,444]  INFO
{org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
Carbon started in 33 sec
[2012-04-02 11:28:59,457] DEBUG
{org.wso2.carbon.tenant.activity.internal.TenantActivityServiceComponent} -
 *** Tenant Activity bundle is activated ***
[2012-04-02 11:28:59,459] ERROR
{org.wso2.carbon.tenant.activity.ui.internal.TenantActivityUIServiceComponent}
-  *** Tenant Activity UI bundle is activated ***
[2012-04-02 11:28:59,481]  INFO
{org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
-  Deployed __MultitenantDispatcherService
[2012-04-02 11:28:59,482]  INFO
{org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
-  Added multitenant dispatchers
[2012-04-02 11:29:00,301] DEBUG
{org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent}
-  *** Multitenancy Throttling Agent bundle is activated ***
*[2012-04-02 11:29:00,636]  INFO
{org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
 : https://172.16.172.1:9443/carbon/*
[2012-04-02 11:29:00,649]  WARN
{org.wso2.carbon.identity.authenticator.saml2.sso.ui.internal.SAML2SSOAuthenticatorUIDSComponent}
-  Initialization failed for SSO Authenticator. Starting with the default
authenticator
[2012-04-02 11:29:00,677] DEBUG
{org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent}
-  Receiving billingManager service
[2012-04-02 11:29:00,678] DEBUG
{org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent}
-  Setting Tenant Usage Retriever service
[2012-04-02 11:29:00,720] DEBUG
{org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
-  Setting MT billing info service
[2012-04-02 11:29:00,723] DEBUG
{org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
-  Receiving billingManager service
[2012-04-02 11:29:00,729] DEBUG
{org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
-  Setting Tenant Usage Retriever service
[2012-04-02 11:29:04,055] DEBUG
{org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
-   Multitenancy Throttling Manager bundle is activated
[2012-04-02 11:29:04,106] DEBUG
{org.wso2.carbon.tenant.mgt.internal.TenantMgtServiceComponent} -
 Receiving ConfigurationContext Service
*[2012-04-02 11:29:04,123] DEBUG
{org.wso2.carbon.tenant.mgt.internal.TenantMgtServiceComponent} -  ***
Governance Tenant Config bundle is activated *** *
*[2012-04-02 11:29:04,123] DEBUG
{org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent}
-  *** Multitenancy Billing bundle is activated *** *
*[2012-04-02 11:29:04,124] DEBUG
{org.wso2.carbon.usage.internal.UsageServiceComponent} -  *** Usage
bundle is activated *** *
[2012-04-02 11:29:04,165]  INFO
{org.wso2.carbon.usage.summary.generator.internal.UsageSummaryGeneratorServiceComponent}
-  Stratos Usage Summary Generation Enabled.


-- 
Thanks,
Shariq.
Phone: +94 777 202 225
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Some bundles getting activated only after Manager start-up

2012-04-02 Thread Afkham Azeez
Try making those ListenerManager-RequiredServices

Add that ListenerManager-RequiredServices OSGi header and declare the
services in the respective bundles. Until those become available, ports
will not be open.

On Mon, Apr 2, 2012 at 11:50 AM, Muhammed Shariq sha...@wso2.com wrote:

 Hi,

 Since starting to write integration test for Manager I am facing an issue
 in that, even though the server starts up and the ports are open some
 bundles are not even activated. Initially the idea was that the ther server
 getting started up before the relevant admin services gets deployed, so I
 tried marking that service as an Axis2RequiredService, with this change the
 server never starts up at all (presumably due to deadlock). Next I enabled
 debug logs in tennat-mgt, billing, usage bundles and noticed that some
 bundles only get activated after the server start up. However adding a 30
 sec sleep solves the issue, meaning within that interval all the bundles
 get activated ...

 I tried many ways like figure out what causes this delay, but still
 haven't managed to pinpoint which bundle+reference is causing the issue.
 Any tips on sorting this issue out if highly appreciated. Some logs
 extracted with some sysouts are as follows,


 [2012-04-02 11:28:58,826]  INFO
 {org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent} -
  Initialized Identity Persistence Store.
 [2012-04-02 11:28:58,872]  INFO
 {org.wso2.carbon.core.transports.http.HttpsTransportListener} -  HTTPS port
   : 9443
 [2012-04-02 11:28:58,872]  INFO
 {org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP port
  : 9763
 [2012-04-02 11:28:59,443]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Started
 Transport Listener Manager
 [2012-04-02 11:28:59,443]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
   :  WSO2 Stratos Manager-3.2.0
 [2012-04-02 11:28:59,444]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
 Carbon started in 33 sec
 [2012-04-02 11:28:59,457] DEBUG
 {org.wso2.carbon.tenant.activity.internal.TenantActivityServiceComponent} -
  *** Tenant Activity bundle is activated ***
 [2012-04-02 11:28:59,459] ERROR
 {org.wso2.carbon.tenant.activity.ui.internal.TenantActivityUIServiceComponent}
 -  *** Tenant Activity UI bundle is activated ***
 [2012-04-02 11:28:59,481]  INFO
 {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
 -  Deployed __MultitenantDispatcherService
 [2012-04-02 11:28:59,482]  INFO
 {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
 -  Added multitenant dispatchers
 [2012-04-02 11:29:00,301] DEBUG
 {org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent}
 -  *** Multitenancy Throttling Agent bundle is activated ***
 *[2012-04-02 11:29:00,636]  INFO
 {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
  : https://172.16.172.1:9443/carbon/*
 [2012-04-02 11:29:00,649]  WARN
 {org.wso2.carbon.identity.authenticator.saml2.sso.ui.internal.SAML2SSOAuthenticatorUIDSComponent}
 -  Initialization failed for SSO Authenticator. Starting with the default
 authenticator
 [2012-04-02 11:29:00,677] DEBUG
 {org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent}
 -  Receiving billingManager service
 [2012-04-02 11:29:00,678] DEBUG
 {org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent}
 -  Setting Tenant Usage Retriever service
 [2012-04-02 11:29:00,720] DEBUG
 {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
 -  Setting MT billing info service
 [2012-04-02 11:29:00,723] DEBUG
 {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
 -  Receiving billingManager service
 [2012-04-02 11:29:00,729] DEBUG
 {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
 -  Setting Tenant Usage Retriever service
 [2012-04-02 11:29:04,055] DEBUG
 {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
 -   Multitenancy Throttling Manager bundle is activated
 [2012-04-02 11:29:04,106] DEBUG
 {org.wso2.carbon.tenant.mgt.internal.TenantMgtServiceComponent} -
  Receiving ConfigurationContext Service
 *[2012-04-02 11:29:04,123] DEBUG
 {org.wso2.carbon.tenant.mgt.internal.TenantMgtServiceComponent} -  ***
 Governance Tenant Config bundle is activated *** *
 *[2012-04-02 11:29:04,123] DEBUG
 {org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent}
 -  *** Multitenancy Billing bundle is activated *** *
 *[2012-04-02 11:29:04,124] DEBUG
 {org.wso2.carbon.usage.internal.UsageServiceComponent} -  *** Usage
 bundle is activated *** *
 [2012-04-02 11:29:04,165]  INFO
 {org.wso2.carbon.usage.summary.generator.internal.UsageSummaryGeneratorServiceComponent}
 -  Stratos Usage Summary Generation Enabled.


 --
 Thanks,
 Shariq.
 Phone: +94 777 

Re: [Dev] Some bundles getting activated only after Manager start-up

2012-04-02 Thread Amila Maha Arachchi
Hi Shariq,

This is not the behaviour we see in a 1.5.2 released pack. In that pack,
Billing bundle gets started before the server starts up. I checked a 1.5.2
pack with DEBUG logs and confirmed.

So, is this due to a change in one of those bundles? Billing components has
the same code as the 1.5.2 branch (I copied from branch to trunk).

Thanks,
AmilaM.

On Mon, Apr 2, 2012 at 11:50 AM, Muhammed Shariq sha...@wso2.com wrote:

 Hi,

 Since starting to write integration test for Manager I am facing an issue
 in that, even though the server starts up and the ports are open some
 bundles are not even activated. Initially the idea was that the ther server
 getting started up before the relevant admin services gets deployed, so I
 tried marking that service as an Axis2RequiredService, with this change the
 server never starts up at all (presumably due to deadlock). Next I enabled
 debug logs in tennat-mgt, billing, usage bundles and noticed that some
 bundles only get activated after the server start up. However adding a 30
 sec sleep solves the issue, meaning within that interval all the bundles
 get activated ...

 I tried many ways like figure out what causes this delay, but still
 haven't managed to pinpoint which bundle+reference is causing the issue.
 Any tips on sorting this issue out if highly appreciated. Some logs
 extracted with some sysouts are as follows,


 [2012-04-02 11:28:58,826]  INFO
 {org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent} -
  Initialized Identity Persistence Store.
 [2012-04-02 11:28:58,872]  INFO
 {org.wso2.carbon.core.transports.http.HttpsTransportListener} -  HTTPS port
   : 9443
 [2012-04-02 11:28:58,872]  INFO
 {org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP port
  : 9763
 [2012-04-02 11:28:59,443]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Started
 Transport Listener Manager
 [2012-04-02 11:28:59,443]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
   :  WSO2 Stratos Manager-3.2.0
 [2012-04-02 11:28:59,444]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
 Carbon started in 33 sec
 [2012-04-02 11:28:59,457] DEBUG
 {org.wso2.carbon.tenant.activity.internal.TenantActivityServiceComponent} -
  *** Tenant Activity bundle is activated ***
 [2012-04-02 11:28:59,459] ERROR
 {org.wso2.carbon.tenant.activity.ui.internal.TenantActivityUIServiceComponent}
 -  *** Tenant Activity UI bundle is activated ***
 [2012-04-02 11:28:59,481]  INFO
 {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
 -  Deployed __MultitenantDispatcherService
 [2012-04-02 11:28:59,482]  INFO
 {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
 -  Added multitenant dispatchers
 [2012-04-02 11:29:00,301] DEBUG
 {org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent}
 -  *** Multitenancy Throttling Agent bundle is activated ***
 *[2012-04-02 11:29:00,636]  INFO
 {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
  : https://172.16.172.1:9443/carbon/*
 [2012-04-02 11:29:00,649]  WARN
 {org.wso2.carbon.identity.authenticator.saml2.sso.ui.internal.SAML2SSOAuthenticatorUIDSComponent}
 -  Initialization failed for SSO Authenticator. Starting with the default
 authenticator
 [2012-04-02 11:29:00,677] DEBUG
 {org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent}
 -  Receiving billingManager service
 [2012-04-02 11:29:00,678] DEBUG
 {org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent}
 -  Setting Tenant Usage Retriever service
 [2012-04-02 11:29:00,720] DEBUG
 {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
 -  Setting MT billing info service
 [2012-04-02 11:29:00,723] DEBUG
 {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
 -  Receiving billingManager service
 [2012-04-02 11:29:00,729] DEBUG
 {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
 -  Setting Tenant Usage Retriever service
 [2012-04-02 11:29:04,055] DEBUG
 {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
 -   Multitenancy Throttling Manager bundle is activated
 [2012-04-02 11:29:04,106] DEBUG
 {org.wso2.carbon.tenant.mgt.internal.TenantMgtServiceComponent} -
  Receiving ConfigurationContext Service
 *[2012-04-02 11:29:04,123] DEBUG
 {org.wso2.carbon.tenant.mgt.internal.TenantMgtServiceComponent} -  ***
 Governance Tenant Config bundle is activated *** *
 *[2012-04-02 11:29:04,123] DEBUG
 {org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent}
 -  *** Multitenancy Billing bundle is activated *** *
 *[2012-04-02 11:29:04,124] DEBUG
 {org.wso2.carbon.usage.internal.UsageServiceComponent} -  *** Usage
 bundle is activated *** *
 [2012-04-02 11:29:04,165]  INFO
 

[Dev] Let's avoid committing the idea/eclipse/.. project files to the svn

2012-04-02 Thread Kathiravelu Pradeeban
I see a few *.iml files in the svn, when taking an svn up. I guess they
should be removed.

Restored
'products/brs/modules/integration/org.wso2.carbon.brs.integration.sample.test/integration-sample-test.iml'
Restored
'features/jaggery/org.wso2.carbon.jaggery.ui.feature/org.wso2.carbon.jaggery.ui.feature.iml'
Restored
'service-stubs/org.wso2.carbon.gadget.ide.stub/org.wso2.carbon.gadget.ide.stub.iml'

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] Let's avoid committing the idea/eclipse/.. project files to the svn

2012-04-02 Thread Afkham Azeez
Please remove these from svn

On Mon, Apr 2, 2012 at 12:31 PM, Kathiravelu Pradeeban
pradee...@wso2.comwrote:

 I see a few *.iml files in the svn, when taking an svn up. I guess they
 should be removed.

 Restored
 'products/brs/modules/integration/org.wso2.carbon.brs.integration.sample.test/integration-sample-test.iml'
 Restored
 'features/jaggery/org.wso2.carbon.jaggery.ui.feature/org.wso2.carbon.jaggery.ui.feature.iml'
 Restored
 'service-stubs/org.wso2.carbon.gadget.ide.stub/org.wso2.carbon.gadget.ide.stub.iml'

 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




-- 
*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] Error with running web app on Stratos Live

2012-04-02 Thread Prabath Abeysekera
Hi Kasun,

On Mon, Apr 2, 2012 at 8:35 AM, Kasun Perera kas...@opensource.lk wrote:





 On Sun, Apr 1, 2012 at 8:49 AM, Supun Malinga sup...@wso2.com wrote:

 Hi Kasun,

 On Fri, Mar 30, 2012 at 1:28 PM, Kasun Perera kas...@opensource.lkwrote:

 Hi supun

 About reading files- I can Access other tables and read data on data
 servise server?
 What I'm doing here is read a PDF file that stored as a Blob and extract
 the phrases from it, I'm not writing anything to the files.


 I can read the PDF file from database and show it on the webpage, Only
 thing is can't extract the phrases from it.


 Can you mention exact steps for extracting phrases in your webapp.. (from
 the webapp UI)



 when go go to this URL
 http://appserver.stratoslive.wso2.com/t/karsha.opensource.lk/webapps/KarshaMarkUp/login
 you can login with usrname-admin paswd-admin

 then on leftside menu go to Select Doc submenu
 then you can select a document from drop down menu and press Extract
 phrases. It will show a blank page but it should show extracted phrses in
 a table.

 The document names for above dropdown List comes from stratos database, if
 you go to
 http://appserver.stratoslive.wso2.com/t/karsha.opensource.lk/webapps/KarshaMarkUp/classify
  the
 content is comming from the database. So i think database connection is
 working


 Also can you point to the stratos DSS database in your local webapp and
 see if it's working?


 I havent installed Stratos DSS localy I ll install and try that
 or can use jdbc:mysql://
 rss1.stratoslive.wso2.com/karshamarkuptool_karsha_opensource_lk URL
 to access database direcly from local setup? using this URL directly from
 local set up is not working for any functionality


You should be able to access the databases created via the RSS Manager of
SLive DSS from your local setup as well. Can you please elaborate more on
the issues you experienced while trying to access the aforementioned
database?




 here is my project folder
 https://docs.google.com/open?id=0B5A0W5SUykQqbGc0Vlg5UDJSTHFiTzdIV0hGZEZnQQ

 If you want to run here is the login details on Stratoes Live server
 username- kas...@karsha.opensource.lk
 passwd-  Haknrr4k

 thanks


 Hi Supun
 I Have attached .war file.  you want the project folder?
  database is at dataservise server.



 thanks



 On Fri, Mar 30, 2012 at 12:02 PM, Supun Malinga sup...@wso2.comwrote:

 Hi,

 Looks like you have some file conversion there. From where these
 files are being read?. If it needs to access the server file system,
 security manager will block this.
 Are you running your local setup with security manager enabled?

 thanks,


 On Fri, Mar 30, 2012 at 11:50 AM, Kasun Perera 
 kas...@opensource.lkwrote:

 Hi Supun

 I'm getting this error on webpage now when running my web app on
 StratoesLive App server, but I'm not getting this error on the local App
 server. A bug? Although I have debugged on my local machine I can't find
 the error.

 code- http://paste.org/47396

 type Exception report

 message

 description The server encountered an internal error () that
 prevented it from fulfilling this request.

 exception

 java.lang.NullPointerException
  
 controler.ControlerServelet.pdfDocToSentence(ControlerServelet.java:755)
   // I have mentioned thses two lines
  controler.ControlerServelet.doPost(ControlerServelet.java:585)
//   in
  javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  sun.reflect.GeneratedMethodAccessor1724.invoke(Unknown Source)

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  java.lang.reflect.Method.invoke(Method.java:597)

 org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273)

 org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:270)
 java.security.AccessController.doPrivileged(Native Method)
  javax.security.auth.Subject.doAsPrivileged(Subject.java:517)

 org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:305)

 org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
 note The full stack trace of the root cause is available in the
 Apache Tomcat/7.0.14 logs.



 On Thu, Mar 29, 2012 at 4:52 PM, Kasun Perera 
 kas...@opensource.lkwrote:

 Hi Supun

 Yes I have the external libraries in the META-INF/lib of my
 application. I have used the same .war file in locally running App 
 server,
 There I don't have this problem

  The log file is attached

 Thanks


 On Thu, Mar 29, 2012 at 4:39 PM, Supun Malinga sup...@wso2.comwrote:

 Hi Kasun,

 On Thu, Mar 29, 2012 at 4:28 PM, Kasun Perera 
 kas...@opensource.lk wrote:

 Hi

 I have deployed web app on Stratos Live I can run the web app
 there. But When I go to a particular a jsp page that calling to 
 external
 libraris(Stanforsparser.jar, PdfBox.jar) through servelet, gives me 
 a blank
 page.  I can run this webapp in my local Stratoes Application server
 and mentioned jsp page 

[Dev] Atomikos INFO logs during the manager start-up

2012-04-02 Thread Kathiravelu Pradeeban
Hi,
I just downloaded the manager pack from the mentioned location, extracted
it, and started it. It is giving the below exceptions of atomikos. This can
be reproducible each time. Nevertheless, regardless of this error, manager
binary continued to start.

Any hint on this issue?

Regards,
Pradeeban.

pradeeban@pradeeban:~/carbon/platform/build/packs/wso2stratos-manager-1.1.0-SNAPSHOT/bin$
sh wso2server.sh
JAVA_HOME environment variable is set to
/home/pradeeban/programs/jdk1.6.0_31
CARBON_HOME environment variable is set to
/home/pradeeban/carbon/platform/build/packs/wso2stratos-manager-1.1.0-SNAPSHOT
[2012-04-02 12:38:11,342]  INFO {com.atomikos.logging.LoggerFactory} -
Using Slf4J for logging.
[2012-04-02 12:38:21,752]  INFO
{com.atomikos.persistence.imp.FileLogStream} -  Logfile closed:
/home/pradeeban/carbon/platform/build/packs/wso2stratos-manager-1.1.0-SNAPSHOT/repository/data/tmlog-1.log
[2012-04-02 12:38:24,764]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
core version: 3.8.0.M1
[2012-04-02 12:38:24,764]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.console_file_name = tm.out
[2012-04-02 12:38:24,764]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.console_file_count = 1
[2012-04-02 12:38:24,764]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.automatic_resource_registration = true
[2012-04-02 12:38:24,765]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.client_demarcation = false
[2012-04-02 12:38:24,765]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.threaded_2pc = false
[2012-04-02 12:38:24,765]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.serial_jta_transactions = true
[2012-04-02 12:38:24,765]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.log_base_dir = repository/data
[2012-04-02 12:38:24,765]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.console_log_level = INFO
[2012-04-02 12:38:24,765]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.max_actives = 50
[2012-04-02 12:38:24,765]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.checkpoint_interval = 500
[2012-04-02 12:38:24,766]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.enable_logging = true
[2012-04-02 12:38:24,766]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.output_dir = repository/logs
[2012-04-02 12:38:24,766]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.log_base_name = tmlog
[2012-04-02 12:38:24,766]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.console_file_limit = 1073741824
[2012-04-02 12:38:24,766]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.max_timeout = 800
[2012-04-02 12:38:24,766]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.tm_unique_name = 127.0.0.1.tm
[2012-04-02 12:38:24,767]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
java.naming.factory.initial =
com.sun.jndi.rmi.registry.RegistryContextFactory
[2012-04-02 12:38:24,767]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
java.naming.provider.url = rmi://localhost:1099
[2012-04-02 12:38:24,767]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.service =
com.atomikos.icatch.standalone.UserTransactionServiceFactory
[2012-04-02 12:38:24,767]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.force_shutdown_on_vm_exit = true
[2012-04-02 12:38:24,767]  INFO
{com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
com.atomikos.icatch.default_jta_timeout = 500
[2012-04-02 12:38:52,403]  INFO {org.osgi.framework.BundleActivator} -  BAM
Core bundle activator started.
[2012-04-02 12:38:52,442]  INFO {org.osgi.framework.BundleActivator} -  BAM
Core bundle activator started.
[2012-04-02 12:38:53,103]  INFO
{org.wso2.carbon.coordination.core.services.impl.ZKCoordinationService} -
Coordination service disabled.


-- 
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] smoke testing - alpha packs

2012-04-02 Thread Lakmali Baminiwatta
Hi,

We have done a smoke test on DSS and following known issues were found.

PersistenceExceptions when services are saved.
Eventing issue - This is a known issue. Currently we are unable to test on
this since debug points are not invoked due to PersistenceExceptions.
Security scenarios can not be engaged to services as reported early.


Thanks,
Lakmali

On Mon, Apr 2, 2012 at 12:32 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi RMs,,

 Can we please have a update. Hope you have completed smoke testing.

 --Pradeep

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




-- 
Lakmali Baminiwatta*
*
Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware

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


Re: [Dev] What is the correct way to get TransactionConfiguration

2012-04-02 Thread Rajika Kumarasiri
If I remember correctly initially there was some configuration  that need
to add into axis2.xml and this code seems to use that bit of information. I
also remember that we planned to drop that path and I am not sure about the
current status. You will need to look into the usage of
TransactionConfiguration and define the configuration as required.

Hope this helps.

Rajika

On Sat, Mar 31, 2012 at 10:53 AM, Supun Malinga sup...@wso2.com wrote:

 Hi devs,

 I have a Class mediator which is getting called within transaction
 mediator.
 I tried following code fragment to get the TransactionConfiguration within
 class mediator.

 SynapseConfiguration synapseConfiguration =
 messageContext.getConfiguration();
 AxisConfiguration axisConfiguration =
 synapseConfiguration.getAxisConfiguration();
 TransactionConfiguration transactionConfiguration =
 axisConfiguration.getTransactionConfiguration();

 But it's getting null for the transactionConfiguration. Help appreciated.

 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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Rajika Kumarasiri
CSG product itself is not much useful without CSG Agent. And it's real
usage comes with CSG Agent installed in one of the service hosting
products. Due to this reason it's required to have p2 repo which has the
CSG Agent feature.

Rajika

On Mon, Apr 2, 2012 at 11:33 AM, Rajika Kumarasiri raj...@wso2.com wrote:

 Do you know where to get p2 repo ?

 Rajika

 On Mon, Apr 2, 2012 at 11:13 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi RMs,

 please do smoke testing on these packs [1] . Once you are done with smoke
 testing of your product, please send a mail to this thread, stating QA
 readiness of the product.

 [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact

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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Sanjaya Vithanagama
Hi,

Did a round of smoke test on BPS and found an issue related to the fix for
[1]. Nandika is currently fixing it.

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

Regards,
SanjayaV.

On Mon, Apr 2, 2012 at 11:13 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi RMs,

 please do smoke testing on these packs [1] . Once you are done with smoke
 testing of your product, please send a mail to this thread, stating QA
 readiness of the product.

 [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact

 thanks,
 --Pradeep
 ___
 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] Let's avoid committing the idea/eclipse/.. project files to the svn

2012-04-02 Thread Kathiravelu Pradeeban
On Mon, Apr 2, 2012 at 12:46 PM, Afkham Azeez az...@wso2.com wrote:

 Please remove these from svn

 Removed in revision 124566.

Regards,
Pradeeban,


 On Mon, Apr 2, 2012 at 12:31 PM, Kathiravelu Pradeeban pradee...@wso2.com
  wrote:

  I see a few *.iml files in the svn, when taking an svn up. I guess they
 should be removed.

 Restored
 'products/brs/modules/integration/org.wso2.carbon.brs.integration.sample.test/integration-sample-test.iml'
 Restored
 'features/jaggery/org.wso2.carbon.jaggery.ui.feature/org.wso2.carbon.jaggery.ui.feature.iml'
 Restored
 'service-stubs/org.wso2.carbon.gadget.ide.stub/org.wso2.carbon.gadget.ide.stub.iml'

 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




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




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


[Dev] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Bamboo

---
WSO2 Carbon  Products  #28 failed.
---
This build was manually triggered by BambooBuilder.
1/467 tests failed.

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


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


--
Code Changes
--
sumedha (124550):

Initializing subcriber id

sumedha (124553):

If access token is active, authorized should be true

sumedha (124552):

Changed throttle policy file name(extension) to support inline editing in G-Reg



--
Tests
--
New Test Failures (1)
   - SchemaTestCase: Add schema

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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Shammi Jayasinghe
Hi ,

 There is a problem in starting new MB pack with new cassandra feature.
Getting the following exception in starting up the server.
I ll look in to the problem[1].

Thanks
Shammi

[1]
[2012-04-02 13:45:09,130]  INFO
{org.wso2.carbon.cassandra.server.internal.CassandraServerDSComponent} -
There is no /repository/conf/etc/cassandra.yaml. Using the default
configuration
[2012-04-02 13:45:09,146]  INFO
{org.apache.cassandra.service.AbstractCassandraDaemon} -  JVM
vendor/version: Java HotSpot(TM) 64-Bit Server VM/1.6.0_21
[2012-04-02 13:45:09,147]  INFO
{org.apache.cassandra.service.AbstractCassandraDaemon} -  Heap size:
324468736/477233152
[2012-04-02 13:45:09,147]  INFO
{org.apache.cassandra.service.AbstractCassandraDaemon} -  Classpath:
/opt/software/jdk1.6.0_21/lib/tools.jar:/home/shammi/wso2/C4/wso2mb-1.0.0-SNAPSHOT/bin/org.wso2.carbon.bootstrap-4.0.0-SNAPSHOT.jar:/home/shammi/wso2/C4/wso2mb-1.0.0-SNAPSHOT/bin/tcpmon-1.0.jar
[2012-04-02 13:45:09,153]  INFO {org.apache.cassandra.utils.CLibrary} -
JNA not found. Native methods will be disabled.
[2012-04-02 13:45:09,161]  INFO
{org.apache.cassandra.config.DatabaseDescriptor} -  Loading settings from
bundleresource://134.fwk996025164/org/wso2/carbon/cassandra/server/deployment/cassandra_default.yaml
[2012-04-02 13:45:09,271] ERROR
{org.apache.cassandra.config.DatabaseDescriptor} -  Fatal configuration
error error
Can't construct a java object for
tag:yaml.org,2002:org.apache.cassandra.config.Config;
exception=Cannot create property=commitlog_rotation_threshold_in_mb for
JavaBean=org.apache.cassandra.config.Config@6f45d7f2; Unable to find
property 'commitlog_rotation_threshold_in_mb' on class:
org.apache.cassandra.config.Config
 in reader, line 10, column 1:
cluster_name: 'ClusterOne'
^

at
org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:372)
at
org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:177)
at
org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:136)
at
org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:122)
at org.yaml.snakeyaml.Loader.load(Loader.java:52)
at org.yaml.snakeyaml.Yaml.load(Yaml.java:166)
at
org.apache.cassandra.config.DatabaseDescriptor.clinit(DatabaseDescriptor.java:133)
at
org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:125)
at
org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:337)
at
org.wso2.carbon.cassandra.server.CassandraServerController$1.run(CassandraServerController.java:48)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create
property=commitlog_rotation_threshold_in_mb for
JavaBean=org.apache.cassandra.config.Config@6f45d7f2; Unable to find
property 'commitlog_rotation_threshold_in_mb' on class:
org.apache.cassandra.config.Config
at
org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:305)
at
org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:184)
at
org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:370)
... 10 more
Caused by: org.yaml.snakeyaml.error.YAMLException: Unable to find property
'commitlog_rotation_threshold_in_mb' on class:
org.apache.cassandra.config.Config
at
org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.getProperty(Constructor.java:342)
at
org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:240)
... 12 more
null; Can't construct a java object for
tag:yaml.org,2002:org.apache.cassandra.config.Config;
exception=Cannot create property=commitlog_rotation_threshold_in_mb for
JavaBean=org.apache.cassandra.config.Config@6f45d7f2; Unable to find
property 'commitlog_rotation_threshold_in_mb' on class:
org.apache.cassandra.config.Config
Invalid yaml; unable to start server.  See log for stacktrace.




On Mon, Apr 2, 2012 at 1:36 PM, Sanjaya Vithanagama sanja...@wso2.comwrote:

 Hi,

 Did a round of smoke test on BPS and found an issue related to the fix for
 [1]. Nandika is currently fixing it.

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

 Regards,
 SanjayaV.

 On Mon, Apr 2, 2012 at 11:13 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi RMs,

 please do smoke testing on these packs [1] . Once you are done with smoke
 testing of your product, please send a mail to this thread, stating QA
 readiness of the product.

 [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact

 thanks,
 --Pradeep
 ___
 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


 

Re: [Dev] API Manager Build - 27/03/2012

2012-04-02 Thread Sandapa Handakumbura
Hi Prabath,

I was away last week since i went for the Outbound training on the 28th and
my Support week started from 30th. Will start testing as soon as my support
week is over.

Regards,
Sandapa


On Tue, Mar 27, 2012 at 9:01 PM, Prabath Siriwardena prab...@wso2.comwrote:

 Hi Sandapa,

 Please find the latest build for testing at [1]...

 --
 Thanks  Regards,
 Prabath

 [1]: http://people.wso2.com/~prabath/api-manager/

 Mobile : +94 71 809 6732

 http://blog.facilelogin.com
 http://RampartFAQ.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] Atomikos INFO logs during the manager start-up

2012-04-02 Thread Dinusha Senanayaka
Hi Pradeeban,

On Mon, Apr 2, 2012 at 12:47 PM, Kathiravelu Pradeeban
pradee...@wso2.comwrote:

 Hi,
 I just downloaded the manager pack from the mentioned location, extracted
 it, and started it. It is giving the below exceptions of atomikos. This can
 be reproducible each time. Nevertheless, regardless of this error, manager
 binary continued to start.

 Any hint on this issue?


These Atomikos INFO logs coming when activating Atomikos bundle.  We ll
disable those logs been print to Carbon console.

Regards,
Dinusha.


 Regards,
 Pradeeban.

 pradeeban@pradeeban:~/carbon/platform/build/packs/wso2stratos-manager-1.1.0-SNAPSHOT/bin$
 sh wso2server.sh
 JAVA_HOME environment variable is set to
 /home/pradeeban/programs/jdk1.6.0_31
 CARBON_HOME environment variable is set to
 /home/pradeeban/carbon/platform/build/packs/wso2stratos-manager-1.1.0-SNAPSHOT
 [2012-04-02 12:38:11,342]  INFO {com.atomikos.logging.LoggerFactory} -
 Using Slf4J for logging.
 [2012-04-02 12:38:21,752]  INFO
 {com.atomikos.persistence.imp.FileLogStream} -  Logfile closed:
 /home/pradeeban/carbon/platform/build/packs/wso2stratos-manager-1.1.0-SNAPSHOT/repository/data/tmlog-1.log
 [2012-04-02 12:38:24,764]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 core version: 3.8.0.M1
 [2012-04-02 12:38:24,764]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.console_file_name = tm.out
 [2012-04-02 12:38:24,764]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.console_file_count = 1
 [2012-04-02 12:38:24,764]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.automatic_resource_registration = true
 [2012-04-02 12:38:24,765]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.client_demarcation = false
 [2012-04-02 12:38:24,765]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.threaded_2pc = false
 [2012-04-02 12:38:24,765]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.serial_jta_transactions = true
 [2012-04-02 12:38:24,765]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.log_base_dir = repository/data
 [2012-04-02 12:38:24,765]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.console_log_level = INFO
 [2012-04-02 12:38:24,765]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.max_actives = 50
 [2012-04-02 12:38:24,765]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.checkpoint_interval = 500
 [2012-04-02 12:38:24,766]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.enable_logging = true
 [2012-04-02 12:38:24,766]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.output_dir = repository/logs
 [2012-04-02 12:38:24,766]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.log_base_name = tmlog
 [2012-04-02 12:38:24,766]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.console_file_limit = 1073741824
 [2012-04-02 12:38:24,766]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.max_timeout = 800
 [2012-04-02 12:38:24,766]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.tm_unique_name = 127.0.0.1.tm
 [2012-04-02 12:38:24,767]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 java.naming.factory.initial =
 com.sun.jndi.rmi.registry.RegistryContextFactory
 [2012-04-02 12:38:24,767]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 java.naming.provider.url = rmi://localhost:1099
 [2012-04-02 12:38:24,767]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.service =
 com.atomikos.icatch.standalone.UserTransactionServiceFactory
 [2012-04-02 12:38:24,767]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.force_shutdown_on_vm_exit = true
 [2012-04-02 12:38:24,767]  INFO
 {com.atomikos.icatch.config.imp.AbstractUserTransactionService} -  USING
 com.atomikos.icatch.default_jta_timeout = 500
 [2012-04-02 12:38:52,403]  INFO {org.osgi.framework.BundleActivator} -
 BAM Core bundle activator started.
 [2012-04-02 12:38:52,442]  INFO {org.osgi.framework.BundleActivator} -
 BAM Core bundle activator started.
 [2012-04-02 12:38:53,103]  INFO
 {org.wso2.carbon.coordination.core.services.impl.ZKCoordinationService} -
 Coordination service disabled.


 --
 

Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Pradeep Fernando
Hi,

who is working on this test failure ?

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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Charitha Kankanamge
I'm wondering why the server startup failure was not detected by automated
integration tests.

/Charitha

On Mon, Apr 2, 2012 at 1:49 PM, Shammi Jayasinghe sha...@wso2.com wrote:

 Hi ,

  There is a problem in starting new MB pack with new cassandra feature.
 Getting the following exception in starting up the server.
 I ll look in to the problem[1].

 Thanks
 Shammi

 [1]
 [2012-04-02 13:45:09,130]  INFO
 {org.wso2.carbon.cassandra.server.internal.CassandraServerDSComponent} -
 There is no /repository/conf/etc/cassandra.yaml. Using the default
 configuration
 [2012-04-02 13:45:09,146]  INFO
 {org.apache.cassandra.service.AbstractCassandraDaemon} -  JVM
 vendor/version: Java HotSpot(TM) 64-Bit Server VM/1.6.0_21
 [2012-04-02 13:45:09,147]  INFO
 {org.apache.cassandra.service.AbstractCassandraDaemon} -  Heap size:
 324468736/477233152
 [2012-04-02 13:45:09,147]  INFO
 {org.apache.cassandra.service.AbstractCassandraDaemon} -  Classpath:
 /opt/software/jdk1.6.0_21/lib/tools.jar:/home/shammi/wso2/C4/wso2mb-1.0.0-SNAPSHOT/bin/org.wso2.carbon.bootstrap-4.0.0-SNAPSHOT.jar:/home/shammi/wso2/C4/wso2mb-1.0.0-SNAPSHOT/bin/tcpmon-1.0.jar
 [2012-04-02 13:45:09,153]  INFO {org.apache.cassandra.utils.CLibrary} -
 JNA not found. Native methods will be disabled.
 [2012-04-02 13:45:09,161]  INFO
 {org.apache.cassandra.config.DatabaseDescriptor} -  Loading settings from
 bundleresource://134.fwk996025164/org/wso2/carbon/cassandra/server/deployment/cassandra_default.yaml
 [2012-04-02 13:45:09,271] ERROR
 {org.apache.cassandra.config.DatabaseDescriptor} -  Fatal configuration
 error error
 Can't construct a java object for 
 tag:yaml.org,2002:org.apache.cassandra.config.Config;
 exception=Cannot create property=commitlog_rotation_threshold_in_mb for
 JavaBean=org.apache.cassandra.config.Config@6f45d7f2; Unable to find
 property 'commitlog_rotation_threshold_in_mb' on class:
 org.apache.cassandra.config.Config
  in reader, line 10, column 1:
 cluster_name: 'ClusterOne'
 ^

 at
 org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:372)
 at
 org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:177)
 at
 org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:136)
 at
 org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:122)
 at org.yaml.snakeyaml.Loader.load(Loader.java:52)
 at org.yaml.snakeyaml.Yaml.load(Yaml.java:166)
 at
 org.apache.cassandra.config.DatabaseDescriptor.clinit(DatabaseDescriptor.java:133)
 at
 org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:125)
 at
 org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:337)
 at
 org.wso2.carbon.cassandra.server.CassandraServerController$1.run(CassandraServerController.java:48)
 at java.lang.Thread.run(Thread.java:619)
 Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create
 property=commitlog_rotation_threshold_in_mb for
 JavaBean=org.apache.cassandra.config.Config@6f45d7f2; Unable to find
 property 'commitlog_rotation_threshold_in_mb' on class:
 org.apache.cassandra.config.Config
 at
 org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:305)
 at
 org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:184)
 at
 org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:370)
 ... 10 more
 Caused by: org.yaml.snakeyaml.error.YAMLException: Unable to find property
 'commitlog_rotation_threshold_in_mb' on class:
 org.apache.cassandra.config.Config
 at
 org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.getProperty(Constructor.java:342)
 at
 org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:240)
 ... 12 more
 null; Can't construct a java object for 
 tag:yaml.org,2002:org.apache.cassandra.config.Config;
 exception=Cannot create property=commitlog_rotation_threshold_in_mb for
 JavaBean=org.apache.cassandra.config.Config@6f45d7f2; Unable to find
 property 'commitlog_rotation_threshold_in_mb' on class:
 org.apache.cassandra.config.Config
 Invalid yaml; unable to start server.  See log for stacktrace.





 On Mon, Apr 2, 2012 at 1:36 PM, Sanjaya Vithanagama sanja...@wso2.comwrote:

 Hi,

 Did a round of smoke test on BPS and found an issue related to the fix
 for [1]. Nandika is currently fixing it.

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

 Regards,
 SanjayaV.

 On Mon, Apr 2, 2012 at 11:13 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi RMs,

 please do smoke testing on these packs [1] . Once you are done with
 smoke testing of your product, please send a mail to this thread, stating
 QA readiness of the product.

 [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact

 thanks,
 --Pradeep
 

Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Senaka Fernando
And may I ask how did this fail without nobody committing anything after
the last series of builds that passed? Is Bamboo taking proper SVN updates
always? Or are we looking at some test log that is inconsistent each day?
I'd like if someone can pay attention into how Bamboo takes SVN updates and
does the build.

Regards,
Senaka.

On Mon, Apr 2, 2012 at 2:00 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 who is working on this test failure ?

 --Pradeep

 ___
 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] smoke testing - alpha packs

2012-04-02 Thread Kishanthan Thangarajah
Hi,
Found the following with smoke testing on AS.

1. When creating/uploading a data-service, PersistenceExceptions *[1]* are
thrown.
2. When deploying a hierarchical service also, PersistenceExceptions are
thrown. I have already mentioned this on a separate thread.
3. When enabling/updating deployment synchronizer, an NPE is thrown *[2]*,

*[1]* [2012-04-02 13:47:12,525]  INFO
{org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2
service: TestDataService {super-tenant}
[2012-04-02 13:47:12,526] ERROR
{org.wso2.carbon.core.persistence.AbstractPersistenceManager} -  Unable to
handle new service addition. Service: TestDataService
java.lang.NullPointerException
at
org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewBindingAddition(ServicePersistenceManager.java:348)
 at
org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewServiceAddition(ServicePersistenceManager.java:196)
at
org.wso2.carbon.core.deployment.DeploymentInterceptor.serviceUpdate(DeploymentInterceptor.java:283)
 at
org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:652)
at
org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:406)
 at org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:180)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:75)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
 at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
 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)
[2012-04-02 13:47:12,527] ERROR
{org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Exception
occurred while handling service update event. {super-tenant}
org.wso2.carbon.core.persistence.PersistenceException: Unable to handle new
service addition. Service: TestDataService
at
org.wso2.carbon.core.persistence.AbstractPersistenceManager.handleExceptionWithRollback(AbstractPersistenceManager.java:564)
 at
org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewServiceAddition(ServicePersistenceManager.java:299)
at
org.wso2.carbon.core.deployment.DeploymentInterceptor.serviceUpdate(DeploymentInterceptor.java:283)
 at
org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:652)
at
org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:406)
 at org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:180)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:75)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
 at

Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Shammi Jayasinghe
On Mon, Apr 2, 2012 at 2:02 PM, Charitha Kankanamge chari...@wso2.comwrote:

 I'm wondering why the server startup failure was not detected by automated
 integration tests.


Hi All,

   Please be noted that we are re writing the mb with new core, (Andes) and
we have removed our previous features
like messagebox from MB. So the earlier test we have are no more valid for
new MB product. Currently MB team is
working on writing tests and other feature implementations which is
discussed in architecture list.

So currently we  are preparing the MB for its RC1 in 2.0.0 version and have
not running integration test for the moment.
 We will add them soon. Sorry, if this has caused any inconvenience.


Thanks
shammi


 /Charitha


 On Mon, Apr 2, 2012 at 1:49 PM, Shammi Jayasinghe sha...@wso2.com wrote:

 Hi ,

  There is a problem in starting new MB pack with new cassandra feature.
 Getting the following exception in starting up the server.
 I ll look in to the problem[1].

 Thanks
 Shammi

 [1]
 [2012-04-02 13:45:09,130]  INFO
 {org.wso2.carbon.cassandra.server.internal.CassandraServerDSComponent} -
 There is no /repository/conf/etc/cassandra.yaml. Using the default
 configuration
 [2012-04-02 13:45:09,146]  INFO
 {org.apache.cassandra.service.AbstractCassandraDaemon} -  JVM
 vendor/version: Java HotSpot(TM) 64-Bit Server VM/1.6.0_21
 [2012-04-02 13:45:09,147]  INFO
 {org.apache.cassandra.service.AbstractCassandraDaemon} -  Heap size:
 324468736/477233152
 [2012-04-02 13:45:09,147]  INFO
 {org.apache.cassandra.service.AbstractCassandraDaemon} -  Classpath:
 /opt/software/jdk1.6.0_21/lib/tools.jar:/home/shammi/wso2/C4/wso2mb-1.0.0-SNAPSHOT/bin/org.wso2.carbon.bootstrap-4.0.0-SNAPSHOT.jar:/home/shammi/wso2/C4/wso2mb-1.0.0-SNAPSHOT/bin/tcpmon-1.0.jar
 [2012-04-02 13:45:09,153]  INFO {org.apache.cassandra.utils.CLibrary} -
 JNA not found. Native methods will be disabled.
 [2012-04-02 13:45:09,161]  INFO
 {org.apache.cassandra.config.DatabaseDescriptor} -  Loading settings from
 bundleresource://134.fwk996025164/org/wso2/carbon/cassandra/server/deployment/cassandra_default.yaml
 [2012-04-02 13:45:09,271] ERROR
 {org.apache.cassandra.config.DatabaseDescriptor} -  Fatal configuration
 error error
 Can't construct a java object for 
 tag:yaml.org,2002:org.apache.cassandra.config.Config;
 exception=Cannot create property=commitlog_rotation_threshold_in_mb for
 JavaBean=org.apache.cassandra.config.Config@6f45d7f2; Unable to find
 property 'commitlog_rotation_threshold_in_mb' on class:
 org.apache.cassandra.config.Config
  in reader, line 10, column 1:
 cluster_name: 'ClusterOne'
 ^

 at
 org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:372)
 at
 org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:177)
 at
 org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:136)
 at
 org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:122)
 at org.yaml.snakeyaml.Loader.load(Loader.java:52)
 at org.yaml.snakeyaml.Yaml.load(Yaml.java:166)
 at
 org.apache.cassandra.config.DatabaseDescriptor.clinit(DatabaseDescriptor.java:133)
 at
 org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:125)
 at
 org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:337)
 at
 org.wso2.carbon.cassandra.server.CassandraServerController$1.run(CassandraServerController.java:48)
 at java.lang.Thread.run(Thread.java:619)
 Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create
 property=commitlog_rotation_threshold_in_mb for
 JavaBean=org.apache.cassandra.config.Config@6f45d7f2; Unable to find
 property 'commitlog_rotation_threshold_in_mb' on class:
 org.apache.cassandra.config.Config
 at
 org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:305)
 at
 org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:184)
 at
 org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:370)
 ... 10 more
 Caused by: org.yaml.snakeyaml.error.YAMLException: Unable to find
 property 'commitlog_rotation_threshold_in_mb' on class:
 org.apache.cassandra.config.Config
 at
 org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.getProperty(Constructor.java:342)
 at
 org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:240)
 ... 12 more
 null; Can't construct a java object for 
 tag:yaml.org,2002:org.apache.cassandra.config.Config;
 exception=Cannot create property=commitlog_rotation_threshold_in_mb for
 JavaBean=org.apache.cassandra.config.Config@6f45d7f2; Unable to find
 property 'commitlog_rotation_threshold_in_mb' on class:
 org.apache.cassandra.config.Config
 Invalid yaml; unable to start server.  See log for stacktrace.





 On 

Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Sanjaya Vithanagama
Hi Senaka,

I just checked the last successful build (#26) log available at [1]. In
that all the 229 test cases of GREG has passed. So this must be an
intermittent failure?


[1]
http://builder4.us1.wso2.org:/bamboo/download/WSO2CARBON-PRODUCTS-JOB1/build_logs/WSO2CARBON-PRODUCTS-JOB1-26.log

Regards,
SanjayaV.

On Mon, Apr 2, 2012 at 2:03 PM, Senaka Fernando sen...@wso2.com wrote:

 And may I ask how did this fail without nobody committing anything after
 the last series of builds that passed? Is Bamboo taking proper SVN updates
 always? Or are we looking at some test log that is inconsistent each day?
 I'd like if someone can pay attention into how Bamboo takes SVN updates and
 does the build.

 Regards,
 Senaka.

 On Mon, Apr 2, 2012 at 2:00 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 who is working on this test failure ?

 --Pradeep

 ___
 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




-- 
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] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Senaka Fernando
Hi Sanjaya,

No it is not an intermittent failure. Its an all or nothing kind of a test
and there is no possibility of the behavior being random provided that the
clean up happened properly.

Thanks,
Senaka.

On Mon, Apr 2, 2012 at 2:07 PM, Sanjaya Vithanagama sanja...@wso2.comwrote:

 Hi Senaka,

 I just checked the last successful build (#26) log available at [1]. In
 that all the 229 test cases of GREG has passed. So this must be an
 intermittent failure?


 [1]
 http://builder4.us1.wso2.org:/bamboo/download/WSO2CARBON-PRODUCTS-JOB1/build_logs/WSO2CARBON-PRODUCTS-JOB1-26.log

 Regards,
 SanjayaV.

 On Mon, Apr 2, 2012 at 2:03 PM, Senaka Fernando sen...@wso2.com wrote:

 And may I ask how did this fail without nobody committing anything after
 the last series of builds that passed? Is Bamboo taking proper SVN updates
 always? Or are we looking at some test log that is inconsistent each day?
 I'd like if someone can pay attention into how Bamboo takes SVN updates and
 does the build.

 Regards,
 Senaka.

 On Mon, Apr 2, 2012 at 2:00 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 who is working on this test failure ?

 --Pradeep

 ___
 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




 --
 Sanjaya Vithanagama
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 342 2881




-- 
*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] smoke testing - alpha packs

2012-04-02 Thread Miyuru Wanninayaka
I have done a quick smoke test and there are issues related to persistence
manager. See [Dev] PersistenceExceptions in ESB

So applying security, caching ... not works via service dashboard.

Other mediation related components working fine ( proxy, sequence,
endpoints, API ) and ESB integration test covers most of ESB samples.

So I suggest to skip UI actions related to policies ( security, caching, RM
) and test rest of ESB.

On Mon, Apr 2, 2012 at 1:36 PM, Sanjaya Vithanagama sanja...@wso2.comwrote:

 Hi,

 Did a round of smoke test on BPS and found an issue related to the fix for
 [1]. Nandika is currently fixing it.

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

 Regards,
 SanjayaV.

 On Mon, Apr 2, 2012 at 11:13 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi RMs,

 please do smoke testing on these packs [1] . Once you are done with smoke
 testing of your product, please send a mail to this thread, stating QA
 readiness of the product.

 [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact

 thanks,
 --Pradeep
 ___
 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




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


[Dev] Is Bamboo reliable? {was: WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.}

2012-04-02 Thread Senaka Fernando
FYI. Have a look @ this thread. There were a series of successful builds
followed by no commits and then a test failure. So, I'd like to ask whether
Bamboo is properly setup and working as expected. Also, please note that
these issues cannot be reproduced locally either and is a real PITA and a
waste of like 4 hours each round to pin point and isolate issues like this.

Thanks,
Senaka.

On Mon, Apr 2, 2012 at 2:03 PM, Senaka Fernando sen...@wso2.com wrote:

 And may I ask how did this fail without nobody committing anything after
 the last series of builds that passed? Is Bamboo taking proper SVN updates
 always? Or are we looking at some test log that is inconsistent each day?
 I'd like if someone can pay attention into how Bamboo takes SVN updates and
 does the build.

 Regards,
 Senaka.

 On Mon, Apr 2, 2012 at 2:00 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 who is working on this test failure ?

 --Pradeep

 ___
 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




-- 
*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] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Afkham Azeez
How can an assertion fail intermittently?


java.lang.AssertionError: expected:3 but was:2
at org.testng.Assert.fail(Assert.java:89)
at org.testng.Assert.failNotEquals(Assert.java:489)
at org.testng.Assert.assertEquals(Assert.java:118)
at org.testng.Assert.assertEquals(Assert.java:365)
at org.testng.Assert.assertEquals(Assert.java:375)
at 
org.wso2.carbon.registry.governance.api.test.SchemaTestCase.testAddSchema(SchemaTestCase.java:95)


On Mon, Apr 2, 2012 at 2:07 PM, Sanjaya Vithanagama sanja...@wso2.comwrote:

 Hi Senaka,

 I just checked the last successful build (#26) log available at [1]. In
 that all the 229 test cases of GREG has passed. So this must be an
 intermittent failure?


 [1]
 http://builder4.us1.wso2.org:/bamboo/download/WSO2CARBON-PRODUCTS-JOB1/build_logs/WSO2CARBON-PRODUCTS-JOB1-26.log

 Regards,
 SanjayaV.

 On Mon, Apr 2, 2012 at 2:03 PM, Senaka Fernando sen...@wso2.com wrote:

 And may I ask how did this fail without nobody committing anything after
 the last series of builds that passed? Is Bamboo taking proper SVN updates
 always? Or are we looking at some test log that is inconsistent each day?
 I'd like if someone can pay attention into how Bamboo takes SVN updates and
 does the build.

 Regards,
 Senaka.

 On Mon, Apr 2, 2012 at 2:00 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 who is working on this test failure ?

 --Pradeep

 ___
 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




 --
 Sanjaya Vithanagama
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 342 2881


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




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Pradeep Fernando
Hi,

we had a config issue in bamboo. This is not intermittent. Someone has to
fix it. Yes bamboo is reliable.

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


Re: [Dev] Error with running web app on Stratos Live

2012-04-02 Thread Supun Malinga
Hi Kasun,

On Mon, Apr 2, 2012 at 1:26 PM, Kasun Perera kas...@opensource.lk wrote:

 Hi Prabath

 Yes, I can access SLive DSS from my local Stratos app server and all
 the functionalities are working as required, I'm not sure why it didn't
 worked for me yesterday night.
 So that means there is no problem with DB connection. The reason may be to
 getting a blank page on the jsp page where I use external jar file, is
 Security manager dosen't allow to run extrenal jar files on Straos Live app
 server?.

 but I have already singed my extrenal jar files with this from my local
 Stratos 1.5.2 appserver
 jarsigner -keystore repository/resources/security/wso2carbon.jks
 -storepass wso2carbon location_of_jarfile wso2carbon

 do I need to get signed my external jar files from Stratoes Live app
 server?

No you don't have to. You are having them inside the webapp .war right?
FYI : Only if you are to copy a jar into a lib directory you have to sign
it.

Your issue couldn't be related to security manager, as you are using
database to store all your data/files.

btw, I couldn't login to the webapp with the given credentials.

thanks,



 On Mon, Apr 2, 2012 at 12:47 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi Kasun,

 On Mon, Apr 2, 2012 at 8:35 AM, Kasun Perera kas...@opensource.lkwrote:





 On Sun, Apr 1, 2012 at 8:49 AM, Supun Malinga sup...@wso2.com wrote:

 Hi Kasun,

 On Fri, Mar 30, 2012 at 1:28 PM, Kasun Perera kas...@opensource.lkwrote:

 Hi supun

 About reading files- I can Access other tables and read data on data
 servise server?
 What I'm doing here is read a PDF file that stored as a Blob and
 extract the phrases from it, I'm not writing anything to the files.


 I can read the PDF file from database and show it on the webpage, Only
 thing is can't extract the phrases from it.


 Can you mention exact steps for extracting phrases in your webapp..
 (from the webapp UI)



 when go go to this URL
 http://appserver.stratoslive.wso2.com/t/karsha.opensource.lk/webapps/KarshaMarkUp/login
 you can login with usrname-admin paswd-admin

 then on leftside menu go to Select Doc submenu
 then you can select a document from drop down menu and press Extract
 phrases. It will show a blank page but it should show extracted phrses
 in a table.

 The document names for above dropdown List comes from stratos database,
 if you go to
 http://appserver.stratoslive.wso2.com/t/karsha.opensource.lk/webapps/KarshaMarkUp/classify
  the
 content is comming from the database. So i think database connection is
 working


 Also can you point to the stratos DSS database in your local webapp and
 see if it's working?


 I havent installed Stratos DSS localy I ll install and try that
 or can use jdbc:mysql://
 rss1.stratoslive.wso2.com/karshamarkuptool_karsha_opensource_lk URL
 to access database direcly from local setup? using this URL directly
 from local set up is not working for any functionality


 You should be able to access the databases created via the RSS Manager of
 SLive DSS from your local setup as well. Can you please elaborate more on
 the issues you experienced while trying to access the aforementioned
 database?




 here is my project folder
 https://docs.google.com/open?id=0B5A0W5SUykQqbGc0Vlg5UDJSTHFiTzdIV0hGZEZnQQ

 If you want to run here is the login details on Stratoes Live server
 username- kas...@karsha.opensource.lk
 passwd-  Haknrr4k

 thanks


 Hi Supun
 I Have attached .war file.  you want the project folder?
  database is at dataservise server.



 thanks



 On Fri, Mar 30, 2012 at 12:02 PM, Supun Malinga sup...@wso2.comwrote:

 Hi,

 Looks like you have some file conversion there. From where these
 files are being read?. If it needs to access the server file system,
 security manager will block this.
 Are you running your local setup with security manager enabled?

 thanks,


 On Fri, Mar 30, 2012 at 11:50 AM, Kasun Perera 
 kas...@opensource.lk wrote:

 Hi Supun

 I'm getting this error on webpage now when running my web app on
 StratoesLive App server, but I'm not getting this error on the local 
 App
 server. A bug? Although I have debugged on my local machine I can't 
 find
 the error.

 code- http://paste.org/47396

 type Exception report

 message

 description The server encountered an internal error () that
 prevented it from fulfilling this request.

 exception

 java.lang.NullPointerException
  
 controler.ControlerServelet.pdfDocToSentence(ControlerServelet.java:755)
   // I have mentioned thses two lines
  controler.ControlerServelet.doPost(ControlerServelet.java:585)
  //   in
  javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  sun.reflect.GeneratedMethodAccessor1724.invoke(Unknown Source)

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  java.lang.reflect.Method.invoke(Method.java:597)

 

Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Senaka Fernando
Hi Pradeep,

It is not intermittent. But, how is this not reproducible locally? And, how
did this just start happening without any changes to the code?
Subash/Vijitha are working on a build of the whole platform on a clean
repo. We'll be able to make a decision on the reliability of Bamboo after
that.

Thanks,
Senaka.

On Mon, Apr 2, 2012 at 2:11 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 we had a config issue in bamboo. This is not intermittent. Someone has to
 fix it. Yes bamboo is reliable.

 --Pradeep

 ___
 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] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Sanjaya Vithanagama
Hi

I went through the log of build #26 and saw all the products were passing
including GREG with tests. (Yes, Bamboo hasn't parsed the test results but
the builds were successful)  That's why I was thinking there should be
something wrong in the test. Sorry for the noise.

Regards,
SanjayaV.

On Mon, Apr 2, 2012 at 2:11 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 we had a config issue in bamboo. This is not intermittent. Someone has to
 fix it. Yes bamboo is reliable.

 --Pradeep




-- 
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] smoke testing - alpha packs

2012-04-02 Thread Asela Pathberiya
On Mon, Apr 2, 2012 at 11:13 AM, Pradeep Fernando prad...@wso2.com wrote:

 Hi RMs,

 please do smoke testing on these packs [1] . Once you are done with smoke
 testing of your product, please send a mail to this thread, stating QA
 readiness of the product.

 [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact



Quick smoke test is done with IS product. There are no openid and sts
features available with the build as these features are under going some
refactoring.  Jira [1] is created to track this. Other functionalities are
working fine without any critical issues.

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

Thanks,
Asela





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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Prabath Abeysekera
Hi,

On Mon, Apr 2, 2012 at 12:53 PM, Lakmali Baminiwatta lakm...@wso2.comwrote:

 Hi,

 We have done a smoke test on DSS and following known issues were found.

 PersistenceExceptions when services are saved.
 Eventing issue - This is a known issue. Currently we are unable to test on
 this since debug points are not invoked due to PersistenceExceptions.


I've fixed the eventing related issues and waiting till the svn is unfrozen
to commit the relevant fixes.


 Security scenarios can not be engaged to services as reported early.


 Thanks,
 Lakmali

 On Mon, Apr 2, 2012 at 12:32 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi RMs,,

 Can we please have a update. Hope you have completed smoke testing.

 --Pradeep

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




 --
 Lakmali Baminiwatta*
 *
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware

  *
 *


 ___
 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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Pradeep Fernando
On Mon, Apr 2, 2012 at 2:23 PM, Prabath Abeysekera praba...@wso2.comwrote:

 Hi,

 On Mon, Apr 2, 2012 at 12:53 PM, Lakmali Baminiwatta lakm...@wso2.comwrote:

 Hi,

 We have done a smoke test on DSS and following known issues were found.

 PersistenceExceptions when services are saved.
 Eventing issue - This is a known issue. Currently we are unable to test
 on this since debug points are not invoked due to PersistenceExceptions.


 I've fixed the eventing related issues and waiting till the svn is
 unfrozen to commit the relevant fixes.


DSS RM,

can you commit these changes.

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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Deependra Ariyadewa
On Mon, Apr 2, 2012 at 1:49 PM, Shammi Jayasinghe sha...@wso2.com wrote:
 Hi ,

  There is a problem in starting new MB pack with new cassandra feature.
 Getting the following exception in starting up the server.
 I ll look in to the problem[1].

 Thanks
 Shammi

 [1]
 [2012-04-02 13:45:09,130]  INFO
 {org.wso2.carbon.cassandra.server.internal.CassandraServerDSComponent} -
 There is no /repository/conf/etc/cassandra.yaml. Using the default
 configuration
 [2012-04-02 13:45:09,146]  INFO
 {org.apache.cassandra.service.AbstractCassandraDaemon} -  JVM
 vendor/version: Java HotSpot(TM) 64-Bit Server VM/1.6.0_21
 [2012-04-02 13:45:09,147]  INFO
 {org.apache.cassandra.service.AbstractCassandraDaemon} -  Heap size:
 324468736/477233152
 [2012-04-02 13:45:09,147]  INFO
 {org.apache.cassandra.service.AbstractCassandraDaemon} -  Classpath:
 /opt/software/jdk1.6.0_21/lib/tools.jar:/home/shammi/wso2/C4/wso2mb-1.0.0-SNAPSHOT/bin/org.wso2.carbon.bootstrap-4.0.0-SNAPSHOT.jar:/home/shammi/wso2/C4/wso2mb-1.0.0-SNAPSHOT/bin/tcpmon-1.0.jar
 [2012-04-02 13:45:09,153]  INFO {org.apache.cassandra.utils.CLibrary} -  JNA
 not found. Native methods will be disabled.
 [2012-04-02 13:45:09,161]  INFO
 {org.apache.cassandra.config.DatabaseDescriptor} -  Loading settings from
 bundleresource://134.fwk996025164/org/wso2/carbon/cassandra/server/deployment/cassandra_default.yaml
 [2012-04-02 13:45:09,271] ERROR
 {org.apache.cassandra.config.DatabaseDescriptor} -  Fatal configuration
 error error
 Can't construct a java object for
 tag:yaml.org,2002:org.apache.cassandra.config.Config; exception=Cannot
 create property=commitlog_rotation_threshold_in_mb for
 JavaBean=org.apache.cassandra.config.Config@6f45d7f2; Unable to find
 property 'commitlog_rotation_threshold_in_mb' on class:
 org.apache.cassandra.config.Config
  in reader, line 10, column 1:
     cluster_name: 'ClusterOne'
     ^

     at
 org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:372)
     at
 org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:177)
     at
 org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:136)
     at
 org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:122)
     at org.yaml.snakeyaml.Loader.load(Loader.java:52)
     at org.yaml.snakeyaml.Yaml.load(Yaml.java:166)
     at
 org.apache.cassandra.config.DatabaseDescriptor.clinit(DatabaseDescriptor.java:133)
     at
 org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:125)
     at
 org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:337)
     at
 org.wso2.carbon.cassandra.server.CassandraServerController$1.run(CassandraServerController.java:48)
     at java.lang.Thread.run(Thread.java:619)
 Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create
 property=commitlog_rotation_threshold_in_mb for
 JavaBean=org.apache.cassandra.config.Config@6f45d7f2; Unable to find
 property 'commitlog_rotation_threshold_in_mb' on class:
 org.apache.cassandra.config.Config
     at
 org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:305)
     at
 org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:184)
     at
 org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:370)
     ... 10 more
 Caused by: org.yaml.snakeyaml.error.YAMLException: Unable to find property
 'commitlog_rotation_threshold_in_mb' on class:
 org.apache.cassandra.config.Config
     at
 org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.getProperty(Constructor.java:342)
     at
 org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:240)
     ... 12 more
 null; Can't construct a java object for
 tag:yaml.org,2002:org.apache.cassandra.config.Config; exception=Cannot
 create property=commitlog_rotation_threshold_in_mb for
 JavaBean=org.apache.cassandra.config.Config@6f45d7f2; Unable to find
 property 'commitlog_rotation_threshold_in_mb' on class:
 org.apache.cassandra.config.Config
 Invalid yaml; unable to start server.  See log for stacktrace.

It looks system can not find the default config in the component. You
can resolve this issue by putting the cassandra.yaml to
$CARBON_HOME/repository/conf/etc

I ll look in to the issue.

Thanks,

Deependra.





 On Mon, Apr 2, 2012 at 1:36 PM, Sanjaya Vithanagama sanja...@wso2.com
 wrote:

 Hi,

 Did a round of smoke test on BPS and found an issue related to the fix for
 [1]. Nandika is currently fixing it.

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

 Regards,
 SanjayaV.

 On Mon, Apr 2, 2012 at 11:13 AM, Pradeep Fernando prad...@wso2.com
 wrote:

 Hi RMs,

 please do smoke testing on these packs [1] . Once you are done with smoke
 testing of your product, please send a mail to this thread, stating QA
 readiness of the 

Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Charith Wickramarachchi
On Mon, Apr 2, 2012 at 2:15 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Pradeep,

 It is not intermittent. But, how is this not reproducible locally? And,
 how did this just start happening without any changes to the code?
 Subash/Vijitha are working on a build of the whole platform on a clean
 repo. We'll be able to make a decision on the reliability of Bamboo after
 that.



Hi Senaka ,

I do not understand what do you mean by the reliability of Bamboo.
In Case of this test failure. The Error says

java.lang.AssertionError: expected:3 but was:2


So Looks like a bug to me. Bamboo simply does a very simple thing. It
execute maven goals and give the result after processing maven outputs
(surefire reports, logs etc.. ) So it does not invent any bugs.
If you are saying this is a already fix issue it might be a issue with the
svn client. As we have even experienced  localling that some times when to
check out at root level some times it miss some fixes at child modules.

thanks,
Charith







 Thanks,
 Senaka.

 On Mon, Apr 2, 2012 at 2:11 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 we had a config issue in bamboo. This is not intermittent. Someone has to
 fix it. Yes bamboo is reliable.

 --Pradeep

 ___
 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




-- 
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] smoke testing - alpha packs

2012-04-02 Thread Pradeep Fernando
Hi,

we need updates for Greg and Manager builds.

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


Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Afkham Azeez
Just got through the test code, and think about the cases in which this
assertion failure can occur. Don't be hasty to blame Bamboo. If there are
threading issues, they may manifest on some environments but not others.

On Mon, Apr 2, 2012 at 2:15 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Pradeep,

 It is not intermittent. But, how is this not reproducible locally? And,
 how did this just start happening without any changes to the code?
 Subash/Vijitha are working on a build of the whole platform on a clean
 repo. We'll be able to make a decision on the reliability of Bamboo after
 that.

 Thanks,
 Senaka.

 On Mon, Apr 2, 2012 at 2:11 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 we had a config issue in bamboo. This is not intermittent. Someone has to
 fix it. Yes bamboo is reliable.

 --Pradeep

 ___
 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




-- 
*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] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Harshana Martin
On Apr 2, 2012 2:32 PM, Afkham Azeez az...@wso2.com wrote:

 Just got through the test code, and think about the cases in which this
assertion failure can occur. Don't be hasty to blame Bamboo. If there are
threading issues, they may manifest on some environments but not others.

Agree with you!!

Thanks.
/Harshana


 On Mon, Apr 2, 2012 at 2:15 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Pradeep,

 It is not intermittent. But, how is this not reproducible locally? And,
how did this just start happening without any changes to the code?
Subash/Vijitha are working on a build of the whole platform on a clean
repo. We'll be able to make a decision on the reliability of Bamboo after
that.

 Thanks,
 Senaka.

 On Mon, Apr 2, 2012 at 2:11 PM, Pradeep Fernando prad...@wso2.com
wrote:

 Hi,

 we had a config issue in bamboo. This is not intermittent. Someone has
to fix it. Yes bamboo is reliable.

 --Pradeep

 ___
 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




 --
 Afkham Azeez
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/

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

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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Sameera Jayasoma
Can we release these packs to QA? Or else do we have to wait for the next
build cycle.

Thanks,
Sameera.

On Mon, Apr 2, 2012 at 2:31 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 we need updates for Greg and Manager builds.

 --Pradeep

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




-- 
Sameera Jayasoma
Technical Lead and Product Manager, WSO2 Carbon

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://tech.jayasoma.org

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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Vijitha Kumara
Hi Pradeep,

I'll look in to this from GReg, will update on this.

On Mon, Apr 2, 2012 at 2:38 PM, Sameera Jayasoma same...@wso2.com wrote:

 Can we release these packs to QA? Or else do we have to wait for the next
 build cycle.

 Thanks,
 Sameera.

 On Mon, Apr 2, 2012 at 2:31 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 we need updates for Greg and Manager builds.

 --Pradeep

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




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware

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




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

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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Kathiravelu Pradeeban
Hi,
Yes, that is due to some issue in the setup script it seems, as when we
just extract the manager build and start, restart, it works fine. The issue
is found, only with the manager build configured with the set up script
during the restart.

./stratos-setup.pl -p `pwd`/packs -t `pwd`/stratoslive -v 1.1.0-SNAPSHOT
-d true -l manager is greg as bam dss bps brs cep esb gs mb ms -c
stratos_config_min.xml -u root -w root -s true

Apart from this, the issue found is with the Issue tracker -

   - STRATOS-2014 - https://wso2.org/jira/browse/STRATOS-2014 Empty pages
   shown for the menus Issue Tracker (Accounts) and Issues (list and
create)https://wso2.org/jira/browse/STRATOS-2014


Thank you.
Regards,
Pradeeban.

On Mon, Apr 2, 2012 at 3:20 PM, Amila Maha Arachchi ami...@wso2.com wrote:

 Hi Pradeep,

 Pradeeban is smoke testing the manager pack. After setting up the manager
 and starting it, there were no blocking issues. But when the manager was
 restarted it couldn't restart and waiting for some bundles to activate. We
 are doing a small test to see whether this is due to some issues in the
 setup script or in the pack. Will update very shortly.

 Thanks,
 AmilaM.

 On Mon, Apr 2, 2012 at 2:31 PM, Pradeep Fernando prad...@wso2.com wrote:

 Hi,

 we need updates for Greg and Manager builds.

 --Pradeep

 ___
 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





-- 
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] [Urgent] Deploying build SNAPSHOTs to Maven repo

2012-04-02 Thread Pradeep Fernando
On Mon, Apr 2, 2012 at 3:17 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Azeez,

 On Mon, Apr 2, 2012 at 3:00 PM, Afkham Azeez az...@wso2.com wrote:

 Folks,
 We need this done urgently. Best if we can have this by EOD today. We
 should just be able to do only builds of the products. Please look into
 this urgently.

 Are we facing any technical or infrastructural difficulties we are
 facing?


 During last trunk stabilization effort, we configured the build to upload
 the artifacts to our old SNAPSHOT repo. So it was a matter of executing
 maven deploy command after placing correct credentials in the settings.xml
 in the local maven repo of the bamboo server.


we have to make sure, that we don't deploy versioned jars in to SNAPSHOT
repo / or any other repo.

versioned jars = dependencies and orbit in trunk/orbit , trunk/kernel ,
trunk/platform

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


[Dev] AS distribution build failure

2012-04-02 Thread Isuru Suriarachchi
Latest AS distribution has the following build failure. Anyone changed
something related??..

[INFO] WSO2 Stratos  AppServer - Profile Generation .. SUCCESS [49.069s]
[INFO] WSO2 AppServer - Distribution Parent .. SUCCESS [0.057s]
[INFO] WSO2 AppServer - Distribution . FAILURE
[7:33.288s]
[INFO] WSO2 Stratos AppServer - Distribution . SKIPPED
[INFO] WSO2 AS - Integration Tests ... SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 13:23.265s
[INFO] Finished at: Mon Apr 02 15:17:41 IST 2012
[INFO] Final Memory: 276M/945M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (4-dist)
on project wso2as: Failed to create assembly: File to filter not found:
/home/isuru/checkouts/wso2/trunk/new-carbon/platform/products/as/modules/distribution/product/target/wso2carbon-core-4.0.0-SNAPSHOT/bin/README.txt
(No such file or directory) - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :wso2as


-- 
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] [Urgent] Deploying build SNAPSHOTs to Maven repo

2012-04-02 Thread Harshana Martin
Hi Pradeep,

On Mon, Apr 2, 2012 at 3:29 PM, Pradeep Fernando prad...@wso2.com wrote:



 On Mon, Apr 2, 2012 at 3:17 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Azeez,

 On Mon, Apr 2, 2012 at 3:00 PM, Afkham Azeez az...@wso2.com wrote:

 Folks,
 We need this done urgently. Best if we can have this by EOD today. We
 should just be able to do only builds of the products. Please look into
 this urgently.

 Are we facing any technical or infrastructural difficulties we are
 facing?


 During last trunk stabilization effort, we configured the build to upload
 the artifacts to our old SNAPSHOT repo. So it was a matter of executing
 maven deploy command after placing correct credentials in the settings.xml
 in the local maven repo of the bamboo server.


 we have to make sure, that we don't deploy versioned jars in to SNAPSHOT
 repo / or any other repo.

 versioned jars = dependencies and orbit in trunk/orbit , trunk/kernel ,
 trunk/platform


Agreed!!

That is how it was configured during that effort.

I'm not sure how it looks like right now TBH but i believe still it's fine.

We declared both repository and snapshotRepository so that versioned ones
goes to repository and snapshots goes to snapshotRepository.

Thanks and Regards,
Harshana



 --Pradeep





-- 
Harshana Martin
Software Engineer
WSO2 Inc. : http://wso2.com ; http://wso2.org
Mobile: +94 716 062 650
Profile: https://www.google.com/profiles/harshana05
Blog: http://harshana05.blogspot.com
Twitter: http://twitter.com/harshana05
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] AS distribution build failure

2012-04-02 Thread Denis Weerasiri
On Mon, Apr 2, 2012 at 3:33 PM, Isuru Suriarachchi is...@wso2.com wrote:

 Latest AS distribution has the following build failure. Anyone changed
 something related??..

 [INFO] WSO2 Stratos  AppServer - Profile Generation .. SUCCESS
 [49.069s]
 [INFO] WSO2 AppServer - Distribution Parent .. SUCCESS [0.057s]
 [INFO] WSO2 AppServer - Distribution . FAILURE
 [7:33.288s]
 [INFO] WSO2 Stratos AppServer - Distribution . SKIPPED
 [INFO] WSO2 AS - Integration Tests ... SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 13:23.265s
 [INFO] Finished at: Mon Apr 02 15:17:41 IST 2012
 [INFO] Final Memory: 276M/945M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (4-dist)
 on project wso2as: Failed to create assembly: File to filter not found:
 /home/isuru/checkouts/wso2/trunk/new-carbon/platform/products/as/modules/distribution/product/target/wso2carbon-core-4.0.0-SNAPSHOT/bin/README.txt
 (No such file or directory) - [Help 1]

Locally in BPS I'm too having this issue. But not in builder machine.
The problem is when assembly plugin starts, the target dir get cleaned in
package phase. (which should be happened ideally in the install phase).

 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :wso2as


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




-- 
Thanks,
Denis
--
*Denis Weerasiri*
Software Engineer
Integration Technologies Team, WSO2 Inc.; http://wso2.com,
*email: denis http://goog_277208233/** [AT] wso2.com http://wso2.com/*
*phone: +94117639629
*
*site: 
**https://sites.google.com/site/ddweerasiri/*https://sites.google.com/site/ddweerasiri/
*blog: **http://ddweerasiri.blogspot.com* http://ddweerasiri.blogspot.com/
*
twitter: **http://twitter.com/ddweerasiri* http://twitter.com/ddweerasiri*
linked-in: 
**http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] CarbonContext of Different Tenants

2012-04-02 Thread metin d
When I call CarbonContext.getCurrentContext(), it returns default Carbon 
Context of default tenant. How can I reach to Carbon Context of other tenants ?___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] AS distribution build failure

2012-04-02 Thread Kathiravelu Pradeeban
Hi,
It was reported to CSG as well.
I will have a look into this issue.

Thank you.
Regards,
Pradeeban.

On Mon, Apr 2, 2012 at 3:33 PM, Isuru Suriarachchi is...@wso2.com wrote:

 Latest AS distribution has the following build failure. Anyone changed
 something related??..

  [INFO] WSO2 Stratos  AppServer - Profile Generation .. SUCCESS
 [49.069s]
 [INFO] WSO2 AppServer - Distribution Parent .. SUCCESS [0.057s]
 [INFO] WSO2 AppServer - Distribution . FAILURE
 [7:33.288s]
 [INFO] WSO2 Stratos AppServer - Distribution . SKIPPED
 [INFO] WSO2 AS - Integration Tests ... SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 13:23.265s
 [INFO] Finished at: Mon Apr 02 15:17:41 IST 2012
 [INFO] Final Memory: 276M/945M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (4-dist)
 on project wso2as: Failed to create assembly: File to filter not found:
 /home/isuru/checkouts/wso2/trunk/new-carbon/platform/products/as/modules/distribution/product/target/wso2carbon-core-4.0.0-SNAPSHOT/bin/README.txt
 (No such file or directory) - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :wso2as


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




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


[Dev] [Bamboo-Build] WSO2 Carbon P2-Repo #18 has FAILED. Change made by eranda, shammi and sumedha.

2012-04-02 Thread Bamboo

---
WSO2 Carbon  P2-Repo  #18 failed.
---
Code has been updated by eranda, shammi, sumedha.
No failed tests found, a possible compilation error.

http://builder4.us1.wso2.org:/bamboo/browse/WSO2CARBON-P2REPO-18/


--
Failing Jobs
--
  - Default Job (Default Stage): No tests found.


--
Code Changes
--
sumedha (124541):

cleaning up providers  subscribers

sumedha (124539):

Fixed paths relative to extract binary. Renamed default task

sumedha (124544):

renamed Sample4 as TwitterSearch



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


Re: [Dev] API Manager Build - 27/03/2012

2012-04-02 Thread Sanjiva Weerawarana
Guys I don't see version labels .. is this M1?

On Tue, Mar 27, 2012 at 9:01 PM, Prabath Siriwardena prab...@wso2.comwrote:

 Hi Sandapa,

 Please find the latest build for testing at [1]...

 --
 Thanks  Regards,
 Prabath

 [1]: http://people.wso2.com/~prabath/api-manager/

 Mobile : +94 71 809 6732

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


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




-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman  CEO; WSO2, Inc.;  http://wso2.com/
email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
650 265 8311
blog: http://sanjiva.weerawarana.org/

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


Re: [Dev] API Manager - Pre alpha 1 available for download

2012-04-02 Thread Sanjiva Weerawarana
Sumedha any reason to not call this M1? Not sure what semantic pre alpha
1 means!

On Mon, Apr 2, 2012 at 8:38 AM, Sumedha Rubasinghe sume...@wso2.com wrote:

 Pre alpha 1 pack of WSO2 API Manager can be downloaded from -
 http://people.wso2.com/~sumedha/builds/am/02-04-2012/wso2am-1.0.0-SNAPSHOT.zip

 A README on how to test functionality is available inside
 samples/TwitterSearch (also available @
 http://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/apimgt/modules/samples/TwitterSearch/README.txt
  )

 We welcome feedback in the form of JIRA issues via
 https://wso2.org/jira/browse/APISTORE

 --
 API Team


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




-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman  CEO; WSO2, Inc.;  http://wso2.com/
email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
650 265 8311
blog: http://sanjiva.weerawarana.org/

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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Senaka Fernando
Hi Vijitha,

Please raise JIRAs for these. Also, its better that the fix for these also
introduces some test cases, particularly for subscriptions where we don't
have much.

Thanks,
Senaka.

On Mon, Apr 2, 2012 at 6:11 PM, Vijitha Kumara viji...@wso2.com wrote:

 Did smoke testing on the GReg pack, found couple of issues with it as
 listed below.

 1. One checkbox is missing from the new search feature in the UI.

 2. The search query failed to return the data for one scenario.

 3. While subscribing to a resource JS error with null value returned
 (screen attached).


 There were no exceptions/other faliures occured during these tests.

 Will look in to these issues.


 Regards,


 On Mon, Apr 2, 2012 at 5:01 PM, Ranga Siriwardena ra...@wso2.com wrote:

 Hi Pradeep,

 On Mon, Apr 2, 2012 at 11:13 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi RMs,

 please do smoke testing on these packs [1] . Once you are done with
 smoke testing of your product, please send a mail to this thread, stating
 QA readiness of the product.

 [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact


 LB is not there in the list. Any reason for that?




 thanks,

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



 Thanks.
 Ranga.
 --
 Ranga Siriwardena
 Software Engineer
 WSO2 Inc.


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




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

 Lean . Enterprise . Middleware


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




-- 
*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] API Manager Build - 27/03/2012

2012-04-02 Thread Prabath Siriwardena
On Mon, Apr 2, 2012 at 6:32 PM, Sanjiva Weerawarana sanj...@wso2.comwrote:

 Guys I don't see version labels .. is this M1?


This a SNAPSHOT build..

Thanks  regards,
-Prabath



 On Tue, Mar 27, 2012 at 9:01 PM, Prabath Siriwardena prab...@wso2.comwrote:

 Hi Sandapa,

 Please find the latest build for testing at [1]...

 --
 Thanks  Regards,
 Prabath

 [1]: http://people.wso2.com/~prabath/api-manager/

 Mobile : +94 71 809 6732

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


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




 --
 Sanjiva Weerawarana, Ph.D.
 Founder, Chairman  CEO; WSO2, Inc.;  http://wso2.com/
 email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
 650 265 8311
 blog: http://sanjiva.weerawarana.org/

 Lean . Enterprise . Middleware




-- 
Thanks  Regards,
Prabath

Mobile : +94 71 809 6732

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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Lalaji Sureshika
Hi,

Did a round of smoke tests to GS as well and except the issue[1],other
functionalities are working fine.

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

https://wso2.org/jira/browse/CARBON-12769Thanks;

On Mon, Apr 2, 2012 at 2:11 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 Did a round of smoke tests to MS and following issues were found.

 1) While server startup time,when samples deployment
 happen PersistanceExceptions[1] are thrown.
 2) When a mashup saved/uploaded PersistanceExceptions[1] are thrown.
 3) Cannot apply security for listed mashup services.
 4) Cannot access Custom UIs for mashups and a null pointer thrown in
 backend.Created the jira  [2] to track it.

 Other than that external/internal try-it, javascript stub
 generator,scraping assistant,mashup query param accessing works properly.

 [1] [2012-04-02 14:50:01,925] ERROR -  Exception occurred while handling
 service update event. {super-tenant}
 org.wso2.carbon.core.persistence.PersistenceException: Unable to handle
 new service addition. Service: admin/RESTSample
 at
 org.wso2.carbon.core.persistence.AbstractPersistenceManager.handleExceptionWithRollback(AbstractPersistenceManager.java:564)
  at
 org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewServiceAddition(ServicePersistenceManager.java:299)
 at
 org.wso2.carbon.core.deployment.DeploymentInterceptor.serviceUpdate(DeploymentInterceptor.java:283)
  at
 org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:652)
 at
 org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:406)
  at
 org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:606)
 at
 org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:191)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
  at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
  at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:367)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:262)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewBindingAddition(ServicePersistenceManager.java:348)
  at
 org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewServiceAddition(ServicePersistenceManager.java:196


 [2] https://wso2.org/jira/browse/CARBON-12766


 On Mon, Apr 2, 2012 at 1:38 PM, Sameera Jayasoma same...@wso2.com wrote:

 Can we release these packs to QA? Or else do we have to wait for the next
 build cycle.

 Thanks,
 Sameera.

 On Mon, Apr 2, 2012 at 2:31 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 we need updates for Greg and Manager builds.

 --Pradeep

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




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware

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




 --
 Lalaji Sureshika

 Software Engineer
 WSO2 Inc.





-- 
Lalaji Sureshika

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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Isuru Wimalasundera
Hi Vijitha

Please raise a JIRA for the registry notifications/subscription issue as
Senaka suggested. I will look in to it.

Thanks
Isuruw

On Mon, Apr 2, 2012 at 7:05 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 Did a round of smoke tests to GS as well and except the issue[1],other
 functionalities are working fine.

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

 https://wso2.org/jira/browse/CARBON-12769Thanks;


 On Mon, Apr 2, 2012 at 2:11 PM, Lalaji Sureshika lal...@wso2.com wrote:

 Hi,

 Did a round of smoke tests to MS and following issues were found.

 1) While server startup time,when samples deployment
 happen PersistanceExceptions[1] are thrown.
  2) When a mashup saved/uploaded PersistanceExceptions[1] are thrown.
 3) Cannot apply security for listed mashup services.
 4) Cannot access Custom UIs for mashups and a null pointer thrown in
 backend.Created the jira  [2] to track it.

 Other than that external/internal try-it, javascript stub
 generator,scraping assistant,mashup query param accessing works properly.

 [1] [2012-04-02 14:50:01,925] ERROR -  Exception occurred while handling
 service update event. {super-tenant}
 org.wso2.carbon.core.persistence.PersistenceException: Unable to handle
 new service addition. Service: admin/RESTSample
 at
 org.wso2.carbon.core.persistence.AbstractPersistenceManager.handleExceptionWithRollback(AbstractPersistenceManager.java:564)
  at
 org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewServiceAddition(ServicePersistenceManager.java:299)
 at
 org.wso2.carbon.core.deployment.DeploymentInterceptor.serviceUpdate(DeploymentInterceptor.java:283)
  at
 org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:652)
 at
 org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:406)
  at
 org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:606)
 at
 org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:191)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
  at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
  at
 org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461)
 at
 org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
  at
 org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
 at
 org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:367)
  at
 org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:262)
 at
 org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117)
  at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
  at
 org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
 Caused by: java.lang.NullPointerException
 at
 org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewBindingAddition(ServicePersistenceManager.java:348)
  at
 org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewServiceAddition(ServicePersistenceManager.java:196


 [2] https://wso2.org/jira/browse/CARBON-12766


 On Mon, Apr 2, 2012 at 1:38 PM, Sameera Jayasoma same...@wso2.comwrote:

 Can we release these packs to QA? Or else do we have to wait for the
 next build cycle.

 Thanks,
 Sameera.

 On Mon, Apr 2, 2012 at 2:31 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 we need updates for Greg and Manager builds.

 --Pradeep

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




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org

 Lean . Enterprise . Middleware

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




 --
 Lalaji Sureshika

 Software Engineer
 WSO2 Inc.





 --
 Lalaji Sureshika

 Software Engineer
 WSO2 Inc.



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




-- 
*Isuru Wimalasundera*
Software Engineer;  WSO2, Inc.; http://wso2.com,
 mobile: +94 77 920 5641

Re: [Dev] Some bundles getting activated only after Manager start-up

2012-04-02 Thread Muhammed Shariq
On Mon, Apr 2, 2012 at 12:20 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Shariq,

 This is not the behaviour we see in a 1.5.2 released pack. In that pack,
 Billing bundle gets started before the server starts up. I checked a 1.5.2
 pack with DEBUG logs and confirmed.

 So, is this due to a change in one of those bundles? Billing components
 has the same code as the 1.5.2 branch (I copied from branch to trunk).


Yup I also checked in the previous release pack and this issue isn't
present. The most significant change the billing and tenant-mgt component
went through since was decoupling billing features from tenant management
as per STRATOS-1991 https://wso2.org/jira/browse/STRATOS-1991.

I tried using ListnerManager-RequiredServices as well as
Axis2RequiredServices, but couldn't quite fix the issue yet. Will look into
this further with Sameera ...


 Thanks,
 AmilaM.

 On Mon, Apr 2, 2012 at 11:50 AM, Muhammed Shariq sha...@wso2.com wrote:

  Hi,

 Since starting to write integration test for Manager I am facing an issue
 in that, even though the server starts up and the ports are open some
 bundles are not even activated. Initially the idea was that the ther server
 getting started up before the relevant admin services gets deployed, so I
 tried marking that service as an Axis2RequiredService, with this change the
 server never starts up at all (presumably due to deadlock). Next I enabled
 debug logs in tennat-mgt, billing, usage bundles and noticed that some
 bundles only get activated after the server start up. However adding a 30
 sec sleep solves the issue, meaning within that interval all the bundles
 get activated ...

 I tried many ways like figure out what causes this delay, but still
 haven't managed to pinpoint which bundle+reference is causing the issue.
 Any tips on sorting this issue out if highly appreciated. Some logs
 extracted with some sysouts are as follows,


 [2012-04-02 11:28:58,826]  INFO
 {org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent} -
  Initialized Identity Persistence Store.
 [2012-04-02 11:28:58,872]  INFO
 {org.wso2.carbon.core.transports.http.HttpsTransportListener} -  HTTPS port
   : 9443
 [2012-04-02 11:28:58,872]  INFO
 {org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP port
  : 9763
 [2012-04-02 11:28:59,443]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Started
 Transport Listener Manager
 [2012-04-02 11:28:59,443]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
   :  WSO2 Stratos Manager-3.2.0
 [2012-04-02 11:28:59,444]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
 Carbon started in 33 sec
 [2012-04-02 11:28:59,457] DEBUG
 {org.wso2.carbon.tenant.activity.internal.TenantActivityServiceComponent} -
  *** Tenant Activity bundle is activated ***
 [2012-04-02 11:28:59,459] ERROR
 {org.wso2.carbon.tenant.activity.ui.internal.TenantActivityUIServiceComponent}
 -  *** Tenant Activity UI bundle is activated ***
 [2012-04-02 11:28:59,481]  INFO
 {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
 -  Deployed __MultitenantDispatcherService
 [2012-04-02 11:28:59,482]  INFO
 {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
 -  Added multitenant dispatchers
 [2012-04-02 11:29:00,301] DEBUG
 {org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent}
 -  *** Multitenancy Throttling Agent bundle is activated ***
 *[2012-04-02 11:29:00,636]  INFO
 {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
  : https://172.16.172.1:9443/carbon/*
 [2012-04-02 11:29:00,649]  WARN
 {org.wso2.carbon.identity.authenticator.saml2.sso.ui.internal.SAML2SSOAuthenticatorUIDSComponent}
 -  Initialization failed for SSO Authenticator. Starting with the default
 authenticator
 [2012-04-02 11:29:00,677] DEBUG
 {org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent}
 -  Receiving billingManager service
 [2012-04-02 11:29:00,678] DEBUG
 {org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent}
 -  Setting Tenant Usage Retriever service
 [2012-04-02 11:29:00,720] DEBUG
 {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
 -  Setting MT billing info service
 [2012-04-02 11:29:00,723] DEBUG
 {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
 -  Receiving billingManager service
 [2012-04-02 11:29:00,729] DEBUG
 {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
 -  Setting Tenant Usage Retriever service
 [2012-04-02 11:29:04,055] DEBUG
 {org.wso2.carbon.throttling.manager.internal.ThrottlingManagerServiceComponent}
 -   Multitenancy Throttling Manager bundle is activated
 [2012-04-02 11:29:04,106] DEBUG
 {org.wso2.carbon.tenant.mgt.internal.TenantMgtServiceComponent} -
  Receiving ConfigurationContext Service
 

Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Dimuthu Leelarathne
Hi,

Please have a look at this and provide a solution. If you can't find a
proper solution soon, let's comment out the test case and create a L1 for
it.

thanks,
dimuthu

On Mon, Apr 2, 2012 at 2:31 PM, Afkham Azeez az...@wso2.com wrote:

 Just got through the test code, and think about the cases in which this
 assertion failure can occur. Don't be hasty to blame Bamboo. If there are
 threading issues, they may manifest on some environments but not others.


 On Mon, Apr 2, 2012 at 2:15 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Pradeep,

 It is not intermittent. But, how is this not reproducible locally? And,
 how did this just start happening without any changes to the code?
 Subash/Vijitha are working on a build of the whole platform on a clean
 repo. We'll be able to make a decision on the reliability of Bamboo after
 that.

 Thanks,
 Senaka.

 On Mon, Apr 2, 2012 at 2:11 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 we had a config issue in bamboo. This is not intermittent. Someone has
 to fix it. Yes bamboo is reliable.

 --Pradeep

 ___
 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




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




-- 
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] smoke testing - alpha packs

2012-04-02 Thread Pradeep Fernando
Hi Charitha/QA team,

Looks like we have a testable set of product packs. please get the packs
from this location [1].

we expect you/team to test Carbon-kernel functionalities. Please use,

IS,
GREG,
AS,
ESB,
Manager

+ any other required product

as testing materials.

[1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact

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


Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Senaka Fernando
Hi Dimuthu,

If you checked on the latest packs, the test is passing on Bamboo right
now. This should be an intermittent connection issue (or something related)
when fetching the schemas.

Thanks,
Senaka.

On Mon, Apr 2, 2012 at 11:02 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi,

 Please have a look at this and provide a solution. If you can't find a
 proper solution soon, let's comment out the test case and create a L1 for
 it.

 thanks,
 dimuthu


  On Mon, Apr 2, 2012 at 2:31 PM, Afkham Azeez az...@wso2.com wrote:

 Just got through the test code, and think about the cases in which this
 assertion failure can occur. Don't be hasty to blame Bamboo. If there are
 threading issues, they may manifest on some environments but not others.


 On Mon, Apr 2, 2012 at 2:15 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Pradeep,

 It is not intermittent. But, how is this not reproducible locally? And,
 how did this just start happening without any changes to the code?
 Subash/Vijitha are working on a build of the whole platform on a clean
 repo. We'll be able to make a decision on the reliability of Bamboo after
 that.

 Thanks,
 Senaka.

 On Mon, Apr 2, 2012 at 2:11 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 we had a config issue in bamboo. This is not intermittent. Someone has
 to fix it. Yes bamboo is reliable.

 --Pradeep

 ___
 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




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




 --
 Dimuthu Leelarathne
 Technical Lead

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com


 Lean . Enterprise . Middleware




-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

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

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


Re: [Dev] BackwardAssociationHandlerTestCase and WSDLTestCase are failing in G-Reg

2012-04-02 Thread Senaka Fernando
Hi Vijitha/Subash,

Any update on this?

Thanks,
Senaka.

On Sun, Apr 1, 2012 at 8:10 PM, Vijitha Kumara viji...@wso2.com wrote:

 I'm looking into this.

 Regards,

 On Fri, Mar 30, 2012 at 8:33 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Subash, Vijitha,

 Please test this on a clean M2 repo, and before you start to compile edit
 the POM in the integration tests for G-Reg and make sure you enable the
 excluded tests. If we can reproduce this issue, it shouldn't be hard figure
 out how this broke.

 Thanks,
 Senaka.


 On Fri, Mar 30, 2012 at 8:12 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 I have moved it. The new issue can be accessed from
 https://wso2.org/jira/browse/CARBON-12758, and also the old issue ID.

 Thanks,
 Senaka.


 On Fri, Mar 30, 2012 at 7:53 PM, Sameera Jayasoma same...@wso2.comwrote:

 +1. Senaka, please create these issues under CARBON project as L1s.
 Otherwise, its hard to track these stuff.

  Thanks,
 Sameera.

 On Fri, Mar 30, 2012 at 7:10 PM, Charitha Kankanamge chari...@wso2.com
  wrote:

 Hi Senaka,
 Should not these failures reported as CARBON jira instead of product
 specific JIRA? Have we changed our process of reporting JIRAs in C4
 release? Or am I missing something?

 Thanks,
 Charitha


 On Friday, March 30, 2012, Senaka Fernando wrote:

 FYI,  https://wso2.org/jira/browse/REGISTRY-717

 Thanks,
 Senaka.

 On Fri, Mar 30, 2012 at 5:35 PM, Senaka Fernando sen...@wso2.comwrote:

 Hi Subash,

 Can you have a look into this? I tried this out with a build
 starting from orbit - kernel - platform, and was unable to reproduce.

 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




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



 --
 Charitha Kankanamge
 cell: +94 718 359 265
 blog: http://charithaka.blogspot.com http://wso2.com


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




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org


 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




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware




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

 Lean . Enterprise . Middleware




-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

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

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


Re: [Dev] API Manager - Pre alpha 1 available for download

2012-04-02 Thread Samisa Abeysinghe
On Mon, Apr 2, 2012 at 8:38 AM, Sumedha Rubasinghe sume...@wso2.com wrote:

 Pre alpha 1 pack of WSO2 API Manager can be downloaded from -
 http://people.wso2.com/~sumedha/builds/am/02-04-2012/wso2am-1.0.0-SNAPSHOT.zip

 A README on how to test functionality is available inside
 samples/TwitterSearch (also available @
 http://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/apimgt/modules/samples/TwitterSearch/README.txt
  )


1. When will this work on Windows? In which milestone?
2. What is the plan to fix the re-start steps mentioned in this README? In
which milestone?
3. Why do I need ant? (copy libs I guess) Can we ship with Jars copied? For
the DB in samples, can we pre-ship an H2 DB populated?
4. What does APIPopulator.sh do? It looks a back-box to me.


 We welcome feedback in the form of JIRA issues via
 https://wso2.org/jira/browse/APISTORE


What version am I supposed to fix report issues against in this Jira?



 --
 API Team


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

 Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Srinath Perera
What does the test do? Why does it connect to the internet?

 if the test is prone to errors (e.g. connect to internet) we should
change that .. harm of tests that are prone to errors is great as it
waste valuable time

--Srinath

On Tue, Apr 3, 2012 at 2:50 AM, Senaka Fernando sen...@wso2.com wrote:
 Hi Dimuthu,

 If you checked on the latest packs, the test is passing on Bamboo right now.
 This should be an intermittent connection issue (or something related) when
 fetching the schemas.

 Thanks,
 Senaka.


 On Mon, Apr 2, 2012 at 11:02 PM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi,

 Please have a look at this and provide a solution. If you can't find a
 proper solution soon, let's comment out the test case and create a L1 for
 it.

 thanks,
 dimuthu


 On Mon, Apr 2, 2012 at 2:31 PM, Afkham Azeez az...@wso2.com wrote:

 Just got through the test code, and think about the cases in which this
 assertion failure can occur. Don't be hasty to blame Bamboo. If there are
 threading issues, they may manifest on some environments but not others.


 On Mon, Apr 2, 2012 at 2:15 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Pradeep,

 It is not intermittent. But, how is this not reproducible locally? And,
 how did this just start happening without any changes to the code?
 Subash/Vijitha are working on a build of the whole platform on a clean 
 repo.
 We'll be able to make a decision on the reliability of Bamboo after that.

 Thanks,
 Senaka.

 On Mon, Apr 2, 2012 at 2:11 PM, Pradeep Fernando prad...@wso2.com
 wrote:

 Hi,

 we had a config issue in bamboo. This is not intermittent. Someone has
 to fix it. Yes bamboo is reliable.

 --Pradeep

 ___
 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




 --
 Afkham Azeez
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/

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




 --
 Dimuthu Leelarathne
 Technical Lead

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com


 Lean . Enterprise . Middleware




 --
 Senaka Fernando
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com
 Member; Apache Software Foundation; http://apache.org

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

 Lean . Enterprise . Middleware




-- 

Srinath Perera, Ph.D.
  Senior Software Architect, WSO2 Inc.
  Visiting Faculty, University of Moratuwa
  Member, Apache Software Foundation
  Research Scientist, Lanka Software Foundation
  Blog: http://srinathsview.blogspot.com/
  Photos: http://www.flickr.com/photos/hemapani/
 Phone: 0772360902
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Charitha Kankanamge
Noted. Our initial plan was to deploy these packs straightaway in the
production test setups. However, the lab has been fully occupied for some
high priority testing (there is a mail thread in support-dev).
Because of that, we will carry out end- end system testing locally with
these packs.

Thanks
Charitha

On Monday, April 2, 2012, Pradeep Fernando wrote:

 Hi Charitha/QA team,

 Looks like we have a testable set of product packs. please get the packs
 from this location [1].

 we expect you/team to test Carbon-kernel functionalities. Please use,

 IS,
 GREG,
 AS,
 ESB,
 Manager

 + any other required product

 as testing materials.

 [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact

 thanks,
 --Pradeep






-- 
Charitha Kankanamge
cell: +94 718 359 265
blog: http://charithaka.blogspot.com http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Platform build error

2012-04-02 Thread Amila Maha Arachchi
Hi Vijitha,

AmilaJ was working on removing this jar IIRC. AJ, can you confirm?

Thanks,
AmilaM.

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

 Hi All,

 Below error while building the platform from a clean M2 repo. Is this
 known?


 =

 [ERROR] Failed to execute goal on project wso2stratos-governance: Could
 not resolve dependencies for project
 org.wso2.governance:wso2stratos-governance:jar:1.1.0-SNAPSHOT: Could not
 find artifact org.wso2.carbon:org.wso2.carbon.thread:jar:4.0.0-SNAPSHOT in
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
 [Help 1]
 [ERROR]
 =

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

 Lean . Enterprise . Middleware




-- 
*Amila Maharachchi*
Senior Software Engineer; WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API Manager - Pre alpha 1 available for download

2012-04-02 Thread Sumedha Rubasinghe
On Mon, Apr 2, 2012 at 6:33 PM, Sanjiva Weerawarana sanj...@wso2.comwrote:

 Sumedha any reason to not call this M1? Not sure what semantic pre alpha
 1 means!


yeah.. sorry messed up with the name. This one should have been called M1.
M2 will happen on Thursday (5th)  the will be an intermediate M2-RC1
happening today/tomorrow.

/sumedha


 On Mon, Apr 2, 2012 at 8:38 AM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Pre alpha 1 pack of WSO2 API Manager can be downloaded from -
 http://people.wso2.com/~sumedha/builds/am/02-04-2012/wso2am-1.0.0-SNAPSHOT.zip

 A README on how to test functionality is available inside
 samples/TwitterSearch (also available @
 http://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/apimgt/modules/samples/TwitterSearch/README.txt
  )

 We welcome feedback in the form of JIRA issues via
 https://wso2.org/jira/browse/APISTORE

 --
 API Team


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




 --
 Sanjiva Weerawarana, Ph.D.
 Founder, Chairman  CEO; WSO2, Inc.;  http://wso2.com/
 email: sanj...@wso2.com; phone: +94 11 763 9614; cell: +94 77 787 6880 | +1
 650 265 8311
 blog: http://sanjiva.weerawarana.org/

 Lean . Enterprise . Middleware




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


Re: [Dev] BackwardAssociationHandlerTestCase and WSDLTestCase are failing in G-Reg

2012-04-02 Thread Subash Chaturanga
On Tue, Apr 3, 2012 at 3:53 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi Vijitha/Subash,

 Any update on this?


Vijitha was building this on a clean repo. Vijitha , were you able to
reproduce this ?



 Thanks,
 Senaka.


 On Sun, Apr 1, 2012 at 8:10 PM, Vijitha Kumara viji...@wso2.com wrote:

 I'm looking into this.

 Regards,

 On Fri, Mar 30, 2012 at 8:33 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Subash, Vijitha,

 Please test this on a clean M2 repo, and before you start to compile
 edit the POM in the integration tests for G-Reg and make sure you enable
 the excluded tests. If we can reproduce this issue, it shouldn't be hard
 figure out how this broke.

 Thanks,
 Senaka.


 On Fri, Mar 30, 2012 at 8:12 PM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 I have moved it. The new issue can be accessed from
 https://wso2.org/jira/browse/CARBON-12758, and also the old issue ID.

 Thanks,
 Senaka.


 On Fri, Mar 30, 2012 at 7:53 PM, Sameera Jayasoma same...@wso2.comwrote:

 +1. Senaka, please create these issues under CARBON project as L1s.
 Otherwise, its hard to track these stuff.

  Thanks,
 Sameera.

 On Fri, Mar 30, 2012 at 7:10 PM, Charitha Kankanamge 
 chari...@wso2.com wrote:

 Hi Senaka,
 Should not these failures reported as CARBON jira instead of product
 specific JIRA? Have we changed our process of reporting JIRAs in C4
 release? Or am I missing something?

 Thanks,
 Charitha


 On Friday, March 30, 2012, Senaka Fernando wrote:

 FYI,  https://wso2.org/jira/browse/REGISTRY-717

 Thanks,
 Senaka.

 On Fri, Mar 30, 2012 at 5:35 PM, Senaka Fernando sen...@wso2.comwrote:

 Hi Subash,

 Can you have a look into this? I tried this out with a build
 starting from orbit - kernel - platform, and was unable to reproduce.

 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




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



 --
 Charitha Kankanamge
 cell: +94 718 359 265
 blog: http://charithaka.blogspot.com http://wso2.com


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




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org


 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




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware




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

 Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware




-- 

Subash Chaturanga
Software Engineer
WSO2 Inc. http://wso2.com

email - sub...@wso2.com
phone - 077 2225922
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Platform build error

2012-04-02 Thread Vijitha Kumara
Thanks, My Bad, had picked the wrong list and yes this was in the
trunk.Let's wait for confirmation...

On Tue, Apr 3, 2012 at 8:25 AM, Amila Maha Arachchi ami...@wso2.com wrote:

 Hi Vijitha,

 AmilaJ was working on removing this jar IIRC. AJ, can you confirm?

 Thanks,
 AmilaM.

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

 Hi All,

 Below error while building the platform from a clean M2 repo. Is this
 known?


 =

 [ERROR] Failed to execute goal on project wso2stratos-governance: Could
 not resolve dependencies for project
 org.wso2.governance:wso2stratos-governance:jar:1.1.0-SNAPSHOT: Could not
 find artifact org.wso2.carbon:org.wso2.carbon.thread:jar:4.0.0-SNAPSHOT in
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
 [Help 1]
 [ERROR]
 =

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

 Lean . Enterprise . Middleware




 --
 *Amila Maharachchi*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com

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





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

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


Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Charith Wickramarachchi
Hi Senaka ,

Last night I commented out this test case and triggered a build starting
from Kernel. Please find the Blocker created for this in [1]

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


thanks,
Charith
On Tue, Apr 3, 2012 at 2:50 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi Dimuthu,

 If you checked on the latest packs, the test is passing on Bamboo right
 now. This should be an intermittent connection issue (or something related)
 when fetching the schemas.

 Thanks,
 Senaka.


 On Mon, Apr 2, 2012 at 11:02 PM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi,

 Please have a look at this and provide a solution. If you can't find a
 proper solution soon, let's comment out the test case and create a L1 for
 it.

 thanks,
 dimuthu


  On Mon, Apr 2, 2012 at 2:31 PM, Afkham Azeez az...@wso2.com wrote:

 Just got through the test code, and think about the cases in which this
 assertion failure can occur. Don't be hasty to blame Bamboo. If there are
 threading issues, they may manifest on some environments but not others.


 On Mon, Apr 2, 2012 at 2:15 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Pradeep,

 It is not intermittent. But, how is this not reproducible locally? And,
 how did this just start happening without any changes to the code?
 Subash/Vijitha are working on a build of the whole platform on a clean
 repo. We'll be able to make a decision on the reliability of Bamboo after
 that.

 Thanks,
 Senaka.

 On Mon, Apr 2, 2012 at 2:11 PM, Pradeep Fernando prad...@wso2.comwrote:

 Hi,

 we had a config issue in bamboo. This is not intermittent. Someone has
 to fix it. Yes bamboo is reliable.

 --Pradeep

 ___
 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




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




 --
 Dimuthu Leelarathne
 Technical Lead

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com


 Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware


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




-- 
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] BackwardAssociationHandlerTestCase and WSDLTestCase are failing in G-Reg

2012-04-02 Thread Vijitha Kumara
Had an issue with the build, Mail @Dev Platform build error.

On Tue, Apr 3, 2012 at 8:49 AM, Subash Chaturanga sub...@wso2.com wrote:



 On Tue, Apr 3, 2012 at 3:53 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi Vijitha/Subash,

 Any update on this?


 Vijitha was building this on a clean repo. Vijitha , were you able to
 reproduce this ?



 Thanks,
 Senaka.


 On Sun, Apr 1, 2012 at 8:10 PM, Vijitha Kumara viji...@wso2.com wrote:

 I'm looking into this.

 Regards,

 On Fri, Mar 30, 2012 at 8:33 PM, Senaka Fernando sen...@wso2.comwrote:

 Hi Subash, Vijitha,

 Please test this on a clean M2 repo, and before you start to compile
 edit the POM in the integration tests for G-Reg and make sure you enable
 the excluded tests. If we can reproduce this issue, it shouldn't be hard
 figure out how this broke.

 Thanks,
 Senaka.


 On Fri, Mar 30, 2012 at 8:12 PM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 I have moved it. The new issue can be accessed from
 https://wso2.org/jira/browse/CARBON-12758, and also the old issue ID.

 Thanks,
 Senaka.


 On Fri, Mar 30, 2012 at 7:53 PM, Sameera Jayasoma same...@wso2.comwrote:

 +1. Senaka, please create these issues under CARBON project as L1s.
 Otherwise, its hard to track these stuff.

  Thanks,
 Sameera.

 On Fri, Mar 30, 2012 at 7:10 PM, Charitha Kankanamge 
 chari...@wso2.com wrote:

 Hi Senaka,
 Should not these failures reported as CARBON jira instead of product
 specific JIRA? Have we changed our process of reporting JIRAs in C4
 release? Or am I missing something?

 Thanks,
 Charitha


 On Friday, March 30, 2012, Senaka Fernando wrote:

 FYI,  https://wso2.org/jira/browse/REGISTRY-717

 Thanks,
 Senaka.

 On Fri, Mar 30, 2012 at 5:35 PM, Senaka Fernando 
 sen...@wso2.comwrote:

 Hi Subash,

 Can you have a look into this? I tried this out with a build
 starting from orbit - kernel - platform, and was unable to 
 reproduce.

 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




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



 --
 Charitha Kankanamge
 cell: +94 718 359 265
 blog: http://charithaka.blogspot.com http://wso2.com


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




 --
 Sameera Jayasoma
 Technical Lead and Product Manager, WSO2 Carbon

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://tech.jayasoma.org


 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




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware




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

 Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

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

 *Lean . Enterprise . Middleware




 --

 Subash Chaturanga
 Software Engineer
 WSO2 Inc. http://wso2.com

 email - sub...@wso2.com
 phone - 077 2225922




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

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


Re: [Dev] Some bundles getting activated only after Manager start-up

2012-04-02 Thread Amila Maha Arachchi
Hi Shariq,

I gave some thought into this. Following were our observations.

1. At the moment it seems like the scr.reference to TenantBillingService
(which is used to deal with subscriptions at the time of tenant-mgt
activities) is causing this delay. As you mentioned, once you remove this
reference, all the services starts before the server. Can you confirm this?
But, when we set the cardinality to 0..1, behaviour is not like that, right?

2. I have a doubt that there is some delay taking place when registering
this service (which is done by the Billing.Mgt component). Shall we put
some timestamps to check when this is registered and try with the two
scenarios in 1).

Thanks,
AmilaM.

On Mon, Apr 2, 2012 at 7:56 PM, Muhammed Shariq sha...@wso2.com wrote:

 On Mon, Apr 2, 2012 at 12:20 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Shariq,

 This is not the behaviour we see in a 1.5.2 released pack. In that pack,
 Billing bundle gets started before the server starts up. I checked a 1.5.2
 pack with DEBUG logs and confirmed.

 So, is this due to a change in one of those bundles? Billing components
 has the same code as the 1.5.2 branch (I copied from branch to trunk).


 Yup I also checked in the previous release pack and this issue isn't
 present. The most significant change the billing and tenant-mgt component
 went through since was decoupling billing features from tenant management
 as per STRATOS-1991 https://wso2.org/jira/browse/STRATOS-1991.

 I tried using ListnerManager-RequiredServices as well as
 Axis2RequiredServices, but couldn't quite fix the issue yet. Will look into
 this further with Sameera ...


 Thanks,
 AmilaM.

 On Mon, Apr 2, 2012 at 11:50 AM, Muhammed Shariq sha...@wso2.com wrote:

  Hi,

 Since starting to write integration test for Manager I am facing an
 issue in that, even though the server starts up and the ports are open some
 bundles are not even activated. Initially the idea was that the ther server
 getting started up before the relevant admin services gets deployed, so I
 tried marking that service as an Axis2RequiredService, with this change the
 server never starts up at all (presumably due to deadlock). Next I enabled
 debug logs in tennat-mgt, billing, usage bundles and noticed that some
 bundles only get activated after the server start up. However adding a 30
 sec sleep solves the issue, meaning within that interval all the bundles
 get activated ...

 I tried many ways like figure out what causes this delay, but still
 haven't managed to pinpoint which bundle+reference is causing the issue.
 Any tips on sorting this issue out if highly appreciated. Some logs
 extracted with some sysouts are as follows,


 [2012-04-02 11:28:58,826]  INFO
 {org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent} -
  Initialized Identity Persistence Store.
 [2012-04-02 11:28:58,872]  INFO
 {org.wso2.carbon.core.transports.http.HttpsTransportListener} -  HTTPS port
   : 9443
 [2012-04-02 11:28:58,872]  INFO
 {org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP port
  : 9763
 [2012-04-02 11:28:59,443]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Started
 Transport Listener Manager
 [2012-04-02 11:28:59,443]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
   :  WSO2 Stratos Manager-3.2.0
 [2012-04-02 11:28:59,444]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
 Carbon started in 33 sec
 [2012-04-02 11:28:59,457] DEBUG
 {org.wso2.carbon.tenant.activity.internal.TenantActivityServiceComponent} -
  *** Tenant Activity bundle is activated ***
 [2012-04-02 11:28:59,459] ERROR
 {org.wso2.carbon.tenant.activity.ui.internal.TenantActivityUIServiceComponent}
 -  *** Tenant Activity UI bundle is activated ***
 [2012-04-02 11:28:59,481]  INFO
 {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
 -  Deployed __MultitenantDispatcherService
 [2012-04-02 11:28:59,482]  INFO
 {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
 -  Added multitenant dispatchers
 [2012-04-02 11:29:00,301] DEBUG
 {org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent}
 -  *** Multitenancy Throttling Agent bundle is activated ***
 *[2012-04-02 11:29:00,636]  INFO
 {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
  : https://172.16.172.1:9443/carbon/*
 [2012-04-02 11:29:00,649]  WARN
 {org.wso2.carbon.identity.authenticator.saml2.sso.ui.internal.SAML2SSOAuthenticatorUIDSComponent}
 -  Initialization failed for SSO Authenticator. Starting with the default
 authenticator
 [2012-04-02 11:29:00,677] DEBUG
 {org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent}
 -  Receiving billingManager service
 [2012-04-02 11:29:00,678] DEBUG
 {org.wso2.carbon.billing.mgt.internal.MultitenancyBillingServiceComponent}
 -  Setting Tenant Usage Retriever service
 

Re: [Dev] [Bamboo-Build] WSO2 Carbon Products #28 has FAILED (1 tests failed). Change made by sumedha.

2012-04-02 Thread Selvaratnam Uthaiyashankar
On Tue, Apr 3, 2012 at 8:50 AM, Charith Wickramarachchi
char...@wso2.com wrote:
 Hi Senaka ,

 Last night I commented out this test case and triggered a build starting
 from Kernel. Please find the Blocker created for this in [1]

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

Charith,

This issue should go to Carbon JIRA. Only new features and roadmap
items should go to product specific Jira.

Shankar




 thanks,
 Charith

 On Tue, Apr 3, 2012 at 2:50 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi Dimuthu,

 If you checked on the latest packs, the test is passing on Bamboo right
 now. This should be an intermittent connection issue (or something related)
 when fetching the schemas.

 Thanks,
 Senaka.


 On Mon, Apr 2, 2012 at 11:02 PM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi,

 Please have a look at this and provide a solution. If you can't find a
 proper solution soon, let's comment out the test case and create a L1 for
 it.

 thanks,
 dimuthu


 On Mon, Apr 2, 2012 at 2:31 PM, Afkham Azeez az...@wso2.com wrote:

 Just got through the test code, and think about the cases in which this
 assertion failure can occur. Don't be hasty to blame Bamboo. If there are
 threading issues, they may manifest on some environments but not others.


 On Mon, Apr 2, 2012 at 2:15 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Pradeep,

 It is not intermittent. But, how is this not reproducible locally? And,
 how did this just start happening without any changes to the code?
 Subash/Vijitha are working on a build of the whole platform on a clean 
 repo.
 We'll be able to make a decision on the reliability of Bamboo after that.

 Thanks,
 Senaka.

 On Mon, Apr 2, 2012 at 2:11 PM, Pradeep Fernando prad...@wso2.com
 wrote:

 Hi,

 we had a config issue in bamboo. This is not intermittent. Someone has
 to fix it. Yes bamboo is reliable.

 --Pradeep

 ___
 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




 --
 Afkham Azeez
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/

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




 --
 Dimuthu Leelarathne
 Technical Lead

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com


 Lean . Enterprise . Middleware




 --
 Senaka Fernando
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com
 Member; Apache Software Foundation; http://apache.org

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

 Lean . Enterprise . Middleware


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




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





-- 
S.Uthaiyashankar
Senior Architect
WSO2 Inc.
http://wso2.com/ - lean . enterprise . middleware

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


Re: [Dev] API Manager - Pre alpha 1 available for download

2012-04-02 Thread Sumedha Rubasinghe
On Tue, Apr 3, 2012 at 4:25 AM, Samisa Abeysinghe sam...@wso2.com wrote:



 On Mon, Apr 2, 2012 at 8:38 AM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Pre alpha 1 pack of WSO2 API Manager can be downloaded from -
 http://people.wso2.com/~sumedha/builds/am/02-04-2012/wso2am-1.0.0-SNAPSHOT.zip

 A README on how to test functionality is available inside
 samples/TwitterSearch (also available @
 http://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/apimgt/modules/samples/TwitterSearch/README.txt
  )


 1. When will this work on Windows? In which milestone?


We haven't done any serious testing on Windows. Hence there might be other
issues as well. 100% Windows support will be addressed in M4.

2. What is the plan to fix the re-start steps mentioned in this README? In
 which milestone?


First restart is needed for User Management/Registry data population.
Next restart is due to bug in ESB API configuration hot deployment.

Latter will be fixed by M2.


 3. Why do I need ant? (copy libs I guess) Can we ship with Jars copied?
 For the DB in samples, can we pre-ship an H2 DB populated?


Ant is needed to create libraries out of OSGi bundles. We can ship with
samples pre-populated. But we thought of giving that option to user might
be a better option as practiced in rest of our products.

what we actually need is the H2 jar only. So will think of some alternative
to eliminate this step.



  4. What does APIPopulator.sh do? It looks a back-box to me.


APIPopulator populates API Store with APIs.



 We welcome feedback in the form of JIRA issues via
 https://wso2.org/jira/browse/APISTORE


 What version am I supposed to fix report issues against in this Jira?

1.0.0-M1





 --
 API Team


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

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org





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


[Dev] Build Break - atomikos orit bundle build broken

2012-04-02 Thread Samisa Abeysinghe
[WARNING] Warning building bundle
org.atomikos.wso2:atomikos:bundle:3.8.0.wso2v1 : Instructions for
Export-Package that are never used: com\.atomikos\..*|com\.atomikos
[WARNING] Warning building bundle
org.atomikos.wso2:atomikos:bundle:3.8.0.wso2v1 : Superfluous export-package
instructions: [com.atomikos.*]
[ERROR] Error building bundle
org.atomikos.wso2:atomikos:bundle:3.8.0.wso2v1 : Bundle-Activator not found
on the bundle class path nor in imports:
com.atomikos.transactions.internal.AtomikosA
ctivator
[ERROR] Error building bundle
org.atomikos.wso2:atomikos:bundle:3.8.0.wso2v1 : The JAR is empty
[ERROR] Error(s) found in bundle configuration
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 2.157s
[INFO] Finished at: Tue Apr 03 09:13:35 IST 2012
[INFO] Final Memory: 10M/981M
[INFO]

[ERROR] Failed to execute goal
org.apache.felix:maven-bundle-plugin:1.4.0:bundle (default-bundle) on
project atomikos: Error(s) found in bundle configuration - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.felix:maven-bundle-plugin:1.4.0:bundle (default-bundle) on
project atomikos: Error(s) found in bundle
 configuration
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error(s) found
in bundle configuration
at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:340)
at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:226)
at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:217)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: org.apache.maven.plugin.MojoFailureException: Error(s) found in
bundle configuration
at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:295)
... 23 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
E:\svn\c4\orbit\trunk\atomikos

Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Vijitha Kumara
Following JIRAs created to tackle these GReg issues:

1. https://wso2.org/jira/browse/REGISTRY-719 - subscription issue

2. https://wso2.org/jira/browse/REGISTRY-720 - search query issue

3. https://wso2.org/jira/browse/REGISTRY-721 - search checkbox missing
issue.


Regards,


On Mon, Apr 2, 2012 at 6:11 PM, Vijitha Kumara viji...@wso2.com wrote:

 Did smoke testing on the GReg pack, found couple of issues with it as
 listed below.

 1. One checkbox is missing from the new search feature in the UI.

 2. The search query failed to return the data for one scenario.

 3. While subscribing to a resource JS error with null value returned
 (screen attached).


 There were no exceptions/other faliures occured during these tests.

 Will look in to these issues.


 Regards,


 On Mon, Apr 2, 2012 at 5:01 PM, Ranga Siriwardena ra...@wso2.com wrote:

 Hi Pradeep,

 On Mon, Apr 2, 2012 at 11:13 AM, Pradeep Fernando prad...@wso2.comwrote:

 Hi RMs,

 please do smoke testing on these packs [1] . Once you are done with
 smoke testing of your product, please send a mail to this thread, stating
 QA readiness of the product.

 [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact


 LB is not there in the list. Any reason for that?




 thanks,

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



 Thanks.
 Ranga.
 --
 Ranga Siriwardena
 Software Engineer
 WSO2 Inc.


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




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

 Lean . Enterprise . Middleware




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

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


Re: [Dev] Build Break - atomikos orit bundle build broken

2012-04-02 Thread Samisa Abeysinghe
This was a false alarm.

On Tue, Apr 3, 2012 at 9:14 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 [WARNING] Warning building bundle
 org.atomikos.wso2:atomikos:bundle:3.8.0.wso2v1 : Instructions for
 Export-Package that are never used: com\.atomikos\..*|com\.atomikos
 [WARNING] Warning building bundle
 org.atomikos.wso2:atomikos:bundle:3.8.0.wso2v1 : Superfluous export-package
 instructions: [com.atomikos.*]
 [ERROR] Error building bundle
 org.atomikos.wso2:atomikos:bundle:3.8.0.wso2v1 : Bundle-Activator not found
 on the bundle class path nor in imports:
 com.atomikos.transactions.internal.AtomikosA
 ctivator
 [ERROR] Error building bundle
 org.atomikos.wso2:atomikos:bundle:3.8.0.wso2v1 : The JAR is empty
 [ERROR] Error(s) found in bundle configuration
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 2.157s
 [INFO] Finished at: Tue Apr 03 09:13:35 IST 2012
 [INFO] Final Memory: 10M/981M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.felix:maven-bundle-plugin:1.4.0:bundle (default-bundle) on
 project atomikos: Error(s) found in bundle configuration - [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
 goal org.apache.felix:maven-bundle-plugin:1.4.0:bundle (default-bundle) on
 project atomikos: Error(s) found in bundle
  configuration
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 at
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 at
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 at
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
 Caused by: org.apache.maven.plugin.MojoExecutionException: Error(s) found
 in bundle configuration
 at
 org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:340)
 at
 org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:226)
 at
 org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:217)
 at
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
 at
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
 ... 19 more
 Caused by: org.apache.maven.plugin.MojoFailureException: Error(s) found in
 bundle configuration
 at
 org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:295)
 ... 23 more
 [ERROR]
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 E:\svn\c4\orbit\trunk\atomikos

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org

  Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Selvaratnam Uthaiyashankar
Hi Vijitha,

All these issues should be created in CARBON jira. Product specific
jiras are only for roadmap items and new features.

Shankar

On Tue, Apr 3, 2012 at 9:18 AM, Vijitha Kumara viji...@wso2.com wrote:
 Following JIRAs created to tackle these GReg issues:

 1. https://wso2.org/jira/browse/REGISTRY-719 - subscription issue

 2. https://wso2.org/jira/browse/REGISTRY-720 - search query issue

 3. https://wso2.org/jira/browse/REGISTRY-721 - search checkbox missing
 issue.


 Regards,


 On Mon, Apr 2, 2012 at 6:11 PM, Vijitha Kumara viji...@wso2.com wrote:

 Did smoke testing on the GReg pack, found couple of issues with it as
 listed below.

 1. One checkbox is missing from the new search feature in the UI.

 2. The search query failed to return the data for one scenario.

 3. While subscribing to a resource JS error with null value returned
 (screen attached).


 There were no exceptions/other faliures occured during these tests.

 Will look in to these issues.


 Regards,


 On Mon, Apr 2, 2012 at 5:01 PM, Ranga Siriwardena ra...@wso2.com wrote:

 Hi Pradeep,

 On Mon, Apr 2, 2012 at 11:13 AM, Pradeep Fernando prad...@wso2.com
 wrote:

 Hi RMs,

 please do smoke testing on these packs [1] . Once you are done with
 smoke testing of your product, please send a mail to this thread, stating 
 QA
 readiness of the product.

 [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact


 LB is not there in the list. Any reason for that?




 thanks,

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



 Thanks.
 Ranga.
 --
 Ranga Siriwardena
 Software Engineer
 WSO2 Inc.


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




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

 Lean . Enterprise . Middleware




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




-- 
S.Uthaiyashankar
Senior Architect
WSO2 Inc.
http://wso2.com/ - lean . enterprise . middleware

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


Re: [Dev] What is the correct way to get TransactionConfiguration

2012-04-02 Thread Supun Malinga
Hi,

Uncommention following section and setting jndi lookup parameters as,

!--
Uncomment and configure the following section to enable
transactions support
--
transaction timeout=3
parameter
name=java.naming.factory.initialorg.jnp.interfaces.NamingContextFactory/parameter
parameter
name=java.naming.provider.urllocalhost:1099/parameter
parameter
name=UserTransactionJNDINamejava:comp/UserTransaction/parameter
parameter
name=TransactionManagerJNDINamejava:/TransactionManager/parameter
/transaction

solved the issue!. Now the aforementioned way of getting transaction
manager works fine.
Thanks for the help.

On Mon, Apr 2, 2012 at 12:55 PM, Rajika Kumarasiri raj...@wso2.com wrote:

 If I remember correctly initially there was some configuration  that need
 to add into axis2.xml and this code seems to use that bit of information. I
 also remember that we planned to drop that path and I am not sure about the
 current status. You will need to look into the usage of
 TransactionConfiguration and define the configuration as required.

 Hope this helps.

 Rajika


 On Sat, Mar 31, 2012 at 10:53 AM, Supun Malinga sup...@wso2.com wrote:

 Hi devs,

 I have a Class mediator which is getting called within transaction
 mediator.
 I tried following code fragment to get the TransactionConfiguration
 within class mediator.

 SynapseConfiguration synapseConfiguration =
 messageContext.getConfiguration();
 AxisConfiguration axisConfiguration =
 synapseConfiguration.getAxisConfiguration();
 TransactionConfiguration transactionConfiguration =
 axisConfiguration.getTransactionConfiguration();

 But it's getting null for the transactionConfiguration. Help appreciated.

 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





-- 
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] smoke testing - alpha packs

2012-04-02 Thread Vijitha Kumara
Thanks Shankar, Moved them to CARBON respectively:

1. https://wso2.org/jira/browse/CARBON-12776

2. https://wso2.org/jira/browse/CARBON-12777

3. https://wso2.org/jira/browse/CARBON-12778


Regards,

On Tue, Apr 3, 2012 at 9:28 AM, Selvaratnam Uthaiyashankar shan...@wso2.com
 wrote:

 Hi Vijitha,

 All these issues should be created in CARBON jira. Product specific
 jiras are only for roadmap items and new features.

 Shankar

 On Tue, Apr 3, 2012 at 9:18 AM, Vijitha Kumara viji...@wso2.com wrote:
  Following JIRAs created to tackle these GReg issues:
 
  1. https://wso2.org/jira/browse/REGISTRY-719 - subscription issue
 
  2. https://wso2.org/jira/browse/REGISTRY-720 - search query issue
 
  3. https://wso2.org/jira/browse/REGISTRY-721 - search checkbox missing
  issue.
 
 
  Regards,
 
 
  On Mon, Apr 2, 2012 at 6:11 PM, Vijitha Kumara viji...@wso2.com wrote:
 
  Did smoke testing on the GReg pack, found couple of issues with it as
  listed below.
 
  1. One checkbox is missing from the new search feature in the UI.
 
  2. The search query failed to return the data for one scenario.
 
  3. While subscribing to a resource JS error with null value returned
  (screen attached).
 
 
  There were no exceptions/other faliures occured during these tests.
 
  Will look in to these issues.
 
 
  Regards,
 
 
  On Mon, Apr 2, 2012 at 5:01 PM, Ranga Siriwardena ra...@wso2.com
 wrote:
 
  Hi Pradeep,
 
  On Mon, Apr 2, 2012 at 11:13 AM, Pradeep Fernando prad...@wso2.com
  wrote:
 
  Hi RMs,
 
  please do smoke testing on these packs [1] . Once you are done with
  smoke testing of your product, please send a mail to this thread,
 stating QA
  readiness of the product.
 
  [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact
 
 
  LB is not there in the list. Any reason for that?
 
 
 
 
  thanks,
 
  --Pradeep
  ___
  Dev mailing list
  Dev@wso2.org
  http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
  Thanks.
  Ranga.
  --
  Ranga Siriwardena
  Software Engineer
  WSO2 Inc.
 
 
  ___
  Dev mailing list
  Dev@wso2.org
  http://wso2.org/cgi-bin/mailman/listinfo/dev
 
 
 
 
  --
  Vijitha Kumara
  Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
  email: viji...@wso2.com
 
  Lean . Enterprise . Middleware
 
 
 
 
  --
  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
 



 --
 S.Uthaiyashankar
 Senior Architect
 WSO2 Inc.
 http://wso2.com/ - lean . enterprise . middleware

 Phone: +94 714897591




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

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


Re: [Dev] Carbon Kernel integration test failure in windows.

2012-04-02 Thread Selvaratnam Uthaiyashankar
Hi Senaka,

Were you be able to build this in Windows? Is this error comes only to me?

Shankar

On Mon, Apr 2, 2012 at 9:30 AM, Selvaratnam Uthaiyashankar
shan...@wso2.com wrote:
 $subject due to emma. I am looking into this.

 ---
  T E S T S
 ---
 Running TestSuite
 [2012-04-01 21:18:19,201]  INFO
 {org.wso2.carbon.integration.framework.utils.TestUtil} -  Copying
 E:\src\java\carbon_trunk\kernel\distribution\integration\tests\..\security-verifier\target\SecVerifier
 .aar = 
 E:\src\java\carbon_trunk\kernel\distribution\integration\tests\target\carbontmp1333295297244\wso2carbon-core-4.0.0-SNAPSHOT\repository\deployment\server\axis2services\SecVerifier.aar
 [EMMA v2.1, build 5320 (stable)]
 emmarun: could not rename temporary file
 [E:\src\java\carbon_trunk\kernel\distribution\integration\tests\target\carbontmp1333295297244\wso2carbon-core-4.0.0-SNAPSHOT\repository\components\plugins\org.
 wso2.carbon.addressing_4.0.0.SNAPSHOTemma1330264654003562852.et] to
 [E:\src\java\carbon_trunk\kernel\distribution\integration\tests\target\carbontmp1333295297244\wso2carbon-core-4.0.0-SNAPSHOT\reposit
 ory\components\plugins\org.wso2.carbon.addressing_4.0.0.SNAPSHOT.jar]:
 make sure the original file is not locked and can be deleted
 Tests run: 28, Failures: 1, Errors: 0, Skipped: 27, Time elapsed:
 2.823 sec  FAILURE!

 Results :

 Failed tests:
  startServer(org.wso2.carbon.integration.tests.CarbonTestServerManager):
 org.testng.internal.InvokeMethodRunnable$TestNGRuntimeException:
 com.vladium.emma.EMMARuntimeException: could not rename tempo
 rary file 
 [E:\src\java\carbon_trunk\kernel\distribution\integration\tests\target\carbontmp1333295297244\wso2carbon-core-4.0.0-SNAPSHOT\repository\components\plugins\org.wso2.carbon.addressing_4.0.0.SN
 APSHOTemma1330264654003562852.et] to
 [E:\src\java\carbon_trunk\kernel\distribution\integration\tests\target\carbontmp1333295297244\wso2carbon-core-4.0.0-SNAPSHOT\repository\components\plugins\org.wso2
 .carbon.addressing_4.0.0.SNAPSHOT.jar]: make sure the original file is
 not locked and can be deleted

 Tests run: 28, Failures: 1, Errors: 0, Skipped: 27





 --
 S.Uthaiyashankar
 Senior Architect
 WSO2 Inc.
 http://wso2.com/ - lean . enterprise . middleware

 Phone: +94 714897591



-- 
S.Uthaiyashankar
Senior Architect
WSO2 Inc.
http://wso2.com/ - lean . enterprise . middleware

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


[Dev] What transaction manager is used when ESB participate in a JMS transaction?

2012-04-02 Thread Waruna Ranasinghe
Hi folks,

$subject please.

Thanks,
Waruna

-- 
-
Waruna Ranasinghe
Senior Software Engineer, WSO2

Mobile: +94 724 318285
BLOG: http://warunapw.blogspot.com

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


Re: [Dev] [Buld Failure] apache-cassandra component

2012-04-02 Thread Deependra Ariyadewa
On Tue, Apr 3, 2012 at 9:47 AM, Samisa Abeysinghe sam...@wso2.com wrote:
 It is looking for svn command line on windows - does not work :(


 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-antrun-plugin:1.7:run (compile) on project
 apache-cassandra: An Ant BuildException has occured: The following error
 occurred whil
 e executing this line:
 [ERROR] E:\svn\c4\platform\trunk\dependencies\cassandra\build.xml:237:
 Execute failed: java.io.IOException: Cannot run program svn (in directory
 E:\svn\c4\platform\trunk\dependencies\cassa
 ndra): CreateProcess error=2, The system cannot find the file specified
 [ERROR] around Ant part ...ant inheritRefs=true target=build/... @
 9:43 in
 E:\svn\c4\platform\trunk\dependencies\cassandra\target\antrun\build-main.xml
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
 switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please
 read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :apache-cassandra

I am looking in to the issue.

Thanks,

Deependra.

 Thanks,
 Samisa...

 Samisa Abeysinghe
 VP Engineering
 WSO2 Inc.
 http://wso2.com
 http://wso2.org



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


Re: [Dev] What transaction manager is used when ESB participate in a JMS transaction?

2012-04-02 Thread Charith Wickramarachchi
On Tue, Apr 3, 2012 at 9:57 AM, Waruna Ranasinghe war...@wso2.com wrote:

 Hi folks,

 $subject please.


I haven't seen ESB using a Transaction Manger to handle JMS Transactions.
In JMS Local Transactions case its Handled by the JMS Transport and the
Broker.


thanks,
Charith


 Thanks,
 Waruna

 --
 -
 Waruna Ranasinghe
 Senior Software Engineer, WSO2

 Mobile: +94 724 318285
 BLOG: http://warunapw.blogspot.com

 www.wso2.com - Lean . Enterprise . Middleware

 ___
 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] What transaction manager is used when ESB participate in a JMS transaction?

2012-04-02 Thread Charith Wickramarachchi
On Tue, Apr 3, 2012 at 10:02 AM, Charith Wickramarachchi
char...@wso2.comwrote:



 On Tue, Apr 3, 2012 at 9:57 AM, Waruna Ranasinghe war...@wso2.com wrote:

 Hi folks,

 $subject please.


 I haven't seen ESB using a Transaction Manger to handle JMS Transactions.
 In JMS Local Transactions case its Handled by the JMS Transport and the
 Broker.


I mean I haven't seen  cases where it uses JMS Transport with different A
Transaction Manager. I think Rajika worked on this area .


thanks,
Charith



 thanks,
 Charith


 Thanks,
 Waruna

 --
 -
 Waruna Ranasinghe
 Senior Software Engineer, WSO2

 Mobile: +94 724 318285
 BLOG: http://warunapw.blogspot.com

 www.wso2.com - Lean . Enterprise . Middleware

 ___
 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





-- 
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] Some bundles getting activated only after Manager start-up

2012-04-02 Thread Sameera Jayasoma
Hi Shariq/AmilaM,

As per the discussions we had, the root cause of this problem is the
introduction of the new interface. That design will not work. Either we
have to make the service dependency optional by configuring the cardinality
properly (1..1 -- 0..1).

Thanks,
Sameera.

On Tue, Apr 3, 2012 at 8:51 AM, Amila Maha Arachchi ami...@wso2.com wrote:

 Hi Shariq,

 I gave some thought into this. Following were our observations.

 1. At the moment it seems like the scr.reference to TenantBillingService
 (which is used to deal with subscriptions at the time of tenant-mgt
 activities) is causing this delay. As you mentioned, once you remove this
 reference, all the services starts before the server. Can you confirm this?
 But, when we set the cardinality to 0..1, behaviour is not like that,
 right?

 2. I have a doubt that there is some delay taking place when registering
 this service (which is done by the Billing.Mgt component). Shall we put
 some timestamps to check when this is registered and try with the two
 scenarios in 1).

 Thanks,
 AmilaM.


 On Mon, Apr 2, 2012 at 7:56 PM, Muhammed Shariq sha...@wso2.com wrote:

 On Mon, Apr 2, 2012 at 12:20 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Shariq,

 This is not the behaviour we see in a 1.5.2 released pack. In that pack,
 Billing bundle gets started before the server starts up. I checked a 1.5.2
 pack with DEBUG logs and confirmed.

 So, is this due to a change in one of those bundles? Billing components
 has the same code as the 1.5.2 branch (I copied from branch to trunk).


 Yup I also checked in the previous release pack and this issue isn't
 present. The most significant change the billing and tenant-mgt component
 went through since was decoupling billing features from tenant management
 as per STRATOS-1991 https://wso2.org/jira/browse/STRATOS-1991.

 I tried using ListnerManager-RequiredServices as well as
 Axis2RequiredServices, but couldn't quite fix the issue yet. Will look into
 this further with Sameera ...


 Thanks,
 AmilaM.

 On Mon, Apr 2, 2012 at 11:50 AM, Muhammed Shariq sha...@wso2.comwrote:

  Hi,

 Since starting to write integration test for Manager I am facing an
 issue in that, even though the server starts up and the ports are open some
 bundles are not even activated. Initially the idea was that the ther server
 getting started up before the relevant admin services gets deployed, so I
 tried marking that service as an Axis2RequiredService, with this change the
 server never starts up at all (presumably due to deadlock). Next I enabled
 debug logs in tennat-mgt, billing, usage bundles and noticed that some
 bundles only get activated after the server start up. However adding a 30
 sec sleep solves the issue, meaning within that interval all the bundles
 get activated ...

 I tried many ways like figure out what causes this delay, but still
 haven't managed to pinpoint which bundle+reference is causing the issue.
 Any tips on sorting this issue out if highly appreciated. Some logs
 extracted with some sysouts are as follows,


 [2012-04-02 11:28:58,826]  INFO
 {org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent} -
  Initialized Identity Persistence Store.
 [2012-04-02 11:28:58,872]  INFO
 {org.wso2.carbon.core.transports.http.HttpsTransportListener} -  HTTPS port
   : 9443
 [2012-04-02 11:28:58,872]  INFO
 {org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP port
  : 9763
 [2012-04-02 11:28:59,443]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Started
 Transport Listener Manager
 [2012-04-02 11:28:59,443]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
   :  WSO2 Stratos Manager-3.2.0
 [2012-04-02 11:28:59,444]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
 Carbon started in 33 sec
 [2012-04-02 11:28:59,457] DEBUG
 {org.wso2.carbon.tenant.activity.internal.TenantActivityServiceComponent} -
  *** Tenant Activity bundle is activated ***
 [2012-04-02 11:28:59,459] ERROR
 {org.wso2.carbon.tenant.activity.ui.internal.TenantActivityUIServiceComponent}
 -  *** Tenant Activity UI bundle is activated ***
 [2012-04-02 11:28:59,481]  INFO
 {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
 -  Deployed __MultitenantDispatcherService
 [2012-04-02 11:28:59,482]  INFO
 {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
 -  Added multitenant dispatchers
 [2012-04-02 11:29:00,301] DEBUG
 {org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent}
 -  *** Multitenancy Throttling Agent bundle is activated ***
 *[2012-04-02 11:29:00,636]  INFO
 {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
  : https://172.16.172.1:9443/carbon/*
 [2012-04-02 11:29:00,649]  WARN
 {org.wso2.carbon.identity.authenticator.saml2.sso.ui.internal.SAML2SSOAuthenticatorUIDSComponent}
 -  Initialization 

Re: [Dev] What transaction manager is used when ESB participate in a JMS transaction?

2012-04-02 Thread Rajika Kumarasiri
WSO2 ESB's JMS transport has the capability of participating  in a local
JMS transaction or in a distributed transaction.

As you may know we need to have a transaction manager (such as Atomikos) in
case of distribution transaction only. JMS local transactions are handle by
the JMS broker.

Hope this helps.

Rajika

On Tue, Apr 3, 2012 at 9:57 AM, Waruna Ranasinghe war...@wso2.com wrote:

 Hi folks,

 $subject please.

 Thanks,
 Waruna

 --
 -
 Waruna Ranasinghe
 Senior Software Engineer, WSO2

 Mobile: +94 724 318285
 BLOG: http://warunapw.blogspot.com

 www.wso2.com - Lean . Enterprise . Middleware

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


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


Re: [Dev] smoke testing - alpha packs

2012-04-02 Thread Charitha Kankanamge
ChamaraA, Nirodha,

Please help in testing these packs. AmalP, Kalpanie, Pavithra and myself
are involved in patch testing at the moment. Please talk to Evanthika and
start testing.

Thanks!
Charitha

On Tue, Apr 3, 2012 at 7:01 AM, Charitha Kankanamge chari...@wso2.comwrote:

 Noted. Our initial plan was to deploy these packs straightaway in the
 production test setups. However, the lab has been fully occupied for some
 high priority testing (there is a mail thread in support-dev).
 Because of that, we will carry out end- end system testing locally with
 these packs.

 Thanks
 Charitha


 On Monday, April 2, 2012, Pradeep Fernando wrote:

 Hi Charitha/QA team,

 Looks like we have a testable set of product packs. please get the packs
 from this location [1].

 we expect you/team to test Carbon-kernel functionalities. Please use,

 IS,
 GREG,
 AS,
 ESB,
 Manager

 + any other required product

 as testing materials.

 [1] http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS-24/artifact

 thanks,
 --Pradeep






 --
 Charitha Kankanamge
 cell: +94 718 359 265
 blog: http://charithaka.blogspot.com http://wso2.com


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


Re: [Dev] Cassandra INFO logs in server start up

2012-04-02 Thread Deependra Ariyadewa
On Tue, Apr 3, 2012 at 10:35 AM, Shammi Jayasinghe sha...@wso2.com wrote:
 Hi Deep,

   We are using cassandra feature in MB product. In that when starting the
 server , we are getting following set of INFO logs which seems
 to be related with cassandra feature.It would be better if we can get rid of
 unnecessary logs by keeping only the essential logs. Would it be
  possible to do that kind of thing or WDYT on this?

Pl create a jira. I will look in to the issue.  As a workaround You
can use log4j.properties file to mute these logs.

Thanks,

Deependra.

 Thanks
 Shammi

 [2012-04-03 10:29:43,931]  INFO
 {me.prettyprint.cassandra.connection.CassandraHostRetryService} -  Downed
 Host Retry service started with queue size -1 and retry delay 10s
 [2012-04-03 10:29:53,091]  INFO
 {me.prettyprint.cassandra.service.JmxMonitor} -  Registering JMX
 me.prettyprint.cassandra.service_ClusterOne:ServiceType=hector,MonitorType=hector
 [2012-04-03 10:29:53,108] ERROR
 {org.wso2.carbon.cassandra.server.CarbonCassandraAuthenticator} -  The key
 is not present in the cache...
 [2012-04-03 10:29:53,623]  INFO
 {org.apache.cassandra.db.migration.Migration} -  Applying migration
 d9703680-7d49-11e1--242d50cf1f9f Add keyspace: QpidKeySpace, rep
 strategy:SimpleStrategy{}, durable_writes: true
 [2012-04-03 10:29:53,624]  INFO {org.apache.cassandra.db.ColumnFamilyStore}
 -  Enqueuing flush of Memtable-Migrations@619082145(6771/8463
 serialized/live bytes, 1 ops)
 [2012-04-03 10:29:53,625]  INFO {org.apache.cassandra.db.Memtable} -
 Writing Memtable-Migrations@619082145(6771/8463 serialized/live bytes, 1
 ops)
 [2012-04-03 10:29:53,626]  INFO {org.apache.cassandra.db.ColumnFamilyStore}
 -  Enqueuing flush of Memtable-Schema@355341300(2907/3633 serialized/live
 bytes, 3 ops)
 [2012-04-03 10:29:53,781]  INFO {org.apache.cassandra.db.Memtable} -
 Completed flushing
 ./repository/database/cassandra/data/system/Migrations-h-1-Data.db (6835
 bytes)
 [2012-04-03 10:29:53,782]  INFO {org.apache.cassandra.db.Memtable} -
 Writing Memtable-Schema@355341300(2907/3633 serialized/live bytes, 3 ops)
 [2012-04-03 10:29:53,824]  INFO {org.apache.cassandra.db.Memtable} -
 Completed flushing
 ./repository/database/cassandra/data/system/Schema-h-1-Data.db (3057 bytes)
 [2012-04-03 10:29:53,887]  INFO
 {org.apache.cassandra.db.migration.Migration} -  Applying migration
 d9d70ea0-7d49-11e1--242d50cf1f9f Add column family:
 org.apache.cassandra.config.CFMetaData@5487217[cfId=1000,ksName=QpidKeySpace,cfName=Queue,cfType=Standard,comparator=org.apache.cassandra.db.marshal.LongType,subcolumncomparator=null,comment=,rowCacheSize=0.0,keyCacheSize=20.0,readRepairChance=1.0,replicateOnWrite=true,gcGraceSeconds=864000,defaultValidator=org.apache.cassandra.db.marshal.BytesType,keyValidator=org.apache.cassandra.db.marshal.BytesType,minCompactionThreshold=4,maxCompactionThreshold=32,rowCacheSavePeriodInSeconds=0,keyCacheSavePeriodInSeconds=14400,rowCacheKeysToSave=0,rowCacheProvider=org.apache.cassandra.cache.ConcurrentLinkedHashCacheProvider@573a46b6,mergeShardsChance=0.0,keyAlias=null,column_metadata={},compactionStrategyClass=class
 org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy,compactionStrategyOptions={},compressionOptions={}]
 [2012-04-03 10:29:53,887]  INFO {org.apache.cassandra.db.ColumnFamilyStore}
 -  Enqueuing flush of Memtable-Migrations@855147383(7392/9240
 serialized/live bytes, 1 ops)
 [2012-04-03 10:29:53,888]  INFO {org.apache.cassandra.db.Memtable} -
 Writing Memtable-Migrations@855147383(7392/9240 serialized/live bytes, 1
 ops)
 [2012-04-03 10:29:53,889]  INFO {org.apache.cassandra.db.ColumnFamilyStore}
 -  Enqueuing flush of Memtable-Schema@1838148248(3258/4072 serialized/live
 bytes, 3 ops)
 [2012-04-03 10:29:53,908]  INFO {org.apache.cassandra.db.Memtable} -
 Completed flushing
 ./repository/database/cassandra/data/system/Migrations-h-2-Data.db (7456
 bytes)
 [2012-04-03 10:29:53,910]  INFO {org.apache.cassandra.db.Memtable} -
 Writing Memtable-Schema@1838148248(3258/4072 serialized/live bytes, 3 ops)
 [2012-04-03 10:29:53,963]  INFO {org.apache.cassandra.db.Memtable} -
 Completed flushing
 ./repository/database/cassandra/data/system/Schema-h-2-Data.db (3408 bytes)
 [2012-04-03 10:29:53,975]  INFO
 {org.apache.cassandra.db.migration.Migration} -  Applying migration
 d9e6c610-7d49-11e1--242d50cf1f9f Add column family:
 

[Dev] HTTPS POST in proxy service

2012-04-02 Thread Zana ILHAN
Hi all;

I have an servlet that accepts https post and returns a XML based response. How 
can I develope a proxy service which can make https post to myservlet.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Platform build error

2012-04-02 Thread Vijitha Kumara
And the pom contains a dependency for the carbon.thread.jar:



 dependencies
dependency
groupIdorg.wso2.carbon/groupId
artifactIdwso2carbon-core/artifactId
version${carbon.version}/version
typezip/type
/dependency
dependency
groupIdorg.wso2.carbon/groupId
artifactIdorg.wso2.carbon.thread/artifactId
version${carbon.platform.version}/version
/dependency
dependency
--


On Tue, Apr 3, 2012 at 10:57 AM, Vijitha Kumara viji...@wso2.com wrote:

 Hi AmilaJ,

 This comes while platform is built from the WSO2 Stratos - Cloud
 Governance Distribution module.

 
 [INFO] WSO2 Governance Registry - Distribution ... SUCCESS
 [1:04.704s]
 [INFO] WSO2 Stratos - Cloud Governance Distribution .. FAILURE
 [11.728s]
 


 Regards,


 On Tue, Apr 3, 2012 at 10:16 AM, Amila Jayasekara ami...@wso2.com wrote:

 Yes, this (org.wso2.carbon:org.wso2.carbon.thread.jar) is removed.
 From where are you getting this build failure ? I mean what is the
 component you build ?

 - AmilaJ

 On Tue, Apr 3, 2012 at 8:49 AM, Vijitha Kumara viji...@wso2.com wrote:
  Thanks, My Bad, had picked the wrong list and yes this was in the
  trunk.Let's wait for confirmation...
 
 
  On Tue, Apr 3, 2012 at 8:25 AM, Amila Maha Arachchi ami...@wso2.com
 wrote:
 
  Hi Vijitha,
 
  AmilaJ was working on removing this jar IIRC. AJ, can you confirm?
 
  Thanks,
  AmilaM.
 
  On Mon, Apr 2, 2012 at 8:25 PM, Vijitha Kumara viji...@wso2.com
 wrote:
 
  Hi All,
 
  Below error while building the platform from a clean M2 repo. Is this
  known?
 
 
  =
 
  [ERROR] Failed to execute goal on project wso2stratos-governance:
 Could
  not resolve dependencies for project
  org.wso2.governance:wso2stratos-governance:jar:1.1.0-SNAPSHOT: Could
 not
  find artifact
 org.wso2.carbon:org.wso2.carbon.thread:jar:4.0.0-SNAPSHOT in
  wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 -
  [Help 1]
  [ERROR]
  =
 
  --
  Vijitha Kumara
  Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
  email: viji...@wso2.com
 
  Lean . Enterprise . Middleware
 
 
 
 
  --
  Amila Maharachchi
  Senior Software Engineer; WSO2, Inc.; http://wso2.com
 
  Blog: http://maharachchi.blogspot.com
  Mobile: +94719371446
 
 
 
 
 
  --
  Vijitha Kumara
  Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
  email: viji...@wso2.com
 
  Lean . Enterprise . Middleware
 



 --
 Mobile : +94773330538




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

 Lean . Enterprise . Middleware




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

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


Re: [Dev] Some bundles getting activated only after Manager start-up

2012-04-02 Thread Amila Maha Arachchi
Hi Sameera,

I had a chat with DimuthuL, defining cardinality as 1..1 was done by
mistake. Ideally it should be 0..1, But, AFAIK Shariq has tested with 0..1
cardinality and still the problem is there.

Thanks,
AmilaM.

On Tue, Apr 3, 2012 at 10:23 AM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Shariq/AmilaM,

 As per the discussions we had, the root cause of this problem is the
 introduction of the new interface. That design will not work. Either we
 have to make the service dependency optional by configuring the cardinality
 properly (1..1 -- 0..1).

 Thanks,
 Sameera.

 On Tue, Apr 3, 2012 at 8:51 AM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Shariq,

 I gave some thought into this. Following were our observations.

 1. At the moment it seems like the scr.reference to TenantBillingService
 (which is used to deal with subscriptions at the time of tenant-mgt
 activities) is causing this delay. As you mentioned, once you remove this
 reference, all the services starts before the server. Can you confirm this?
 But, when we set the cardinality to 0..1, behaviour is not like that,
 right?

 2. I have a doubt that there is some delay taking place when registering
 this service (which is done by the Billing.Mgt component). Shall we put
 some timestamps to check when this is registered and try with the two
 scenarios in 1).

 Thanks,
 AmilaM.


 On Mon, Apr 2, 2012 at 7:56 PM, Muhammed Shariq sha...@wso2.com wrote:

 On Mon, Apr 2, 2012 at 12:20 PM, Amila Maha Arachchi ami...@wso2.comwrote:

 Hi Shariq,

 This is not the behaviour we see in a 1.5.2 released pack. In that
 pack, Billing bundle gets started before the server starts up. I checked a
 1.5.2 pack with DEBUG logs and confirmed.

 So, is this due to a change in one of those bundles? Billing components
 has the same code as the 1.5.2 branch (I copied from branch to trunk).


 Yup I also checked in the previous release pack and this issue isn't
 present. The most significant change the billing and tenant-mgt component
 went through since was decoupling billing features from tenant management
 as per STRATOS-1991 https://wso2.org/jira/browse/STRATOS-1991.

 I tried using ListnerManager-RequiredServices as well as
 Axis2RequiredServices, but couldn't quite fix the issue yet. Will look into
 this further with Sameera ...


 Thanks,
 AmilaM.

 On Mon, Apr 2, 2012 at 11:50 AM, Muhammed Shariq sha...@wso2.comwrote:

  Hi,

 Since starting to write integration test for Manager I am facing an
 issue in that, even though the server starts up and the ports are open 
 some
 bundles are not even activated. Initially the idea was that the ther 
 server
 getting started up before the relevant admin services gets deployed, so I
 tried marking that service as an Axis2RequiredService, with this change 
 the
 server never starts up at all (presumably due to deadlock). Next I enabled
 debug logs in tennat-mgt, billing, usage bundles and noticed that some
 bundles only get activated after the server start up. However adding a 30
 sec sleep solves the issue, meaning within that interval all the bundles
 get activated ...

 I tried many ways like figure out what causes this delay, but still
 haven't managed to pinpoint which bundle+reference is causing the issue.
 Any tips on sorting this issue out if highly appreciated. Some logs
 extracted with some sysouts are as follows,


 [2012-04-02 11:28:58,826]  INFO
 {org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent} -
  Initialized Identity Persistence Store.
 [2012-04-02 11:28:58,872]  INFO
 {org.wso2.carbon.core.transports.http.HttpsTransportListener} -  HTTPS 
 port
   : 9443
 [2012-04-02 11:28:58,872]  INFO
 {org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP port
  : 9763
 [2012-04-02 11:28:59,443]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  
 Started
 Transport Listener Manager
 [2012-04-02 11:28:59,443]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
   :  WSO2 Stratos Manager-3.2.0
 [2012-04-02 11:28:59,444]  INFO
 {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
 Carbon started in 33 sec
 [2012-04-02 11:28:59,457] DEBUG
 {org.wso2.carbon.tenant.activity.internal.TenantActivityServiceComponent} 
 -
  *** Tenant Activity bundle is activated ***
 [2012-04-02 11:28:59,459] ERROR
 {org.wso2.carbon.tenant.activity.ui.internal.TenantActivityUIServiceComponent}
 -  *** Tenant Activity UI bundle is activated ***
 [2012-04-02 11:28:59,481]  INFO
 {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
 -  Deployed __MultitenantDispatcherService
 [2012-04-02 11:28:59,482]  INFO
 {org.wso2.carbon.tenant.dispatcher.internal.TenantDispatcherServiceComponent}
 -  Added multitenant dispatchers
 [2012-04-02 11:29:00,301] DEBUG
 {org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent}
 -  *** Multitenancy Throttling Agent bundle is 

Re: [Dev] Platform build error

2012-04-02 Thread Amila Jayasekara
Hi Vijitha,

Sorry, I have missed this from some products. Attaching a diff which
fixes the issue. SVN seems to be still in freezed state. Person with
commit rights please apply the patch.

Sorry for the inconvenience.

Thanks
AmilaJ

On Tue, Apr 3, 2012 at 10:59 AM, Vijitha Kumara viji...@wso2.com wrote:
 And the pom contains a dependency for the carbon.thread.jar:

 

  dependencies
         dependency
             groupIdorg.wso2.carbon/groupId
             artifactIdwso2carbon-core/artifactId
             version${carbon.version}/version
             typezip/type
         /dependency
         dependency
             groupIdorg.wso2.carbon/groupId
             artifactIdorg.wso2.carbon.thread/artifactId
             version${carbon.platform.version}/version
         /dependency
         dependency
 --


 On Tue, Apr 3, 2012 at 10:57 AM, Vijitha Kumara viji...@wso2.com wrote:

 Hi AmilaJ,

 This comes while platform is built from the WSO2 Stratos - Cloud
 Governance Distribution module.

 
 [INFO] WSO2 Governance Registry - Distribution ... SUCCESS
 [1:04.704s]
 [INFO] WSO2 Stratos - Cloud Governance Distribution .. FAILURE
 [11.728s]
 


 Regards,


 On Tue, Apr 3, 2012 at 10:16 AM, Amila Jayasekara ami...@wso2.com wrote:

 Yes, this (org.wso2.carbon:org.wso2.carbon.thread.jar) is removed.
 From where are you getting this build failure ? I mean what is the
 component you build ?

 - AmilaJ

 On Tue, Apr 3, 2012 at 8:49 AM, Vijitha Kumara viji...@wso2.com wrote:
  Thanks, My Bad, had picked the wrong list and yes this was in the
  trunk.Let's wait for confirmation...
 
 
  On Tue, Apr 3, 2012 at 8:25 AM, Amila Maha Arachchi ami...@wso2.com
  wrote:
 
  Hi Vijitha,
 
  AmilaJ was working on removing this jar IIRC. AJ, can you confirm?
 
  Thanks,
  AmilaM.
 
  On Mon, Apr 2, 2012 at 8:25 PM, Vijitha Kumara viji...@wso2.com
  wrote:
 
  Hi All,
 
  Below error while building the platform from a clean M2 repo. Is this
  known?
 
 
  =
 
  [ERROR] Failed to execute goal on project wso2stratos-governance:
  Could
  not resolve dependencies for project
  org.wso2.governance:wso2stratos-governance:jar:1.1.0-SNAPSHOT: Could
  not
  find artifact
  org.wso2.carbon:org.wso2.carbon.thread:jar:4.0.0-SNAPSHOT in
  wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
  -
  [Help 1]
  [ERROR]
  =
 
  --
  Vijitha Kumara
  Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
  email: viji...@wso2.com
 
  Lean . Enterprise . Middleware
 
 
 
 
  --
  Amila Maharachchi
  Senior Software Engineer; WSO2, Inc.; http://wso2.com
 
  Blog: http://maharachchi.blogspot.com
  Mobile: +94719371446
 
 
 
 
 
  --
  Vijitha Kumara
  Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
  email: viji...@wso2.com
 
  Lean . Enterprise . Middleware
 



 --
 Mobile : +94773330538




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

 Lean . Enterprise . Middleware




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

 Lean . Enterprise . Middleware




-- 
Mobile : +94773330538


threadremovefix.diff
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev