[Carbon-dev] G-Reg Server startup fails - trunk build

2012-03-05 Thread Krishantha Samaraweera
Hi,

I see following error on G-Reg console while starting up. The server
doesn't get started.

SVN revision : 121949

[2012-03-05 16:54:30,141] ERROR
{org.wso2.carbon.registry.indexing.AsyncIndexer} -  Error while indexing.
java.lang.LinkageError: loader constraint violation: when resolving method
"javax.xml.parsers.SAXParser.parse(Ljava/io/InputStream;Lorg/xml/sax/helpers/DefaultHandler;)V"
the class loader (instance of
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current
class, org/wso2/carbon/registry/indexing/indexer/XMLIndexer, and the class
loader (instance of ) for resolved class,
javax/xml/parsers/SAXParser, have different Class objects for the type
org/xml/sax/helpers/DefaultHandler used in the signature
at
org.wso2.carbon.registry.indexing.indexer.XMLIndexer.getIndexedDocument(XMLIndexer.java:41)
at
org.wso2.carbon.registry.indexing.solr.SolrClient.indexDocument(SolrClient.java:215)
at org.wso2.carbon.registry.indexing.AsyncIndexer.run(AsyncIndexer.java:84)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
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-03-05 16:54:30,146] ERROR
{org.wso2.carbon.registry.indexing.AsyncIndexer} -  Error while indexing.
java.lang.LinkageError: loader constraint violation: when resolving method
"javax.xml.parsers.SAXParser.parse(Ljava/io/InputStream;Lorg/xml/sax/helpers/DefaultHandler;)V"
the class loader (instance of
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current
class, org/wso2/carbon/registry/indexing/indexer/XMLIndexer, and the class
loader (instance of ) for resolved class,
javax/xml/parsers/SAXParser, have different Class objects for the type
org/xml/sax/helpers/DefaultHandler used in the signature
at
org.wso2.carbon.registry.indexing.indexer.XMLIndexer.getIndexedDocument(XMLIndexer.java:41)
at
org.wso2.carbon.registry.indexing.solr.SolrClient.indexDocument(SolrClient.java:215)
at org.wso2.carbon.registry.indexing.AsyncIndexer.run(AsyncIndexer.java:84)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
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-03-05 16:54:30,141] ERROR
{org.wso2.carbon.registry.indexing.AsyncIndexer} -  Error while indexing.
java.lang.LinkageError: loader constraint violation: when resolving method
"javax.xml.parsers.SAXParser.parse(Ljava/io/InputStream;Lorg/xml/sax/helpers/DefaultHandler;)V"
the class loader (instance of
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current
class, org/wso2/carbon/registry/indexing/indexer/XMLIndexer, and the class
loader (instance of ) for resolved class,
javax/xml/parsers/SAXParser, have different Class objects for the type
org/xml/sax/helpers/DefaultHandler used in the signature
at
org.wso2.carbon.registry.indexing.indexer.XMLIndexer.getIndexedDocument(XMLIndexer.java:41)
at
org.wso2.carbon.registry.indexing.solr.SolrClient.indexDocument(SolrClient.java:215)
at org.wso2.carbon.registry.indexing.AsyncIndexer.run(AsyncIndexer.java:84)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
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-03-05 16:54:30,146] ERROR
{org.wso2.carbon.registry.indexing.AsyncIndexer} -  Error while indexing.
java.lang.LinkageError: loader constraint violation: when resolving method
"javax.xml.parsers.SAXParser.parse(Ljava/io/InputStream;Lorg/xml/sax/helpers/DefaultHandler;)V"
t

Re: [Carbon-dev] Compilation failure in system test framework.

2012-02-28 Thread Krishantha Samaraweera
Fixed all package naming convention violations. Thanks for pointing this
out.

Thanks,
Krishantha.

On Sat, Feb 25, 2012 at 3:35 PM, Afkham Azeez  wrote:

> On a side note, I see coding convention violations. Package names should
> be all lower case, with no _ or - separation
>
> --
> Afkham Azeez
> Sent from my phone
> On Feb 25, 2012 1:17 AM, "Krishantha Samaraweera" 
> wrote:
>
>> Hi All,
>>
>> I see very obvious compilation failure in system-test-framework trunk
>> [1]. This is the second time I came across with such an issue for last two
>> days. Charitha also got a compilation failure while building the framework
>> trunk yesterday. We all need to follow best practices
>> before committing changes. Please make sure to build the framework or run
>> all the test relevant to your domain before you commit.
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
>> (default-testCompile) on project system-stratos-test-auto: Compilation
>> failure
>> [ERROR]
>> /home/krishantha/svn/trunk/graphite/platform-integration/system-test-framework/scenario/org.wso2.stratos.test.auto/src/test/java/org/wso2/stratos/automation/test/esb/mediators/test/MediatorTest.java:[418,47]
>> sendReceive(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String)
>> in org.wso2.platform.test.core.utils.axis2Client.AxisServiceClient cannot
>> be applied to
>> (org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
>>
>>
>> Thanks,
>> Krishantha.
>>
>> [1]
>> https://svn.wso2.org/repos/wso2/trunk/graphite/platform-integration/system-test-framework
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Compilation failure in system test framework.

2012-02-24 Thread Krishantha Samaraweera
Hi All,

I see very obvious compilation failure in system-test-framework trunk [1].
This is the second time I came across with such an issue for last two days.
Charitha also got a compilation failure while building the framework trunk
yesterday. We all need to follow best practices before committing changes.
Please make sure to build the framework or run all the test relevant to
your domain before you commit.

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) on project system-stratos-test-auto: Compilation
failure
[ERROR]
/home/krishantha/svn/trunk/graphite/platform-integration/system-test-framework/scenario/org.wso2.stratos.test.auto/src/test/java/org/wso2/stratos/automation/test/esb/mediators/test/MediatorTest.java:[418,47]
sendReceive(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String)
in org.wso2.platform.test.core.utils.axis2Client.AxisServiceClient cannot
be applied to
(org.apache.axiom.om.OMElement,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)


Thanks,
Krishantha.

[1]
https://svn.wso2.org/repos/wso2/trunk/graphite/platform-integration/system-test-framework
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Have we looked @ LoadUI? {was: Re: GS load testing with loadUI}

2012-02-19 Thread Krishantha Samaraweera
Hi,

We need to evaluate the tool. If the tool fits for the purpose, will add UI
load test item to our road map,

Thanks,
Krishantha.

On Sun, Feb 19, 2012 at 1:39 PM, Senaka Fernando  wrote:

> Hi all,
>
> Have we looked at LoadUI from a Test Automation PoV?
>
> http://www.loadui.org//
>
> Thanks,
> Senaka.
> On Mon, Dec 13, 2010 at 2:17 PM, Charitha Kankanamge wrote:
>
>> It seems LoadUI[1] can be used easily for UI level load testing.
>>
>> Nirodha, please have a look and try to use this for load test GS.
>>
>> Also, we may need to fix the following open perf issues reported by
>> Yumani which have been differed in previous releases.
>>
>> https://wso2.org/jira/browse/GS-47
>> https://wso2.org/jira/browse/GS-16
>> https://wso2.org/jira/browse/GS-17
>>
>>
>> [1]http://loadui.org/
>>
>> Regards
>> Charitha
>>
>>
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-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
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] G-reg automation scenarios

2012-02-17 Thread Krishantha Samaraweera
Hi Kishan,

Please start automating given G-Reg features using admin services. For some
cases, like custom handlers, you will have to  write selenium tests.

you can find the G-Reg test cases list at [1].

Thanks,
Krishantha.

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

On Fri, Feb 17, 2012 at 5:22 PM, Evanthika Amarasiri wrote:

> Hi Krishantha,
>
> It would be great if the following features of G-Reg can be automated.
>
> - Service UI (With custom fields, different options such as
> read-only="true", default="", etc)
> - Promoting of services (promote services and see whether dependencies,
> associations are promoted to correct locations. Also updates done at one
> version does not reflect in original version/other versions)
> - Activity search
> - Metadata search
> - Custom handlers
> - A sample configurable governance artifact
> - Permission (resource permissions)
> - Notifications
>
> We will think of more scenarios and get back to you :).
>
> Regards,
> Evanthika
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Cannot start axis2server ships with ESB - trunk build

2012-02-13 Thread Krishantha Samaraweera
Hi,

I got the following exception while starting axis2server ships with trunk
ESB build. Can someone please have a look.

[2012-02-13 19:12:40,024] ERROR - CarbonUtils Cannot read file
../..//home/krishantha/Downloads/esb/wso2esb-4.0.0-SNAPSHOT/samples/axis2Server/repository/conf/carbon.xml
java.io.FileNotFoundException:
../../home/krishantha/Downloads/esb/wso2esb-4.0.0-SNAPSHOT/samples/axis2Server/repository/conf/carbon.xml
(No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at
org.wso2.carbon.utils.CarbonUtils.getServerConfiguration(CarbonUtils.java:509)
at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder.setupAuthenticator(CarbonContextHolder.java:209)
at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder.(CarbonContextHolder.java:142)
at
org.wso2.carbon.utils.logging.TenantAwarePatternLayout$TenantAwarePatternParser$TenantIdPatternConverter.getFullyQualifiedName(TenantAwarePatternLayout.java:197)
at
org.wso2.carbon.utils.logging.TenantAwarePatternLayout$TenantAwarePatternParser$TenantAwareNamedPatternConverter.convert(TenantAwarePatternLayout.java:161)
at
org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64)
at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
at
org.apache.log4j.DailyRollingFileAppender.subAppend(DailyRollingFileAppender.java:358)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
at org.apache.log4j.Category.callAppenders(Category.java:203)
at org.apache.log4j.Category.forcedLog(Category.java:388)
at org.apache.log4j.Category.log(Category.java:853)
at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:199)
at
org.apache.axis2.deployment.DeploymentEngine.prepareRepository(DeploymentEngine.java:1095)
at
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:152)
at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:133)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
at
samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:93)
at samples.util.SampleAxis2Server.startServer(SampleAxis2Server.java:61)
at samples.util.SampleAxis2Server.main(SampleAxis2Server.java:40)
[2012-02-13 19:12:40,049] ERROR - ServerConfiguration Cannot get
ServerConfiguration document element
java.lang.NullPointerException
at
org.wso2.carbon.base.ServerConfiguration.getDocumentElementInternal(ServerConfiguration.java:378)
at
org.wso2.carbon.base.ServerConfiguration.getDocumentElement(ServerConfiguration.java:369)
at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder.setupAuthenticator(CarbonContextHolder.java:209)
at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder.(CarbonContextHolder.java:142)
at
org.wso2.carbon.utils.logging.TenantAwarePatternLayout$TenantAwarePatternParser$TenantIdPatternConverter.getFullyQualifiedName(TenantAwarePatternLayout.java:197)
at
org.wso2.carbon.utils.logging.TenantAwarePatternLayout$TenantAwarePatternParser$TenantAwareNamedPatternConverter.convert(TenantAwarePatternLayout.java:161)
at
org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64)
at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
at
org.apache.log4j.DailyRollingFileAppender.subAppend(DailyRollingFileAppender.java:358)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
at org.apache.log4j.Category.callAppenders(Category.java:203)
at org.apache.log4j.Category.forcedLog(Category.java:388)
at org.apache.log4j.Category.log(Category.java:853)
at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:199)
at
org.apache.axis2.deployment.DeploymentEngine.prepareRepository(DeploymentEngine.java:1095)
at
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:152)
at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:133)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
at
samples.util.SampleAxis2ServerManager.start(SampleAxis2ServerManager.java:93)
at sampl

Re: [Carbon-dev] ESB Sample test framework

2012-02-02 Thread Krishantha Samaraweera
Chamara, Please check whether the port is open or not after each shutdown
request. Please refer [1].

Thanks,
Krishantha.

[1]
https://svn.wso2.org/repos/wso2/trunk/carbon/platform-integration/system-test-framework/core/org.wso2.platform.integration.core/src/main/java/org/wso2/platform/test/core/ServerGroupManager.java

On Thu, Feb 2, 2012 at 1:50 PM, Krishantha Samaraweera
wrote:

> I see this issue while gracefully shutting down the server. It might be
> due to another test trying to start its execution while shutting down the
> server. Hence you see 'Access Denied' message.
>
> Thanks,
> Krishantha.
>
>
> On Thu, Feb 2, 2012 at 1:42 PM, Chamara Silva  wrote:
>
>> Look in to the issue.
>>
>> Thanks,
>> Chamara Silva
>>
>>
>>
>>
>> On Thu, Feb 2, 2012 at 1:19 PM, Sandapa Handakumbura wrote:
>>
>>> Hi Chamara,
>>>
>>> I also got the same exception while executing the tests and there was no
>>> other ESB running on my machine.
>>>
>>> Regards,
>>> Sandapa
>>>
>>>
>>> On Thu, Feb 2, 2012 at 12:30 PM, Evanthika Amarasiri >> > wrote:
>>>
>>>> Maybe we should give more information in the README.txt explaining
>>>> about these stuff.
>>>>
>>>> Regards,
>>>> Evanthika
>>>>
>>>>
>>>> On Thu, Feb 2, 2012 at 12:12 PM, Chamara Silva wrote:
>>>>
>>>>> It seems another esb instance already running before you start the
>>>>> framework. Pls note that no need to start esb or axis2 servers manually to
>>>>> run this framework.
>>>>>
>>>>> Thanks,
>>>>> Chamara silva
>>>>>
>>>>>
>>>>> On Thursday, February 2, 2012, Evanthika Amarasiri 
>>>>> wrote:
>>>>> > Hi Chamara,
>>>>> >
>>>>> > When executing the tests, I'm continuously getting the following
>>>>> exception. Any idea why?
>>>>> >
>>>>> > 2012-02-02 10:03:11,856 [-] [SynapseServerForSample7 thread]  INFO
>>>>> SynapseProcessController SynapseProcessController.ServerThread:Shutting
>>>>> down Synapse Server...
>>>>> > 2012-02-02 10:03:12,176 [-] [Thread-96]  INFO ServerStartupManager
>>>>> [2012-02-02 10:03:12,176]  INFO - CarbonAuthenticationUtil 'admin' logged
>>>>> in at [2012-02-02 10:03:12,0176] from IP address localhost
>>>>> > 2012-02-02 10:03:12,183 [-] [SynapseServerForSample7 thread]  INFO
>>>>> ServerShutDownManager Successfully logged :
>>>>> JSESSIONID=C6FBEC88F4D992BD2EA27EC1E7B59AAA; Path=/esb/; Secure=null;
>>>>> HttpOnly=null
>>>>> > 2012-02-02 10:03:12,232 [-] [Thread-96]  INFO ServerStartupManager
>>>>> [2012-02-02 10:03:12,232]  WARN - AuthenticationHandler Illegal access
>>>>> attempt at [2012-02-02 10:03:12,0232] from IP address 127.0.0.1 : Service
>>>>> is ServerAdmin
>>>>> > 2012-02-02 10:03:12,251 [-] [Thread-96]  INFO ServerStartupManager
>>>>> [2012-02-02 10:03:12,239] ERROR - AxisEngine Access Denied. Please login
>>>>> first.
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>> org.apache.axis2.AxisFault: Access Denied. Please login first.
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>> at
>>>>> org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:83)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>> at
>>>>> org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invoke(AuthenticationHandler.java:61)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>>>>> > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
>>>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
>>>>>

Re: [Carbon-dev] ESB Sample test framework

2012-02-02 Thread Krishantha Samaraweera
I see this issue while gracefully shutting down the server. It might be due
to another test trying to start its execution while shutting down the
server. Hence you see 'Access Denied' message.

Thanks,
Krishantha.

On Thu, Feb 2, 2012 at 1:42 PM, Chamara Silva  wrote:

> Look in to the issue.
>
> Thanks,
> Chamara Silva
>
>
>
>
> On Thu, Feb 2, 2012 at 1:19 PM, Sandapa Handakumbura wrote:
>
>> Hi Chamara,
>>
>> I also got the same exception while executing the tests and there was no
>> other ESB running on my machine.
>>
>> Regards,
>> Sandapa
>>
>>
>> On Thu, Feb 2, 2012 at 12:30 PM, Evanthika Amarasiri 
>> wrote:
>>
>>> Maybe we should give more information in the README.txt explaining about
>>> these stuff.
>>>
>>> Regards,
>>> Evanthika
>>>
>>>
>>> On Thu, Feb 2, 2012 at 12:12 PM, Chamara Silva  wrote:
>>>
 It seems another esb instance already running before you start the
 framework. Pls note that no need to start esb or axis2 servers manually to
 run this framework.

 Thanks,
 Chamara silva


 On Thursday, February 2, 2012, Evanthika Amarasiri 
 wrote:
 > Hi Chamara,
 >
 > When executing the tests, I'm continuously getting the following
 exception. Any idea why?
 >
 > 2012-02-02 10:03:11,856 [-] [SynapseServerForSample7 thread]  INFO
 SynapseProcessController SynapseProcessController.ServerThread:Shutting
 down Synapse Server...
 > 2012-02-02 10:03:12,176 [-] [Thread-96]  INFO ServerStartupManager
 [2012-02-02 10:03:12,176]  INFO - CarbonAuthenticationUtil 'admin' logged
 in at [2012-02-02 10:03:12,0176] from IP address localhost
 > 2012-02-02 10:03:12,183 [-] [SynapseServerForSample7 thread]  INFO
 ServerShutDownManager Successfully logged :
 JSESSIONID=C6FBEC88F4D992BD2EA27EC1E7B59AAA; Path=/esb/; Secure=null;
 HttpOnly=null
 > 2012-02-02 10:03:12,232 [-] [Thread-96]  INFO ServerStartupManager
 [2012-02-02 10:03:12,232]  WARN - AuthenticationHandler Illegal access
 attempt at [2012-02-02 10:03:12,0232] from IP address 127.0.0.1 : Service
 is ServerAdmin
 > 2012-02-02 10:03:12,251 [-] [Thread-96]  INFO ServerStartupManager
 [2012-02-02 10:03:12,239] ERROR - AxisEngine Access Denied. Please login
 first.
 > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
 org.apache.axis2.AxisFault: Access Denied. Please login first.
 > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
 at
 org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.authenticate(AuthenticationHandler.java:83)
 > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
 at
 org.wso2.carbon.server.admin.module.handler.AuthenticationHandler.invoke(AuthenticationHandler.java:61)
 > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
 > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
 > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
 at
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
 > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
 at
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
 > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
 at
 org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:199)
 > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
 > 2012-02-02 10:03:12,252 [-] [Thread-96]  INFO ServerStartupManager
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
 > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
 > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
 > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
 > 2012-02-02 10:03:12,253 [-] [Thread-96]  INFO ServerStartupManager
  

Re: [Carbon-dev] Test Failure - System Stratos automated Cases

2012-02-01 Thread Krishantha Samaraweera
On Thu, Feb 2, 2012 at 9:59 AM, Nirmal Fernando  wrote:

>
>
> On Thu, Feb 2, 2012 at 9:55 AM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi,
>>
>> Can you explain how you are running the framework. It seems that
>> App-server is not running at the moment.
>>
>> You need to edit framework.properties file appropriately before start
>> test execution.
>>
>
> oh.. I see! Is there any documentation on how to run these tests?
>

We need to add a README with all instructions. Will do it and let you know.

Thanks,
Krishantha.

>
>
>> Thanks,
>> Krishantha.
>>
>> On Wed, Feb 1, 2012 at 9:13 AM, Nirmal Fernando  wrote:
>>
>>> Hi,
>>>
>>> $Subject!
>>>
>>> here's the stack trace.
>>>
>>>  T E S T S
>>> ---
>>> Running org.wso2.stratos.automation.test.esb.StratosCustomProxyTest
>>> Starting all servers
>>> [2012-02-01 08:52:47,588]  INFO - UserPopulator:57 Populate user to AS
>>> server
>>> [2012-02-01 08:52:47,954] ERROR - AdminServiceAuthentication:72
>>> https://localhost:9444/services/AuthenticationAdmin Login failed due to
>>> RemoteException :Connection refused
>>> org.apache.maven.surefire.util.SurefireReflectionException:
>>> java.lang.reflect.InvocationTargetException; nested exception is
>>> java.lang.reflect.InvocationTargetException: null
>>> java.lang.reflect.InvocationTargetException
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
>>> at
>>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
>>> at
>>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
>>> at
>>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
>>> at
>>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
>>> Caused by: junit.framework.AssertionFailedError:
>>> https://localhost:9444/services/AuthenticationAdmin Login failed due to
>>> RemoteException :Connection refused
>>> at junit.framework.Assert.fail(Assert.java:47)
>>> at
>>> org.wso2.carbon.admin.service.AdminServiceAuthentication.login(AdminServiceAuthentication.java:73)
>>> at
>>> org.wso2.platform.test.core.UserPopulator.login(UserPopulator.java:115)
>>> at
>>> org.wso2.platform.test.core.UserPopulator.createProductUsers(UserPopulator.java:68)
>>> at
>>> org.wso2.platform.test.core.UserPopulator.populateUsers(UserPopulator.java:58)
>>> at
>>> org.wso2.platform.test.core.PlatformSuiteManager.startMulitpleServers(PlatformSuiteManager.java:69)
>>> at
>>> org.wso2.platform.test.core.PlatformSuiteManager.onStart(PlatformSuiteManager.java:20)
>>> at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:196)
>>> at org.testng.SuiteRunner.run(SuiteRunner.java:238)
>>> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
>>> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
>>> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
>>> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
>>> at org.testng.TestNG.run(TestNG.java:999)
>>> at
>>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
>>> at
>>> org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:111)
>>> at
>>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115)
>>> ... 9 more
>>>
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-surefire-plugin:2.11:test (default-test) on
>>> project system-stratos-test-auto: Error occured in starting fork, check
>>> output in log
>>>
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Software Engineer- Platform, WSO2 Inc.
>>> Mobile: +94715779733

Re: [Carbon-dev] Test Failure - System Stratos automated Cases

2012-02-01 Thread Krishantha Samaraweera
Hi,

Can you explain how you are running the framework. It seems that App-server
is not running at the moment.

You need to edit framework.properties file appropriately before start test
execution.

Thanks,
Krishantha.

On Wed, Feb 1, 2012 at 9:13 AM, Nirmal Fernando  wrote:

> Hi,
>
> $Subject!
>
> here's the stack trace.
>
>  T E S T S
> ---
> Running org.wso2.stratos.automation.test.esb.StratosCustomProxyTest
> Starting all servers
> [2012-02-01 08:52:47,588]  INFO - UserPopulator:57 Populate user to AS
> server
> [2012-02-01 08:52:47,954] ERROR - AdminServiceAuthentication:72
> https://localhost:9444/services/AuthenticationAdmin Login failed due to
> RemoteException :Connection refused
> org.apache.maven.surefire.util.SurefireReflectionException:
> java.lang.reflect.InvocationTargetException; nested exception is
> java.lang.reflect.InvocationTargetException: null
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Caused by: junit.framework.AssertionFailedError:
> https://localhost:9444/services/AuthenticationAdmin Login failed due to
> RemoteException :Connection refused
> at junit.framework.Assert.fail(Assert.java:47)
> at
> org.wso2.carbon.admin.service.AdminServiceAuthentication.login(AdminServiceAuthentication.java:73)
> at
> org.wso2.platform.test.core.UserPopulator.login(UserPopulator.java:115)
> at
> org.wso2.platform.test.core.UserPopulator.createProductUsers(UserPopulator.java:68)
> at
> org.wso2.platform.test.core.UserPopulator.populateUsers(UserPopulator.java:58)
> at
> org.wso2.platform.test.core.PlatformSuiteManager.startMulitpleServers(PlatformSuiteManager.java:69)
> at
> org.wso2.platform.test.core.PlatformSuiteManager.onStart(PlatformSuiteManager.java:20)
> at org.testng.SuiteRunner.invokeListeners(SuiteRunner.java:196)
> at org.testng.SuiteRunner.run(SuiteRunner.java:238)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
> at org.testng.TestNG.run(TestNG.java:999)
> at
> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70)
> at
> org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:111)
> at
> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:115)
> ... 9 more
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.11:test (default-test) on
> project system-stratos-test-auto: Error occured in starting fork, check
> output in log
>
> --
>
> Thanks & regards,
> Nirmal
>
> Software Engineer- Platform, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Error when building System-test-framework in trunk

2012-01-29 Thread Krishantha Samaraweera
Fixed.

Thanks,
Krishantha.

On Mon, Jan 30, 2012 at 8:56 AM, Nirmal Fernando  wrote:

> Hi,
>
> I'm getting following [1] error. How can I get rid of it?
>
> [1]
>
> Downloading:
> http://repo1.maven.org/maven2/com/oracle/ojdbc14/10.2.0.2.0/ojdbc14-10.2.0.2.0.jar
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 8:07.864s
> [INFO] Finished at: Sun Jan 29 21:30:51 IST 2012
> [INFO] Final Memory: 19M/487M
> [INFO]
> 
> [ERROR] Failed to execute goal on project platform-integration-core: Could
> not resolve dependencies for project
> org.wso2.platform:platform-integration-core:jar:4.0.0-SNAPSHOT: Could not
> find artifact com.oracle:ojdbc14:jar:10.2.0.2.0 in carbon-plugin-repo (
> http://maven.wso2.org/nexus/content/repositories/wso2archtype) -> [Help 1]
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Software Engineer- Platform, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] System test framework migration to TestNG status.

2012-01-27 Thread Krishantha Samaraweera
Hi All,

We have finish with migrating test framework core to TestNG. Lets start
migrating our test cases as well. A new test core module has been
introduced, our plan is to get rid of older test core module after
migrating all tests into TestNG.  As a convention we are not going to
maintain testNG suite.xml files. Instead you can include your tests in to
suite classes. Please refer [1] for an example.

We used ITestListener and ISuiteListener implementations to over come of
difficulty of using classes with @BeforeSuite and @AftereSuite annotations
in each test module. TestNG listeners gave us more flexibility to mange all
tests using sure-fire plugin defined in root pom.

When writing test cases, make sure to use
org.wso2.platform.integration.core as your new test core module. Also you
have to use UserListCsvReader to retrieve user information.

Thanks everybody for the effort put into test core migration. Lets try to
finish test case migration with the same momentum.

Thanks,
Krishantha.

[1]
https://svn.wso2.org/repos/wso2/trunk/carbon/platform-integration/system-test-framework/scenario/org.wso2.stratos.test.auto/src/test/java/org/wso2/stratos/automation/test/esb/ESBTestSuite.java
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] CApp not getting deployed correctly

2012-01-26 Thread Krishantha Samaraweera
I also got the same error when deploying Car files in ESB trunk build.

Thanks,
Krishantha.

On Thu, Jan 26, 2012 at 3:58 PM, Nirmal Fernando  wrote:

> Hi,
>
> When I try to deploy a CApp, I can see following messages at the back-end.
>
> INFO - GhostDeployer Ghost Deployer Deploying Artifact :
> /media/wso2/carbon/carbon/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/carbonapps/TestCApp-1.0.0_1.car
> [2012-01-26 15:53:36,428]  INFO - ApplicationManager Deploying Carbon
> Application : TestCApp-1.0.0_1.car...
> [2012-01-26 15:53:36,954]  WARN - SynapseAppDeployer Can't deploy artifact
> : endpoint1 of type : synapse/endpoint. Required features are not installed
> in the system
> [2012-01-26 15:53:36,955]  WARN - SynapseAppDeployer Can't deploy artifact
> : proxyService1 of type : synapse/proxy-service. Required features are not
> installed in the system
> [2012-01-26 15:53:36,955]  INFO - ApplicationManager Successfully Deployed
> Carbon Application : TestCApp {super-tenant}
>
> Any help?
>
> Thanks.
>
> --
>
> regards,
> Nirmal
>
> Software Engineer, WSO2 Inc.
> mobile: +94715779733
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-24 Thread Krishantha Samaraweera
Hi Shariq,

IMO, we can think about Stratos deployment based on trunk builds after we
finish with Stratos Services Deployment management tool.

At the moment what we can easily do is to, setting up the framework to
monitor SL. We can configure it to run once per every two days. WDYT?

Thanks,
Krishantha.

On Mon, Jan 23, 2012 at 9:35 AM, Muhammed Shariq  wrote:

> On Fri, Jan 20, 2012 at 12:59 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>>
>> On Fri, Jan 20, 2012 at 9:51 AM, Muhammed Shariq  wrote:
>>
>>> Hi Krishantha et al,
>>>
>>> If I am not mistaken we are running these test for products only right,
>>> at the moment? How about the possibility of running these test on the
>>> stratos services too ? I had a chat with Dhrashana and we most of the tests
>>> that covers multitenancy aspect, so its a matter of setting up a stratos
>>> deployment in the bamboo machins right? I can work with the automation team
>>> to get this running. IIRC we even used these test suite to smoke test SLive
>>> after migrations etc, so we already have it.
>>>
>>
>> +1, we have written automation test to run on Stratos services and
>> products. These tests cover tenant and multi-tenancy aspects as well. Yes
>> it is matter to setting the things in bamboo machine. But we need to solve
>> resource problems first. You cannot run startos setup on a single machine.
>>
>
> How about using the machines used to run the Dev environment to set up the
> trunk stratos builds. If I am not mistaken we have the scripts etc for Dev
> too. Now that we are moving to the trunk, the Dev environment should run on
> the trunk builds right? Also it would be ideal since any failures can be
> patched and verified then and there, so it will save cycles as well.
>
> Only issue is we need a to copy the packs to these machines and then set
> it up (would some scripts, scp etc work ?). Its important to automate this
> task, else we will be wasting cycles.! If we can somehow figure out a way
> to set this packs up remotely (ideally in the dev setup) then we could run
> the tests from the bamboo machines, and generate the results, notification
> etc. Setting up the dev cloud once a week should be sufficient IMO?
>
>>
>>> My concern is that, once we start developing new features we usually do
>>> development and testing cycles with the product. Ultimately the services
>>> gets side lined until quite late in the release cycle. If we can run a full
>>> test round once a week maybe and get notifications of the failures (or on
>>> the build status dashboard itself), we wouldn't need to worry about the
>>> status of the trunk at any time. WDYT ?
>>>
>>
>> +1, As far as you admit that failures are not false positives :))
>>
> Of course I admit that there are issues ;))
>
>>
>>
>>>
>>> On a related note, there was a thread on adding TestNG integration test
>>> to cover tenant aspects as well,  wonder if we have made any progress in
>>> that front? Thinking about it, we first need to create a tenant, and also
>>> some of the tenant related test would require a proper setup (with mounting
>>> etc) prior to running the tests. Guess we need to put more thought into
>>> that?
>>>
>>
>> Integration tests are different from platform tests. Integration test
>> covers features that grouped in to products. But  Platform test covers
>> integrated product deployment (whole platform). We already have test to
>> check tenant aspects. Even you can specify your tenant on the
>> test configuration and run tests on your tenant. Setting up stratos evn
>> would be to call startos setup script though the automation framework. We
>> may need to find a way for  distributed deployment of each service.
>>
>
> Yes we need to test the status of the current trunk with exact setup,
> configs etc. If not we can't be sure the trunks is stable in terms
> of functionality.
>
> Shall we try to come up with a plan and set this up ASAP, as part of the
> stabilization effort it self?
>
>
>> Thanks,
>> Krishantha.
>>
>>
>>> On Fri, Jan 20, 2012 at 12:23 AM, Krishantha Samaraweera <
>>> krishan...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> We have done the $subject on Bamboo machine and it is working. You can
>>>> find the last successful test build at [1].
>>>>
>>>> Test framework has been configured to use packs generated by trunk
>>>> build. The test setup consists of five produc

Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Krishantha Samaraweera
On Fri, Jan 20, 2012 at 9:51 AM, Muhammed Shariq  wrote:

> Hi Krishantha et al,
>
> If I am not mistaken we are running these test for products only right, at
> the moment? How about the possibility of running these test on the stratos
> services too ? I had a chat with Dhrashana and we most of the tests that
> covers multitenancy aspect, so its a matter of setting up a stratos
> deployment in the bamboo machins right? I can work with the automation team
> to get this running. IIRC we even used these test suite to smoke test SLive
> after migrations etc, so we already have it.
>

+1, we have written automation test to run on Stratos services and
products. These tests cover tenant and multi-tenancy aspects as well. Yes
it is matter to setting the things in bamboo machine. But we need to solve
resource problems first. You cannot run startos setup on a single machine.


> My concern is that, once we start developing new features we usually do
> development and testing cycles with the product. Ultimately the services
> gets side lined until quite late in the release cycle. If we can run a full
> test round once a week maybe and get notifications of the failures (or on
> the build status dashboard itself), we wouldn't need to worry about the
> status of the trunk at any time. WDYT ?
>

+1, As far as you admit that failures are not false positives :))


>
> On a related note, there was a thread on adding TestNG integration test to
> cover tenant aspects as well,  wonder if we have made any progress in that
> front? Thinking about it, we first need to create a tenant, and also some
> of the tenant related test would require a proper setup (with mounting etc)
> prior to running the tests. Guess we need to put more thought into that?
>

Integration tests are different from platform tests. Integration test
covers features that grouped in to products. But  Platform test covers
integrated product deployment (whole platform). We already have test to
check tenant aspects. Even you can specify your tenant on the
test configuration and run tests on your tenant. Setting up stratos evn
would be to call startos setup script though the automation framework. We
may need to find a way for  distributed deployment of each service.

Thanks,
Krishantha.


> On Fri, Jan 20, 2012 at 12:23 AM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi,
>>
>> We have done the $subject on Bamboo machine and it is working. You can
>> find the last successful test build at [1].
>>
>> Test framework has been configured to use packs generated by trunk build.
>> The test setup consists of five products (ESB, G-Reg, AS, BPS and DSS) with
>> registry mounts on top of Mysql. This include Selenium test for G-Reg as
>> well. I had to exclude Ravana tests due to few issues after updating the
>> Ravana framework. Will get them fix by tomorrow.
>>
>> Thanks,
>> Krishantha.
>>
>> [1] http://wso2.org/bamboo/browse/WSO2CARBONTUNK-AUTOMATIONTEST-13/
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Thanks,
> Shariq.
> Phone: +94 777 202 225
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Krishantha Samaraweera
Hi Srinath,

On Fri, Jan 20, 2012 at 5:28 AM, Srinath Perera  wrote:

> Thanks Krishantha!!
>
> How good are we with test coverage (including introps and perf)? Can
> you send the current status and plan to cover other products?
>

As I mentioned in the earlier mail, there were few issue with Ravana, the
perf test framework. Recent updates to the framework causing some troubles
with integration. I will work with Damitha to find possible solution.

Sorry I forgot to mention about the interops tests. We haven't integrate
interop tests to framework trunk yet. Dharshana is working on it. Will
update the status once it is done.

We may need to have a distributed product setup if we are going to cover
other products. Since running 13 products on the same machine will not be
practical. Currently automation team is more focusing on our main products.
And, the plan is to automate system/platform test plans that is going to
prepared by QA team. And, also includes automation fixes done for external
issues.


> Did we start running Bamboo again since this is fixed?
>

Bamboo scheduled builds are running now.


> Do we run introps and perf tests with this?


> --Srinath
>
> On Fri, Jan 20, 2012 at 12:28 AM, Krishantha Samaraweera
>  wrote:
> > We need to monitor how this works for few days.
> > If everything runs smoothly then we can enable test failure
> notifications.
> >
> > Thanks,
> > Krishantha.
> >
> >
> > On Fri, Jan 20, 2012 at 12:23 AM, Krishantha Samaraweera
> >  wrote:
> >>
> >> Hi,
> >>
> >> We have done the $subject on Bamboo machine and it is working. You can
> >> find the last successful test build at [1].
> >>
> >> Test framework has been configured to use packs generated by trunk
> build.
> >> The test setup consists of five products (ESB, G-Reg, AS, BPS and
> DSS) with
> >> registry mounts on top of Mysql. This include Selenium test for G-Reg as
> >> well. I had to exclude Ravana tests due to few issues after updating the
> >> Ravana framework. Will get them fix by tomorrow.
> >>
> >> Thanks,
> >> Krishantha.
> >>
> >> [1] http://wso2.org/bamboo/browse/WSO2CARBONTUNK-AUTOMATIONTEST-13/
> >
> >
>
>
>
> --
> 
> 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
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Krishantha Samaraweera
Framework users maven as the builder. Hence, it uses dependencies relevant
to carbon version under test. Support for multiple carbon versions will be
a good additions to the framework. When consider test architecture, having
support for multiple carbon versions, will add extra complexity to
the framework in terms of maintainability. I'm still not sure whether it is
feasible to implement. May be we can come up with separate test framework
for BAM scenario testing.

Thanks,
Krishantha.

On Fri, Jan 20, 2012 at 12:43 AM, Tharindu Mathew  wrote:

> Hi Kris,
>
> I was wondering whether there is a possibility of testing different carbon
> versions of products, such as ESB 3.0.1 with BAM 2.0.0?
>
> On Fri, Jan 20, 2012 at 12:28 AM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> We need to monitor how this works for few days.
>> If everything runs smoothly then we can enable test failure notifications.
>>
>> Thanks,
>> Krishantha.
>>
>>
>> On Fri, Jan 20, 2012 at 12:23 AM, Krishantha Samaraweera <
>> krishan...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> We have done the $subject on Bamboo machine and it is working. You can
>>> find the last successful test build at [1].
>>>
>>> Test framework has been configured to use packs generated by trunk
>>> build. The test setup consists of five products (ESB, G-Reg, AS, BPS and
>>> DSS) with registry mounts on top of Mysql. This include Selenium test for
>>> G-Reg as well. I had to exclude Ravana tests due to few issues after
>>> updating the Ravana framework. Will get them fix by tomorrow.
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>> [1] http://wso2.org/bamboo/browse/WSO2CARBONTUNK-AUTOMATIONTEST-13/
>>>
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Regards,
>
> Tharindu
>
> blog: http://mackiemathew.com/
> M: +9459908
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Krishantha Samaraweera
We need to monitor how this works for few days.
If everything runs smoothly then we can enable test failure notifications.

Thanks,
Krishantha.

On Fri, Jan 20, 2012 at 12:23 AM, Krishantha Samaraweera <
krishan...@wso2.com> wrote:

> Hi,
>
> We have done the $subject on Bamboo machine and it is working. You can
> find the last successful test build at [1].
>
> Test framework has been configured to use packs generated by trunk build.
> The test setup consists of five products (ESB, G-Reg, AS, BPS and DSS) with
> registry mounts on top of Mysql. This include Selenium test for G-Reg as
> well. I had to exclude Ravana tests due to few issues after updating the
> Ravana framework. Will get them fix by tomorrow.
>
> Thanks,
> Krishantha.
>
> [1] http://wso2.org/bamboo/browse/WSO2CARBONTUNK-AUTOMATIONTEST-13/
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Krishantha Samaraweera
Hi,

We have done the $subject on Bamboo machine and it is working. You can find
the last successful test build at [1].

Test framework has been configured to use packs generated by trunk build.
The test setup consists of five products (ESB, G-Reg, AS, BPS and DSS) with
registry mounts on top of Mysql. This include Selenium test for G-Reg as
well. I had to exclude Ravana tests due to few issues after updating the
Ravana framework. Will get them fix by tomorrow.

Thanks,
Krishantha.

[1] http://wso2.org/bamboo/browse/WSO2CARBONTUNK-AUTOMATIONTEST-13/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Event broker is registered after the message "WSO2 Carbon started in ...." when starting DSS in trunk build

2012-01-18 Thread Krishantha Samaraweera
Hi,

This is specific to DSS, I don't see the same behavior with other products.
Some DSS automation test fail because of this inconsistent start-up order.
We can add a delay to automation tests and over come the failures. But it
is better to check why we see this only with DSS trunk build.

Can someone from DSS team please help..

Thanks,
Krishantha.

On Tue, Jan 17, 2012 at 6:44 PM, Nuwan Wimalasekara  wrote:

> Hi
> There is a issue in server start up sequence. even if message is log
> "WSO2 Carbon started in 38 sec". HTTPS port is not listening until event
> broker is registered. that scenario found with carbon trunk build.
> it takes 3 to 6 seconds to up HTTPS port after message "WSO2 Carbon
> started in 38 sec".
>
> Environment : wso2dataservices-2.6.0-SNAPSHOT
>
> Refer : https://wso2.org/jira/browse/CARBON-12227
>
>
> Server log:
>
> [2012-01-17 11:09:36,423]  INFO {org.quartz.impl.StdSchedulerFactory} -
>  Quartz scheduler 'DefaultQuartzScheduler' initialized from default
> resource file in Quartz package: 'quartz.properties'
> [2012-01-17 11:09:36,423]  INFO {org.quartz.impl.StdSchedulerFactory} -
>  Quartz scheduler version: 2.1.1
> [2012-01-17 11:09:36,423]  INFO {org.quartz.core.QuartzScheduler} -
>  Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
> [2012-01-17 11:09:36,641]  INFO
> {org.wso2.carbon.ntask.core.internal.TasksDSComponent} -  Task service
> started
> [2012-01-17 11:09:36,892]  INFO
> {org.wso2.carbon.core.init.CarbonServerManager} -
>  ConfigurationContextService registered in 591ms
> [2012-01-17 11:09:36,905]  INFO
> {org.wso2.carbon.core.transports.http.HttpsTransportListener} -  HTTPS port
>   : 9446
> [2012-01-17 11:09:36,905]  INFO
> {org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP port
>  : 9766
> [2012-01-17 11:09:37,124]  INFO
> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Started
> Transport Listener Manager
> [2012-01-17 11:09:37,124]  INFO
> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
>   :  WSO2 Data Services Server-2.6.0-SNAPSHOT
> [2012-01-17 11:09:37,125]  INFO
> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
> Carbon started in 34 sec
> [Broker] BRK-1006 : Using configuration :
> /home/nuwanw/svn/deployment-framework/SNAPSHOT/wso2dataservices-2.6.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml
> [2012-01-17 11:09:39,555]  INFO {qpid.message.broker.listening} -
>  [Broker] BRK-1002 : Starting : Listening on TCP port 5675
> [2012-01-17 11:09:39,558]  INFO {qpid.message.broker.listening} -
>  [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8675
> [2012-01-17 11:09:39,559]  INFO
> {org.wso2.carbon.qpid.internal.QpidServiceComponent} -  Successfully
> connected to the server on port 5675
> [2012-01-17 11:09:39,784]  INFO
> {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent}
> -  Successfully Initialized Eventing on Registry
> [2012-01-17 11:09:39,801]  INFO
> {org.wso2.carbon.event.core.internal.builder.EventBrokerHandler} -
>  Successfully registered the event broker
> [2012-01-17 11:09:40,056]  INFO
> {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
>  : https://10.100.3.39:9446/carbon/
>
>
> Thanks
> NuwanW
>
> --
> Nuwan Wimalasekara
> Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Bamboo scheduled build for trunk will be not available today.

2012-01-17 Thread Krishantha Samaraweera
Hi Charith,

Will let you know once we finish with test framework deployment.

Thanks,
Krishantha.

On Wed, Jan 18, 2012 at 11:52 AM, Charith Wickramarachchi
wrote:

> Hi ,
>
> I've disabled the Bamboo scheduled build for trunk till we get the
> Automation test to work with the trunk .
>
> thanks,
> Charith
>
> --
> 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
>
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] system test framework and product integration tests

2012-01-17 Thread Krishantha Samaraweera
Your are correct. We came across the same issue when designing the
framework. Since system tests runs with different configurations (e.g with
registry mounts and different DBs) we need to run all most all
product integration tests on top of product platform as well. We can not
directly have dependencies to product integration tests because of the way
we have written those tests. And, The tests architecture is also differ. We
have written the system-test-framework to address the distributed nature of
a platform deployment. Currently as what we can do is to duplicate
integration tests inside system tests. May be in future we can find a
better way to do it.

Thanks,
Krishantha.

On Wed, Jan 18, 2012 at 10:57 AM, KasunG Gajasinghe  wrote:

>  I have a little question about System-Test-Framework. Does the objective
 of it is to complement the integration tests of products,
 or will it be integrated in to the product integration tests in future?

>>>
>>> What current integration test does is test the individual components
>>> combined and grouped into a so called product. It doesn't have platform
>>> wide tests cases. For an example, It doesn't test a scenario run on ESB,
>>> BPS and G-Reg with registry mounts and clustering. What we does in
>>> system-test-framework is test the platform as a whole.
>>>
>>
>>> Nope system-test-framework will not be integrated in to integration
>>> tests.
>>>
>>
>> Understood. But, talking from viewpoint of AS, it seems that the boundary
>> of this framework's tests and product intg tests is somewhat blur. For
>> example, AS needs to test the security scenarios of Axis2 services
>> something which also done by the system-test-framework. May be we need to
>> come to a common ground on this.
>>
>
>
>
> We are going off the topic here. Lets discuss this on carbon-dev. Please
>> ask all the question you have in there.
>
>
> +1. forwarded to carbon-dev.
>
>
>> Thanks,
>> --KasunG
>>
>>
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>>
>>>

 I'm asking this because I feel like things may get duplicated between
 product integration tests, and STF!

 Thanks,
 --KasunG


>
> Thanks,
> Krishantha.
>



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

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

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

 *
 *


>>>
>>
>>
>> --
>> *Kasun Gajasinghe*
>> Software Engineer; WSO2 Inc.; http://wso2.com
>>
>> ,
>> *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813*
>> *blog: **http://blog.kasunbg.org* 
>>
>> *
>> twitter: **http://twitter.com/kasunbg* 
>>
>> *
>> *
>>
>>
>
>
>
> --
> *Kasun Gajasinghe*
> Software Engineer; WSO2 Inc.; http://wso2.com
>
> ,
> *email: **kasung AT spamfree wso2.com** cell: **+94 (77) 678-0813*
> *blog: **http://blog.kasunbg.org* 
>
> *
> twitter: **http://twitter.com/kasunbg* 
>
> *
> *
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Unable to start BPS server when set offset value - trunk build

2012-01-17 Thread Krishantha Samaraweera
On Tue, Jan 17, 2012 at 3:15 PM, Waruna Ranasinghe  wrote:

> Hi krishantha,
>
> this happens when the Registry and the BPEL databases are out of sync.
>

Thanks Waruna, you are correct.

-Krishantha.

> sent from my mobile.
> On Jan 17, 2012 3:11 PM, "Krishantha Samaraweera" 
> wrote:
>
>> Hi,
>>
>> I see the following error when starting BPS trunk build with registry
>> mounts.
>>
>> [2012-01-17 14:53:51,247] ERROR - TenantProcessStoreImpl - Cannot find
>> DeploymentUnitDAO instance for package LoanService-8.
>> [2012-01-17 14:53:51,247] ERROR - BPELDeployer - Error deploying BPEL
>> package: LoanService.zip
>> org.wso2.carbon.bpel.core.ode.integration.store.BPELDeploymentException:
>> Cannot find DeploymentUnitDAO instance for package LoanService-8.
>>  at
>> org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.loadExistingBPELPackage(TenantProcessStoreImpl.java:645)
>> at
>> org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.reloadExistingVersionsOfBPELPackage(TenantProcessStoreImpl.java:506)
>>  at
>> org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.deploy(TenantProcessStoreImpl.java:210)
>> at org.wso2.carbon.bpel.deployer.BPELDeployer.deploy(BPELDeployer.java:94)
>>  at
>> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>> at
>> org.wso2.carbon.utils.deployment.GhostDeployer.deploy(GhostDeployer.java:126)
>>  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:371)
>>  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:434)
>> 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:359)
>>  at
>> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:257)
>> 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)
>>
>> Thanks,
>> Krishantha.
>>
>>
>> On Tue, Jan 17, 2012 at 2:49 PM, Krishantha Samaraweera <
>> krishan...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I was trying to start BPS server (trunk build) and got the following
>>> error. Further investigation reveals that issue caused after changing
>>> default offset value. Our system automation tests are failing due to this
>>> error. Please have a look.
>>>
>>> Exception
>>> =n
>>> [2012-01-17 14:40:35,699] ERROR - Database - Failed to resolved
>>> external DataSource at htds
>>> javax.naming.ServiceUnavailableException [Root exception is
>>> java.rmi.ConnectException: Connection refused to host: localhost; nested
>>> exception is:
>>>  java.net.ConnectException: Connection refused]
>>> at
>>> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
>>>  at
>>> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107)
>>> at
>>> org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContext.lookup(CarbonContextHolder.java:1034)
>>>  at javax.naming.InitialContext.lookup(InitialContext.java:392)
>>> at
>>> org.wso2.carbon.humantask.core.db.Database.lookupInJndi(Database.java:156)
>>>  at
>>> org.wso2.carbon.humantask.core.db.Database.initExternalDb(Database.java:127)
>>> at
>>> org.wso2.carbon

Re: [Carbon-dev] Unable to start BPS server when set offset value - trunk build

2012-01-17 Thread Krishantha Samaraweera
Hi,

I see the following error when starting BPS trunk build with registry
mounts.

[2012-01-17 14:53:51,247] ERROR - TenantProcessStoreImpl - Cannot find
DeploymentUnitDAO instance for package LoanService-8.
[2012-01-17 14:53:51,247] ERROR - BPELDeployer - Error deploying BPEL
package: LoanService.zip
org.wso2.carbon.bpel.core.ode.integration.store.BPELDeploymentException:
Cannot find DeploymentUnitDAO instance for package LoanService-8.
at
org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.loadExistingBPELPackage(TenantProcessStoreImpl.java:645)
at
org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.reloadExistingVersionsOfBPELPackage(TenantProcessStoreImpl.java:506)
at
org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl.deploy(TenantProcessStoreImpl.java:210)
at org.wso2.carbon.bpel.deployer.BPELDeployer.deploy(BPELDeployer.java:94)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.wso2.carbon.utils.deployment.GhostDeployer.deploy(GhostDeployer.java:126)
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:371)
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:434)
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:359)
at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:257)
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)

Thanks,
Krishantha.


On Tue, Jan 17, 2012 at 2:49 PM, Krishantha Samaraweera  wrote:

> Hi,
>
> I was trying to start BPS server (trunk build) and got the following
> error. Further investigation reveals that issue caused after changing
> default offset value. Our system automation tests are failing due to this
> error. Please have a look.
>
> Exception
> =n
> [2012-01-17 14:40:35,699] ERROR - Database - Failed to resolved external
> DataSource at htds
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: localhost; nested
> exception is:
>  java.net.ConnectException: Connection refused]
> at
> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
>  at
> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107)
> at
> org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContext.lookup(CarbonContextHolder.java:1034)
>  at javax.naming.InitialContext.lookup(InitialContext.java:392)
> at
> org.wso2.carbon.humantask.core.db.Database.lookupInJndi(Database.java:156)
>  at
> org.wso2.carbon.humantask.core.db.Database.initExternalDb(Database.java:127)
> at
> org.wso2.carbon.humantask.core.db.Database.initDataSource(Database.java:122)
>  at org.wso2.carbon.humantask.core.db.Database.start(Database.java:77)
> at
> org.wso2.carbon.humantask.core.HumanTaskServer.initDataSource(HumanTaskServer.java:92)
>  at
> org.wso2.carbon.humantask.core.HumanTaskServer.init(HumanTaskServer.java:61)
> at
> org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.initHumanTaskServer(HumanTaskServiceComponent.java:83)
>  at
> org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.activate(HumanTaskServiceComponent.java:63)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
>  at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activat

[Carbon-dev] Unable to start BPS server when set offset value - trunk build

2012-01-17 Thread Krishantha Samaraweera
Hi,

I was trying to start BPS server (trunk build) and got the following error.
Further investigation reveals that issue caused after changing default
offset value. Our system automation tests are failing due to this error.
Please have a look.

Exception
=

[2012-01-17 14:40:35,699] ERROR - Database - Failed to resolved external
DataSource at htds
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: localhost; nested
exception is:
java.net.ConnectException: Connection refused]
at
com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:101)
at
com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107)
at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContext.lookup(CarbonContextHolder.java:1034)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at
org.wso2.carbon.humantask.core.db.Database.lookupInJndi(Database.java:156)
at
org.wso2.carbon.humantask.core.db.Database.initExternalDb(Database.java:127)
at
org.wso2.carbon.humantask.core.db.Database.initDataSource(Database.java:122)
at org.wso2.carbon.humantask.core.db.Database.start(Database.java:77)
at
org.wso2.carbon.humantask.core.HumanTaskServer.initDataSource(HumanTaskServer.java:92)
at
org.wso2.carbon.humantask.core.HumanTaskServer.init(HumanTaskServer.java:61)
at
org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.initHumanTaskServer(HumanTaskServiceComponent.java:83)
at
org.wso2.carbon.humantask.core.internal.HumanTaskServiceComponent.activate(HumanTaskServiceComponent.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at
org.wso2.carbon.datasource.internal.DataSourceServiceComponent.activate(DataSourceServiceComponent.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatc

Re: [Carbon-dev] [Stratos-dev] System test framework progress update

2012-01-13 Thread Krishantha Samaraweera
On Fri, Jan 13, 2012 at 4:26 PM, Srinath Perera  wrote:

> just to confirm .. is this runs with trunk packs created from the build
> now?
>

Yes, we are setting the framework for trunk on bamboo machine.

Thanks,
Krishantha.

>
> On Fri, Jan 13, 2012 at 10:20 AM, Krishantha Samaraweera
>  wrote:
> >
> >
> > On Fri, Jan 13, 2012 at 8:12 AM, Afkham Azeez  wrote:
> >>
> >> Folks, It is better to start writing new tests using TestNG & gradually
> >> migrate the old tests.
> >
> >
> > +1, We are planning to hold test development and have a hackathon to
> migrate
> > into TestNG in next week.
> >
> > Thanks,
> > Krishantha.
> >>
> >> --
> >> Afkham Azeez
> >> Sent from my phone
> >>
> >> On Jan 12, 2012 8:09 PM, "Dharshana Warusavitharana" <
> dharsha...@wso2.com>
> >> wrote:
> >>>
> >>>
> >>>
> >>>
> >>> Hi,
> >>>
> >>> On BPS following scenarios are covered with sub scenarios. And It is
> >>> available for both local and stratos.
> >>>
> >>> Deployment of packages
> >>> Versioning
> >>> Package undeployment and redeployment
> >>> Deployment with active/retire set in deploy.xml
> >>> Running the processes in memory
> >>> Process instance cleanup
> >>> Event filtering at process level
> >>> Event filtering at scope level
> >>> Test with custom event listeners ( at process level)
> >>> Processes with basic activities
> >>> Processes with structured activities
> >>> Process activation and retire (manage processes)
> >>> Monitoring and managing process instances -
> >>> active/complete/failed/suspended/terminated (through process instances
> page)
> >>> - retry, delete, suspend
> >>> Bpel processes with external partner services
> >>> Xpath extentions and Other bpel activities (Xpath, XQuery, XSLT)
> >>> Xpath extentions and Other bpel activities (Xpath, XQuery, XSLT)
> >>>
> >>> The samples are available with the resources in system framework.
> >>>
> >>> Thank You,
> >>> Dharshana.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On Thu, Jan 12, 2012 at 5:44 PM, Nuwan Wimalasekara 
> >>> wrote:
> >>>>
> >>>> Hi
> >>>> Following scenarios have been covered in Data Service Server. All test
> >>>> can be run on Product or Stratos.
> >>>>
> >>>> 1) Data Service with CSV file which is on registry
> >>>> 2) Data Service with excel file which is on registry
> >>>>   XSLT transformation
> >>>> 3) Data Service with Google Spread Sheet
> >>>> 4) Data Service with MySql Database
> >>>>  INSERT, UPDATE, DELETE, and SELECT operation
> >>>> 5) Data Service with carbon data source
> >>>>  Data Source Creation
> >>>>  INSERT, UPDATE, DELETE, and SELECT operation
> >>>> 6) Distributed Transactions
> >>>> 7) Data Service Eventing
> >>>> 8) Nested Queries
> >>>> 9) Batch Request
> >>>> 10) File Service
> >>>> 11) REST Invocation
> >>>>  GET, POST, PUT, DELETE
> >>>> 12) Secure Service
> >>>>  Scenario no 1 to 15
> >>>> 13) Service Input parameter validation
> >>>>  length validation
> >>>>  pattern validation
> >>>> 14) MySql Stored procedure
> >>>>  IN params, OUT params, INOUT params
> >>>> 15) Faulty Service
> >>>>  Deploying faulty service
> >>>>  Edit and Redeploy faulty service
> >>>> 16) Data Service Schedule task
> >>>>  Add Schedule task
> >>>>  Reschedule Task
> >>>>  Verifying Task Repeat Count
> >>>>  Verifying Task Start Time
> >>>>
> >>>> Service uploading and data base creation for the service are also
> >>>> automated. MySql database is used for the data services.
> >>>>
> >>>>
> >>>> Thanks
> >>>> NuwanW
> >>>>
> >>>>
> >>>> On Thu, Jan 12, 2012 at 3:42 PM, Krish

Re: [Carbon-dev] [Stratos-dev] System test framework progress update

2012-01-12 Thread Krishantha Samaraweera
On Fri, Jan 13, 2012 at 8:12 AM, Afkham Azeez  wrote:

> Folks, It is better to start writing new tests using TestNG & gradually
> migrate the old tests.
>

+1, We are planning to hold test development and have a hackathon to
migrate into TestNG in next week.

Thanks,
Krishantha.

>  --
> Afkham Azeez
> Sent from my phone
> On Jan 12, 2012 8:09 PM, "Dharshana Warusavitharana" 
> wrote:
>
>>
>>
>>
>> Hi,
>>
>> On BPS following scenarios are covered with sub scenarios. And It is
>> available for both local and stratos.
>>
>>1.
>>2. Deployment of packages
>>3. Versioning
>>4. Package undeployment and redeployment
>>5. Deployment with active/retire set in deploy.xml
>>6. Running the processes in memory
>>7. Process instance cleanup
>>8. Event filtering at process level
>>9. Event filtering at scope level
>>10. Test with custom event listeners ( at process level)
>>11. Processes with basic activities
>>12. Processes with structured activities
>>13. Process activation and retire (manage processes)
>>14. Monitoring and managing process instances -
>>active/complete/failed/suspended/terminated (through process instances
>>page) - retry, delete, suspend
>>15. Bpel processes with external partner services
>>16. Xpath extentions and Other bpel activities (Xpath, XQuery, XSLT)
>>17. Xpath extentions and Other bpel activities (Xpath, XQuery, XSLT)
>>
>> The samples are available with the resources in system framework.
>>
>> Thank You,
>> Dharshana.
>>
>>
>>
>>
>>
>>
>> On Thu, Jan 12, 2012 at 5:44 PM, Nuwan Wimalasekara wrote:
>>
>>> Hi
>>> Following scenarios have been covered in Data Service Server. All test
>>> can be run on Product or Stratos.
>>>
>>> 1) Data Service with CSV file which is on registry
>>> 2) Data Service with excel file which is on registry
>>>   XSLT transformation
>>> 3) Data Service with Google Spread Sheet
>>> 4) Data Service with MySql Database
>>>  INSERT, UPDATE, DELETE, and SELECT operation
>>> 5) Data Service with carbon data source
>>>  Data Source Creation
>>>  INSERT, UPDATE, DELETE, and SELECT operation
>>> 6) Distributed Transactions
>>> 7) Data Service Eventing
>>> 8) Nested Queries
>>> 9) Batch Request
>>> 10) File Service
>>> 11) REST Invocation
>>>  GET, POST, PUT, DELETE
>>> 12) Secure Service
>>>  Scenario no 1 to 15
>>> 13) Service Input parameter validation
>>>  length validation
>>>  pattern validation
>>> 14) MySql Stored procedure
>>>  IN params, OUT params, INOUT params
>>> 15) Faulty Service
>>>  Deploying faulty service
>>>  Edit and Redeploy faulty service
>>> 16) Data Service Schedule task
>>>  Add Schedule task
>>>  Reschedule Task
>>>  Verifying Task Repeat Count
>>>  Verifying Task Start Time
>>>
>>> Service uploading and data base creation for the service are also
>>> automated. MySql database is used for the data services.
>>>
>>>
>>> Thanks
>>> NuwanW
>>>
>>>
>>> On Thu, Jan 12, 2012 at 3:42 PM, Krishantha Samaraweera <
>>> krishan...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> System test framework [1] is capable of testing starots and product
>>>> platform. We already integrated Ravana, the perf test framewok into this
>>>> framework.  And it also contain test for G-Reg UI testing using
>>>> Selenium2/Webdriver. This framework uses perl based deployment framework
>>>> [2] to setup product platforms to be tested. From next week we will start
>>>> migrating system framework into TestNG. This is just an update of the
>>>> status.
>>>>
>>>> We have covered following functionalities releated to App Server. You
>>>> can run all these test on Products as well on Stratos.
>>>>
>>>> 1. Car file upload and multitenancy tests.
>>>> 2. Aar, Jar and spring service upload and multitenancy tests.
>>>> 3. SOAP tracer test.
>>>> 4. System level stat test.
>>>> 5. Faulty webapp test, web app redeployment,
>>>> 6. AAR load test n 100 c 100.
>>>> 7. We

[Carbon-dev] System test framework progress update

2012-01-12 Thread Krishantha Samaraweera
Hi,

System test framework [1] is capable of testing starots and product
platform. We already integrated Ravana, the perf test framewok into this
framework.  And it also contain test for G-Reg UI testing using
Selenium2/Webdriver. This framework uses perl based deployment framework
[2] to setup product platforms to be tested. From next week we will start
migrating system framework into TestNG. This is just an update of the
status.

We have covered following functionalities releated to App Server. You can
run all these test on Products as well on Stratos.

1. Car file upload and multitenancy tests.
2. Aar, Jar and spring service upload and multitenancy tests.
3. SOAP tracer test.
4. System level stat test.
5. Faulty webapp test, web app redeployment,
6. AAR load test n 100 c 100.
7. Web app deployment concurrency test using multiple tenants.

Automated scenarios of Stratos Manager

1. Add new tenant test.
2. Activate and deactivate tenants.
3. Usage plan update and downgrade test.
4. Tenant contact info update test.
5. Tenant info update tests.

Dharshana, Nuwan and Kishan please give updates on the areas you have been
automating.

Thanks,
Krishantha.

[1]
https://svn.wso2.org/repos/wso2/trunk/carbon/platform-integration/system-test-framework
[2]
https://svn.wso2.org/repos/wso2/trunk/carbon/platform-integration/deployment-framework
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Automation Tests for Mounting

2012-01-11 Thread Krishantha Samaraweera
+1, We have already configured test framework to setup product platform
with registry mounts and run test against the mounted product setup in
bamboo machine (only five products yet). But we don't have specific tests
for registry mounts. Normally we run governance API test on the setup. Lets
discuss this tomorrow.

Thanks,
Krishantha.

On Wed, Jan 11, 2012 at 6:13 PM, Senaka Fernando  wrote:

> Hi Krishantha,
>
> We need to discuss this sometime this week. We have some issues related to
> mounting, and we need to write automation tests for those as well as
> several other aspects. I'd like to explain a nearly similar model which I
> have used to test caching. But mounting is a little complicated since it
> involves multiple instances of servers, and also reconfiguring some config
> files and all.
>
> 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
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] System test framework status with trunk

2012-01-10 Thread Krishantha Samaraweera
On Tue, Jan 10, 2012 at 12:47 PM, Afkham Azeez  wrote:

> Do you manually startup the server, and then run the client? How is the
> test executed? Does a single process fork the server & client?


We start the servers programmatically and same process fork the server and
client.

Nuwan, Shall we try to use the method suggested by Azeez.  Since System
test framework is separate from trunk integration tests. We may need to
duplicated the test core to System test framework.

Thanks,
Krishantha.

>
>
> On Tue, Jan 10, 2012 at 12:44 PM, Nuwan Wimalasekara wrote:
>
>> is it not a server issue?
>>
>> Thanks
>> NuwanW
>>
>>
>> On Tue, Jan 10, 2012 at 12:10 PM, Afkham Azeez  wrote:
>>
>>> To overcome this, you can use the ClientConnectionUtil.waitForLog()
>>> method I recently introduced to the new integration testing API.
>>>
>>>
>>> On Tue, Jan 10, 2012 at 11:42 AM, Nuwan Wimalasekara wrote:
>>>
>>>> Server Authentication failed nearly 5 to 10 seconds even if message is
>>>> log "WSO2 Carbon started in 38 sec". HTTPS port is not listening until
>>>> event broker is registered.
>>>> until then server authentication failed.
>>>> Error message : https://localhost:9446/services/AuthenticationAdminLogin 
>>>> failed due to RemoteException :Transport error: 404 Error: Not Found
>>>>
>>>> DSS Server log
>>>>
>>>> [2012-01-10 10:00:06,833]  INFO
>>>> {org.wso2.carbon.core.init.CarbonServerManager} -
>>>>  ConfigurationContextService registered in 572ms
>>>> [2012-01-10 10:00:06,840]  INFO
>>>> {org.wso2.carbon.core.transports.http.HttpsTransportListener} -  HTTPS port
>>>>   : 9446
>>>> [2012-01-10 10:00:06,841]  INFO
>>>> {org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP port
>>>>  : 9766
>>>> [2012-01-10 10:00:07,203]  INFO
>>>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Started
>>>> Transport Listener Manager
>>>> [2012-01-10 10:00:07,203]  INFO
>>>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
>>>>   :  WSO2 Data Services Server-2.6.0-SNAPSHOT
>>>> [2012-01-10 10:00:07,204]  INFO
>>>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
>>>> Carbon started in 38 sec
>>>> [Broker] BRK-1006 : Using configuration :
>>>> /home/nuwanw/svn/deployment-framework/SNAPSHOT/wso2dataservices-2.6.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml
>>>> [2012-01-10 10:00:09,255]  INFO {org.quartz.utils.UpdateChecker} -
>>>>  New Quartz update(s) found: 2.1.2 [
>>>> http://www.terracotta.org/kit/reflector?kitID=default&pageID=QuartzChangeLog
>>>> ]
>>>> [2012-01-10 10:00:09,459]  INFO {qpid.message.broker.listening} -
>>>>  [Broker] BRK-1002 : Starting : Listening on TCP port 5675
>>>> [2012-01-10 10:00:09,494]  INFO {qpid.message.broker.listening} -
>>>>  [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8675
>>>> [2012-01-10 10:00:09,498]  INFO
>>>> {org.wso2.carbon.qpid.internal.QpidServiceComponent} -  Successfully
>>>> connected to the server on port 5675
>>>> [2012-01-10 10:00:10,051]  INFO
>>>> {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent}
>>>> -  Successfully Initialized Eventing on Registry
>>>> [2012-01-10 10:00:10,063]  INFO
>>>> {org.wso2.carbon.event.core.internal.builder.EventBrokerHandler} -
>>>>  Successfully registered the event broker
>>>> [2012-01-10 10:00:10,559]  INFO
>>>> {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
>>>>  : https://10.100.3.192:9446/carbon/
>>>>
>>>>
>>>> Thanks
>>>> NuwanW
>>>>
>>>>
>>>>
>>>> On Mon, Jan 9, 2012 at 10:37 PM, Krishantha Samaraweera <
>>>> krishan...@wso2.com> wrote:
>>>>
>>>>> sending to carbon-dev
>>>>>
>>>>>
>>>>> -- Forwarded message --
>>>>> From: Nuwan Wimalasekara 
>>>>> Date: Mon, Jan 9, 2012 at 6:40 PM
>>>>> Subject: System test framework status with trunk
>>>>> To: Krishantha Samaraweera 
>>>>>
>>>>>
>>>>> Hi Krishantha
>>>>> I could not find the latest p

[Carbon-dev] System test framework status with trunk

2012-01-09 Thread Krishantha Samaraweera
sending to carbon-dev

-- Forwarded message --
From: Nuwan Wimalasekara 
Date: Mon, Jan 9, 2012 at 6:40 PM
Subject: System test framework status with trunk
To: Krishantha Samaraweera 


Hi Krishantha
I could not find the latest product binaries already built. therefore i had
to build the product.

some classes in Admin services needed to be update due to api changes in
trunk service stubs. other than  System test framework can be
run successfully.
while testing DSS i found that there is a Authentication delay after server
starting. Authentication failed for nearly 5 seconds just after starting
server. therefore some test were failed. I will try to figure out the issue
as soon as possible.

Thanks
NuwanW

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

phone: +94 71 668 4620
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 3.2.3 packs to be released

2011-12-22 Thread Krishantha Samaraweera
Are we going to update maven repo with 3.2.3 artifacts ?

Thanks,
Krishantha.

On Thu, Dec 22, 2011 at 6:20 PM, Sanjeewa Malalgoda wrote:

> RM's please sign with the same key that you used to sign packs.
> Thanks.
>
>
> On Thu, Dec 22, 2011 at 5:28 PM, Madhuka Udantha  wrote:
>
>> Hi,
>>
>> Source packs are available in following url[1].
>>
>> [1]
>> http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.3/SourcePacks/
>>
>> Thank you
>>
>> On Wed, Dec 21, 2011 at 2:24 PM, Hasini Gunasinghe wrote:
>>
>>>
>>> On Wed, Dec 21, 2011 at 12:04 PM, Sanjeewa Malalgoda 
>>> wrote:
>>>
 yes dasunpriya completed hosting packs. RM's please download and verify
 the packs before you send release notes.

>>>
>>> Verified the hosted IS pack.
>>>
>>> Thanks,
>>> Hasini.
>>>

 Thanks.

 On Wed, Dec 21, 2011 at 12:01 PM, Fazlan Sabar  wrote:

> Shall we sent out the release notes?
>
>
> On Wed, Dec 21, 2011 at 11:58 AM, Dasunpriya Anuradha <
> anura...@wso2.com> wrote:
>
>> WSO2 ESB 4.0.3, IS 3.2.3, DSS 2.6.3, G-Reg 4.1.1 hosted on OxygenTank.
>>
>> Thanks.
>>
>>
>> On Tue, Dec 20, 2011 at 10:31 PM, Dasunpriya Anuradha <
>> anura...@wso2.com> wrote:
>>
>>> Packs hosting in progress...
>>>
>>> Thanks.
>>>
>>>
>>> On Tue, Dec 20, 2011 at 10:23 PM, Prabath Siriwardena <
>>> prab...@wso2.com> wrote:
>>>


 On Tue, Dec 20, 2011 at 6:11 PM, Prabath Siriwardena <
 prab...@wso2.com> wrote:

> We need to crate the source packs.. Madhuka.. can you please work
> on that.. Please talk to Senaka - he will help you..


 Tag : https://svn.wso2.org/repos/wso2/tags/carbon/3.2.3/

 Thanks & regards,
 -Prabath


>
> Thanks & regards,
> -Prabath
>
>
> On Tue, Dec 20, 2011 at 6:01 PM, Sanjeewa Malalgoda <
> sanje...@wso2.com> wrote:
>
>> Hi Dasunpriya,
>> You can get the signed packs from following url. you can host
>> them.
>>
>> http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.3/latest/signed_packs/final-packs/
>>
>> Thanks.
>>
>>
>> On Tue, Dec 20, 2011 at 5:08 PM, Yumani Ranaweera <
>> yum...@wso2.com> wrote:
>>
>>>
>>>
>>> On Tue, Dec 20, 2011 at 5:03 PM, Sanjeewa Malalgoda <
>>> sanje...@wso2.com> wrote:
>>>
 Hope you have checked release data, licence, read me texts all.
 Else RMs please take some time and check it.
>>>
>>>
>>> This is done for G-Reg pack.
>>>
>>> Regards,
>>> Yumani
>>>
>>>
>>>
 Thanks.


 On Tue, Dec 20, 2011 at 4:58 PM, Sandapa Handakumbura <
 sand...@wso2.com> wrote:

> Hi,
>
> Smoke test done for ESB 4.0.3 (latest pack) and it's good to
> release.
>
> Regards,
> Sandapa
>
>
> On Tue, Dec 20, 2011 at 4:47 PM, Pavithra Madurangi <
> pavit...@wso2.com> wrote:
>
>> Hi,
>>
>> Did a smoke test to the IS pack found at [1] and it's okay to
>> be released.
>>
>> [1]
>> http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.3/latest/
>>
>> Thanks,
>> Pavithra
>> On Tue, Dec 20, 2011 at 11:57 AM, Prabath Siriwardena <
>> prab...@wso2.com> wrote:
>>
>>> Hi Charitha,
>>>
>>> Can you please confirm whether we are okay to release...
>>>
>>>
>>> Thanks & regards,
>>> -Prabath
>>>
>>> On Tue, Dec 20, 2011 at 11:54 AM, Sanjeewa Malalgoda <
>>> sanje...@wso2.com> wrote:
>>>
 Latest packs available in following url. RM's please sign
 the packs.

 http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.3/latest/

 Thanks.
 --
 *Sanjeewa Malalgoda*
 Software Engineer
 **
 *WSO2, Inc.*
 lean.enterprise.middleware.

 mobile : +94 713068779
 web: http://wso2.com
  blog
 :http://sanjeewamalalgoda.blogspot.com/

 [image:
 http://wso2.com/wp-content/themes/wso2ng-v2/images/logos/stratos_logo_h42.gif]
>>

Re: [Carbon-dev] Test Automation Progress and Plan

2011-12-22 Thread Krishantha Samaraweera
On Thu, Dec 22, 2011 at 8:55 AM, Srinath Perera  wrote:

> Hi Krishantha,
>
> Those tests are failing due to database permission issue with Ravana.
> Could you check that, most likely it matter of giving permissions to
> client. Try connecting to the DB using a mysql client from the same
> machine as we are running the tests.
>

All enabled tests are passing now. Please refer to
http://wso2.org/bamboo/browse/WSO2CARBON320-AUTOMATIONTEST-32. We will
enable other tests case by case after testing locally.

Thanks,
Krishantha.

>
> --Srinath
>
> On Wed, Dec 21, 2011 at 5:25 PM, Krishantha Samaraweera
>  wrote:
> >
> >
> > On Tue, Dec 20, 2011 at 1:35 PM, Srinath Perera 
> wrote:
> >>
> >> Goal is to get the Dashbaord working to build trunk, branch, and
> >> support as a thin slice  by Thursday with automation tests
> >> Today we (Azeez, Samisa, and others) met to discuss the progress and
> >> following are TODOs
> >>
> >> Dashboard is at http://builder4.us1.wso2.org:/allPlans.action
> >>
> >> Krishantha and Automation Team
> >> 
> >> Azeez will get the trunk build with integration excluded and products
> >> added back, and use pack generated from that to run the automation
> >> tests Get all automation tests to work (there was 2 failing in the
> >> morning)
> >> Integrate performance tests with automatio frameworl
> >
> >
> > We have integrated Ravana into automation framework. Also selenium UI
> tests
> > are running now. UI tests were configured to use remote web browser on
> > Windows builder machine (build.wso2.com).
> >
> > Transforming tests to run on trunk build is in progress.
> >
> > Thanks,
> > Krishantha.
> >
> >>
> >>
> >> Dushan
> >> ==fix the assembly error in branch build
> >> Make sure abdera build problems are fixed and raise any future build
> >> concerns
> >> run the trunk and branch builds every 8 hours using Bamboo
> >>
> >> Charith
> >> ==Get Sonar to work with trunk Bamboo build and add that to
> >> builder4.us1.wso2.orgGet Clover to work with trunk Bamboo build and
> >> add that to builder4.us1.wso2.orgCurrent support branch to build with
> >> the Bamboo build from carbon core
> >> Make sure all Bamboo machines have security policy files  and increase
> >> the ulimit
> >>
> >> Infra  (Yasith)
> >> Get licences for BambooRegister the domain name with
> >> builder4.us1.wso2.org
> >> New windows machine to use as a build server
> >>
> >> Sadeep
> >> ==
> >> Introp tests
> >>
> >> Anything I missed?
> >>
> >> --Srinath
> >>
> >> 
> >> 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
> >> ___
> >> Carbon-dev mailing list
> >> Carbon-dev@wso2.org
> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
>
>
>
> --
> 
> 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
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Test Automation Progress and Plan

2011-12-21 Thread Krishantha Samaraweera
On Thu, Dec 22, 2011 at 8:55 AM, Srinath Perera  wrote:

> Hi Krishantha,
>
> Those tests are failing due to database permission issue with Ravana.
> Could you check that, most likely it matter of giving permissions to
> client. Try connecting to the DB using a mysql client from the same
> machine as we are running the tests.
>

Will check.

Thanks,
Krishantha.

>
> --Srinath
>
> On Wed, Dec 21, 2011 at 5:25 PM, Krishantha Samaraweera
>  wrote:
> >
> >
> > On Tue, Dec 20, 2011 at 1:35 PM, Srinath Perera 
> wrote:
> >>
> >> Goal is to get the Dashbaord working to build trunk, branch, and
> >> support as a thin slice  by Thursday with automation tests
> >> Today we (Azeez, Samisa, and others) met to discuss the progress and
> >> following are TODOs
> >>
> >> Dashboard is at http://builder4.us1.wso2.org:/allPlans.action
> >>
> >> Krishantha and Automation Team
> >> 
> >> Azeez will get the trunk build with integration excluded and products
> >> added back, and use pack generated from that to run the automation
> >> tests Get all automation tests to work (there was 2 failing in the
> >> morning)
> >> Integrate performance tests with automatio frameworl
> >
> >
> > We have integrated Ravana into automation framework. Also selenium UI
> tests
> > are running now. UI tests were configured to use remote web browser on
> > Windows builder machine (build.wso2.com).
> >
> > Transforming tests to run on trunk build is in progress.
> >
> > Thanks,
> > Krishantha.
> >
> >>
> >>
> >> Dushan
> >> ==fix the assembly error in branch build
> >> Make sure abdera build problems are fixed and raise any future build
> >> concerns
> >> run the trunk and branch builds every 8 hours using Bamboo
> >>
> >> Charith
> >> ==Get Sonar to work with trunk Bamboo build and add that to
> >> builder4.us1.wso2.orgGet Clover to work with trunk Bamboo build and
> >> add that to builder4.us1.wso2.orgCurrent support branch to build with
> >> the Bamboo build from carbon core
> >> Make sure all Bamboo machines have security policy files  and increase
> >> the ulimit
> >>
> >> Infra  (Yasith)
> >> Get licences for BambooRegister the domain name with
> >> builder4.us1.wso2.org
> >> New windows machine to use as a build server
> >>
> >> Sadeep
> >> ==
> >> Introp tests
> >>
> >> Anything I missed?
> >>
> >> --Srinath
> >>
> >> 
> >> 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
> >> ___
> >> Carbon-dev mailing list
> >> Carbon-dev@wso2.org
> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
>
>
>
> --
> 
> 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
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Test Automation Progress and Plan

2011-12-21 Thread Krishantha Samaraweera
On Tue, Dec 20, 2011 at 1:35 PM, Srinath Perera  wrote:

> Goal is to get the Dashbaord working to build trunk, branch, and
> support as a thin slice  by Thursday with automation tests
> Today we (Azeez, Samisa, and others) met to discuss the progress and
> following are TODOs
>
> Dashboard is at http://builder4.us1.wso2.org:/allPlans.action
>
> Krishantha and Automation Team
> 
> Azeez will get the trunk build with integration excluded and products
> added back, and use pack generated from that to run the automation
> tests Get all automation tests to work (there was 2 failing in the
> morning)
> Integrate performance tests with automatio frameworl
>

We have integrated Ravana into automation framework. Also selenium UI tests
are running now. UI tests were configured to use remote web browser on
Windows builder machine (build.wso2.com).

Transforming tests to run on trunk build is in progress.

Thanks,
Krishantha.


>
> Dushan
> ==fix the assembly error in branch build
> Make sure abdera build problems are fixed and raise any future build
> concerns
> run the trunk and branch builds every 8 hours using Bamboo
>
> Charith
> ==Get Sonar to work with trunk Bamboo build and add that to
> builder4.us1.wso2.orgGet Clover to work with trunk Bamboo build and
> add that to builder4.us1.wso2.orgCurrent support branch to build with
> the Bamboo build from carbon core
> Make sure all Bamboo machines have security policy files  and increase
> the ulimit
>
> Infra  (Yasith)
> Get licences for BambooRegister the domain name with
> builder4.us1.wso2.org
> New windows machine to use as a build server
>
> Sadeep
> ==
> Introp tests
>
> Anything I missed?
>
> --Srinath
>
> 
> 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
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Now we can start multiple Carbon servers within an integration TestSuite

2011-12-19 Thread Krishantha Samaraweera
On Mon, Dec 19, 2011 at 3:31 PM, Afkham Azeez  wrote:

> With the following commit, we can start a number of Carbon server
> instances from an integration TestSuite. Now it makes it very simple to
> write an integration test case which involves multiple Carbon products.
> Please take a look at the Javadocs of
> org.wso2.carbon.integration.framework.MultipleServersManager to see how
> this can be used. The automation team can use this  API for automation
> purposes too.
>

+1, Noted.

Thanks,
Krishantha.


>
> -- Forwarded message --
> From: 
> Date: Mon, Dec 19, 2011 at 3:18 PM
> Subject: [Carbon-commits] [Carbon] svn commit r118036 - in
> trunk/carbon/core/integration:
> framework/src/main/java/org/wso2/carbon/integration/framework
> framework/src/main/java/org/wso2/carbon/integration/framework/utils
> tests/src/test/java/org/wso2/carbon/integration/tests
> To: carbon-comm...@wso2.org
>
>
> Author: azeez
> Date: Mon Dec 19 01:48:32 2011
> New Revision: 118036
> URL: http://wso2.org/svn/browse/wso2?view=rev&revision=118036
>
> Log:
> Ability to start multiple Carbon servers inside an integration TestSuite
>
>
>
> Added:
>
> trunk/carbon/core/integration/tests/src/test/java/org/wso2/carbon/integration/tests/MultipleCarbonInstancesTestCase.java
> Modified:
>
> trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/ClientConnectionUtil.java
>
> trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/LoginLogoutUtil.java
>
> trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/MultipleServersManager.java
>
> trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/TestServerManager.java
>
> trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/utils/ServerUtils.java
>
> trunk/carbon/core/integration/tests/src/test/java/org/wso2/carbon/integration/tests/CarbonTestServerManager.java
>
> Modified:
> trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/ClientConnectionUtil.java
> URL:
> http://wso2.org/svn/browse/wso2/trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/ClientConnectionUtil.java?rev=118036&r1=118035&r2=118036&view=diff
>
> ==
> ---
> trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/ClientConnectionUtil.java
>   (original)
> +++
> trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/ClientConnectionUtil.java
>   Mon Dec 19 01:48:32 2011
> @@ -72,6 +72,11 @@
> throw new RuntimeException("Port " + port + " is not open");
> }
>
> +/**
> + * Check whether the provided port is open
> + * @param port The port that needs to be checked
> + * @return true if the port is open & false otherwise
> + */
> public static boolean isPortOpen(int port) {
> Socket socket = null;
> boolean isPortOpen = false;
>
> Modified:
> trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/LoginLogoutUtil.java
> URL:
> http://wso2.org/svn/browse/wso2/trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/LoginLogoutUtil.java?rev=118036&r1=118035&r2=118036&view=diff
>
> ==
> ---
> trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/LoginLogoutUtil.java
>(original)
> +++
> trunk/carbon/core/integration/framework/src/main/java/org/wso2/carbon/integration/framework/LoginLogoutUtil.java
>Mon Dec 19 01:48:32 2011
> @@ -30,18 +30,17 @@
>  import org.wso2.carbon.utils.NetworkUtils;
>
>  /**
> - * All tests which require logging in & logging out should extend this
> class
> + * A utility for logging into & logging out of Carbon servers
>  */
>  public final class LoginLogoutUtil {
> private static final Log log =
> LogFactory.getLog(LoginLogoutUtil.class);
> private String sessionCookie;
>
> /**
> - * This login method needs to be overridden in your TestNG test.
> Simply calling super.login()
> - * would be sufficient
> + * Log in to a Carbon server
>  *
>  * @return The session cookie on successful login
> - * @throws Exception If an error occurs while loggin in
> + * @throws Exception If an error occurs while logging in
>  */
> public String login() throws Exception {
>
> ClientConnectionUtil.waitForPort(Integer.parseInt(FrameworkSettings.HTTPS_PORT));
> @@ -52,8 +51,8 @@
> log.debug("UserName : " + FrameworkSettings.USER_NAME + "
> Password : " +
>   FrameworkSettings.PASSWORD + " HostName : " +
> hostName);
> }
> -boolean  isLoggedIn =
> authAdminStub.login(

Re: [Carbon-dev] [Architecture] Migrate to TestNG

2011-12-13 Thread Krishantha Samaraweera
On Tue, Dec 13, 2011 at 7:56 PM, Afkham Azeez  wrote:

> Folks,
> I was playing around a bit with TestNG (
> http://testng.org/doc/documentation-main.html#introduction) & it seems to
> be the way to go for the type of integration testing we are doing. This may
> involve major changes at the platform testing level but will be worth the
> investment.
>
> Here are some articles that compare TestNG with JUnit4. We are using JUnit
> 3.
>
> http://www.mkyong.com/unittest/junit-4-vs-testng-comparison/
> http://nelz.net/2010/10/06/testng-vs-junit4/
>
> I had a chat with Krishantha & he too agrees that TestNG is more suitable
> for the type of test automation we do. Does anybody have any concerns
> regarding this move?
>

+1, Just gone though the TestNG feature list. OOB support for, parallel
tests and rerunning failed test features are more promising. Selenium
framework also supports TestNG.

Junit 4.8 has introduced test grouping by using test categories [1]. But
this feature is undocumented and seems lot of work. Even I cannot find much
references on web.

You can find the feature matrix of Surefire plugin at [2] which has
extended support for TestNG [3].

Thanks,
Krishantha.

[1]http://www.wakaleo.com/blog/267-grouping-tests-using-junit-categories
[2]http://maven.apache.org/plugins/maven-surefire-plugin/featurematrix.html
[3]http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html

>
>
> --
> *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*
>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Discussion about changes to Carbon test framework in trunk

2011-12-12 Thread Krishantha Samaraweera
On Tue, Dec 13, 2011 at 8:41 AM, Senaka Fernando  wrote:

> +1. I'd like to see how we can make use of this framework to automate
> testing of concerns such as replicated caching, clustering, mounting and
> also to understand how this can eventually grow to automate the testing of
> multitenancy and related aspects.
>

In System test framework we have done some work to configure products with
mounts, clusters, different DBs etc.. And also we start multiple servers
with all configs etc to run automated tests. Anyway carbon test framework
and system test framework are two different things.

+1, for unified

Thanks,
Krishantha.


> Thanks,
> Senaka.
>
> On Tue, Dec 13, 2011 at 6:28 AM, Srinath Perera  wrote:
>
>> +1 .. Azeez talked to Krishantha as well, and we did some related work
>> for automation framework
>> --Srinath
>>
>> On Tue, Dec 13, 2011 at 12:11 AM, Charith Wickramarachchi
>>  wrote:
>> >
>> >
>> > On Mon, Dec 12, 2011 at 11:41 PM, Afkham Azeez  wrote:
>> >>
>> >> Folks,
>> >> I would like to review & make changes to the current Carbon integration
>> >> test framework we have in carbon core. It is a bit of a mess now with
>> people
>> >> doing artifact copying in various ways. I would like to introduce a
>> >> CarbonTestRunner. A server will be started per CarbonTestRunner
>> instance.
>> >> CarbonTestRunner is a TestSuite. In your Carbon test cases you will
>> >> implement the copyArtifacts method. CarbonTestRunner will first call
>> >> copyArtifacts on all test cases, start the server, and run the tests.
>> >> Different product teams are doing this in various hacky ways now, but
>> we
>> >> need to have a proper way of doing this.
>> >>
>> >> In addition, we have also think about starting up multiple Carbon
>> servers
>> >> per CarbonTestRunner.
>> >>
>> >> Can we have a short design discussion about this tomorrow at 10AM?
>> >
>> >
>> >
>> > +1
>> >
>> > For come up with a Unified  Framework.
>> >
>> > cheers,
>> > Charith
>> >
>> >
>> >>
>> >>
>> >>
>> >> --
>> >> 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
>> >>
>> >
>> >
>> >
>> > --
>> > 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
>> >
>> >
>>
>>
>>
>> --
>> 
>> 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/
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-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
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Deployment configuration script - training

2011-10-18 Thread Krishantha Samaraweera
Great work Dharshana. Hope the Deployment framework will be helpful for QAs
to setup product platforms in future.

Following are to-do list that we have to complete. Lets try to finish this
before RC builds.

1. Option to configure cache.xml for product clusters.
2. Have a way to run DB script automatically (mysql, h2 etc..)
3. Option to enable/disble mounting
4. Configuration entry for NTTP and NTTPS ports on ESB cluster
5. Using another G-Reg instance as config registry.

Please update if I have missed anything.

Thanks,
Krishantha.

On Mon, Oct 17, 2011 at 8:25 PM, Dharshana Warusavitharana <
dharsha...@wso2.com> wrote:

> Hi Charitha,
>
> I think 10.30 AM will be comfortable time for all.  I will demonstrate a
> sample.
>
> Thank You,
> Dharshana.
>
>
> On Mon, Oct 17, 2011 at 5:51 PM, Charitha Kankanamge wrote:
>
>> Hi Dharshana,
>>
>> Please do @subject tomorrow morning @ #58 meeting room if you are
>> available to do so. It seems we need a quick training :)
>>
>> Please come up with a preferred time and reply to this thread.
>>
>> /Charitha
>>
>>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] G-Reg CarbonHome implementation issue in Test Automation Framework

2011-10-14 Thread Krishantha Samaraweera
On Fri, Oct 14, 2011 at 4:30 PM, Krishantha Samaraweera  wrote:

>
> Hi Senaka,
>
>
> On Fri, Oct 14, 2011 at 4:24 PM, Senaka Fernando  wrote:
>
>>
>>
>> On Fri, Oct 14, 2011 at 4:22 PM, Senaka Fernando  wrote:
>>
>>> Hi Kishan,
>>>
>>> Set -Dcarbon.repo.write.mode=true. This was an issue until very recently
>>> and was fixed.
>>>
>>
>> Adding more to this, since the carbon.xml is not accessible in a remote
>> client, for the exact same code to work at client side, we introduced the
>> above system property. Pleases note that this is only a requirement of the
>> standard Java clients.
>>
>
> How can we write test client for Stratos Governance. I think we cannot use
> the same approach you mentioned.
>

Thanks Senaka, test passed on Stratos/standalone product after
setting carbon.repo.write.mode as system property.

-Krishantha.


> Thanks,
> Krishantha.
>
>>
>> Thanks,
>> Senaka.
>>
>>
>>> Thanks,
>>> Senaka.
>>>
>>>
>>> On Fri, Oct 14, 2011 at 3:26 PM, Kishan Navaratne wrote:
>>>
>>>> Hi,
>>>>
>>>>  I tried to create a client to import a wsdl to G-Reg using WS-API +
>>>> Governance API. I have intentionally left setting carbon home parameter in
>>>> the test client. Since this client is going to be used inside automation
>>>> framework, keeping G-Reg build on client side and pointing the location is
>>>> not practical. So in order to continue with governance automation, Is there
>>>> any other way I can use Governance API without setting carbon home?
>>>>
>>>>
>>>>  Exception
>>>>
>>>> =
>>>>
>>>>
>>>>  Exception in thread "main" java.lang.NullPointerException
>>>>
>>>> at java.util.Hashtable.put(Hashtable.java:394)
>>>>
>>>> at java.util.Properties.setProperty(Properties.java:143)
>>>>
>>>> at java.lang.System.setProperty(System.java:729)
>>>>
>>>> at org.wso2.carbon.utils.CarbonUtils.getCarbonHome(CarbonUtils.java:178)
>>>>
>>>> at
>>>> org.wso2.carbon.utils.CarbonUtils.getCarbonConfigDirPath(CarbonUtils.java:204)
>>>>
>>>> at org.wso2.carbon.utils.CarbonUtils.getServerXml(CarbonUtils.java:169)
>>>>
>>>> at
>>>> org.wso2.carbon.utils.CarbonUtils.getServerConfiguration(CarbonUtils.java:465)
>>>>
>>>> at
>>>> org.wso2.carbon.registry.core.utils.RegistryUtils.isRegistryReadOnly(RegistryUtils.java:1053)
>>>>
>>>> at
>>>> org.wso2.carbon.registry.core.session.UserRegistry.importResource(UserRegistry.java:677)
>>>>
>>>> at
>>>> org.wso2.carbon.governance.api.wsdls.WsdlManager.addWsdl(WsdlManager.java:96)
>>>>
>>>> at SimpleWsdl_Upload.main(SimpleWsdl_Upload.java:37)
>>>>
>>>> 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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:115)
>>>>
>>>>
>>>>  Once I set “*CarbonHome*” as a system property it worked perfectly,
>>>> wsdl was uploaded to Greg with no issues
>>>>
>>>>
>>>>  For your reference, client code is attached here with.
>>>>
>>>>
>>>>
>>>> Best Regards,
>>>>
>>>> Kishan
>>>>
>>>
>>>
>>>
>>> --
>>> *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
>>
>>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] G-Reg CarbonHome implementation issue in Test Automation Framework

2011-10-14 Thread Krishantha Samaraweera
Hi Senaka,


On Fri, Oct 14, 2011 at 4:24 PM, Senaka Fernando  wrote:

>
>
> On Fri, Oct 14, 2011 at 4:22 PM, Senaka Fernando  wrote:
>
>> Hi Kishan,
>>
>> Set -Dcarbon.repo.write.mode=true. This was an issue until very recently
>> and was fixed.
>>
>
> Adding more to this, since the carbon.xml is not accessible in a remote
> client, for the exact same code to work at client side, we introduced the
> above system property. Please note that this is only a requirement of the
> standard Java clients.
>

How can we write test client for Stratos Governance. I think we cannot use
the same approach you mentioned.

Thanks,
Krishantha.

>
> Thanks,
> Senaka.
>
>
>> Thanks,
>> Senaka.
>>
>>
>> On Fri, Oct 14, 2011 at 3:26 PM, Kishan Navaratne wrote:
>>
>>> Hi,
>>>
>>>  I tried to create a client to import a wsdl to G-Reg using WS-API +
>>> Governance API. I have intentionally left setting carbon home parameter in
>>> the test client. Since this client is going to be used inside automation
>>> framework, keeping G-Reg build on client side and pointing the location is
>>> not practical. So in order to continue with governance automation, Is there
>>> any other way I can use Governance API without setting carbon home?
>>>
>>>
>>>  Exception
>>>
>>> =
>>>
>>>
>>>  Exception in thread "main" java.lang.NullPointerException
>>>
>>> at java.util.Hashtable.put(Hashtable.java:394)
>>>
>>> at java.util.Properties.setProperty(Properties.java:143)
>>>
>>> at java.lang.System.setProperty(System.java:729)
>>>
>>> at org.wso2.carbon.utils.CarbonUtils.getCarbonHome(CarbonUtils.java:178)
>>>
>>> at
>>> org.wso2.carbon.utils.CarbonUtils.getCarbonConfigDirPath(CarbonUtils.java:204)
>>>
>>> at org.wso2.carbon.utils.CarbonUtils.getServerXml(CarbonUtils.java:169)
>>>
>>> at
>>> org.wso2.carbon.utils.CarbonUtils.getServerConfiguration(CarbonUtils.java:465)
>>>
>>> at
>>> org.wso2.carbon.registry.core.utils.RegistryUtils.isRegistryReadOnly(RegistryUtils.java:1053)
>>>
>>> at
>>> org.wso2.carbon.registry.core.session.UserRegistry.importResource(UserRegistry.java:677)
>>>
>>> at
>>> org.wso2.carbon.governance.api.wsdls.WsdlManager.addWsdl(WsdlManager.java:96)
>>>
>>> at SimpleWsdl_Upload.main(SimpleWsdl_Upload.java:37)
>>>
>>> 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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:115)
>>>
>>>
>>>  Once I set “*CarbonHome*” as a system property it worked perfectly,
>>> wsdl was uploaded to Greg with no issues
>>>
>>>
>>>  For your reference, client code is attached here with.
>>>
>>>
>>>
>>> Best Regards,
>>>
>>> Kishan
>>>
>>
>>
>>
>> --
>> *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
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [QA] Use Jmeter heavily in test automation

2011-10-08 Thread Krishantha Samaraweera
On Sat, Oct 8, 2011 at 2:06 PM, Charitha Kankanamge wrote:

> Apache Jmeter is a very useful tool for both functional and performance
> testing. At the moment, we use Jmeter in HB checker app to test console
> level login for all Stratos services as well as Jmeter is used to test
> concurrent login to management console,  webapp uploads etc.
>
> Similarly, Jmeter can be used for trivial functional testing in our
> products/stratos services.
>
> The attached Jmeter test has been written to test AAR services which does
> the following automatically.
>
> 1. Log in to AS management console
> 2. Upload an AAR service
> 3. Assert to check whether the service appears in service list
> 4. Invoke the service by sending both POST and GET requests
> 5. Sign out
>
> Jmeter does all these things very nicely. The beauty of Jmeter is, the same
> test can be converted to a load test by increasing the thread count. The
> possiblity of breaking tests due to UI changes is also minimum.
>
> Krishantha and automation team, please look at the attached test script and
> modify/add to relevant svn location and invoke this automatically through
> test framework. Similarly, we can produce tests for other services too.
>

Great stuff Charitha, We will work on adding this to our automation
framework.

Thanks,
Krishantha.

>
> /Charitha
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Snapshot repo required for automation work

2011-09-12 Thread Krishantha Samaraweera
Hi,

Currently, automation team is using snapshot dependencies for ongoing
automation work. The automation team have build the trunk and using
artifacts at local repo. This approach doesn't scale when we are going to
deliver the work to QA or Devs. And, our initial plan is to maintain maven
based system-test-framework separately from trunk. So we cannot expect
others to build trunk or branch in order to use the framework.So snapshot
maven repo is required for automation work. Since we are going to run the
automation frameworks against each releases, this has to be online repo
associated with current trunk or branch.

Our standard snapshot repo at [1] haven't been updated since Feb 2010.
AFAIK, trunk is unstable now. So is there any way to deploy at least
required artifacts to our repo.

How about maintaning staging snapshot repo for on going dev/automation work?

Your comments and suggestions are welcome.

Thanks,
Krishantha.

[1]http://dist.wso2.org/snapshots/maven2/
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Has the Carbon 3.2.0 P2 repo been updated with 3.2.1 features?

2011-08-02 Thread Krishantha Samaraweera
On Wed, Aug 3, 2011 at 10:34 AM, Pradeep Fernando  wrote:

> Hi,
>
> On Tue, Aug 2, 2011 at 3:49 PM, Supun Malinga  wrote:
> > Hi azeez,
> > Not yet. Will do this by tomorrow.
> > For now you can use, [1]
> > [1]
> http://builder1.us1.wso2.org/~carbon320/releases/carbon/3.2.1/2011-07-14_09-56-52/p2-repo/
>
>
> QA team please do a smoke test for 3.2.0/3.2.1 products using the
> above repo. We are going to host it afterwards.
>

Nirodha will carry out smoke testing on the repo.

Thanks,
Krishantha.

>
> thanks,
> --Pradeep
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Does HTTP/REST work with Registry WS API

2011-06-29 Thread Krishantha Samaraweera
On Thu, Jun 30, 2011 at 7:27 AM, Sumedha Rubasinghe wrote:

>
>
> On Thu, Jun 30, 2011 at 6:59 AM, Samisa Abeysinghe wrote:
>
>> $subject?
>>
>> Can I use only HTTP style calls without SOAP with the same API?
>>
>
> Nope. We haven't enabled REST for the same services exposed by WS API.
> However, SOAP HTTP Bindings should work by default.
>
> When Registry work started, we used to support REST style of invocation for
> all Registry operations. But this aspect hasn't been tested (Krishantha did
> some work) or developed for a long time.
>

As I could remember only basic operations were supported by registry REST
API [1]. There was discussion at Architecture list with the subject "Rejuvenate
REST-API in Registry or Drop it?".

Thanks,
Krishantha

[1]https://wso2.org/wiki/display/registry/Registry+Protocol

>
> /sumedha
>
>> Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Problem with Monitoring WSO2 ESB using JConsole

2011-06-10 Thread Krishantha Samaraweera
Hi Jorge,

Edit jmx.xml at CRBON_HOME/repository/conf/advanced and set your IP as the
host name.

localhost

Thanks,
Krishantha.

On Fri, Jun 10, 2011 at 9:04 PM, Jorge Infante Osorio wrote:

> Hi folks.
>
> I read this interesting article
> http://wso2.org/library/knowledge-base/2011/04/monitoring-wso2-esb-using-jconsole
>
> And I test the  access to a local server successfully, but in a remote
> server I can´t not access yet.
>
>
>
> I uncomment the RMIRegistryPort in carbon.xml in ESB and open the port  in
> the iptables config , I use Centos, and my service url is show in console
> when the server start:
>
>
>
> CarbonServerManager JMX Service URL  : service:jmx:rmi:///jndi/rmi://
> 10.3.10.74:/jmxrmi
>
>
>
> But in the Jconsole I receive this:
>
>
>
>
>
> Any idea?
>
>
>
> Saludos,
>
> Ing. Jorge Infante Osorio.
>
> J´Dpto Soluciones SOA.
>
> CDAE.
>
> Fac. 5.
>
> UCI.
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
<>___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] RC3 Packs - 3.2.0

2011-05-30 Thread Krishantha Samaraweera
Hi Amila,

Can you copy p2-repo as well. BTW in builder machine p2-repo.zip is
148 bytes, please check.

Thanks,
Krishantha.

On Mon, May 30, 2011 at 7:02 PM, Charitha Kankanamge  wrote:
>
> On Mon, May 30, 2011 at 5:49 PM, Amila Maha Arachchi 
> wrote:
>>
>>
>> On Mon, May 30, 2011 at 5:25 PM, Amila Maha Arachchi 
>> wrote:
>>>
>>>
>>> On Mon, May 30, 2011 at 4:24 PM, Amila Maha Arachchi 
>>> wrote:


 On Mon, May 30, 2011 at 3:22 PM, Amila Maha Arachchi 
 wrote:
>
>
> On Mon, May 30, 2011 at 1:45 PM, Amila Maha Arachchi 
> wrote:
>>
>>
>> On Mon, May 30, 2011 at 11:55 AM, Amila Maha Arachchi
>>  wrote:
>>>
>>>
>>> On Mon, May 30, 2011 at 10:59 AM, Amila Maha Arachchi
>>>  wrote:

 Hi,

 I started downloading packs from the EC2 builder to local builder.
 You can find them at [2]. At the moment only AS is downloaded. G-Reg 
 and IS
 are being downloaded. I'll update as the packs are available.

 [2] http://10.100.1.43/~carbon/releases/carbon/3.2.0/rc3/products/

>>>
>>> G-Reg and IS packs are available locally at [2].
>>
>> GS and MS packs are available locally [2].
>
> DSS and BAM packs are available locally at [2]

 ESB and BPS packs are available locally.
>>>
>>> BRS, CEP and MB packs are available locally now.
>>
>> WSF and LB packs are also available locally now (i.e. All the product
>> packs are available locally). Will be downloading services now.
>
> Thank you very much Amila!
> /Charitha
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Context root disappearing in Websphere

2011-05-12 Thread Krishantha Samaraweera
Hi all,

The same issue [1] has been raised sometime back and it has been resolved
without doing a proper fix.

Thanks
Krishantha

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

On Thu, May 12, 2011 at 2:21 PM, Nuwan Bandara  wrote:

> Surprisingly this does not happen in other app servers (Tomcat etc),
> according to pradeep he has seen this when there are relative URLs, But
> there are many places in our UI bundles that we do redirection to relative
> URLs.
>
> Regards,
> /Nuwan
>
>
> On Thu, May 12, 2011 at 2:15 PM, Milinda Pathirage wrote:
>
>> This could be due to recent changes we done to facilitate custom home page
>> URLs. Will look into this.
>>
>> Thanks
>> Milinda
>>
>> On Thu, May 12, 2011 at 1:56 PM, Chamara Ariyarathne 
>> wrote:
>>
>>> Following are the places which Browser redirect with wrong context root
>>> when server deployed in Websphere. I'm sending this for the request made by
>>> Pradeep and Nuwan, and according to the offline chat I had with them, there
>>> will be a similar solution for this.
>>>
>>> *Mashup Server;*
>>> Home button
>>> Upload Module; Modules -> Add Modules -> Upoload
>>> Upload JavaScript services -> Upload
>>> *
>>> Gadget Server;*
>>> Add Gadgets
>>>
>>>
>>> *Chamara Ariyarathne*
>>> Software Engineer - QA;
>>> WSO2 Inc; http://www.wso2.com/.
>>> Mobile; *0772786766*
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Milinda Pathirage
>> Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
>> http://wso2.com
>> Blog: http://blog.mpathirage.com
>>
>> Lean Enterprise Middleware
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Thanks & Regards,
>
> Nuwan Bandara
> Senior Software Engineer
>
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>
> http://nuwan.bandara.co
> *
> 
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Question on Integration Tests

2011-05-03 Thread Krishantha Samaraweera
On Wed, May 4, 2011 at 10:50 AM, Isuru Suriarachchi  wrote:

>
>
> On Wed, May 4, 2011 at 10:33 AM, Hiranya Jayathilaka wrote:
>
>> Hi,
>>
>> In our integration tests, is it possible to make a few modifications to
>> the product installation before it starts up? For an example can I replace
>> the axis2.xml of the ESB before it boots up for the test?
>>
>
> I've done something similar in the AS where all the needed artifacts are
> copied into the server before it starts up. I've written a ASTestTemplate to
> do that. May be you can use the same technique to override the axis2.xml.
>

Yes, I have used same technique to copy keystores and services in to
BPS/Axis2Sever. This can be easily extend to copy axis2.xml in your case.

Thanks,
Krishantha.

>
> Thanks,
> ~Isuru
>
>
>>
>> Thanks
>> --
>> Hiranya Jayathilaka
>> Senior Software Engineer;
>> WSO2 Inc.;  http://wso2.org
>> E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491
>> Blog: http://techfeast-hiranya.blogspot.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Isuru Suriarachchi
> Technical Lead & Product Manager, WSO2 Application Server
> WSO2 Inc. http://wso2.com
> email : is...@wso2.com
> blog : http://isurues.wordpress.com/
>
> lean . enterprise . middleware
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] G-Reg Test Coverage in Automated Test Framework: ~ 50%

2011-03-07 Thread Krishantha Samaraweera
On Mon, Mar 7, 2011 at 1:40 PM, Senaka Fernando  wrote:

>
>
> On Sun, Mar 6, 2011 at 3:28 PM, Thilini Ishaka  wrote:
>
>> Yes Chamara.
>> Attached the latest coverage report.
>> Increased from 5% and now it is 52%.
>>
>
> Nice, let's the get others done as well. I'm sure we can get over 67%
> coverage, once those are done.
>

+1 for maintaining all G-Reg test frameworks under our main Test Automation
framework. We can easily add them to our test framework and improve the code
coverage. But IMHO we need to improve the test coverage though admin
services. The mentioned frameworks have been using by QA for each product
release for years. Theoretically adding them to framework doesn't improve
anything.. We need to improve those framework or write more test to cover
admin services.

Thanks,
Krishantha.


>
> Thilini, by the way, why aren't the bean classes counted? Is that an EMMA
> bug, or do we need to annotate them or something? If those are counted as
> well, the numbers should be even higher.
>
> Thanks,
> Senaka.
>
>>
>> Thanks.
>>
>> --
>> Thilini
>>
>>
>>
>> On Fri, Mar 4, 2011 at 9:45 PM, Chamara Silva  wrote:
>>
>>> Thilini can we have test coverage now?
>>>
>>> Regards,
>>> Chamara
>>>
>>> On Fri, Mar 4, 2011 at 9:40 PM, Krishantha Samaraweera <
>>> krishan...@wso2.com> wrote:
>>>
>>>>
>>>>
>>>> On Wed, Mar 2, 2011 at 1:23 PM, Krishantha Samaraweera <
>>>> krishan...@wso2.com> wrote:
>>>>
>>>>>
>>>>>>
>>>>>> I believe that the reports are correct. But, you need to run the
>>>>>> governance API, WS Client and the JCR Client, Check-in Check-out client 
>>>>>> as
>>>>>> well, which will improve the coverage. I'm not sure why the bean classes
>>>>>> were not covered. Ideally, if you used the service, the bean classes 
>>>>>> would
>>>>>> be used. So, its kind of strange.
>>>>>>
>>>>>>
>>>>> We don't have tests for governance API, excepts the tests in carbon
>>>>> trunk. We will write some tests for governance API as well. I am in the
>>>>> process of integrating ws-api to test framework it will available within a
>>>>> day.  Checkin/out client tests only support on Linux we will add that to 
>>>>> the
>>>>> framework and will be executed only on Linux environments.
>>>>>
>>>>
>>>> G-Reg WS-API test framework has been integrated with test automation
>>>> framework now.
>>>>
>>>> Thanks,
>>>> Krishantha.
>>>>
>>>>>
>>>>> Thanks,
>>>>> Krishantha.
>>>>>
>>>>
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Suminda Chamara Silva
>>> WSO2 Inc.
>>> Mobile: +94 718 302858
>>> blog: http://chamaras.blogspot.com
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Thilini Ishaka
>> email: thil...@wso2.com
>> mobile: +94 718408171
>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-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://www.linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] G-Reg Test Coverage in Automated Test Framework: ~ 50%

2011-03-04 Thread Krishantha Samaraweera
On Wed, Mar 2, 2011 at 1:23 PM, Krishantha Samaraweera
wrote:

>
>>
>> I believe that the reports are correct. But, you need to run the
>> governance API, WS Client and the JCR Client, Check-in Check-out client as
>> well, which will improve the coverage. I'm not sure why the bean classes
>> were not covered. Ideally, if you used the service, the bean classes would
>> be used. So, its kind of strange.
>>
>>
> We don't have tests for governance API, excepts the tests in carbon trunk.
> We will write some tests for governance API as well. I am in the process of
> integrating ws-api to test framework it will available within a day.
> Checkin/out client tests only support on Linux we will add that to the
> framework and will be executed only on Linux environments.
>

G-Reg WS-API test framework has been integrated with test automation
framework now.

Thanks,
Krishantha.

>
> Thanks,
> Krishantha.
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] G-Reg Test Coverage in Automated Test Framework: ~ 50%

2011-03-01 Thread Krishantha Samaraweera
>
>
>
> I believe that the reports are correct. But, you need to run the governance
> API, WS Client and the JCR Client, Check-in Check-out client as well, which
> will improve the coverage. I'm not sure why the bean classes were not
> covered. Ideally, if you used the service, the bean classes would be used.
> So, its kind of strange.
>
>
We don't have tests for governance API, excepts the tests in carbon trunk.
We will write some tests for governance API as well. I am in the process of
integrating ws-api to test framework it will available within a day.
Checkin/out client tests only support on Linux we will add that to the
framework and will be executed only on Linux environments.

Thanks,
Krishantha.
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] [QA Test Framework] Focus on functional coverage across more features instead of covering all possible scenarios related to a particular use case

2011-02-20 Thread Krishantha Samaraweera
On Mon, Feb 21, 2011 at 10:31 AM, Charitha Kankanamge wrote:

> I had an offline chat with Samisa last friday regarding the current test
> coverage. We understood that it is essential to have a horizontal coverage
> across features instead of spending time on automating all possible
> scenarios related to a particular functionality. We can fill the gaps later
> on after we completing all features. Therefore, please focus on covering all
> features first.
>

++ 1,  We will go though all admin services and come up with relevant
command classes with few test cases for each admin service. so the gaps can
be filled later by referring to guiding tests.

Thanks,
Krishantha.

>
> Regards
> Charitha
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Fwd: Greg Test Automation Hackathon

2011-02-15 Thread Krishantha Samaraweera
On Tue, Feb 15, 2011 at 4:20 PM, Samisa Abeysinghe  wrote:

>
>
> On Tue, Feb 15, 2011 at 4:03 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>>
>>
>> On Tue, Feb 15, 2011 at 3:50 PM, Samisa Abeysinghe wrote:
>>
>>> What is the % coverage of functionality now?
>>>
>>>
>> I would say it is 35%.
>>
>
> Guys, we need to finish this. We need to have a roadmap on this. We need to
> hist 80% at least.
>
> I still see only ESB and G-Reg being covered with test framework. We need
> to get past.
>
> Please work on a roadmap ASAP, as we also need to start looking into other
> products. The next in line should be DS and BPS
>

+1, sure will do

Thanks,
Krishantha.

>
>
>>
>> Thanks
>> Krishantha.
>>
>>>
>>> On Tue, Feb 15, 2011 at 1:59 PM, Krishantha Samaraweera <
>>> krishan...@wso2.com> wrote:
>>>
>>>> Hi Samisa,
>>>>
>>>> On Tue, Feb 15, 2011 at 1:17 PM, Samisa Abeysinghe wrote:
>>>>
>>>>> What happened to this Hackathon? What do we have now??
>>>>
>>>>
>>>> We were able to cover the following tasks.
>>>>
>>>> 1. G-Reg meta data management tests including WSDL, Schema, Policies.
>>>> 2. Done with command classes for add service. In the process of
>>>> integrating FE service XML generation logic to automation framework. Have 
>>>> to
>>>> write tests.
>>>> 3. Started resource versioning tests. Not yet finished.
>>>> 4. Done with command classes for content search, have to write tests.
>>>> 4. Used maven site plugin to view integrated test results.
>>>> 5. Fixed remote registry tests and other test failures.
>>>> 6. Fixed framework related issues on windows environment.
>>>>
>>>> Thanks,
>>>> Krishantha.
>>>>
>>>>>
>>>>>
>>>>> On Thu, Feb 10, 2011 at 9:50 AM, Thilini Ishaka wrote:
>>>>>
>>>>>> +1
>>>>>>
>>>>>>
>>>>>> On Thu, Feb 10, 2011 at 6:34 AM, Chamara Silva wrote:
>>>>>>
>>>>>>> Most probably we can double our automation speed if we can have
>>>>>>> contact person in greg development team instead of disturbing to all the
>>>>>>> people.because sometimes we take long times to understand greg code.
>>>>>>>
>>>>>>>  Regards,
>>>>>>> Chamara
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Feb 9, 2011 at 10:49 PM, Krishantha Samaraweera <
>>>>>>> krishan...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> We are still on automating SOA meta data management which is the
>>>>>>>> most highest priority functional area. As per todays progress, we will 
>>>>>>>> not
>>>>>>>> be able to finish with all missing functionalities on Friday. However, 
>>>>>>>> We
>>>>>>>> will try to cover the highest priority functional areas as much as 
>>>>>>>> possible
>>>>>>>> before Friday.
>>>>>>>>
>>>>>>>> We may need another few days from next week to have decent amount of
>>>>>>>> G-Reg test coverage.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Krishantha.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Feb 8, 2011 at 12:37 PM, Krishantha Samaraweera <
>>>>>>>> krishan...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> We have gone though the existing tests and identified following
>>>>>>>>> functional areas which are not covered adequately. We will start work 
>>>>>>>>> on
>>>>>>>>> those areas by given order.
>>>>>>>>>
>>>>>>>>> 1. SOA meta data management - WSDLS, XSDs, Policies, Services and
>>>>>>>>> validation policies.
>>>>>>>>> 2. Content search.
>>>>>>>>> 3. Resource versioning.
>

Re: [Carbon-dev] Fwd: Greg Test Automation Hackathon

2011-02-15 Thread Krishantha Samaraweera
On Tue, Feb 15, 2011 at 3:50 PM, Samisa Abeysinghe  wrote:

> What is the % coverage of functionality now?
>
>
I would say it is 35%.

Thanks
Krishantha.

>
> On Tue, Feb 15, 2011 at 1:59 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi Samisa,
>>
>> On Tue, Feb 15, 2011 at 1:17 PM, Samisa Abeysinghe wrote:
>>
>>> What happened to this Hackathon? What do we have now??
>>
>>
>> We were able to cover the following tasks.
>>
>> 1. G-Reg meta data management tests including WSDL, Schema, Policies.
>> 2. Done with command classes for add service. In the process of
>> integrating FE service XML generation logic to automation framework. Have to
>> write tests.
>> 3. Started resource versioning tests. Not yet finished.
>> 4. Done with command classes for content search, have to write tests.
>> 4. Used maven site plugin to view integrated test results.
>> 5. Fixed remote registry tests and other test failures.
>> 6. Fixed framework related issues on windows environment.
>>
>> Thanks,
>> Krishantha.
>>
>>>
>>>
>>> On Thu, Feb 10, 2011 at 9:50 AM, Thilini Ishaka wrote:
>>>
>>>> +1
>>>>
>>>>
>>>> On Thu, Feb 10, 2011 at 6:34 AM, Chamara Silva wrote:
>>>>
>>>>> Most probably we can double our automation speed if we can have contact
>>>>> person in greg development team instead of disturbing to all the
>>>>> people.because sometimes we take long times to understand greg code.
>>>>>
>>>>>  Regards,
>>>>> Chamara
>>>>>
>>>>>
>>>>> On Wed, Feb 9, 2011 at 10:49 PM, Krishantha Samaraweera <
>>>>> krishan...@wso2.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> We are still on automating SOA meta data management which is the most
>>>>>> highest priority functional area. As per todays progress, we will not be
>>>>>> able to finish with all missing functionalities on Friday. However, We 
>>>>>> will
>>>>>> try to cover the highest priority functional areas as much as possible
>>>>>> before Friday.
>>>>>>
>>>>>> We may need another few days from next week to have decent amount of
>>>>>> G-Reg test coverage.
>>>>>>
>>>>>> Thanks,
>>>>>> Krishantha.
>>>>>>
>>>>>>
>>>>>> On Tue, Feb 8, 2011 at 12:37 PM, Krishantha Samaraweera <
>>>>>> krishan...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> We have gone though the existing tests and identified following
>>>>>>> functional areas which are not covered adequately. We will start work on
>>>>>>> those areas by given order.
>>>>>>>
>>>>>>> 1. SOA meta data management - WSDLS, XSDs, Policies, Services and
>>>>>>> validation policies.
>>>>>>> 2. Content search.
>>>>>>> 3. Resource versioning.
>>>>>>> 4. Custom Queries.
>>>>>>> 5. Registry handers.
>>>>>>> 6. Life cycles - promote, demote
>>>>>>> 7. Eventing and Notification.
>>>>>>> 8. Registry mounting.
>>>>>>> 9. Authentication and authorization on resources.
>>>>>>> 10. C-App deployment.
>>>>>>> 11. Tag/Comment/Rating
>>>>>>> 12. Symlinks
>>>>>>> 13. More test for dependencies
>>>>>>> 14. Activity search.
>>>>>>>
>>>>>>> Please let us know, if there are any other high priority functional
>>>>>>> areas that we need look at first.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Krishantha.
>>>>>>>
>>>>>>> On Tue, Feb 8, 2011 at 11:43 AM, Chamara Silva wrote:
>>>>>>>
>>>>>>>> Forwarded.
>>>>>>>> /chamara
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- Forwarded message --
>>>>>>>> From: Chamara Silva 
>>>>>>>> Date: Tue, Feb 8, 2011 at 11:41 AM
>>>

Re: [Carbon-dev] Fwd: Greg Test Automation Hackathon

2011-02-15 Thread Krishantha Samaraweera
Hi Samisa,

On Tue, Feb 15, 2011 at 1:17 PM, Samisa Abeysinghe  wrote:

> What happened to this Hackathon? What do we have now??


We were able to cover the following tasks.

1. G-Reg meta data management tests including WSDL, Schema, Policies.
2. Done with command classes for add service. In the process of integrating
FE service XML generation logic to automation framework. Have to write
tests.
3. Started resource versioning tests. Not yet finished.
4. Done with command classes for content search, have to write tests.
4. Used maven site plugin to view integrated test results.
5. Fixed remote registry tests and other test failures.
6. Fixed framework related issues on windows environment.

Thanks,
Krishantha.

>
>
> On Thu, Feb 10, 2011 at 9:50 AM, Thilini Ishaka  wrote:
>
>> +1
>>
>>
>> On Thu, Feb 10, 2011 at 6:34 AM, Chamara Silva  wrote:
>>
>>> Most probably we can double our automation speed if we can have contact
>>> person in greg development team instead of disturbing to all the
>>> people.because sometimes we take long times to understand greg code.
>>>
>>>  Regards,
>>> Chamara
>>>
>>>
>>> On Wed, Feb 9, 2011 at 10:49 PM, Krishantha Samaraweera <
>>> krishan...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> We are still on automating SOA meta data management which is the most
>>>> highest priority functional area. As per todays progress, we will not be
>>>> able to finish with all missing functionalities on Friday. However, We will
>>>> try to cover the highest priority functional areas as much as possible
>>>> before Friday.
>>>>
>>>> We may need another few days from next week to have decent amount of
>>>> G-Reg test coverage.
>>>>
>>>> Thanks,
>>>> Krishantha.
>>>>
>>>>
>>>> On Tue, Feb 8, 2011 at 12:37 PM, Krishantha Samaraweera <
>>>> krishan...@wso2.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> We have gone though the existing tests and identified following
>>>>> functional areas which are not covered adequately. We will start work on
>>>>> those areas by given order.
>>>>>
>>>>> 1. SOA meta data management - WSDLS, XSDs, Policies, Services and
>>>>> validation policies.
>>>>> 2. Content search.
>>>>> 3. Resource versioning.
>>>>> 4. Custom Queries.
>>>>> 5. Registry handers.
>>>>> 6. Life cycles - promote, demote
>>>>> 7. Eventing and Notification.
>>>>> 8. Registry mounting.
>>>>> 9. Authentication and authorization on resources.
>>>>> 10. C-App deployment.
>>>>> 11. Tag/Comment/Rating
>>>>> 12. Symlinks
>>>>> 13. More test for dependencies
>>>>> 14. Activity search.
>>>>>
>>>>> Please let us know, if there are any other high priority functional
>>>>> areas that we need look at first.
>>>>>
>>>>> Thanks,
>>>>> Krishantha.
>>>>>
>>>>> On Tue, Feb 8, 2011 at 11:43 AM, Chamara Silva wrote:
>>>>>
>>>>>> Forwarded.
>>>>>> /chamara
>>>>>>
>>>>>>
>>>>>>
>>>>>> -- Forwarded message --
>>>>>> From: Chamara Silva 
>>>>>> Date: Tue, Feb 8, 2011 at 11:41 AM
>>>>>> Subject: Greg Test Automation Hackathon
>>>>>> To: strategy-group 
>>>>>>
>>>>>>
>>>>>> Following are the task we need to do in Greg automation hackathon.
>>>>>>
>>>>>> 1. Need to update QA repository with latest dependency jars.
>>>>>> 2. Add latest admin service test cases.
>>>>>> 3. Functionality test cases automation - Krishantha will reply what
>>>>>> are the functionalities need to automate.
>>>>>>
>>>>>> Thank you,
>>>>>> Chamara
>>>>>>
>>>>>> --
>>>>>> Suminda Chamara Silva
>>>>>> WSO2 Inc.
>>>>>> Mobile: <+94718302858>+94 718 302858 <+94718302858>
>>>>>> blog: http://chamaras.blogspot.com
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Suminda Chamara Silv

Re: [Carbon-dev] G-Reg checkin/out client automation

2011-02-03 Thread Krishantha Samaraweera
Hi Samisa,

On Thu, Feb 3, 2011 at 9:02 AM, Samisa Abeysinghe  wrote:

> Um, it has to work across platforms. Can we not use something like
> ant/maven for this rather than a script?


Yes, I thought of using ant initially. But even with ant I cannot write
platform independent script. Please refer the ant script [1] which I used to
test G-Reg with different DBs options. Even in this script I had to check
the OS before executing certain system calls. I selected Perl since I was
able to reuse XML processing model written by C team. And, perl library
functions provide all most all features I require. My plan was to write the
script for Linux and extend it to support windows later.

To be frank, I am not familiar much with maven. And my initial impression on
maven was based on our build scripts, which we use ant scripts inside maven
to make the build. So I under the impression that maven can not do much
things when it comes to automating command line tool.

Thanks,
Krishantha

[1]
https://wso2.org/repos/wso2/trunk/commons/qa/db-configuration-scripts/build.xml



>
>
> On Thu, Feb 3, 2011 at 7:58 AM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi Sumedha,
>>
>> On 2/3/11, Sumedha Rubasinghe  wrote:
>> > Hi Kris,
>> > This is excellent work. I tried checking out, but it failed giving
>> following
>> > error.
>> >
>> > "svn: URL '
>> >
>> https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script/src/main/resources/governance/services/http/www/webserviceX
>> '
>> > of existing directory
>> >
>> 'checkin-checkout-script/src/main/resources/governance/services/http/www/webservicex'
>> > does not match expected URL '
>> >
>> https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script/src/main/resources/governance/services/http/www/webservicex
>> > '
>> > "
>>
>> Thanks for your inputs, I think you are on Mac or Windows. Linux users
>> will not find this problem. Here is the reason.
>>
>> When you have two directories like
>> /src/main/resources/governance/services/http/www/webservicex
>> and
>> /src/main/resources/governance/services/http/www/webserviceX
>>
>> on Linux, they are different directories. So you import like this to
>> subversion without any issues.
>>
>> But when you try to checkout on Windows/Mac, since these are same
>> directories on the environment, you get that error message.
>>
>> I will fix this checkout problem and update you.
>>
>> Thanks,
>> Krishantha.
>>
>> >
>> > Anyway, talk with Damitha & make the result output file format
>> compatible
>> > with what our performance testing framework can read in.  That way, we
>> can
>> > directly use the output from this to generate statistics using
>> performance
>> > testing framework.
>> >
>> > /sumedha
>> >
>> > On Thu, Feb 3, 2011 at 1:58 AM, Krishantha Samaraweera
>> > wrote:
>> >
>> >> Hi all,
>> >>
>> >> I have improved the perl script which I have been using to test G-Reg
>> >> checkin/out client as a test framework. Currently, the framework has
>> >> around 36 test cases and covers 80% of the checkin/out
>> >> functionalities, including some customer scenarios. I will be able to
>> >> add more tests once G-Reg team finish with redesigning REST-API in
>> >> Registry. And, also I wil check the possibility of using remote
>> >> registry APIs to cater some registry operation requirements for
>> >> pending functinalities.
>> >>
>> >> Hopefully, this framework will save at least five hours of testing
>> effort.
>> >>
>> >> Source code and the the framework distribution can be found at [1] and
>> >> [2]. Instructions to run the framework is available in the README of
>> >> given distribution. the framework runs based on the parameters given
>> >> in greg_test.xml file, To add more test, you may have to write a Perl
>> >> subroutine and customized the tests defined.
>> >>
>> >> A sample result file is also attached.
>> >>
>> >> Todo:
>> >> ===
>> >> 1. Write a windows version (if required)
>> >> 2. Resource meta data checkin/out.
>> >> 3. cyclic symlink handling.
>> >> 4. checkin/out based on resource permission levels.
>> >> 5. Add more test to cover service meta data checkin/out
>> >> 

Re: [Carbon-dev] G-Reg checkin/out client automation

2011-02-02 Thread Krishantha Samaraweera
>
> I will fix this checkout problem and update you.
>

Fixed now, Please check.

Thanks,
Krishantha.


> Thanks,
> Krishantha.
>
> >
> > Anyway, talk with Damitha & make the result output file format compatible
> > with what our performance testing framework can read in.  That way, we
> can
> > directly use the output from this to generate statistics using
> performance
> > testing framework.
> >
> > /sumedha
> >
> > On Thu, Feb 3, 2011 at 1:58 AM, Krishantha Samaraweera
> > wrote:
> >
> >> Hi all,
> >>
> >> I have improved the perl script which I have been using to test G-Reg
> >> checkin/out client as a test framework. Currently, the framework has
> >> around 36 test cases and covers 80% of the checkin/out
> >> functionalities, including some customer scenarios. I will be able to
> >> add more tests once G-Reg team finish with redesigning REST-API in
> >> Registry. And, also I wil check the possibility of using remote
> >> registry APIs to cater some registry operation requirements for
> >> pending functinalities.
> >>
> >> Hopefully, this framework will save at least five hours of testing
> effort.
> >>
> >> Source code and the the framework distribution can be found at [1] and
> >> [2]. Instructions to run the framework is available in the README of
> >> given distribution. the framework runs based on the parameters given
> >> in greg_test.xml file, To add more test, you may have to write a Perl
> >> subroutine and customized the tests defined.
> >>
> >> A sample result file is also attached.
> >>
> >> Todo:
> >> ===
> >> 1. Write a windows version (if required)
> >> 2. Resource meta data checkin/out.
> >> 3. cyclic symlink handling.
> >> 4. checkin/out based on resource permission levels.
> >> 5. Add more test to cover service meta data checkin/out
> >> 6. Checkin/out between different instances.
> >>
> >> I look forward to your feedbacks for improvements.
> >>
> >> Thanks,
> >> Krishantha.
> >>
> >> [1]
> >>
> https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script
> >> [2]
> >>
> http://ww2.wso2.org/~qa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.zip<http://ww2.wso2.org/%7Eqa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.zip>
> <
> http://ww2.wso2.org/%7Eqa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.zip
> >
> >>
> >> ___
> >> Carbon-dev mailing list
> >> Carbon-dev@wso2.org
> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >>
> >>
> >
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] G-Reg checkin/out client automation

2011-02-02 Thread Krishantha Samaraweera
Hi Sumedha,

On 2/3/11, Sumedha Rubasinghe  wrote:
> Hi Kris,
> This is excellent work. I tried checking out, but it failed giving following
> error.
>
> "svn: URL '
> https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script/src/main/resources/governance/services/http/www/webserviceX'
> of existing directory
> 'checkin-checkout-script/src/main/resources/governance/services/http/www/webservicex'
> does not match expected URL '
> https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script/src/main/resources/governance/services/http/www/webservicex
> '
> "

Thanks for your inputs, I think you are on Mac or Windows. Linux users
will not find this problem. Here is the reason.

When you have two directories like
/src/main/resources/governance/services/http/www/webservicex
and
/src/main/resources/governance/services/http/www/webserviceX

on Linux, they are different directories. So you import like this to
subversion without any issues.

But when you try to checkout on Windows/Mac, since these are same
directories on the environment, you get that error message.

I will fix this checkout problem and update you.

Thanks,
Krishantha.

>
> Anyway, talk with Damitha & make the result output file format compatible
> with what our performance testing framework can read in.  That way, we can
> directly use the output from this to generate statistics using performance
> testing framework.
>
> /sumedha
>
> On Thu, Feb 3, 2011 at 1:58 AM, Krishantha Samaraweera
> wrote:
>
>> Hi all,
>>
>> I have improved the perl script which I have been using to test G-Reg
>> checkin/out client as a test framework. Currently, the framework has
>> around 36 test cases and covers 80% of the checkin/out
>> functionalities, including some customer scenarios. I will be able to
>> add more tests once G-Reg team finish with redesigning REST-API in
>> Registry. And, also I wil check the possibility of using remote
>> registry APIs to cater some registry operation requirements for
>> pending functinalities.
>>
>> Hopefully, this framework will save at least five hours of testing effort.
>>
>> Source code and the the framework distribution can be found at [1] and
>> [2]. Instructions to run the framework is available in the README of
>> given distribution. the framework runs based on the parameters given
>> in greg_test.xml file, To add more test, you may have to write a Perl
>> subroutine and customized the tests defined.
>>
>> A sample result file is also attached.
>>
>> Todo:
>> ===
>> 1. Write a windows version (if required)
>> 2. Resource meta data checkin/out.
>> 3. cyclic symlink handling.
>> 4. checkin/out based on resource permission levels.
>> 5. Add more test to cover service meta data checkin/out
>> 6. Checkin/out between different instances.
>>
>> I look forward to your feedbacks for improvements.
>>
>> Thanks,
>> Krishantha.
>>
>> [1]
>> https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script
>> [2]
>> http://ww2.wso2.org/~qa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.zip<http://ww2.wso2.org/%7Eqa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.zip>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] G-Reg checkin/out client automation

2011-02-02 Thread Krishantha Samaraweera
Hi all,

I have improved the perl script which I have been using to test G-Reg
checkin/out client as a test framework. Currently, the framework has
around 36 test cases and covers 80% of the checkin/out
functionalities, including some customer scenarios. I will be able to
add more tests once G-Reg team finish with redesigning REST-API in
Registry. And, also I wil check the possibility of using remote
registry APIs to cater some registry operation requirements for
pending functinalities.

Hopefully, this framework will save at least five hours of testing effort.

Source code and the the framework distribution can be found at [1] and
[2]. Instructions to run the framework is available in the README of
given distribution. the framework runs based on the parameters given
in greg_test.xml file, To add more test, you may have to write a Perl
subroutine and customized the tests defined.

A sample result file is also attached.

Todo:
===
1. Write a windows version (if required)
2. Resource meta data checkin/out.
3. cyclic symlink handling.
4. checkin/out based on resource permission levels.
5. Add more test to cover service meta data checkin/out
6. Checkin/out between different instances.

I look forward to your feedbacks for improvements.

Thanks,
Krishantha.

[1]https://wso2.org/repos/wso2/trunk/commons/qa/registry/checkin-checkout-script
[2]http://ww2.wso2.org/~qa/test_framework_builds/registry/wso2carbon-checkin-checkout-1.0.zip
Total test cases:  36 
Successful test cases:  36 
Failed test cases:  0 
Presenatage of failure cases: 0 %

Passed Test Cases 
=== 
test1 -- chekout registry root
test2 -- update registry root
test3 -- checkin to registry root
test4 -- chekout a registry collection
test5 -- chekout registry root to a dump file
test6 -- chekout registry collection to a dump file
test7 -- checkin dump file to registry root - depends on test5
test8 -- checkin dump file to registry collection - depends on test6
test9 -- update registry collection - depends on test4
test10 -- checkin new file to registry root
test11 -- checkout updates to registry root- depends on test10
test12 -- update a file and checkin to registry root - depends on test11
test13 -- checkout updated content of root - depends on test12
test14 -- checkin file with colon to registry root
test15 -- checkout resources with colon in name- depends on test14
test16 -- checkin file names with spaces to registry root
test17 -- checkout file with spaces- depends on test16
test18 -- checkin files to a collection - depends on test17
test19 -- checkin after file deletion - depends on test18
test20 -- checkout after file deletion - depends on test19
test21 -- checkin collection
test22 -- checkout collection - depends on test21
test23 -- checkin collection after updating- depends on test22
test24 -- checkout collection after updating- depends on test23
test25 -- checkin collection after deleting - depends on test24
test26 -- checkout collection after deleting - depends on test25
test27 -- checkin WSDLS, Schemas, Endpoints, Policies, Services
test28 -- checkout WSDLS, Schemas, Endpoints, Policies, Services
test29 -- checkin a collection with symlinks
test30 -- checkout a collection with symlinks
test31 -- checkout registry root with incorrect user credentials
test32 -- checkout from invalid resource path
test33 -- checkin to registry root with invalid user credentials
test34 -- Update registry root with invalid user credentials
test35 -- checkout with conflicting resources
test36 -- update with conflicting resources - depends test35
 
Failed Test Cases 
=== 
 
cat: filename-fail.out: No such file or directory
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Invitation: Group B : Code review (Registry Search Service) @ Thu Feb 3 2pm - 3pm (carbon-dev@wso2.org)

2011-02-02 Thread Krishantha Samaraweera
Hi Lahiru, You missed my name, I am also in Group B.

-Krishantha.

On Wed, Feb 2, 2011 at 12:59 PM, Lahiru Gunathilake  wrote:

> more details 
> »
> Group B : Code review (Registry Search Service)
> Code review will conduct for Registry Search Service. I will create a
> curcible project by the time we start the code review.
> *When*
> Thu Feb 3 2pm – 3pm Colombo
> *Where*
> 4th floor (map )
> *Calendar*
> carbon-dev@wso2.org
> *Who*
> •
> Lahiru Gunathilake - organizer
> •
> Milinda Pathirage
> •
> Ajith Vitharana
> •
> Chamara Silva
> •
> Nuwan Bandara
> •
> carbon-dev@wso2.org
> •
> Heshan Suriyaarachchi
> •
> Manjula Rathnayake
> •
> Sarasi Munasinghe
> •
> Chamara Ariyarathne
> •
> Ruwan Linton
> •
> Sumedha Rubasinghe
> •
> Nandika Jayawardana
>
> Going?   
> *Yes-
> Maybe-
> No
> *more options 
> »
>
> Invitation from Google Calendar 
>
> You are receiving this courtesy email at the account 
> carbon-dev@wso2.orgbecause you are an attendee of this event.
>
> To stop receiving future notifications for this event, decline this event.
> Alternatively you can sign up for a Google account at
> https://www.google.com/calendar/ and control your notification settings
> for your entire calendar.
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Packs available [was Fwd: "WSO2 Carbon Continuous Build was SUCCESSFUL"

2011-02-01 Thread Krishantha Samaraweera
Hi Senaka/Janaka,

Is there any possibility of getting a new G-Reg build. We hit with few
blocking issues related to G-Reg main functionalities and AFAIK those
are fixed now. So it would be great if we can have a new build to
proceed with testing.

Thanks,
Krishantha.

On Thu, Jan 27, 2011 at 1:18 PM, Samisa Abeysinghe  wrote:
> Finally, we have the packs from trunk
> available: http://10.100.1.43/~carbon/releases/carbon/3.1.0/latest/
>
> -- Forwarded message --
> From: WSO2 Builder 
> Date: Thu, Jan 27, 2011 at 12:21 PM
> Subject: [Carbon-dev] "WSO2 Carbon Continuous Build was SUCCESSFUL"
> To: carbon-dev@wso2.org
>
>
> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
> System is offline.
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>    mvn install:install-file -DgroupId=org.wso2.esb
> -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
> -Dpackaging=zip -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
>    mvn deploy:deploy-file -DgroupId=org.wso2.esb
> -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>
>  org.wso2.esb:org.wso2.esb.styles.feature:zip:3.2.0-SNAPSHOT
>
>
>
>        at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:203)
>        at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
>        at
> org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
>        ... 21 more
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] ERROR
>
> System is offline.
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
>    mvn install:install-file -DgroupId=org.wso2.esb
> -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
> -Dpackaging=zip -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
>    mvn deploy:deploy-file -DgroupId=org.wso2.esb
> -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>
>  org.wso2.esb:org.wso2.esb.styles.feature:zip:3.2.0-SNAPSHOT
>
>
>
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: 10 seconds
> [INFO] Finished at: Thu Jan 27 12:21:56 IST 2011
> [INFO] Final Memory: 21M/981M
> [INFO]
> 
> cp: cannot stat `target/p2-repo': No such file or directory
> 2011-01-27_12-21-35
> Carbon  packs are available at :
> http://10.100.1.43/~carbon/releases/carbon/3.1.0/latest/
> tail -n50 $STRATOS_SRC_HOME/build.log
> ___
> Carbon-dev mailing list
> carbon-...@lists.wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
> ___
> Carbon-dev mailing list
> carbon-...@lists.wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Packs available [was Fwd: "WSO2 Carbon Continuous Build was SUCCESSFUL"

2011-01-28 Thread Krishantha Samaraweera
Hi,

Please fix the following issues at G-Reg server startup.

1. Exception in thread "Thread-8" java.lang.NullPointerException
at 
org.wso2.carbon.registry.indexing.IndexingManager.run(IndexingManager.java:151)
at java.lang.Thread.run(Thread.java:619)

2. [2011-01-28 13:51:40,532] ERROR
{org.wso2.carbon.utils.deployment.Axis2ServiceRegistry} -  Error
building service from bundle : Symbolic Name:
org.wso2.carbon.event.broker,Bundle Version: 3.2.0.SNAPSHOT, ID: 120
org.apache.axis2.AxisFault: Two services cannot have same name.  A
service with the BrokerSecurityManager [null] name already exists in
the system

For more details, please refer to [1]

Thanks,
Krishantha

[1]http://pastebin.com/eJ6dQxe3

On Thu, Jan 27, 2011 at 1:18 PM, Samisa Abeysinghe  wrote:
> Finally, we have the packs from trunk
> available: http://10.100.1.43/~carbon/releases/carbon/3.1.0/latest/
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Packs available [was Fwd: "WSO2 Carbon Continuous Build was SUCCESSFUL"

2011-01-28 Thread Krishantha Samaraweera
Hi G-Reg Team,

Please fix the G-Reg version as well.

Thanks,
Krishantha.

On Thu, Jan 27, 2011 at 1:41 PM, Charitha Kankanamge  wrote:
> AS folks,
>
> Appserver version of these packs are wso2appserver-4.0.0-SNAPSHOT which we
> have already released during 3.1.0 chunk1 release. What will be the correct
> version?
>
> Regards
> Charitha
>
>
> On Thu, Jan 27, 2011 at 1:18 PM, Samisa Abeysinghe  wrote:
>>
>> Finally, we have the packs from trunk
>> available: http://10.100.1.43/~carbon/releases/carbon/3.1.0/latest/
>>
>> -- Forwarded message --
>> From: WSO2 Builder 
>> Date: Thu, Jan 27, 2011 at 12:21 PM
>> Subject: [Carbon-dev] "WSO2 Carbon Continuous Build was SUCCESSFUL"
>> To: carbon-dev@wso2.org
>>
>>
>> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
>> System is offline.
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>>    mvn install:install-file -DgroupId=org.wso2.esb
>> -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
>> -Dpackaging=zip -Dfile=/path/to/file
>>
>> Alternatively, if you host your own repository you can deploy the file
>> there:
>>    mvn deploy:deploy-file -DgroupId=org.wso2.esb
>> -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
>> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>
>>
>>  org.wso2.esb:org.wso2.esb.styles.feature:zip:3.2.0-SNAPSHOT
>>
>>
>>
>>        at
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:203)
>>        at
>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
>>        at
>> org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
>>        ... 21 more
>> [INFO]
>> 
>> [ERROR] BUILD ERROR
>> [INFO]
>> 
>> [INFO] ERROR
>>
>> System is offline.
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>>    mvn install:install-file -DgroupId=org.wso2.esb
>> -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
>> -Dpackaging=zip -Dfile=/path/to/file
>>
>> Alternatively, if you host your own repository you can deploy the file
>> there:
>>    mvn deploy:deploy-file -DgroupId=org.wso2.esb
>> -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
>> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>
>>
>>  org.wso2.esb:org.wso2.esb.styles.feature:zip:3.2.0-SNAPSHOT
>>
>>
>>
>> [INFO]
>> 
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> 
>> [INFO] Total time: 10 seconds
>> [INFO] Finished at: Thu Jan 27 12:21:56 IST 2011
>> [INFO] Final Memory: 21M/981M
>> [INFO]
>> 
>> cp: cannot stat `target/p2-repo': No such file or directory
>> 2011-01-27_12-21-35
>> Carbon  packs are available at :
>> http://10.100.1.43/~carbon/releases/carbon/3.1.0/latest/
>> tail -n50 $STRATOS_SRC_HOME/build.log
>> ___
>> Carbon-dev mailing list
>> carbon-...@lists.wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>> Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>
>>
>> ___
>> Carbon-dev mailing list
>> carbon-...@lists.wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
> ___
> Carbon-dev mailing list
> carbon-...@lists.wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Registry Checkin client.. Is the name correct..?

2010-12-21 Thread Krishantha Samaraweera
On Wed, Dec 22, 2010 at 7:50 AM, Samisa Abeysinghe  wrote:

>
>
> On Wed, Dec 22, 2010 at 1:12 AM, Senaka Fernando  wrote:
>
>> Well, the proposed name sounds good. But, I have one concern. Would people
>> imagine that this tool could do anything on the registry (or think of it as
>> another client)?
>>
>
> One day, why not have one client on cammed line that can be used to do all
> ops on reg? Why are we restricting it to ci/co?
>
> And also, do we support ci/co shorthand?
>

Yes

Thanks,
Krishantha.

>
> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Adding an ESB with a webcontext as a monitored server fails in BAM 1.2.0

2010-12-09 Thread Krishantha Samaraweera
Hi Prabath,

What is the BAM build you are using? .In BAM-b008 build you have to create
h2 data source manually. But h2 data source is available by default from
BAM-b009 build.

Thanks,
Krishantha.

On Fri, Dec 10, 2010 at 9:42 AM, Prabath Siriwardana wrote:

> Both ESB and BAM running on different contexts..
>
> Error :
>
> Nested Exception:-
> javax.xml.stream.XMLStreamException: DS Fault Message: Error in
> opening DBMS connection.
> Source Data Service:-
> Name: BAMConfigurationDS
> Location:
> /Users/prabath/clients//wso2bam-1.2.0/repository/deployment/server/dataservices/BAMConfigurationDS.dbs
> Description: N/A
> Default Namespace: http://ws.wso2.org/dataservice
> Current Request Name: getServerFromURLAndTenantID
> Current Params: {tenantID=0, serverURL=https://192.168.2.1:9445/esb}
> Nested Exception:-
> java.sql.SQLException: The data source is nonexistent
>
>
>at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:508)
>at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
>at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
>at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>at
> org.wso2.carbon.bam.core.client.stub.bamconfigurationds.BAMConfigurationDSStub.getServerFromURLAndTenantID(BAMConfigurationDSStub.java:4833)
>at
> org.wso2.carbon.bam.core.client.BAMConfigurationDSClient.getServer(BAMConfigurationDSClient.java:106)
>... 34 more
> [2010-12-10 09:36:53,604] ERROR -  Error while adding the new
> monitored server entry
> org.apache.axis2.AxisFault: getServerFromURL failed for URL:
> https://192.168.2.1:9445/esb
>at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:508)
>at
> org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.java:91)
>at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
>at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>at
> org.wso2.carbon.bam.mgt.ui.stub.bamconfig.BAMConfigAdminServiceStub.addServer(BAMConfigAdminServiceStub.java:822)
>at
> org.wso2.carbon.bam.mgt.ui.client.BAMConfigAdminServiceClient.addServer(BAMConfigAdminServiceClient.java:46)
>at
> org.apache.jsp.bam.add_005fserver_jsp._jspService(add_005fserver_jsp.java:217)
>at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
>at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:117)
>at
> org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:64)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
>at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
>at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>at
> org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:154)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
>at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594)
>at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
>at
> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
>at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:265)
>at
> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.jav

Re: [Carbon-dev] Latest BAM test build

2010-12-09 Thread Krishantha Samaraweera
On Thu, Dec 9, 2010 at 8:06 PM, Sumedha Rubasinghe  wrote:

>
>
> On Thu, Dec 9, 2010 at 7:47 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi,
>>
>> On Thu, Dec 9, 2010 at 4:55 PM, Ajith Vitharana  wrote:
>>
>>>
>>> Hi all
>>>
>>> Find the latest BAM here [b009].
>>>
>>> [b009]
>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.1/bam/1.2.0-b009/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.1/bam/1.2.0-b009/>
>>>
>>
>> I'm getting error [1] at BAM server startup when enable H2 server multiple
>> connections in carbon.xml. My H2DatabaseConfiguration is as follows. This
>> connection setting was working fine with older builds. After getting this
>> error, I cannot login to admin console. Am I missing something here ?
>>
>> 
>> 
>> 8082
>> 
>> 
>>
>
> Hi  Krishantha,
>
>  
> 
>  8082
>  
>  
> 
>
> I am sure your having the above & not what you have pasted.
> Get rid of last property ()
>


Removing .h2.keystore and .h2.server.properties from file system did the
trick.

Thanks,
Krishantha.



>
> /sumedha
>
>
>
>> Thanks,
>> Krishantha
>>
>> [1]http://pastebin.com/6Xm7dhgh
>>
>>
>>> Thanks
>>> ajithn
>>>
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Latest BAM test build

2010-12-09 Thread Krishantha Samaraweera
Hi,

On Thu, Dec 9, 2010 at 4:55 PM, Ajith Vitharana  wrote:

>
> Hi all
>
> Find the latest BAM here [b009].
>
> [b009]
> http://builder.wso2.org/~carbon/releases/carbon/3.0.1/bam/1.2.0-b009/
>

I'm getting error [1] at BAM server startup when enable H2 server multiple
connections in carbon.xml. My H2DatabaseConfiguration is as follows. This
connection setting was working fine with older builds. After getting this
error, I cannot login to admin console. Am I missing something here ?



8082



Thanks,
Krishantha

[1]http://pastebin.com/6Xm7dhgh


> Thanks
> ajithn
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Latest BAM test build

2010-12-02 Thread Krishantha Samaraweera
On Fri, Dec 3, 2010 at 4:48 AM, Samisa Abeysinghe  wrote:

> http://builder.wso2.org/~carbon/releases/carbon/3.0.1/bam/1.2.0-b005/


I don't see any activity details though Activity filter gadget.. But message
are stored to BAM DB.

Thanks,
Krishantha.

>
> Please
> verify the docs as well.
>
>
> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Latest BAM test build

2010-12-02 Thread Krishantha Samaraweera
On Thu, Dec 2, 2010 at 4:27 PM, Samisa Abeysinghe  wrote:

>
>
> On Thu, Dec 2, 2010 at 12:43 PM, Yumani Ranaweera  wrote:
>
>> Ratha,
>>
>> Could you please check this issue[1]. Its a blocker on BAM activity
>> monitoring using handlers. (NOTE: BAM DB was on oracle)
>>
>> [1] -https://wso2.org/jira/browse/BAM-363
>
>
> What other issues are there in today's pack?
>

Samisa, I didn't get much time to test today's pack. I was helping Ratha to
reproduce and fix early issues. So didn't have for another round of test.

Thanks,
Krishantha.

> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Latest BAM test build

2010-12-01 Thread Krishantha Samaraweera
I cannot use this build to test Activity filter. Hit with the following
issue. So I'm waiting for the next build :D

[2010-12-01 15:31:43,062] ERROR -  Servlet.service() for servlet
bridgeservlet threw exception
{org.apache.catalina.core.ContainerBase.[carbonEngine].[carbonhost].[/].[bridgeservlet]}
org.apache.axis2.databinding.ADBException: Unexpected subelement messageId
at
org.wso2.carbon.bam.gauges.ui.stub.bsqd.types.carbon.MessageId$Factory.parse(MessageId.java:994)
at
org.wso2.carbon.bam.gauges.ui.stub.bsqd.types.carbon.MessageIdList$Factory.parse(MessageIdList.java:490)
at
org.wso2.carbon.bam.gauges.ui.stub.bsqd.types.carbon.MessageIdListE$Factory.parse(MessageIdListE.java:321)
at
org.wso2.carbon.bam.gauges.ui.stub.bsqd.BAMStatQueryDSStub.fromOM(BAMStatQueryDSStub.java:34716)
at
org.wso2.carbon.bam.gauges.ui.stub.bsqd.BAMStatQueryDSStub.getMessagesForStatus(BAMStatQueryDSStub.java:23269)
at
org.wso2.carbon.bam.gauges.ui.BAMStatQueryDSClient.getMessagesForStatus(BAMStatQueryDSClient.java:1197)
at
org.wso2.carbon.bam.gauges.ui.BAMDataServiceDataProcessor.getMessagesForStatus(BAMDataServiceDataProcessor.java:941)

Thanks,
Krishantha.

On Wed, Dec 1, 2010 at 8:41 AM, Samisa Abeysinghe  wrote:

> http://builder.wso2.org/~carbon/releases/carbon/3.0.1/bam/1.2.0-b001/
>
> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] wso2greg 3.5.0 webapps folder is empty

2010-11-11 Thread Krishantha Samaraweera
Hi Roberto,

Don't worry about empty webapps/ROOT/WEB-INF/plugin. We pick up all bundle
jars from /repository/components/plugins directory which we have to refer
when making the web app repo. Deployment guide on ESB + Jboss is available
at [1]. you can follow the same guide for G-Reg, since we follow same
distribution directory structure for all products.

Guide on G-Reg 3.0.0 + Jboss [2] will also be helpful.

Thanks,
Krishantha.

[1]
http://wso2.org/library/knowledge-base/2010/03/deploying-wso2esb300-jboss510ga
[2]
http://wso2.org/library/knowledge-base/wso2-governance-registry-3-0-1-deployment-jboss-5-1-0-ga-oracle-10g


2010/11/10 Roberto Mier Escandón 

> Hi everybody
>
> I'm trying to deploy wso2greg 3.5.0 in a jboss application server, but i
> see webapps/ROOT/WEB-INF subfolders are almost empty. "classes", "patches"
> and "plugins" are completly empty and "lib" has a few jar libraries.
> This way i cannot deploy the governance registry, because it isn't there.
> I've also tried to compile from sources but I'm not able to fill WEB-INF
> subfolders with distribution plugins
>
> I'm lost. I need a way to fill webapps/ROOT/WEB-INF/plugins with the
> distribution plugins by a maven command or any other valid way. Does anybody
> know how to do it?
>
> Thank you.
>
> --
>
> Roberto Mier Escandón.
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] How to synchronize SimpleURLRegistry with governance registry?

2010-09-29 Thread Krishantha Samaraweera
Hi,

You have two options, either you can use G-REG Eclipse plugin which directly
support uploading a file system directory into G-REG or write a simple
remote registry client using RegistryClientUtils.importToRegistry()
function. Please refer to registry filesampleutils sample for more details.

Webdav mounting support is already implement in the trunk. Refer to mail
thread with the subject "Webdav mounting in G-Reg" at carbon-dev. You can
try out our nightly build and check this functionality.

Thanks,
Krishantha.

On Wed, Sep 29, 2010 at 12:45 PM, Hodchenkov, Paul <
paul.hodchen...@oxagile.com> wrote:
>
> Hi!
>
> I keep my synapse configuration (sequences, endpoints, etc) in folder. I
have configured ESBRegistry in synapse.xml to read entries from this folder.
This simplifies the development process. But at production environment I
need to upload this folder structure to governance registry db. Is there way
to upload file based folder to registry keeping the order of nested folders?
Should I write a script?
>
> P.S Is it possible to mount a file system folder to registry in read-write
mode? So registry will see entries not only from db.
>
> Thx!
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 3.0.1 RC1 Build

2010-09-08 Thread Krishantha Samaraweera
Hi,

I found some UI issues while testing G-Reg using IE7. Is there any
possibility of fixing them for this release.

1. Unable to add collections - https://wso2.org/jira/browse/REGISTRY-557
 Above issue has been fixed by Chanaka and committed to trunk but the fix is
not available in 3.0.1

2. Impact Analysis and Resource impact gadgets are empty.I am not able to
view anything there. Those gadgets works fine with FF. -
https://wso2.org/jira/browse/CARBON-7741

Thanks,
Krishantha.

On Sun, Sep 5, 2010 at 10:17 PM, Asela Pathberiya  wrote:

> Hi All,
>
> Please find the 3.0.1 RC1 build of ESB,WSAS,GREG and IS here [1]
>
> [1]http://builder.wso2.org/~carbon/releases/carbon/3.0.1/RC1
>
> Thanks,
> Asela
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] How can I use the " WSO2 Governance Registry permissions" to assign permisions to individual users ?

2010-09-02 Thread Krishantha Samaraweera
In the case of multiple roles, "Allow" permission has highest priority over
"Deny" permission. This model applies only to permission levels not for the
role levels. Hence "everyone" role doesn't have higher priority over other
roles. For an instance, if you have set read deny permission to everyone
role for a particular resource and read allow permission to "ttt_role" for
the same resource. Then the read allow permission has highest priority over
read deny permission of everyone role.

Thanks,
Krishantha.

2010/9/2 dzh045 

> Hi,
>   I   have   added  a new  user  named  "ttt" and  assigned  a  new  role
> named  "ttt_role" to  it . I saw  that  the  user  "ttt"  having  two
> roles  "ttt_role"  and   the  defaulted  role "everyone" . Then I  set
> permissions  to that  role  "ttt_role" . But  the permisssions (no  matter
> 'Deny' permissions  or  'Allow' permissions  ) set  to the  role
> "everyone"  have higher priority   over  the    role  "ttt_role" .
> How  to   validate  the  permissions  set  to  the  new  role
> "ttt_role" ?
> Thanks.
>
> At 2010-09-02 13:01:24,"Krishantha Samaraweera" 
> wrote:
>
> Hi,
>
> User based permission model is deprecated feature. Only role based
> permission model is allowed. Therefore you have to assign users to a role
> and set permission to that role.
>
> Thanks,
> Krishantha.
>
> 2010/9/2 dzh045 
>
>> Hi:
>>   In   the  WSO2 Governance Registry ,I   just  find  the
>> permission's  screen,  used to  assign  permissions  to  different
>> roles. So   how   can  I   assign   some   permisioms toindividual
>> users   ?
>>
>>
>>  Thanks!
>>
>>
>> --
>> 您想拥有和网易免费邮箱一样强大的软件吗? <http://qiye.163.com/?163>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> 您想拥有和网易免费邮箱一样强大的软件吗? <http://qiye.163.com/?163>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] How can I use the " WSO2 Governance Registry permissions" to assign permisions to individual users ?

2010-09-01 Thread Krishantha Samaraweera
Hi,

User based permission model is deprecated feature. Only role based
permission model is allowed. Therefore you have to assign users to a role
and set permission to that role.

Thanks,
Krishantha.

2010/9/2 dzh045 

> Hi:
>   In   the  WSO2 Governance Registry ,I   just  find  the
> permission's  screen,  used to  assign  permissions  to  different
> roles. So   how   can  I   assign   some   permisioms toindividual
> users   ?
>
>
>  Thanks!
>
>
> --
> 您想拥有和网易免费邮箱一样强大的软件吗? 
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Fwd: [Registry-user] Failover of registry

2010-09-01 Thread Krishantha Samaraweera
Forwarding to carbon-dev for wider community (ESB) attention.

Thanks,
Krishantha.

-- Forwarded message --
From: Hodchenkov, Paul 
Date: Wed, Sep 1, 2010 at 3:35 PM
Subject: [Registry-user] Failover of registry
To: "registry-u...@wso2.org" 


 Hi!



I have read nice article
http://wso2.org/library/tutorials/2010/04/sharing-registry-space-across-multiple-product-instances

The problem is that all nodes of esb cluster refers one registry instance
(Atom based configuration). Is it possible to setup multiply registry
instances for failover purposes? So if one registry node dies esb should use
the second one.



Thx.

___
Registry-user mailing list
registry-u...@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/registry-user
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 3.0.1 Code Freeze

2010-08-30 Thread Krishantha Samaraweera
Hi Senaka,

Following issues are still there in alpha3 release. Can you please have a
look. IMO, we need to fix them before the release.

[1] https://wso2.org/jira/browse/CARBON-7645 - Lifecycle stage monitor is
empty
[2] https://wso2.org/jira/browse/CARBON-7647 - Impact Analysis gadget
doesn't work.

Thanks,
Krishantha.

On Tue, Aug 31, 2010 at 12:46 AM, Prabath Siriwardana wrote:

> 3.0.1 alpha-3 in QA currently.. Can we do the $subject ? Please reply if we
> are still fixing any issues to be fixed for 3.0.1...
>
>
> Thanks & Regards,
> - Prabath
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 3.0.1 Alpha1 build

2010-08-12 Thread Krishantha Samaraweera
Hi All,

There are two issues with G-Reg dashboard gadget rendering.  Please have a
look.

[1] https://wso2.org/jira/browse/CARBON-7645 - Lifecycle stage monitor is
empty
[2] https://wso2.org/jira/browse/CARBON-7647 - Impact Analysis gadget
doesn't work

Thanks,
Krishantha.


On Mon, Aug 9, 2010 at 6:50 PM, Lahiru Gunathilake  wrote:

> Hi all,
>
> Please find the 3.0.1 alpha build of ESB,WSAS,GREG and IS here[1].
>
> Please verify all the bug fixes done to this release is there in these
> builds, build system is bit tricky since we are just changing some of the
> bundles only and we are taking rest of the stuff from our repo, so first we
> need to make sure all the changes are there in the products.
>
> [1]http://builder.wso2.org/~carbon/releases/carbon/3.0.1/Alpha1/
>
> Thanks
> Lahiru
>
> --
> Lahiru Gunathilake
> Senior Software Engineer - WSO2 Inc. www.wso2.com
>
> Email:lah...@wso2.com  Blog: www.lahiru.org
> Mobile: +94716381143
>
> Lean . Enterprise . Middleware
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Test automation framework

2010-08-12 Thread Krishantha Samaraweera
This is fixed now. We have to run cmd.exe first and tell it to execute ant.

After the fix I found that some client processes (sample 13) hang when
running all the tests. Suho is currently looking at to the issue.

Thanks,
Krishantha.

On Thu, Aug 12, 2010 at 2:28 PM, Chamara Silva  wrote:

> Automated ESB-samples didn't run in windows platform.please check.
>
> Thank you,
> Regards,
> Chamara.
>
>
>
> On Tue, Aug 10, 2010 at 12:27 PM, Suhothayan Sriskandarajah
>  wrote:
> > On 29 June 2010 11:37, Samisa Abeysinghe  wrote:
> >> I am not sure if these names are right.
> >> We need a review ASAP, before we proceed further please...
> >
> > Now Thilini and I have successfully automated the testing of ESB Samples.
> > The information on what samples are automated,
> > and the set-up guide to test the Samples are given in a read-me with
> > the source code[0].
> > The source is now committed to the Component Test Framework[1]
> >
> > [0]
> https://svn.wso2.org/repos/wso2/trunk/commons/qa/component-test-framework/esb-sample/read-me.txt
> > [1]
> https://svn.wso2.org/repos/wso2/trunk/commons/qa/component-test-framework/
> >
> > Suho
> >
> >
> >> Samisa...
> >>
> >> On Tue, Jun 29, 2010 at 10:33 AM, Suhothayan Sriskandarajah <
> s...@wso2.com>
> >> wrote:
> >>>
> >>>
> >>> On 29 June 2010 09:11, Samisa Abeysinghe  wrote:
> 
>  Are we using the admin service to talk to the BE and update the
> changes?
>  I had a look at the code and I cannot seem to locate where this is
>  happening.
>  We need to review the overall approach on how we have done this.
> >>>
> >>> The component-test-framework contains several modules
> >>> Currently we have four of them
> >>> 1.Core
> >>> 2.Endpoint
> >>> 3.Proxy service
> >>> 4.Sequence
> >>>
> >>> The core module look in to aspects like ;
> >>> 1.Authenticating the user - done by the stub created by codegening the
> >>> AuthenticationAdmin.wsdl
> >>>(core/src/test/java/org/wso2/
> >>> carbon/test/framework/ComponentsTestCase.java)
> >>>
> >>> 2. Stating and stopping Sample Axis2Servers
> >>>
> >>>
> (core/src/test/java/org/wso2/carbon/test/framework/util/server/SampleAxis2Server.java)
> >>>
> >>> 3. Invoking Axis2Clients
> >>>
> >>>
> (core/src/test/java/org/wso2/carbon/test/framework/util/client/StockQuoteClient.java)
> >>>
> >>> 4. Reading the .property file
> >>>
> (core/src/test/java/org/wso2/carbon/test/framework/initTestCase.java)
> >>>
> >>> and all the other modules are used to test their appropriate
> components,
> >>> using the stubs created by cordgening their appropriate WSDLs
> >>>
> >>> I hope this gives some basic idea on who this framework works
> >>>
> >>> If we need a review on the overall approach, please let me know a
> subtable
> >>> time, so i can arrange a meeting
> >>>
> >>> thanks
> >>>
> >>> Suho
> >>>
> 
>  Samisa...
> 
>  On Mon, Jun 28, 2010 at 10:15 AM, Chamara Silva 
> wrote:
> >
> > Sorry i have missed one step.please change the framework.properties
> in
> > testframework/src/test/resources directory with your settings.
> >
> > regards,
> > Chamara
> >
> > On Mon, Jun 28, 2010 at 10:11 AM, Chamara Silva 
> > wrote:
> > > yes it's available at,
> > >
> > >
> https://svn.wso2.org/repos/wso2/trunk/commons/qa/compoments-test-framework
> > >
> > > To run this please follow these steps.
> > >
> > > 1. Download test framework and ESB
> > > 2. start esb with sample 0
> > > 3. run test framework (mvn clean install)
> > >
> > > Thanks and Regards
> > > Chamara
> > >
> > >
> > > On Mon, Jun 28, 2010 at 10:04 AM, Samisa Abeysinghe <
> sam...@wso2.com>
> > > wrote:
> > >> Do we have the code somewhere?
> > >>
> > >> Samisa...
> > >>
> > >> On Mon, Jun 28, 2010 at 9:59 AM, Chamara Silva 
> > >> wrote:
> > >>>
> > >>> I have finished almost 85% of the proxy services related test
> > >>> cases.i
> > >>> think it covers all the combinations of proxy services.Currently
> > >>> suho
> > >>> continuing sequences and endpoints related test-cases.
> > >>> After review i think we can release it for basic smoke testing.
> > >>>
> > >>> Thank you,
> > >>> Regards,
> > >>> Chamara
> > >>>
> > >>> On Mon, Jun 28, 2010 at 9:48 AM, Samisa Abeysinghe <
> sam...@wso2.com>
> > >>> wrote:
> > >>> > How is this progressing?
> > >>> > We need to do a review of this soon.
> > >>> > Samisa...
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> Suminda Chamara Silva
> > >>> Senior Software Engineer - QA
> > >>> WSO2 Inc.
> > >>> Mobile: +94 718 302858
> > >>> blog: http://chamaras.blogspot.com
> > >>
> > >>
> > >
> > >
> > >
> > > --
> > > Suminda Chamara Silva
> > > Senior Software Engineer - QA
> > > WSO2 Inc.
> > > Mobile: +94 718 302858
> > > blog: http://chamaras.blogspot.com
> > >

Re: [Carbon-dev] Gadet Server Cluster Issue

2010-08-06 Thread Krishantha Samaraweera
Hi,

As a workaround can you restart the gs2 node and see. AFAIK, restarting will
sync permissions on cluster.

Thanks,
Krishantha.

On Fri, Aug 6, 2010 at 4:58 PM, Daniel Callejas Albalate 
wrote:

>  Hi,
>
>
>
> I have doubt, we have two gadget server (gs1,gs2) working on cluster, all
> runs well but when I make a new role on, for example, gs1 add the users and
> set permission and then I go to gs2 , i can see the new role and the users
> added to the role but the permissions are not set at all.
>
>
>
> Is there anything I need to set up? Or the permissions are not synchronized
> never?
>
>
>
> Thanks
>
>
>
> Att,
> Daniel Callejas Albalate
> 
> NexTReT - eBusiness Solutions http://www.nextret.net
> Passeig Bonanova, 9. 08022 Barcelona
> Calle Fortuny, 3 28010 Madrid
> Tf. (+34) 932 541 530 Fx. (+34) 934 175 062
>
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Install BAM Mediation Statistics Data Publisher Feature on ESB 3.0.0

2010-08-04 Thread Krishantha Samaraweera
Hi,

BAM publisher features haven't been added to standard repo yet. Can you try
out the following repo which is based on final RC.

http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC30/p2-repo/

Thanks,
Krishantha.

On Wed, Aug 4, 2010 at 1:23 PM, Nestor Tarin Burriel wrote:

> Hi,
>
> I'm trying to add the BAM Mediation Statistics Data Publisher Feature on
> ESB 3.0.0 via the repository *
> http://dist.wso2.org/p2/carbon/releases/3.0.0/* and I'm unable to find it
> :( . Is that feature available?¿
>
> I'm using ESB 3.0.0 and BAM 1.1.0
>
> Regards,
>
> Néstor
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Fwd: Help Required --> Impact Data and Lifecycle Data in WSO2 greg 3.5.0

2010-07-19 Thread Krishantha Samaraweera
yes you have to install flash on your machine.

Thanks,
Krishantha.

On Mon, Jul 19, 2010 at 6:45 PM, Sisira P  wrote:

>
> Hi,
>
> I am using IE as the browser. I have used the registry path only for
> viewing the impact analysis data
> (/_system/governance/wsdls/http/BETAAPI/ACHINS208/ACHInstructionInquiry.wsdl
> ), but even then it does not show up anything. I believe this works with
> flash. Should flash be installed explicitly on my server for this purpose?
> Any other configuration that I would need to make?
>
> Thanks,
> Sisira Pillarisetty
> ________
>
>
>  From:
> Krishantha Samaraweera 
> To: carbon-dev@wso2.org Cc: sisir...@tcs.com Date: 07/19/2010 03:03 PM
> Subject: Re: [Carbon-dev] Fwd: Help Required --> Impact Data and Lifecycle
> Data in WSO2 greg 3.5.0
> --
>
>
>
> Hi,
>
> What is the browser you are using?
>
> You have to use the registry path to view the impact analysis data
> eg :
> /_system/governance/wsdls/http/www/ecubicle/net/youtubedownloader.asmx.WSDL
>
> Lifecycle data gadget visualize LC stages of services which has
> 'ServiceLifeCycle' assigned.
>
> Thanks,
> Krishantha.
>
> On Mon, Jul 19, 2010 at 2:04 PM, Tyrell Perera 
> <*tyr...@wso2.com*>
> wrote:
> Hi,
>
> I'm forwarding this to the carbon-dev mailing list for wider input.
>
>
> Tyrell
>
>
> On Mon, Jul 19, 2010 at 12:40 PM, Sisira P 
> <*sisir...@tcs.com*>
> wrote:
>
> Hi,
>
> I have installed wso2 3.5.0 recently. I have published some services and am
> trying to look at the impact analysis data and lifecycle data in the
> governance dashboard. But I am not able to view anything there. Both these
> tabs are just blank.Even if I give some wsdl or xsd path in the Path filed
> and click on 'view' button, nothing comes up. Pls help. Is there any other
> configuration that I need to perform?
>
>
> Thanks,
> Sisira Pillarisetty
> Tata Consultancy Services
> Discoverer 4th Floor,
> International Tech Park Ltd, Whitefield Road,
> Bangalore - 560066,Karnataka
> India
> Mailto: *sisir...@tcs.com* 
> Website: *http://www.tcs.com* <http://www.tcs.com/>
> 
> Experience certainty.IT Services
>Business Solutions
>Outsourcing
> 
> =-=-=
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
>
>
>
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
>
>
>
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
>
>
> --
> Tyrell Perera
> Product Manager - WSO2 Mashup Server, WSO2 Gadget Server
>
> WSO2, Inc.; *http://www.wso2.com/* <http://www.wso2.com/>
> "Lean Enterprise Middleware"
> *
> **http://www.linkedin.com/in/tyrell* <http://www.linkedin.com/in/tyrell>*
> **http://tyrellperera.blogspot.com* <http://tyrellperera.blogspot.com/>*
> **http://twitter.com/tyrellperera* <http://twitter.com/tyrellperera>
>
>
> ___
> Carbon-dev mailing list*
> **carbon-...@wso2.org* *
> **https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev*<https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev>
>
>
>
> =-=-=
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
<>___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Fwd: Help Required --> Impact Data and Lifecycle Data in WSO2 greg 3.5.0

2010-07-19 Thread Krishantha Samaraweera
Hi,

What is the browser you are using?

You have to use the registry path to view the impact analysis data
eg :
/_system/governance/wsdls/http/www/ecubicle/net/youtubedownloader.asmx.WSDL

Lifecycle data gadget visualize LC stages of services which has
'ServiceLifeCycle' assigned.

Thanks,
Krishantha.

On Mon, Jul 19, 2010 at 2:04 PM, Tyrell Perera  wrote:

> Hi,
>
> I'm forwarding this to the carbon-dev mailing list for wider input.
>
>
> Tyrell
>
>
> On Mon, Jul 19, 2010 at 12:40 PM, Sisira P  wrote:
>
>>
>> Hi,
>>
>> I have installed wso2 3.5.0 recently. I have published some services and
>> am trying to look at the impact analysis data and lifecycle data in the
>> governance dashboard. But I am not able to view anything there. Both these
>> tabs are just blank.Even if I give some wsdl or xsd path in the Path filed
>> and click on 'view' button, nothing comes up. Pls help. Is there any other
>> configuration that I need to perform?
>>
>>
>> Thanks,
>> Sisira Pillarisetty
>> Tata Consultancy Services
>> Discoverer 4th Floor,
>> International Tech Park Ltd, Whitefield Road,
>> Bangalore - 560066,Karnataka
>> India
>> Mailto: sisir...@tcs.com
>> Website: http://www.tcs.com
>> 
>> Experience certainty.IT Services
>>Business Solutions
>>Outsourcing
>> 
>>
>> =-=-=
>> Notice: The information contained in this e-mail
>> message and/or attachments to it may contain
>> confidential or privileged information. If you are
>>
>>
>> not the intended recipient, any dissemination, use,
>> review, distribution, printing or copying of the
>> information contained in this e-mail message
>> and/or attachments to it are strictly prohibited. If
>> you have received this communication in error,
>>
>>
>> please notify us by reply e-mail or telephone and
>> immediately and permanently delete the message
>> and any attachments. Thank you
>>
>>
>>
>
>
> --
> Tyrell Perera
> Product Manager - WSO2 Mashup Server, WSO2 Gadget Server
>
> WSO2, Inc.; http://www.wso2.com/
> "Lean Enterprise Middleware"
>
> http://www.linkedin.com/in/tyrell
> http://tyrellperera.blogspot.com
> http://twitter.com/tyrellperera
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
<>___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC29

2010-07-12 Thread Krishantha Samaraweera
Hi Dumindu,

Is it possible to get a new BAM build within today with all fixes done so far.

Thanks,
krishantha.

On 7/7/10, Krishantha Samaraweera  wrote:
> We came across regression issue yesterday [1] and few documentation issues
> related to release note, Readme etc.. Doc issues have been fixed and
> Dumindu
> is working on fixing [1]
>
> Thanks,
> Krishantha.
>
> [1] https://wso2.org/jira/browse/BAM-196 - Endpoint stats are duplicating
> in
> hourly analytic
>
>
>
> On Tue, Jul 6, 2010 at 8:15 AM, Dumindu Pallewela  wrote:
>
>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC29/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC29/>
>>
>> Thanks,
>> Dumindu
>>
>> --
>> Dumindu Pallewela
>> WSO2 | "Lean . Enterprise . Middleware" | http://wso2.com
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>

___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC29

2010-07-06 Thread Krishantha Samaraweera
We came across regression issue yesterday [1] and few documentation issues
related to release note, Readme etc.. Doc issues have been fixed and Dumindu
is working on fixing [1]

Thanks,
Krishantha.

[1] https://wso2.org/jira/browse/BAM-196 - Endpoint stats are duplicating in
hourly analytic



On Tue, Jul 6, 2010 at 8:15 AM, Dumindu Pallewela  wrote:

> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC29/
>
> Thanks,
> Dumindu
>
> --
> Dumindu Pallewela
> WSO2 | "Lean . Enterprise . Middleware" | http://wso2.com
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC27

2010-06-29 Thread Krishantha Samaraweera
Hi Dumindu,

I saw few L1 issue fixes done yesterday. Can we get new BAM build to do some
regression tests before the final QA build on 1st July.

Thanks,
Krishantha.

On Thu, Jun 24, 2010 at 2:05 PM, Dumindu Pallewela  wrote:

>
> On Thu, Jun 24, 2010 at 11:49 AM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Is it possible to get a new BAM build. There are some critical issue fixes
>> that we need to verify.
>>
>>
> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC27/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC27/>
>
> --
> Dumindu Pallewela
> WSO2 | "Lean . Enterprise . Middleware" | http://wso2.com
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC26

2010-06-23 Thread Krishantha Samaraweera
Is it possible to get a new BAM build. There are some critical issue fixes
that we need to verify.

Thanks,
Krishantha.

On Mon, Jun 21, 2010 at 6:37 PM, Dumindu Pallewela  wrote:

> Updated the RC26 build with latest fixes.
>
> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC26.1/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC26.1/>
>
> Thanks,
> Dumindu.
>
>
> On Mon, Jun 21, 2010 at 2:45 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Thanks for the build Samisa.
>>
>> Seems like some fixes are not there in the build. Fixes done for reporting
>> component and dashboard gadgets are not available.
>>
>> May be you forgot to update those components [?]
>>
>> Thanks,
>> Krishantha.
>>
>>
>> On Mon, Jun 21, 2010 at 8:05 AM, Samisa Abeysinghe wrote:
>>
>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC26/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC26/>
>>>
>>> <http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC26/>
>>> Samisa...
>>>
>>>
>>> On Thu, Jun 17, 2010 at 4:40 PM, Krishantha Samaraweera <
>>> krishan...@wso2.com> wrote:
>>>
>>>> Hi Dumindu,
>>>>
>>>> Is it possible to get a new BAM build. There are several fixes that we
>>>> need to verify.
>>>>
>>>> Thanks,
>>>> Krishantha.
>>>>
>>>> On Fri, Jun 11, 2010 at 6:05 PM, Dumindu Pallewela wrote:
>>>>
>>>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC25/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC25/>
>>>>>
>>>>> Thanks,
>>>>> Dumindu.
>>>>>
>>>>> --
>>>>> Dumindu Pallewela
>>>>> WSO2 | "Lean . Enterprise . Middleware" | http://wso2.com
>>>>>
>>>>> ___
>>>>> Carbon-dev mailing list
>>>>> Carbon-dev@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>>>
>>>>
>>>> ___
>>>> Carbon-dev mailing list
>>>> Carbon-dev@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>> Samisa Abeysinghe
>>> VP Engineering
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>>
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Dumindu Pallewela
> WSO2 | "Lean . Enterprise . Middleware" | http://wso2.com
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
<<338.png>>___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC26

2010-06-21 Thread Krishantha Samaraweera
Thanks for the build Samisa.

Seems like some fixes are not there in the build. Fixes done for reporting
component and dashboard gadgets are not available.

May be you forgot to update those components [?]

Thanks,
Krishantha.

On Mon, Jun 21, 2010 at 8:05 AM, Samisa Abeysinghe  wrote:

> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC26/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC26/>
>
> <http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC26/>Samisa...
>
>
> On Thu, Jun 17, 2010 at 4:40 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi Dumindu,
>>
>> Is it possible to get a new BAM build. There are several fixes that we
>> need to verify.
>>
>> Thanks,
>> Krishantha.
>>
>> On Fri, Jun 11, 2010 at 6:05 PM, Dumindu Pallewela wrote:
>>
>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC25/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/5RC25/>
>>>
>>> Thanks,
>>> Dumindu.
>>>
>>> --
>>> Dumindu Pallewela
>>> WSO2 | "Lean . Enterprise . Middleware" | http://wso2.com
>>>
>>> ___
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
<<338.png>>___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC25

2010-06-17 Thread Krishantha Samaraweera
Hi Dumindu,

Is it possible to get a new BAM build. There are several fixes that we need
to verify.

Thanks,
Krishantha.

On Fri, Jun 11, 2010 at 6:05 PM, Dumindu Pallewela  wrote:

> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/5RC25/
>
> Thanks,
> Dumindu.
>
> --
> Dumindu Pallewela
> WSO2 | "Lean . Enterprise . Middleware" | http://wso2.com
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon-3.0.0 Iridium - 4RC24

2010-06-11 Thread Krishantha Samaraweera
Hi Dumindu,

Will it be possible to provide us a new BAM pack. So we can verify recent
fixes for high priority cases and continue testing.

Thanks,
Krishantha.

On Tue, Jun 8, 2010 at 8:42 AM, Milinda Pathirage  wrote:

> Fixed some issue with docs link and uploaded packs again. Now BAM also
> available in the 4RC24 directory.
>
>
> On Mon, Jun 7, 2010 at 11:07 PM, Milinda Pathirage wrote:
>
>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC2
>> 4/
>>
>> Fixed some issues in simple axis server configuration files used in BPEL
>> samples and fixed doc link in product.xml.
>>
>>
>> Thanks
>> Milinda
>>
>> --
>> Milinda Pathirage
>> Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
>> http://wso2.com
>> Blog: http://blog.mpathirage.com
>>
>> Lean Enterprise Middleware
>>
>
>
>
> --
> Milinda Pathirage
> Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
> http://wso2.com
> Blog: http://blog.mpathirage.com
>
> Lean Enterprise Middleware
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC20

2010-06-02 Thread Krishantha Samaraweera
Hi Ratha,

On Thu, Jun 3, 2010 at 11:00 AM, ratha  wrote:

> Hi Krishantha,
> BAM -63 is fixed already and works in my machine well.(Ruwani which RC
> build u r using?, It should work in RC-18 and later builds.).
>

We are using RC20 build.

Thanks,
Krishantha.


> BAM-62 , i don't know wht happened, but it was working earlier and we
> did a setup in ozone. Anyway i'll look into that.
> Thanks.
> -Ratha.
>
> Krishantha Samaraweera wrote:
> > Hi Dumindu,
> >
> > Still we couldn't get mediation stats working. Issue seems to be with
> > mediation stat data publisher. Mediation stat publishing is one of the
> > main functionality of BAM and we are struck due to below mentioned
> > blockers. Can you please look into the issues ASAP.
> >
> > Please refer to [1] [2] for issue details
> >
> > Thanks,
> > Krishantha.
> >
> > [1] https://wso2.org/jira/browse/BAM-62 - Mediation stats are not
> > publishing
> > [2] https://wso2.org/jira/browse/BAM-63 - Installation of the feature
> > ' WSO2 Carbon - BAM Mediation Statistics Data Publisher Feature' gives
> > errors
> >
> >
> >
> >
> > On Wed, Jun 2, 2010 at 3:48 PM, Milinda Pathirage  > <mailto:mili...@wso2.com>> wrote:
> >
> > 
> > http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC20/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/4RC20/>
> > <http://builder.wso2.org/%7Ecarbon/releases/carbon/3.0.0/4RC20/>
> >
> > Thanks
> > Milinda
> >
> > --
> > Milinda Pathirage
> > Technical Lead and Product Manager, Business Process Server - WSO2
> > Inc; http://wso2.com
> > Blog: http://blog.mpathirage.com
> >
> > Lean Enterprise Middleware
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org <mailto:Carbon-dev@wso2.org>
> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
> > 
> >
> > ___
> > Carbon-dev mailing list
> > Carbon-dev@wso2.org
> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon-3.0.0 Iridium - RC20

2010-06-02 Thread Krishantha Samaraweera
Hi Dumindu,

Still we couldn't get mediation stats working. Issue seems to be with
mediation stat data publisher. Mediation stat publishing is one of the main
functionality of BAM and we are struck due to below mentioned blockers. Can
you please look into the issues ASAP.

Please refer to [1] [2] for issue details

Thanks,
Krishantha.

[1] https://wso2.org/jira/browse/BAM-62 - Mediation stats are not publishing
[2] https://wso2.org/jira/browse/BAM-63 - Installation of the feature ' WSO2
Carbon - BAM Mediation Statistics Data Publisher Feature' gives errors




On Wed, Jun 2, 2010 at 3:48 PM, Milinda Pathirage  wrote:

> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC20/
>
>  Thanks
> Milinda
>
> --
> Milinda Pathirage
> Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
> http://wso2.com
> Blog: http://blog.mpathirage.com
>
> Lean Enterprise Middleware
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 3.0.0 - Iridium - RC15

2010-05-25 Thread Krishantha Samaraweera
Thanks Sameera for the fix. I installed BAM mediation publishers
successfully. But got the following exception when restarting the
server. When I login to admin console, error saying "Permission issue
in Menu item bam_data_publisher_mediation_statistics_menu" is printed
in the console. Please refer to [1] for error details.

org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Import-Package:
javax.annotation.processing; version="0.0.0"
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297)
at 
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)
at 
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:307)
at 
org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:108)
at 
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:129)
at 
org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:143)
at 
org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754)
at 
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370)
at 
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068)
at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557)
at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464)
at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248)
at 
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445)
at 
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220)
at 
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330)

Thanks,
Krishantha

[1]http://pastebin.org/278751




On Tue, May 25, 2010 at 5:09 PM, Sameera Jayasoma  wrote:
> This is fixed please try now.
>
> Thanks
> Sameera
>
> On Mon, May 24, 2010 at 11:14 PM, Krishantha Samaraweera
>  wrote:
>>
>> Hi,
>>
>> I added p2-repo though feature management page and once I check
>> org.wso2.carbon.bam.data.publisher.mediationstats.feature.group is not
>> available in available feature list. Also, tried with command line
>> feature installation and got the following error when try to install
>> above feature group. It looks like the feature group hasn't been
>> created properly. I checked again with provlg command and unable find
>> any related entry.
>>
>> osgi> provinstall
>> org.wso2.carbon.bam.data.publisher.mediationstats.feature.group 3.0.0
>> installation failed
>> org.eclipse.equinox.internal.provisional.p2.core.ProvisionException:
>> Installable unit not found:
>> org.wso2.carbon.bam.data.publisher.mediationstats.feature.group 3.0.0
>> Repositories searched:
>>
>> file:/opt/esb/wso2esb-3.0.0/repository/components/configuration/org.eclipse.osgi/bundles/98/data/listener_1925729951/
>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC15/p2-repo/
>>
>> at
>> org.eclipse.equinox.internal.p2.console.ProvisioningHelper.install(ProvisioningHelper.java:249)
>> at
>> org.eclipse.equinox.internal.p2.console.ProvCommandProvider._provinstall(ProvCommandProvider.java:136)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpret

Re: [Carbon-dev] Carbon 3.0.0 - Iridium - RC15

2010-05-24 Thread Krishantha Samaraweera
Hi,

I added p2-repo though feature management page and once I check
org.wso2.carbon.bam.data.publisher.mediationstats.feature.group is not
available in available feature list. Also, tried with command line
feature installation and got the following error when try to install
above feature group. It looks like the feature group hasn't been
created properly. I checked again with provlg command and unable find
any related entry.

osgi> provinstall
org.wso2.carbon.bam.data.publisher.mediationstats.feature.group 3.0.0
installation failed
org.eclipse.equinox.internal.provisional.p2.core.ProvisionException:
Installable unit not found:
org.wso2.carbon.bam.data.publisher.mediationstats.feature.group 3.0.0
Repositories searched:
file:/opt/esb/wso2esb-3.0.0/repository/components/configuration/org.eclipse.osgi/bundles/98/data/listener_1925729951/
http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC15/p2-repo/

at 
org.eclipse.equinox.internal.p2.console.ProvisioningHelper.install(ProvisioningHelper.java:249)
at 
org.eclipse.equinox.internal.p2.console.ProvCommandProvider._provinstall(ProvCommandProvider.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:155)
at 
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:303)
at 
org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:288)
at 
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:224)
at java.lang.Thread.run(Thread.java:619)

Thanks,
Krishantha.


On Mon, May 24, 2010 at 5:41 PM, Samisa Abeysinghe  wrote:
> Fixed, please check now.
> Samisa...
>
> On Mon, May 24, 2010 at 5:03 PM, Samisa Abeysinghe  wrote:
>>
>>
>> On Mon, May 24, 2010 at 4:34 PM, Krishantha Samaraweera
>>  wrote:
>>>
>>> Hi Samisa,
>>>
>>> On Mon, May 24, 2010 at 4:14 PM, Samisa Abeysinghe 
>>> wrote:
>>> > BAM packs are now available.
>>>
>>> From where I can get BAM publishers. I don't see them in the p2-repo.
>>
>> They are supposed to be in the repo. Let me check.
>> Samisa...
>>
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>> > Samisa...
>>> >
>>> > On Mon, May 24, 2010 at 3:43 PM, Samisa Abeysinghe 
>>> > wrote:
>>> >>
>>> >>
>>> >> On Mon, May 24, 2010 at 3:32 PM, Samisa Abeysinghe 
>>> >> wrote:
>>> >>>
>>> >>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC15/
>>> >>
>>> >> Note that, BAM packs are not there, as I was hut with a build break
>>> >> with
>>> >> BAM.
>>> >> Samisa...
>>> >>
>>> >>>
>>> >>> Samisa...
>>> >>>
>>> >>> On Thu, May 13, 2010 at 10:19 AM, Samisa Abeysinghe 
>>> >>> wrote:
>>> >>>>
>>> >>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC14/
>>> >>>> Thanks,
>>> >>>> Samisa...
>>> >>>>
>>> >>>> On Wed, May 12, 2010 at 2:55 AM, Samisa Abeysinghe 
>>> >>>> wrote:
>>> >>>>>
>>> >>>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC13/
>>> >>>>>
>>> >>>>>
>>> >>>>> On Sat, May 8, 2010 at 12:06 PM, Samisa Abeysinghe
>>> >>>>> 
>>> >>>>> wrote:
>>> >>>>>>
>>> >>>>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC12/
>>> >>>>>> I hope we will be able to release BRS, GS and MS with these packs.
>>> >>>>>> Please send an update when smoke tests are completed for each
>>> >>>>>> pack.
>>> >>>>>> Rather than waiting till all are complete, lets release whatever
>>> >>>>>> becomes
>>> >>>>>> ready to go.
>>> >>>>>> Thanks,
>>> >>>>>>
>>> >>>>>> Samisa...
>>> >>>>>> --
>>> >>>>>> blog: http://samisa-ab

Re: [Carbon-dev] Carbon 3.0.0 - Iridium - RC15

2010-05-24 Thread Krishantha Samaraweera
Hi Samisa,

On Mon, May 24, 2010 at 4:14 PM, Samisa Abeysinghe  wrote:
> BAM packs are now available.

>From where I can get BAM publishers. I don't see them in the p2-repo.

Thanks,
Krishantha.

> Samisa...
>
> On Mon, May 24, 2010 at 3:43 PM, Samisa Abeysinghe  wrote:
>>
>>
>> On Mon, May 24, 2010 at 3:32 PM, Samisa Abeysinghe 
>> wrote:
>>>
>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC15/
>>
>> Note that, BAM packs are not there, as I was hut with a build break with
>> BAM.
>> Samisa...
>>
>>>
>>> Samisa...
>>>
>>> On Thu, May 13, 2010 at 10:19 AM, Samisa Abeysinghe 
>>> wrote:

 http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC14/
 Thanks,
 Samisa...

 On Wed, May 12, 2010 at 2:55 AM, Samisa Abeysinghe 
 wrote:
>
> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC13/
>
>
> On Sat, May 8, 2010 at 12:06 PM, Samisa Abeysinghe 
> wrote:
>>
>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC12/
>> I hope we will be able to release BRS, GS and MS with these packs.
>> Please send an update when smoke tests are completed for each pack.
>> Rather than waiting till all are complete, lets release whatever becomes
>> ready to go.
>> Thanks,
>>
>> Samisa...
>> --
>> blog: http://samisa-abeysinghe.blogspot.com/
>
> Samisa...
> --
> blog: http://samisa-abeysinghe.blogspot.com/

 --
 Samisa Abeysinghe
 Director, Engineering - WSO2 Inc.

 http://wso2.com/ - "lean . enterprise . middleware"
>>>
>>> Samisa Abeysinghe
>>> VP Engineering
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>

___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 3.0.0 - Iridium - RC9

2010-04-26 Thread Krishantha Samaraweera
Hi,

Feature management UI crashed with IBM JDK 1.5 [1] and the issue has been
already fixed and verified.

Thanks,
Krishantha.

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

On Tue, Apr 27, 2010 at 8:44 AM, Samisa Abeysinghe  wrote:

> Locally available at
> http://10.100.1.43/~carbon/releases/carbon/3.0.0/4RC9/
>
> 
> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC9/
>
> 
> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta24/
>
> 
> Samisa...
>
> On Fri, Apr 23, 2010 at 9:08 AM, Samisa Abeysinghe wrote:
>
>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC8/
>>
>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta23/
>>
>>
>> On Thu, Apr 22, 2010 at 9:18 AM, Samisa Abeysinghe wrote:
>>
>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC7/
>>>
>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta22/
>>>
>>> 
>>>
>>> Samisa...
>>> --
>>> blog: http://samisa-abeysinghe.blogspot.com/
>>>
>> --
>> Samisa Abeysinghe
>> Director, Engineering - WSO2 Inc.
>>
>> http://wso2.com/ - "lean . enterprise . middleware"
>>
>> --
> Samisa Abeysinghe
> Director, Engineering - WSO2 Inc.
>
> http://wso2.com/ - "lean . enterprise . middleware"
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 3.0.0 - Iridium - RC8

2010-04-25 Thread Krishantha Samaraweera
Hi,

We are getting following error when navigate to registry browser [1].
Stracktrace printed on comment and rating boxes in registry browser. Issue
seems to be specific to IBM 1.5 JDK.

Please refer to [1] for exception details [2]

[2010-04-25 22:43:02,202] ERROR -
org.apache.axis2.databinding.ADBException: Unexpected subelement putAllowed
org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException:
Unexpected subelement putAllowed
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at
org.wso2.carbon.registry.info.ui.InfoAdminServiceStub.fromOM(InfoAdminServiceStub.java:6142)
at
org.wso2.carbon.registry.info.ui.InfoAdminServiceStub.getComments(InfoAdminServiceStub.java:1411)
at
org.wso2.carbon.registry.info.ui.clients.InfoServiceClient.getComments(InfoServiceClient.java:405)
at
org.wso2.carbon.registry.info.ui.clients.InfoServiceClient.getComments(InfoServiceClient.java:90)
at org.apache.jsp.info.comment_jsp._jspService(comment_jsp.java:116)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:117)
at
org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:

Thanks,
Krishantha.

[1] https://wso2.org/jira/browse/CARBON-7323
[2] http://pastebin.org/179587




On Fri, Apr 23, 2010 at 9:08 AM, Samisa Abeysinghe  wrote:

> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC8/
>
> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta23/
>
>
> On Thu, Apr 22, 2010 at 9:18 AM, Samisa Abeysinghe wrote:
>
>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/4RC7/
>>
>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta22/
>>
>> 
>>
>> Samisa...
>> --
>> blog: http://samisa-abeysinghe.blogspot.com/
>>
> --
> Samisa Abeysinghe
> Director, Engineering - WSO2 Inc.
>
> http://wso2.com/ - "lean . enterprise . middleware"
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 3.0.0 - Iridium - Beta build 05

2010-03-31 Thread Krishantha Samaraweera
Hi,

I see following echo message when running server startup script . May be
April fool joke!

krishan...@krishantha-laptop:~/Desktop/beta5/wso2greg-3.5.0/bin$ sh
wso2server.sh
You Fool!!! Download the pack from
http://builder.wso2.org/~carbon/releases/carbon/3.0.0/3Beta05.1/wso2greg-3.5.0.zip

Thanks,
Krishantha.

On Wed, Mar 31, 2010 at 10:53 PM, Samisa Abeysinghe  wrote:

> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/3Beta05/
>
> 
> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta15/
>
> 
> Thanks,
>
> --
> Samisa Abeysinghe
> Director, Engineering - WSO2 Inc.
>
> http://wso2.com/ - "lean . enterprise . middleware"
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon 3.0.0 - Iridium - Beta build 04

2010-03-31 Thread Krishantha Samaraweera
On Wed, Mar 31, 2010 at 9:37 AM, Samisa Abeysinghe  wrote:

> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/3Beta04/
>
> 
> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta14/
>

We cannot continue G-REG testing due to the issue [1]. Registry browser
navigation blocked by "Unable to determine resource permissions." error.

Thanks,
Krishantha.

[1] https://wso2.org/jira/browse/CARBON-7107 -  Resources in Registry can
not be browsed

>
> 
> Samisa...
>
> On Tue, Mar 30, 2010 at 8:24 AM, Samisa Abeysinghe wrote:
>
>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/3Beta03/
>>
>> 
>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta13/
>>
>> 
>> Samisa...
>>
>> On Fri, Mar 26, 2010 at 6:05 AM, Samisa Abeysinghe wrote:
>>
>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/3Beta02/
>>>
>>> 
>>> http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta12/
>>>
>>> 
>>> Samisa...
>>>
>>> On Thu, Mar 25, 2010 at 5:20 AM, Samisa Abeysinghe wrote:
>>>
 The first chink of products ready for beta can be found here:
 http://builder.wso2.org/~carbon/releases/carbon/3.0.0/3Beta01/

 Latest
 builds of other chunk of products can be found here:
 http://builder.wso2.org/~carbon/releases/carbon/3.0.0/2PreBeta11/

 Thanks,

 Samisa...

>>>
>>>
>>>
>>> --
>>> Samisa Abeysinghe
>>> Director, Engineering - WSO2 Inc.
>>>
>>> http://wso2.com/ - "lean . enterprise . middleware"
>>>
>>
>>
>>
>> --
>> Samisa Abeysinghe
>> Director, Engineering - WSO2 Inc.
>>
>> http://wso2.com/ - "lean . enterprise . middleware"
>>
> --
> Samisa Abeysinghe
> Director, Engineering - WSO2 Inc.
>
> http://wso2.com/ - "lean . enterprise . middleware"
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


  1   2   >