[Dev] WSO2 Committers += Inosh Goonewardena

2013-06-26 Thread Kasun Weranga
Hi all,

Its my pleasure to welcome Inosh Goonewardena as a WSO2 Committer.
He has made great contributions to WSO2 BAM and other projects during the
last few months, Thank you so much for all your hard work.
Inosh, welcome aboard and keep up the good work.


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


Re: [Dev] [Urgent] Jaggery integration test failure in 4.1.2 branch

2013-05-27 Thread Kasun Weranga
;> [8.877s]
>>> [INFO] WSO2 Carbon - Distribution  SUCCESS
>>> [14.641s]
>>> [INFO] Jaggery Integration Tests . FAILURE
>>> [34.293s]
>>> [INFO] WSO2 Carbon Platform - Aggregate Pom .. SKIPPED
>>> [INFO] WSO2 Carbon - Patch releases - dependencies - Aggregator Module
>>> SKIPPED
>>> [INFO] WSO2 Carbon - API Key Management Stub . SKIPPED
>>> [INFO] WSO2 Carbon - API Security Handler Service Stub ... SKIPPED
>>> [INFO] WSO2 Carbon - SAML2 SSO Authenticator Stub  SKIPPED
>>> [INFO] JMX Data Agent stub ... SKIPPED
>>> [INFO] WSO2 Carbon -  BAM - Cassandra data archive Stub .. SKIPPED
>>> [INFO] WSO2 Carbon - BAM Toolbox Deployer Management stub  SKIPPED
>>> [INFO] WSO2 Carbon - Usage - User Interface Stub . SKIPPED
>>> [INFO] WSO2 Carbon - Rest API Admin Stub . SKIPPED
>>> [INFO] WSO2 Carbon - Cartridge app Management Stub ... SKIPPED
>>> [INFO] WSO2 Carbon - Andes Stub .. SKIPPED
>>> [INFO] WSO2 Carbon - Andes Management Stubs .. SKIPPED
>>> [INFO] WSO2 Carbon - Attachment Management Server Skeleton  SKIPPED
>>> [INFO] WSO2 Carbon - Attachment Management Server Stubs .. SKIPPED
>>> [INFO] WSO2 Carbon - BPEL BAM Publisher Skeleton . SKIPPED
>>> [INFO] WSO2 Carbon - BPEL BAM Publisher Stub . SKIPPED
>>> [INFO] WSO2 Carbon - BPEL Skeleton ... SKIPPED
>>> [INFO] WSO2 Carbon - BPEL Stub ... SKIPPED
>>> .
>>>
>>> [INFO]
>>> 
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> 
>>> [INFO] Total time: 21:31.169s
>>> [INFO] Finished at: Mon May 27 04:04:18 PDT 2013
>>> [INFO] Final Memory: 750M/1782M
>>> [INFO]
>>> 
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
>>> project integration: There are test failures.
>>> [ERROR]
>>> [ERROR] Please refer to
>>> /home/wso2/4.1.0/temp/platform/4.1.0/dependencies/jaggery/0.9.0.ALPHA2-wso2v5/server/integration/target/surefire-reports
>>> for the individual test results.
>>> [ERROR] -> [Help 1]
>>>
>>> Thanks,
>>> Malith
>>> --
>>> Malith Dhanushka
>>>
>>> Engineer - Data Technologies
>>> *WSO2, Inc. : wso2.com*
>>> lean.enterprise.middleware.
>>>
>>> *Blog* :  mmalithh.blogspot.com
>>> *Linked-i*n  :   http://lk.linkedin.com/in/malithd
>>> *Twitter* :   https://twitter.com/MalithWD
>>>
>>> *Mobile*  : +94 716 506 693
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Tharindu Mathew
>>
>> Associate Technical Lead, WSO2 BAM
>> Member - Data Mgmt. Committee
>>
>> blog: http://tharindumathew.com/
>> M: +9459908
>>
>
>
>
> --
> *Thanks & Regards,
>
> Nuwan Bandara
> Technical Lead & Member, MC, Development Technologies
> WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
> blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
> 9629
> *
> <http://www.nuwanbando.com/>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Urgent] Registry kernel test failure

2013-05-21 Thread Kasun Weranga
Is this fixed now?

On Tuesday, May 21, 2013, Senaka Fernando wrote:

> Hi Kasun,
>
> Will have a look. It seems that an ORDER BY query is failing. We noticed
> this intermittently failing sometime back in the past too, but never could
> find a reason, since it was not reproducible in release builds. If you can
> consistently reproduce, please do keep a back-up of the maven repo, just in
> case it is not reproducible for others.
>
> Thanks,
> Senaka.
>
>
> On Tue, May 21, 2013 at 8:38 PM, Kasun Weranga  wrote:
>
> Hi all,
>
> I am getting following test failure from Registry kernel. Please fix it,
> we are building on clean repo to get the release packs and got the below
> issue when building patch0001.
>
> Building index for all the packages and classes...
> Generating
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/overview-tree.html...
> Generating
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/index-all.html...
> Generating
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/deprecated-list.html...
> Building index for all classes...
> Generating
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/allclasses-frame.html...
> Generating
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/allclasses-noframe.html...
> Generating
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/index.html...
> Generating
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/overview-summary.html...
> Generating
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/help-doc.html...
> Generating
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/stylesheet.css...
> 13 warnings
> [WARNING] Javadoc Warnings
> [WARNING]
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/Registry.java:577:
> warning - @param argument "version" is not a parameter name.
> [WARNING]
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/internal/RegistryCoreServiceComponent.java:89:
> warning - @scr.component is an unknown tag.
> [WARNING]
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/internal/RegistryCoreServiceComponent.java:89:
> warning - @scr.reference is an unknown tag.
> [WARNING]
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/internal/RegistryCoreServiceComponent.java:89:
> warning - @scr.reference is an unknown tag.
> [WARNING]
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/internal/RegistryCoreServiceComponent.java:89:
> warning - @scr.reference is an unknown tag.
> [WARNING]
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/exceptions/RegistryException.java:27:
> warning - Tag @inheritDoc cannot be used in constructor documentation.  It
> can only be used in the following types of documentation: method, inline
> text.
> [WARNING]
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/exceptions/RegistryException.java:34:
> warning - Tag @inheritDoc cannot be used in constructor documentation.  It
> can only be used in the following types of documentation: method, inline
> text.
> [WARNING]
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/exceptions/RegistryException.java:27:
> warning - Tag @inheritDoc cannot be used in constructor documentation.  It
> can only be used in the following types of documentation: method, inline
> text.
> [WARNING]
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/exceptions/RegistryException.java:27:
> warning - Tag @inheritDoc cannot be used in constructor documentation.  It
> can only be used in the following types of documentation: method, inline
> text.
> [WARNING]
> /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/
>
> --
> *Senaka Fernando*
> Member - Integration Technologies Management Co

[Dev] [Urgent] Registry kernel test failure

2013-05-21 Thread Kasun Weranga
 system properly.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.236 sec
Running org.wso2.carbon.registry.core.test.utils.RegistryUtilsTest
log4j:WARN No appenders could be found for logger
(org.wso2.carbon.context.internal.CarbonContextDataHolder).
log4j:WARN Please initialize the log4j system properly.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.741 sec

Results :

Failed tests:

org.wso2.carbon.registry.core.test.jdbc.CustomQueryTest#testCustomQueryResultsOrderForResources
ComparisonFailure

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

[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Kernel . SUCCESS [43.109s]
[INFO] Apache Axis2 - Transport - HTTP ... SUCCESS [4.431s]
[INFO] Apache Axis2 - Clustering . SUCCESS
[1:17.577s]
[INFO] Apache Axis2 - Transport - Base ... SUCCESS [14.936s]
[INFO] Apache Axis2 - Transport - JMS  SUCCESS
[2:02.702s]
[INFO] Apache Axis2 - Transport - MSMQ ... SUCCESS [5.805s]
[INFO] Apache Axis2 - Transport - UDP  SUCCESS [3.106s]
[INFO] WSS4J . SUCCESS
[1:13.766s]
[INFO] WSO2 Carbon Kernel Kernel Patch 0001 .. SUCCESS [0.711s]
[INFO] axis2.wso2  SUCCESS [31.758s]
[INFO] wss4j.wso2  SUCCESS [2.081s]
[INFO] WSO2 Carbon - Utilities ... SUCCESS [41.834s]
[INFO] WSO2 Carbon - User Manager Kernel . SUCCESS [43.241s]
[INFO] WSO2 Carbon - Registry Kernel . FAILURE
[2:58.378s]
[INFO] WSO2 Carbon - Kernel .. SKIPPED
[INFO] WSO2 Carbon - Application Deployer  SKIPPED
[INFO] WSO2 Carbon - UI .. SKIPPED
[INFO] WSO2 Carbon - User Management . SKIPPED
[INFO] WSO2 Carbon - User Management UI .. SKIPPED
[INFO] Distribution-Aggregate  SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 10:56.798s
[INFO] Finished at: Tue May 21 07:50:18 PDT 2013
[INFO] Final Memory: 173M/470M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (test-set0) on
project org.wso2.carbon.registry.core: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/surefire-reports-0
for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :org.wso2.carbon.registry.core

Thanks,
KasunW.


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Code freeze for carbon 4.1.2

2013-05-21 Thread Kasun Weranga
We are using following builder machine for building packs.
IP - 173.164.178.33 - Please don't use it for other builds.


On Tue, May 21, 2013 at 6:40 PM, Kasun Weranga  wrote:

> Please refrain from committing fixes to carbon 4.1.2 branch. We are going
> to build the new pack for the release.
>
>
> Thanks,
> KasunW.
>
>
>
> On Mon, May 20, 2013 at 1:38 PM, Nandika Jayawardana wrote:
>
>> Should be fine. I committed some of the fixes to the bps
>> components already.  I will put the other important fixes in before 21st 12
>> noon. However, for BPS product release, we have more work to be done. Hence
>> I think its better to release only bps components which are required for
>> app factory with this release.
>>
>> Regards
>> Nandika
>>
>>
>> On Mon, May 20, 2013 at 12:55 PM, Kasun Weranga  wrote:
>>
>>> Hi all,
>>>
>>> We are planing to do the $subject at 12 noon in May 21st for the
>>> release. Please shout if you have any concerns.
>>>
>>> Thanks,
>>> KasunW
>>>
>>> --
>>> *Kasun Weranga*
>>> **
>>> Member, Management Committee - Data Technologies
>>> Software Engineer
>>> *WSO2, Inc.
>>> *lean.enterprise.middleware.
>>> mobile : +94 772314602
>>> <http://sanjeewamalalgoda.blogspot.com/>blog :
>>> http://kasunweranga.blogspot.com/
>>>
>>
>>
>>
>> --
>> Nandika Jayawardana
>> Senior Technical Lead
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> *Kasun Weranga*
> **
> Member, Management Committee - Data Technologies
> Software Engineer
> *WSO2, Inc.
> *lean.enterprise.middleware.
> mobile : +94 772314602
> <http://sanjeewamalalgoda.blogspot.com/>blog :
> http://kasunweranga.blogspot.com/
>



-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Code freeze for carbon 4.1.2

2013-05-21 Thread Kasun Weranga
Please refrain from committing fixes to carbon 4.1.2 branch. We are going
to build the new pack for the release.


Thanks,
KasunW.



On Mon, May 20, 2013 at 1:38 PM, Nandika Jayawardana wrote:

> Should be fine. I committed some of the fixes to the bps
> components already.  I will put the other important fixes in before 21st 12
> noon. However, for BPS product release, we have more work to be done. Hence
> I think its better to release only bps components which are required for
> app factory with this release.
>
> Regards
> Nandika
>
>
> On Mon, May 20, 2013 at 12:55 PM, Kasun Weranga  wrote:
>
>> Hi all,
>>
>> We are planing to do the $subject at 12 noon in May 21st for the release.
>> Please shout if you have any concerns.
>>
>> Thanks,
>> KasunW
>>
>> --
>> *Kasun Weranga*
>> **
>> Member, Management Committee - Data Technologies
>> Software Engineer
>> *WSO2, Inc.
>> *lean.enterprise.middleware.
>> mobile : +94 772314602
>> <http://sanjeewamalalgoda.blogspot.com/>blog :
>> http://kasunweranga.blogspot.com/
>>
>
>
>
> --
> Nandika Jayawardana
> Senior Technical Lead
> WSO2 Inc ; http://wso2.com
> lean.enterprise.middleware
>



-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Gihan Anuruddha

2013-05-20 Thread Kasun Weranga
Hi all,

Its my pleasure to welcome Gihan Anuruddha as a WSO2 Committer. Gihan has
made some great contributions to BAM during the last few months and in
recognition of his commitment and contributions the All-MC has voted Gihan
as a committer.

Gihan, welcome aboard and keep up the good work.


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


[Dev] Build failure in carbon 4.1.2 branch

2013-05-20 Thread Kasun Weranga
orm/carbon/platform/branches/4.1.0/components/business-processes/attachment-mgt/org.wso2.carbon.attachment.mgt/4.1.2/src/main/java/org/wso2/carbon/attachment/mgt/configuration/AttachmentServerConfiguration.java:[39,12]
cannot find symbol
symbol  : class AttachmentManagementConfigDocument
location: class
org.wso2.carbon.attachment.mgt.configuration.AttachmentServerConfiguration
[ERROR]
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/components/business-processes/attachment-mgt/org.wso2.carbon.attachment.mgt/4.1.2/src/main/java/org/wso2/carbon/attachment/mgt/configuration/AttachmentServerConfiguration.java:[107,39]
cannot find symbol
symbol  : class TPersistenceConfig
location: class
org.wso2.carbon.attachment.mgt.configuration.AttachmentServerConfiguration
[ERROR]
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/components/business-processes/attachment-mgt/org.wso2.carbon.attachment.mgt/4.1.2/src/main/java/org/wso2/carbon/attachment/mgt/configuration/AttachmentServerConfiguration.java:[143,46]
cannot find symbol
symbol  : class TTransactionManagerConfig
location: class
org.wso2.carbon.attachment.mgt.configuration.AttachmentServerConfiguration
[ERROR]
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/components/business-processes/attachment-mgt/org.wso2.carbon.attachment.mgt/4.1.2/src/main/java/org/wso2/carbon/attachment/mgt/configuration/AttachmentServerConfiguration.java:[153,46]
cannot find symbol
symbol  : class TTransformerFactoryConfig
location: class
org.wso2.carbon.attachment.mgt.configuration.AttachmentServerConfiguration
[ERROR]
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/components/business-processes/attachment-mgt/org.wso2.carbon.attachment.mgt/4.1.2/src/main/java/org/wso2/carbon/attachment/mgt/configuration/AttachmentServerConfiguration.java:[161,12]
cannot find symbol
symbol  : class AttachmentManagementConfigDocument
location: class
org.wso2.carbon.attachment.mgt.configuration.AttachmentServerConfiguration
[ERROR]
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/components/business-processes/attachment-mgt/org.wso2.carbon.attachment.mgt/4.1.2/src/main/java/org/wso2/carbon/attachment/mgt/configuration/AttachmentServerConfiguration.java:[86,8]
cannot find symbol
symbol  : class TAttachmentManagementConfig
location: class
org.wso2.carbon.attachment.mgt.configuration.AttachmentServerConfiguration
[ERROR]
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/components/business-processes/attachment-mgt/org.wso2.carbon.attachment.mgt/4.1.2/src/main/java/org/wso2/carbon/attachment/mgt/configuration/AttachmentServerConfiguration.java:[163,53]
package AttachmentManagementConfigDocument does not exist
[INFO] 14 errors
[INFO] -
[INFO]

[INFO] Reactor Summary:


Thanks,
KasunW.

-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Code freeze for carbon 4.1.2

2013-05-20 Thread Kasun Weranga
Hi all,

We are planing to do the $subject at 12 noon in May 21st for the release.
Please shout if you have any concerns.

Thanks,
KasunW

-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Data publisher publish method wait forever without publishing.

2013-05-19 Thread Kasun Weranga
On Sun, May 19, 2013 at 9:32 PM, Sriskandarajah Suhothayan wrote:

> This can occur if you are passing Agent into the data-publisher when
> initializing the data-publisher. Currently we have improved the code in
> such away that you don’t need to pass the Agent object at all. If you pass
> the agent then is might lead to an error condition
>

Thanks suho, that solves the problem.
Is that means we should use one agent configuration for different kind of
data publishers? I hope when we don't pass agent configuration data-bridge
will create one agent configuration and use it among all the data
publishers. isn't it?

Thanks,
KasunW.


> If that is not the case then we have to drop the message if it cannot
> acquire the semaphore.  But note the semaphore will be full only if the
> server is down and its not sending messages or if the arriving rate is
> significantly higher than the sending rate.
>
> If this is not due to the erroneous case & if its necessary my +1 for you
> to implement the message dropping scenario.
> but do add a configuration to enable and disable this functionality
>
> Suho
>
>
> On Sun, May 19, 2013 at 2:59 PM, Kasun Weranga  wrote:
>
>> Forwarding to dev list.
>>
>> Hi Suho,
>>
>> We faced integration tests hang up issue and the root cause for this
>> issue comes from Semaphore acquire method in publish method and it wait
>> forever for acquiring the Semaphore. This can be easily reproduce in BAM
>> integration tests. Can you please have a look?
>>
>> Thanks,
>> KasunW.
>>
>>
>>
>>
>
>
> --
> *S. Suhothayan
> *
> *Software Engineer,
> Member, Management Committee - Data Technologies Team,
> *
> * *
> *WSO2 Inc. **http://wso2.com
>  <http://wso2.com/>*
> *lean . enterprise . middleware*
>
> *cell: (+94) 779 756 757
> blog: **http://suhothayan.blogspot.com/* <http://suhothayan.blogspot.com/>
> *
> twitter: **http://twitter.com/suhothayan* <http://twitter.com/suhothayan>*
> linked-in: **http://lk.linkedin.com/in/suhothayan*
> *
> *
>



-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: Data publisher publish method wait forever without publishing.

2013-05-19 Thread Kasun Weranga
Forwarding to dev list.

Hi Suho,

We faced integration tests hang up issue and the root cause for this issue
comes from Semaphore acquire method in publish method and it wait forever
for acquiring the Semaphore. This can be easily reproduce in BAM
integration tests. Can you please have a look?

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


Re: [Dev] Code freeze for 4.1.2 release

2013-05-17 Thread Kasun Weranga
Since release date changed to May 22. Shall we do the code freeze by 12
noon in May 21?


On Thu, May 16, 2013 at 12:03 PM, Tharindu Mathew  wrote:

> Had a discussion with Nandika/ Ramith.
>
> Let's extend to May 22nd as a hard deadline. We will host on that day.
>
> Dassa, please note as well. I believe this will be BAM, APIM and BPS.
>
>
> On Thu, May 16, 2013 at 11:47 AM, Dinusha Senanayaka wrote:
>
>> Hi Tharindu,
>>
>> On Thu, May 16, 2013 at 11:23 AM, Tharindu Mathew wrote:
>>
>>> AM folks,
>>>
>>> Can we have some input?
>>
>>
>> We have one L1 which will take some time to fix it. This is discussed in
>> the thread "[dev] javax.naming.NameNotFoundException: Name
>> [jdbc/WSO2UM1] is not bound in this Context. Unable to find [jdbc] " as
>> well.. There are few L2s as well, but those are under control. Shall we
>> extend the code freez to end of today (12 am)..
>>
>> Regards,
>> Dinusha.
>>
>>>
>>>
>>> On Thu, May 16, 2013 at 11:03 AM, Nandika Jayawardana 
>>> wrote:
>>>
>>>> Shall we have 22 May as the hard deadline.
>>>>
>>>> Regards
>>>> Nandika
>>>>
>>>>
>>>> On Wed, May 15, 2013 at 10:27 PM, Ramith Jayasinghe wrote:
>>>>
>>>>> +1 for making BPS also in to this release.
>>>>> There are improvements to BPEL features which Appfactory would like to
>>>>> incoporate in next point release.
>>>>>
>>>>>
>>>>>
>>>>> On Thu, May 16, 2013 at 10:53 AM, Nandika Jayawardana <
>>>>> nand...@wso2.com> wrote:
>>>>>
>>>>>> We need some more time to get bps related fixes in. App factory also
>>>>>> depends on bps.
>>>>>>
>>>>>> Regards
>>>>>> Nandika
>>>>>>
>>>>>> On Wed, May 15, 2013 at 2:27 AM, Tharindu Mathew 
>>>>>> wrote:
>>>>>>
>>>>>>> Shall we have $subject by 12 noon May 16th?
>>>>>>>
>>>>>>> --
>>>>>>> Regards,
>>>>>>>
>>>>>>> Tharindu Mathew
>>>>>>>
>>>>>>> Associate Technical Lead, WSO2 BAM
>>>>>>> Member - Data Mgmt. Committee
>>>>>>>
>>>>>>> blog: http://tharindumathew.com/
>>>>>>> M: +9459908
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Nandika Jayawardana
>>>>>> Senior Technical Lead
>>>>>> WSO2 Inc ; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Ramith Jayasinghe
>>>>> Technical Lead
>>>>> WSO2 Inc., http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> E: ram...@wso2.com
>>>>> P: +94 776715671
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Nandika Jayawardana
>>>> Senior Technical Lead
>>>> WSO2 Inc ; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Tharindu Mathew
>>>
>>> Associate Technical Lead, WSO2 BAM
>>> Member - Data Mgmt. Committee
>>>
>>> blog: http://tharindumathew.com/
>>> M: +9459908
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Dinusha Dilrukshi
>> Software Engineer
>> WSO2 Inc.: http://wso2.com/
>> Mobile: +94725255071
>> Blog: http://dinushasblog.blogspot.com/
>>
>
>
>
> --
> Regards,
>
> Tharindu Mathew
>
> Associate Technical Lead, WSO2 BAM
> Member - Data Mgmt. Committee
>
> blog: http://tharindumathew.com/
> M: +9459908
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM 2.3.0 pack - 17th-May-2013

2013-05-17 Thread Kasun Weranga
Currently We are using older automation tests framework and it doesn't
provide the coverage report. We need to move to new automation tests
framework soon, because we need to do some platform test coverage using ESB
and AS too in addition to integration tests.

We have added 21 test cases for BAM, but we can't get coverage report due
to above reason.

Thanks,
KasunW.


On Fri, May 17, 2013 at 3:12 PM, Samisa Abeysinghe  wrote:

> I meant auto test coverage
>
>
> On Fri, May 17, 2013 at 3:10 PM, Chamara Ariyarathne wrote:
>
>>
>> https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0Arq6v3erBv8sdFczQVVraHFUeGhpT2NQWEt4cEk5VFE#gid=12
>>
>> Comprehensive but need to be formatted elegantly.
>>
>>
>> On Fri, May 17, 2013 at 3:00 PM, Samisa Abeysinghe wrote:
>>
>>> Test coverage?
>>>
>>>
>>> On Fri, May 17, 2013 at 2:52 PM, Chamara Ariyarathne 
>>> wrote:
>>>
>>>> Ashan will be verifying the Oracle toolboxes for the scenarios of ESB
>>>> Mediation stats, Activity Monitoring and AS service stats.
>>>>
>>>>
>>>> On Fri, May 17, 2013 at 2:13 PM, Kasun Weranga  wrote:
>>>>
>>>>> Updated the pack. Please use it for testing.
>>>>>
>>>>>
>>>>> On Fri, May 17, 2013 at 12:18 PM, Shavantha Weerasinghe <
>>>>> shavan...@wso2.com> wrote:
>>>>>
>>>>>> hi sinthuja
>>>>>>
>>>>>> thanks for the update on location
>>>>>>
>>>>>> regards,
>>>>>>
>>>>>> Shavantha Weerasinghe
>>>>>> Senior Software Engineer QA
>>>>>> *WSO2, Inc.
>>>>>> *lean.enterprise.middleware.
>>>>>> http://wso2.com
>>>>>> http://wso2.org
>>>>>>
>>>>>>
>>>>>> On Fri, May 17, 2013 at 12:16 PM, Sinthuja Ragendran <
>>>>>> sinth...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Shavantha,
>>>>>>>
>>>>>>> It's bundled within the pack. You can get all latest toolboxes from
>>>>>>> BAM_HOME/samples/toolboxes directory.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Sinthuja.
>>>>>>>
>>>>>>>
>>>>>>> On Fri, May 17, 2013 at 12:11 PM, Shavantha Weerasinghe <
>>>>>>> shavan...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi All
>>>>>>>>
>>>>>>>> Can we have the SVN location where all the latest toolboxes are
>>>>>>>> uploaded to
>>>>>>>>
>>>>>>>> regards,
>>>>>>>>
>>>>>>>> Shavantha Weerasinghe
>>>>>>>> Senior Software Engineer QA
>>>>>>>> *WSO2, Inc.
>>>>>>>> *lean.enterprise.middleware.
>>>>>>>> http://wso2.com
>>>>>>>> http://wso2.org
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, May 17, 2013 at 12:04 PM, Kasun Weranga wrote:
>>>>>>>>
>>>>>>>>> Hi QA team,
>>>>>>>>>
>>>>>>>>> Please find the latest BAM pack from here [1]
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> KasunW.
>>>>>>>>>
>>>>>>>>> [1] http://173.164.178.33/builds/BAM-2.3.0/17-May-2013/
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Kasun Weranga*
>>>>>>>>> **
>>>>>>>>> Member, Management Committee - Data Technologies
>>>>>>>>> Software Engineer
>>>>>>>>> *WSO2, Inc.
>>>>>>>>> *lean.enterprise.middleware.
>>>>>>>>> mobile : +94 772314602
>>>>>>>>> <http://sanjeewamalalgoda.blogspot.com/>blog :
>>>>>>>>> http://kasunweranga.blogspot.com/
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Sinthuja Rajendran*
>>>>>>> Software Engineer <http://wso2.com/>
>>>>>>> WSO2, Inc.:http://wso2.com
>>>>>>>
>>>>>>> Blog: http://sinthu-rajan.blogspot.com/
>>>>>>> Mobile: +94774273955
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Kasun Weranga*
>>>>> **
>>>>> Member, Management Committee - Data Technologies
>>>>> Software Engineer
>>>>> *WSO2, Inc.
>>>>> *lean.enterprise.middleware.
>>>>> mobile : +94 772314602
>>>>> <http://sanjeewamalalgoda.blogspot.com/>blog :
>>>>> http://kasunweranga.blogspot.com/
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Chamara Ariyarathne*
>>>> Senior Software Engineer - QA;
>>>> WSO2 Inc; http://www.wso2.com/.
>>>> Mobile; *+94772786766*
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>
>>
>> --
>> *Chamara Ariyarathne*
>> Senior Software Engineer - QA;
>> WSO2 Inc; http://www.wso2.com/.
>> Mobile; *+94772786766*
>>
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM 2.3.0 pack - 17th-May-2013

2013-05-17 Thread Kasun Weranga
Updated the pack. Please use it for testing.


On Fri, May 17, 2013 at 12:18 PM, Shavantha Weerasinghe
wrote:

> hi sinthuja
>
> thanks for the update on location
>
> regards,
>
> Shavantha Weerasinghe
> Senior Software Engineer QA
> *WSO2, Inc.
> *lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
>
>
> On Fri, May 17, 2013 at 12:16 PM, Sinthuja Ragendran wrote:
>
>> Hi Shavantha,
>>
>> It's bundled within the pack. You can get all latest toolboxes from
>> BAM_HOME/samples/toolboxes directory.
>>
>> Thanks,
>> Sinthuja.
>>
>>
>> On Fri, May 17, 2013 at 12:11 PM, Shavantha Weerasinghe <
>> shavan...@wso2.com> wrote:
>>
>>> Hi All
>>>
>>> Can we have the SVN location where all the latest toolboxes are uploaded
>>> to
>>>
>>> regards,
>>>
>>> Shavantha Weerasinghe
>>> Senior Software Engineer QA
>>> *WSO2, Inc.
>>> *lean.enterprise.middleware.
>>> http://wso2.com
>>> http://wso2.org
>>>
>>>
>>> On Fri, May 17, 2013 at 12:04 PM, Kasun Weranga  wrote:
>>>
>>>> Hi QA team,
>>>>
>>>> Please find the latest BAM pack from here [1]
>>>>
>>>> Thanks,
>>>> KasunW.
>>>>
>>>> [1] http://173.164.178.33/builds/BAM-2.3.0/17-May-2013/
>>>>
>>>>
>>>> --
>>>> *Kasun Weranga*
>>>> **
>>>> Member, Management Committee - Data Technologies
>>>> Software Engineer
>>>> *WSO2, Inc.
>>>> *lean.enterprise.middleware.
>>>> mobile : +94 772314602
>>>> <http://sanjeewamalalgoda.blogspot.com/>blog :
>>>> http://kasunweranga.blogspot.com/
>>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Sinthuja Rajendran*
>> Software Engineer <http://wso2.com/>
>> WSO2, Inc.:http://wso2.com
>>
>> Blog: http://sinthu-rajan.blogspot.com/
>> Mobile: +94774273955
>>
>>
>>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] BAM 2.3.0 pack - 17th-May-2013

2013-05-16 Thread Kasun Weranga
Hi QA team,

Please find the latest BAM pack from here [1]

Thanks,
KasunW.

[1] http://173.164.178.33/builds/BAM-2.3.0/17-May-2013/


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Code freeze for 4.1.2 release

2013-05-15 Thread Kasun Weranga
On Thu, May 16, 2013 at 11:28 AM, Tharindu Mathew  wrote:

> I feel if you haven't already incorporated anything, this will take at
> least 2 -3 weeks for QA and release. We have already pushed the release
> from May 3rd for 2 weeks, and we need to finalize this.
>
> Can BPS components for a 4.1.3?



Yeah. I think it is a better option. ESB team also going to release in next
few weeks using 4.1.3, so you will have time to do a proper QA and release.

Thanks,
KasunW.

>
>
> On Thu, May 16, 2013 at 11:23 AM, Tharindu Mathew wrote:
>
>> AM folks,
>>
>> Can we have some input?
>>
>>
>> On Thu, May 16, 2013 at 11:03 AM, Nandika Jayawardana 
>> wrote:
>>
>>> Shall we have 22 May as the hard deadline.
>>>
>>> Regards
>>> Nandika
>>>
>>>
>>> On Wed, May 15, 2013 at 10:27 PM, Ramith Jayasinghe wrote:
>>>
>>>> +1 for making BPS also in to this release.
>>>> There are improvements to BPEL features which Appfactory would like to
>>>> incoporate in next point release.
>>>>
>>>>
>>>>
>>>> On Thu, May 16, 2013 at 10:53 AM, Nandika Jayawardana >>> > wrote:
>>>>
>>>>> We need some more time to get bps related fixes in. App factory also
>>>>> depends on bps.
>>>>>
>>>>> Regards
>>>>> Nandika
>>>>>
>>>>> On Wed, May 15, 2013 at 2:27 AM, Tharindu Mathew wrote:
>>>>>
>>>>>> Shall we have $subject by 12 noon May 16th?
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>>
>>>>>> Tharindu Mathew
>>>>>>
>>>>>> Associate Technical Lead, WSO2 BAM
>>>>>> Member - Data Mgmt. Committee
>>>>>>
>>>>>> blog: http://tharindumathew.com/
>>>>>> M: +9459908
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Nandika Jayawardana
>>>>> Senior Technical Lead
>>>>> WSO2 Inc ; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Ramith Jayasinghe
>>>> Technical Lead
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> E: ram...@wso2.com
>>>> P: +94 776715671
>>>>
>>>>
>>>
>>>
>>> --
>>> Nandika Jayawardana
>>> Senior Technical Lead
>>> WSO2 Inc ; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Tharindu Mathew
>>
>> Associate Technical Lead, WSO2 BAM
>> Member - Data Mgmt. Committee
>>
>> blog: http://tharindumathew.com/
>> M: +9459908
>>
>
>
>
> --
> Regards,
>
> Tharindu Mathew
>
> Associate Technical Lead, WSO2 BAM
> Member - Data Mgmt. Committee
>
> blog: http://tharindumathew.com/
> M: +9459908
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Need axis2 Patch for TransportUtils.getMessageFormatter(Lorg/apache/axis2/context/MessageContext; )Lorg/apache/axis2/transport/MessageFormatter; ESB 4.7.0 JMS scenaris failed due

2013-05-13 Thread Kasun Weranga
ted to this. Seems we have to modify
>>>>>>>>> the transports.
>>>>>>>>> Kasung will provide a patch on this.
>>>>>>>>> I believe we can include this fix into kernel patch0001?.
>>>>>>>>> Pradeep/Kishanthan is that the recommended way?.
>>>>>>>>>
>>>>>>>>> thanks,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, May 9, 2013 at 9:56 AM, Dushan Abeyruwan 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> 13-05-09 09:52:41,588]  INFO - JMSListener JMS listener started
>>>>>>>>> [2013-05-09 09:52:41,743]  INFO - RegistryEventingServiceComponent
>>>>>>>>> Successfully Initialized Eventing on Registry
>>>>>>>>> [2013-05-09 09:52:42,133]  INFO - JMXServerManager JMX Service URL
>>>>>>>>>  : service:jmx:rmi://localhost:1/jndi/rmi://localhost:/jmxrmi
>>>>>>>>> [2013-05-09 09:52:42,134]  INFO - StartupFinalizerServiceComponent
>>>>>>>>> Server   :  WSO2 Enterprise Service Bus-4.7.0
>>>>>>>>> [2013-05-09 09:52:42,134]  INFO - StartupFinalizerServiceComponent
>>>>>>>>> WSO2 Carbon started in 22 sec
>>>>>>>>> [2013-05-09 09:52:42,422]  INFO - CarbonUIServiceComponent Mgt
>>>>>>>>> Console URL  : https://192.168.1.3:9443/carbon/
>>>>>>>>> [2013-05-09 09:52:44,240]  INFO - LogMediator To:
>>>>>>>>> /services/ProxyA, WSAction: urn:getQuote, SOAPAction: urn:getQuote,
>>>>>>>>> MessageID: urn:uuid:5b2bae8d-db37-4248-a0d3-69e8c53b5346, Direction: 
>>>>>>>>> request
>>>>>>>>> [2013-05-09 09:52:44,245]  INFO - TimeoutHandler This engine will
>>>>>>>>> expire all callbacks after : 120 seconds, irrespective of the timeout
>>>>>>>>> action, after the specified or optional timeout
>>>>>>>>> *[2013-05-09 09:52:44,526] ERROR - NativeWorkerPool Uncaught
>>>>>>>>> exception*
>>>>>>>>> *java.lang.NoSuchMethodError:
>>>>>>>>> org.apache.axis2.transport.TransportUtils.getMessageFormatter(Lorg/apache/axis2/context/MessageContext;)Lorg/apache/axis2/transport/MessageFormatter;
>>>>>>>>> *
>>>>>>>>> at
>>>>>>>>> org.apache.axis2.transport.jms.JMSSender.createJMSMessage(JMSSender.java:350)
>>>>>>>>>  at
>>>>>>>>> org.apache.axis2.transport.jms.JMSSender.sendOverJMS(JMSSender.java:172)
>>>>>>>>> at
>>>>>>>>> org.apache.axis2.transport.jms.JMSSender.sendMessage(JMSSender.java:154)
>>>>>>>>>  at
>>>>>>>>> org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112)
>>>>>>>>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>>>>>>>>>  at
>>>>>>>>> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:185)
>>>>>>>>> at
>>>>>>>>> org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:167)
>>>>>>>>>  at
>>>>>>>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>>>>>>>>> at
>>>>>>>>> org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:474)
>>>>>>>>>  at
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> ~~--~~
>>>>>>>> Sending this mail via my phone. Do excuse any typo or short replies
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Dushan Abeyruwan
>>>>>>> *Senior Software Engineer*
>>>>>>> *Integration Technologies Team*
>>>>>>> *Member of Integration MC*
>>>>>>> *WSO2 Inc. http://wso2.com/*
>>>>>>> *Mobile:(+94)714408632*
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Senaka Fernando*
>>>>>> Member - Integration Technologies Management Committee;
>>>>>> Technical Lead; WSO2 Inc.; http://wso2.com*
>>>>>> Member; Apache Software Foundation; http://apache.org
>>>>>>
>>>>>> E-mail: senaka AT wso2.com
>>>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>>>>>> Linked-In: http://linkedin.com/in/senakafernando
>>>>>>
>>>>>> *Lean . Enterprise . Middleware
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Kishanthan Thangarajah*
>>>>> Software Engineer,
>>>>> Development Technologies Team,
>>>>> WSO2, Inc.
>>>>> lean.enterprise.middleware
>>>>>
>>>>> Mobile - +94773426635
>>>>> Blog - *http://kishanthan.wordpress.com*
>>>>> Twitter - *http://twitter.com/kishanthan*
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Kasun Gajasinghe*
>>>> Software Engineer;
>>>> Development Technologies Team, WSO2 Inc.; http://wso2.com
>>>>
>>>>  ,
>>>> *email: **kasung AT spamfree wso2.com
>>>>
>>>> ** cell: **+94 (77) 678-0813*
>>>> *linked-in: *http://lk.linkedin.com/in/gajasinghe
>>>>
>>>> *
>>>> *
>>>> *blog: **http://kasunbg.org* <http://kasunbg.org>
>>>>
>>>> *
>>>> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
>>>>
>>>> *
>>>> *
>>>>
>>>
>>>
>>>
>>> --
>>> *Senaka Fernando*
>>> Member - Integration Technologies Management Committee;
>>> Technical Lead; WSO2 Inc.; http://wso2.com*
>>> Member; Apache Software Foundation; http://apache.org
>>>
>>> E-mail: senaka AT wso2.com
>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>>> Linked-In: http://linkedin.com/in/senakafernando
>>>
>>> *Lean . Enterprise . Middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Dushan Abeyruwan
>> *Senior Software Engineer*
>> *Integration Technologies Team*
>> *Member of Integration MC*
>> *WSO2 Inc. http://wso2.com/*
>> *Mobile:(+94)714408632*
>>
>
>
>
> --
> Miyuru Wanninayaka
> Senior Software Engineer
> Member, Management Committee - Integration Technologies
> WSO2 Inc. : http://wso2.com
>
> Mobile : +94 77 209 9788
> Blog : http://miyurudw.blogspot.com
> Flickr : http://www.flickr.com/photos/miyuru_daminda
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Latest BAM 2.3.0 pack for testing

2013-05-12 Thread Kasun Weranga
.exception.HiveExecutionException:
>>>>>>> Error while executing Hive script.Query returned non-zero code: 9, 
>>>>>>> cause:
>>>>>>> FAILED: Execution Error, return code 1 from
>>>>>>> org.apache.hadoop.hive.ql.exec.DDLTask
>>>>>>>  at
>>>>>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl.execute(HiveExecutorServiceImpl.java:117)
>>>>>>> at
>>>>>>> org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask.execute(HiveScriptExecutorTask.java:60)
>>>>>>>  at
>>>>>>> org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:56)
>>>>>>> at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
>>>>>>>  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.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>>>>  at
>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>>>> at java.lang.Thread.run(Thread.java:662)
>>>>>>>
>>>>>>> Thanks,
>>>>>>> NuwanD
>>>>>>>
>>>>>>>
>>>>>>> On Fri, May 10, 2013 at 11:09 AM, Gihan Anuruddha wrote:
>>>>>>>
>>>>>>>> [Adding dev@]
>>>>>>>> Hi Nuwan,
>>>>>>>>
>>>>>>>> Noted. Sorry for the inconvenience.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Gihan
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, May 10, 2013 at 10:53 AM, Nuwan Dias wrote:
>>>>>>>>
>>>>>>>>> Hi Gihan,
>>>>>>>>>
>>>>>>>>> This should be in the dev@ list.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> NuwanD.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, May 10, 2013 at 10:31 AM, Gihan Anuruddha 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi QA Team,
>>>>>>>>>>
>>>>>>>>>> Please find latest BAM 2.3.0 pack for QA testing at [1].
>>>>>>>>>>
>>>>>>>>>> [1] -
>>>>>>>>>> http://173.164.178.33/builds/BAM-2.3.0/09-05-2013/wso2bam-2.3.0.zip
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Gihan
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> ---
>>>>>>>>>> W.G. Gihan Anuruddha
>>>>>>>>>> Senior Software Engineer | WSO2, Inc.
>>>>>>>>>> M: +94772272595
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Nuwan Dias
>>>>>>>>>
>>>>>>>>> Member, Management Committee - Solutions Technology Group
>>>>>>>>> Software Engineer - WSO2, Inc. http://wso2.com
>>>>>>>>> email : nuw...@wso2.com
>>>>>>>>> Phone : +94 777 775 729
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> ---
>>>>>>>> W.G. Gihan Anuruddha
>>>>>>>> Senior Software Engineer | WSO2, Inc.
>>>>>>>> M: +94772272595
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Nuwan Dias
>>>>>>>
>>>>>>> Member, Management Committee - Solutions Technology Group
>>>>>>> Software Engineer - WSO2, Inc. http://wso2.com
>>>>>>> email : nuw...@wso2.com
>>>>>>> Phone : +94 777 775 729
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Sanjeewa Malalgoda*
>>>>>> WSO2 Inc.
>>>>>> Mobile : +14084122175 | +94713068779
>>>>>>
>>>>>>  <http://sanjeewamalalgoda.blogspot.com/>blog
>>>>>> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>
>>>>
>>>> --
>>>> Nuwan Dias
>>>>
>>>> Member, Management Committee - Solutions Technology Group
>>>> Software Engineer - WSO2, Inc. http://wso2.com
>>>> email : nuw...@wso2.com
>>>> Phone : +94 777 775 729
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Tharindu Mathew
>>>
>>> Associate Technical Lead, WSO2 BAM
>>> Member - Data Mgmt. Committee
>>>
>>> blog: http://tharindumathew.com/
>>> M: +9459908
>>>
>>
>>
>>
>> --
>> *Sanjeewa Malalgoda*
>> WSO2 Inc.
>> Mobile : +14084122175 | +94713068779
>>
>>  <http://sanjeewamalalgoda.blogspot.com/>blog
>> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
>>
>
>
>
> --
> Regards,
>
> Tharindu Mathew
>
> Associate Technical Lead, WSO2 BAM
> Member - Data Mgmt. Committee
>
> blog: http://tharindumathew.com/
> M: +9459908
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Changing default Cache to Infinispan Cache in BAM

2013-05-08 Thread Kasun Weranga
So both Ehcache and infinispan has some issues. But isn't it ok to
use infinispan for BAM 2.3.0 since it fix the
BAM-1042<https://wso2.org/jira/browse/BAM-1042>
.
+1 for using Hazelcast, We need to move to Hazelcast in carbon 4.2.0 once
it is available.

Thanks,
KasunW.

On Wed, May 8, 2013 at 10:34 PM, Afkham Azeez  wrote:

>
>
> On Wed, May 8, 2013 at 10:18 PM, Paul Fremantle  wrote:
>
>> Have you looked at Hazelcast?
>> Azeez - what do you recommend?
>>
>>
> We have seen all sorts of issues while running with infinispan. These
> start to crop up once you leave the system running for a while. So, we are
> definitely better off look into Hazelcast.
>

>
>> Paul
>>
>>
>> On 8 May 2013 17:44, Inosh Goonewardena  wrote:
>>
>>> Hi,
>>>
>>> We have encountered some problems in retrieving key-space from cassandra
>>> (BAM-1042 <https://wso2.org/jira/browse/BAM-1042>) with EHCache. So
>>> that we have planned to use Infinispan Cache instead of Ehcache in BAM. I
>>> hope there won't be any impact due to this change.
>>>
>>> --
>>> Regards,
>>>
>>> Inosh Goonewardena
>>> Associate Technical Lead- WSO2 Inc.
>>> Mobile: +94779966317
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Paul Fremantle
>> CTO and Co-Founder, WSO2
>> OASIS WS-RX TC Co-chair, VP, Apache Synapse
>>
>> UK: +44 207 096 0336
>> US: +1 646 595 7614
>>
>> blog: http://pzf.fremantle.org
>> twitter.com/pzfreo
>> p...@wso2.com
>>
>> wso2.com Lean Enterprise Middleware
>>
>> Disclaimer: This communication may contain privileged or other
>> confidential information and is intended exclusively for the addressee/s.
>> If you are not the intended recipient/s, or believe that you may have
>> received this communication in error, please reply to the sender indicating
>> that fact and delete the copy you received and in addition, you should not
>> print, copy, retransmit, disseminate, or otherwise use the information
>> contained in this communication. Internet communications cannot be
>> guaranteed to be timely, secure, error or virus-free. The sender does not
>> accept liability for any errors or omissions.
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>
> *
> *
> *Lean . Enterprise . Middleware*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build failure in ESB 4.7.0

2013-05-07 Thread Kasun Weranga
at
org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute(UnpackMojo.java:67)
 at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
 ... 19 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Could not find artifact org.wso2.carbon:WSO2-CARBON-PATCH-4.1.0:zip:0002 in
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.wso2.carbon
-DartifactId=WSO2-CARBON-PATCH-4.1.0 -Dversion=0002 -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.carbon
-DartifactId=WSO2-CARBON-PATCH-4.1.0 -Dversion=0002 -Dpackaging=zip
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.wso2.carbon:WSO2-CARBON-PATCH-4.1.0:zip:0002

from the specified remote repositories:
  wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
releases=true, snapshots=true),
  central (http://repo1.maven.org/maven2, releases=true, snapshots=false)

at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:219)
 at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:157)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:525)
 at
org.apache.maven.plugin.dependency.fromConfiguration.AbstractFromConfigurationMojo.getArtifact(AbstractFromConfigurationMojo.java:242)
... 23 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:
Could not find artifact org.wso2.carbon:WSO2-CARBON-PATCH-4.1.0:zip:0002 in
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:541)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:220)
 at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:197)
at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:323)
 at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:213)
... 26 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could
not find artifact org.wso2.carbon:WSO2-CARBON-PATCH-4.1.0:zip:0002 in
wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:945)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:940)
 at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:695)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:689)
 at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.get(WagonRepositoryConnector.java:445)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:460)
 ... 30 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :wso2esb-p2-profile


Thanks,
KasunW.

-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM][BAM2] Integrating API manager 1.4.0 with BAM 2.3.0

2013-05-07 Thread Kasun Weranga
ionFilterChain.java:210)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
>>  at
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
>> at
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
>>  at
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
>> at
>> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
>>  at
>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
>> at
>> org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
>>  at
>> org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
>> at
>> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
>>  at
>> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
>> at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
>>  at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>  at
>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>> at
>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>  at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>> at
>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>  at
>> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>  at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>> at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>  at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>  at
>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:177)
>> at
>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161)
>>  at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>> at
>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
>>  at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>  at
>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>> at
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>>  at
>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>  at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>> at java.lang.Thread.run(Thread.java:619)
>>
>>
>> --
>> *Sanjeewa Malalgoda*
>> WSO2 Inc.
>> Mobile : +14084122175 | +94713068779
>>
>>  <http://sanjeewamalalgoda.blogspot.com/>blog
>> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] More than jars of same feature in BAM plugins folder

2013-05-02 Thread Kasun Weranga
Is this in new pack (no more than old 2 days)? I noticed this Cassandra
duplication from cassandra-explorer feature and removed it. Can you check
this in new pack?


On Thu, May 2, 2013 at 3:26 PM, Buddhika Chamith  wrote:

> zookeeper duplication is already fixed and will be available with the next
> pack. Apparently the cassandra duplication is occuring due to logging-mgt
> component still referring to older Cassandra version.
>
> Regards
> Buddhika
>
>
> On Thu, May 2, 2013 at 3:07 PM, Chamara Ariyarathne wrote:
>
>> I found this in the {$BAM_HOME}/repository/components/plugins folder
>>
>> -rw-r--r--  1 chamara chamara 3.1M Apr 22 22:18
>> apache-cassandra_1.1.3.wso2v2.jar
>> -rw-r--r--  1 chamara chamara 3.1M Apr 22 22:18
>> apache-cassandra_1.1.3.wso2v3.jar
>> -rw-r--r--  1 chamara chamara 598K Apr 22 22:18
>> apache-zookeeper_3.3.6.wso2v1.jar
>> -rw-r--r--  1 chamara chamara 768K Apr 22 22:18
>> apache-zookeeper_3.4.4.wso2v1.jar
>>
>> Is it to support those versions? Or are these added here by mistake?
>>
>> --
>> *Chamara Ariyarathne*
>> Senior Software Engineer - QA;
>> WSO2 Inc; http://www.wso2.com/.
>> Mobile; *+94772786766*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What's the point of having carbon.port.offset in Hive scripts

2013-04-26 Thread Kasun Weranga
Hi all,

Since this thread is too long with lots of suggestions. Let me summarize
all the things that has been discussed in here.

Issue:-

We are trying to give better user experience by handling the port offset so
user don't have to do anything when deploying a toolbox in the default BAM
setup after changing the port offset in carbon.xml.

Suggesions and Approaches:-

1. Current implementation
Introduced a parameter ('carbon.port.offset')  to hive script and by using
that we can control the port offset depending on whether Cassandra is
embedded or external.
disadvantages :- we have to change the hive script
('carbon.port.offset'=false) if the deployment is using external cluster.
 change is not scriptable

2. Change the Cassandra datasource url, so that we can identify the
embedded and external Cassandra deployment and assign the Cassandra port
value accordingly.

disadvantages :- we have to change the current Cassandra datasource url
pattern (jdbc:cassandra://Ip:port/keyspace)and there will be two urls for
embedded one and external one.


3. Hive will take the decision whether it is embedded or external by
checking the availability of Cassandra port on the local server.

disadvantage :- In the external Cassandra deployment, there can be a port
with (+) in the local machine. In this
case there can be an issue.


4. Port offset doesn't handle by Hive. :) User will change it via
master-datasource.xml

disadvantage :- If a user change the port offset and he is using embedded
Cassandra then every time he will have to change the Cassandra port value
in master-datasource.xml.


Thanks,
KasunW.

On Sat, Apr 27, 2013 at 12:01 AM, Kasun Weranga  wrote:

>
>
>
> On Fri, Apr 26, 2013 at 9:42 PM, Sinthuja Ragendran wrote:
>
>>
>>
>>
>> On Fri, Apr 26, 2013 at 8:43 PM, Kasun Weranga  wrote:
>>
>>>
>>>
>>> On Friday, April 26, 2013, Sinthuja Ragendran wrote:
>>>
>>>>
>>>> On 26 Apr 2013 19:10, "Kasun Weranga"  wrote:
>>>> >
>>>> > I was thinking about removing this carbon.port.offset property from
>>>> hive script and handle this situation by hive itself. What we can do is we
>>>> can check the availability of cassandra port ( +>>> offset>) and if it is available we can assign that port as the cassandra
>>>> port.
>>>>
>>>> What do you mean by availability of cassandra port? Are you suggesting
>>>> to check whether the cassandra port is open?
>>>>
>>> Yes.
>>>
>>
>> Let say we have two BAM instances in the same node. One server as
>> analyzer instance and other one as cassandra instance. And from analyzer
>> instance I need to connect to the cassandra server instance. Since the
>> cassandra  port will also be open in the analyzer instance AFAIU in your
>> suggested approach, the hive scripts in analyzer node will connect to the
>> embedded cassandra server of the analyzer instance isn't?
>>
>
> I ignore this case, since if he is using external Cassandra we don't
> recommend to start the Cassandra server in analyzer node. Anyway there is a
> issue if this connect to some other port in the same machine there can be a
> rare possibility for that.
>
> Anyway now this thread seems filled with lots of suggestions :) and it is
> difficult for others to follow.
>
>
>  And how can we change it to connect to the cassandra instance from
>> analyzer instance in your suggested approach? Can you please clear me on
>> this on your approach.
>>
>> Thanks,
>> Sinthuja.
>>
>>
>>
>>  Thanks,
>>>> Sinthuja.
>>>>
>>>> If it is not available then we can use the port value define in the
>>>> Cassandra data source.
>>>> > This will handle both embedded and external cassandra usecase without
>>>> changing the hive script and existing Cassandra datasource url pattern.  I
>>>> think this is much cleaner way to handle this situation. Isn't it?
>>>> >
>>>> > On Friday, April 26, 2013, Supun Malinga wrote:
>>>> >>
>>>> >> Hi,
>>>> >>
>>>> >> Couldn't read all the replies thoroughly.
>>>> >> Do you suggest that we can define the port in
>>>> master-datasources.xml?.
>>>> >>
>>>> >> About user mistakes I believe proper documenting how to handle a
>>>> portoff set scenario would be a better option.
>>>> >>
>>>> >> thanks,
>>>> >>
>>>> >> On Fri, Apr 26, 2013 at 4:06 PM, Chamara A

Re: [Dev] Sync UDDI registry changes on G-Reg

2013-04-25 Thread Kasun Weranga
On Fri, Apr 26, 2013 at 10:14 AM, Subash Chaturanga  wrote:

> Hi,
> When an external client persist services to G-Reg's UDDI registry, those
> services needs to be persisted in governance registry also. For this AFAIK
> the solution proposed is to write JPA interceptors.
>  Any reason why not JAX-WS interceptors ?
>

Because users can publish data to UDDI via java API too.


>
> --
> *Thanks*
> */subash*
> *
> *
> *Subash Chaturanga*
> *Software Engineer*
> *Integration Technologies Team;*
> *WSO2 Inc. http://wso2.com*
> *Email - sub...@wso2.com*
> *Phone - 0772225922*
> *Blog - http://subashsdm.blogspot.com/*
>



-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Code Freeze for 4.1.2 Platform - 30th April 6:00 PM.

2013-04-24 Thread Kasun Weranga
Hi all,

We are planing to do the $subject for BAM 2.3.0 release scheduled for May
3.

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


[Dev] API-M toolbox need to be updated for publishing multiple stream definitions

2013-04-22 Thread Kasun Weranga
Hi,

Ayashkhantha was checking the issue of publishing multiple stream
definition in API-M toolbox. The actual issue was streams.properties file
of API-M toolbox is not correct and it should be updated as follows to
publish multiple stream definitions.

streams.definitions=defn1,defn2,defn3
streams.definitions.defn1.filename=responseStreamDefn
streams.definitions.defn1.username=admin
streams.definitions.defn1.password=admin
streams.definitions.defn1.description=This is the datastream published from
APIManager Stats Client
streams.definitions.defn2.filename=requestStreamDefn
streams.definitions.defn2.username=admin
streams.definitions.defn2.password=admin
streams.definitions.defn2.description=This is the datastream published from
APIManager Stats Client
streams.definitions.defn3.filename=faultStreamDefn
streams.definitions.defn3.username=admin
streams.definitions.defn3.password=admin
streams.definitions.defn3.description=This is the datastream published from
APIManager Stats Client for Faults

Please update the toolbox as above. Also I hope this should fix the API-M
and BAM 2.2.0  integration issue as well.

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


Re: [Dev] Patch release 4.1.2 build failure

2013-04-21 Thread Kasun Weranga
;>
>>> --
>>> *Isuru Udana*
>>> *
>>> *
>>> *
>>> Software Engineer
>>> *
>>> Integration Technologies Team, WSO2 Inc.; http://wso2.com
>>> email: isu...@wso2.com cell: +94 77 3791887
>>> blog: http://mytecheye.blogspot.com/
>>> twitter: http://twitter.com/isudana
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Nuwan Dias
>>
>> Member, Management Committee - Solutions Technology Group
>> Software Engineer - WSO2, Inc. http://wso2.com
>> email : nuw...@wso2.com
>> Phone : +94 777 775 729
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build Failure -patch release 4.1.2

2013-04-18 Thread Kasun Weranga
Hi,


I am getting following error.


[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: junit:junit:jar -> duplicate declaration of version (?) @
line 182, column 21
[ERROR] Child module
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/../../../components/identity/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.1.2
of
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/pom.xml
does not exist @
[ERROR] Child module
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/../../../components/identity/org.wso2.carbon.identity.authenticator.saml2.sso/4.1.2
of
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/pom.xml
does not exist @
[ERROR] Child module
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/../../../components/identity/org.wso2.carbon.identity.authenticator.saml2.sso.stub/4.1.2
of
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/pom.xml
does not exist @
[ERROR] Child module
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/../../../components/identity/org.wso2.carbon.identity.oauth.stub/4.1.2
of
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/pom.xml
does not exist @
[WARNING]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique:
org.wso2.carbon:org.wso2.carbon.databridge.commons.thrift:jar -> duplicate
declaration of version ${wso2carbon.version.databridge} @
org.wso2.carbon:data-bridge-feature:4.1.0,
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/features/data-bridge/pom.xml,
line 104, column 25
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but
found duplicate declaration of plugin
org.apache.maven.plugins:maven-resources-plugin @ line 130, column 21

at
org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:339)
 at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:632)
at
org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:581)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:233)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[ERROR]
[ERROR]   The project
org.wso2.carbon:platform-patch-releases-components:4.1.2
(/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/pom.xml)
has 4 errors
[ERROR] Child module
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/../../../components/identity/org.wso2.carbon.identity.authenticator.saml2.sso.common/4.1.2
of
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/pom.xml
does not exist
[ERROR] Child module
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/../../../components/identity/org.wso2.carbon.identity.authenticator.saml2.sso/4.1.2
of
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/pom.xml
does not exist
[ERROR] Child module
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/../../../components/identity/org.wso2.carbon.identity.authenticator.saml2.sso.stub/4.1.2
of
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/pom.xml
does not exist
[ERROR] Child module
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/../../../components/identity/org.wso2.carbon.identity.oauth.stub/4.1.2
of
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.1.0/patch-releases/4.1.2/components/pom.xml
does no

Re: [Dev] [Blocker] Integration tests hang up when the whole test suite is run

2013-04-18 Thread Kasun Weranga
We faced this issue in BAM 2.2.0 release, before that we didn't get such
issue. But couldn't fix it before the release. we ran tests individually
for that release.


On Thu, Apr 18, 2013 at 12:52 PM, Krishantha Samaraweera <
krishan...@wso2.com> wrote:

> Hi,
>
> Is this the first time you guys experience this behavior. BAM integration
> tests still depends on old test automation framework which we haven't
> touched for years.
>
> Thanks,
> Krishantha.
>
>
> On Thu, Apr 18, 2013 at 11:32 AM, Tharindu Mathew wrote:
>
>> Hi,
>>
>> When we run our test suite, after some tests the integration tests hangs
>> up. This is regardless of the tests failing or not.
>>
>> If we run these tests, individually the tests finish.
>>
>> Is there a problem with the integration test framework?
>>
>> PS: You can re-produce this if you run the integration tests of the BAM
>> product
>>
>> --
>> Regards,
>>
>> Tharindu Mathew
>>
>> Associate Technical Lead, WSO2 BAM
>> Member - Data Mgmt. Committee
>>
>> blog: http://tharindumathew.com/
>> M: +9459908
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Commits] Build broken [was Re: [Carbon-platform] svn commit r170526 - in carbon/platform/branches/4.1.0/dependencies/hive/0.8.1-wso2v7/cassandra-handler/src/java/org/apache/hadoop/hive/cass

2013-04-17 Thread Kasun Weranga
rbon/platform/branches/4.1.0/dependencies/hive/0.8.1-wso2v7/cassandra-handler/src/java/org/apache/hadoop/hive/cassandra/input/HiveCassandraStandardColumnInputFormat.java
>> URL:
>> http://wso2.org/svn/browse/wso2/carbon/platform/branches/4.1.0/dependencies/hive/0.8.1-wso2v7/cassandra-handler/src/java/org/apache/hadoop/hive/cassandra/input/HiveCassandraStandardColumnInputFormat.java?rev=170526&r1=170525&r2=170526&view=diff
>>
>> ==
>> ---
>> carbon/platform/branches/4.1.0/dependencies/hive/0.8.1-wso2v7/cassandra-handler/src/java/org/apache/hadoop/hive/cassandra/input/HiveCassandraStandardColumnInputFormat.java
>> (original)
>> +++
>> carbon/platform/branches/4.1.0/dependencies/hive/0.8.1-wso2v7/cassandra-handler/src/java/org/apache/hadoop/hive/cassandra/input/HiveCassandraStandardColumnInputFormat.java
>> Wed Apr 17 18:40:40 2013
>> @@ -19,8 +19,10 @@
>>  import org.apache.commons.logging.Log;
>>  import org.apache.commons.logging.LogFactory;
>>  import org.apache.hadoop.fs.Path;
>> +import org.apache.hadoop.hive.cassandra.PortOffsetFetcher;
>>  import org.apache.hadoop.hive.cassandra.serde.AbstractColumnSerDe;
>>  import org.apache.hadoop.hive.serde2.ColumnProjectionUtils;
>> +import org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe;
>>  import org.apache.hadoop.io.BytesWritable;
>>  import org.apache.hadoop.io.MapWritable;
>>  import org.apache.hadoop.mapred.InputSplit;
>> @@ -149,7 +151,14 @@
>>  AbstractColumnSerDe.CASSANDRA_SPLIT_SIZE,
>>  AbstractColumnSerDe.DEFAULT_SPLIT_SIZE);
>>  String cassandraColumnMapping =
>> jobConf.get(AbstractColumnSerDe.CASSANDRA_COL_MAPPING);
>> -int rpcPort = jobConf.getInt(AbstractColumnSerDe.CASSANDRA_PORT,
>> 9160);
>> +int rpcPort = 0;
>> +String portOffsetEnabled =
>> jobConf.get(AbstractColumnSerDe.CARBON_PORT_OFFSET);
>> +if( portOffsetEnabled.equals("true")) {
>> +rpcPort = jobConf.getInt(AbstractColumnSerDe.CASSANDRA_PORT,
>> 9160) + PortOffsetFetcher.getPortOffset() + 1;
>> +}
>> +else {
>> +rpcPort = jobConf.getInt(AbstractColumnSerDe.CASSANDRA_PORT,
>> 9160);
>> +}
>>  String host = jobConf.get(AbstractColumnSerDe.CASSANDRA_HOST);
>>  String partitioner =
>> jobConf.get(AbstractColumnSerDe.CASSANDRA_PARTITIONER);
>>
>>
>> Modified:
>> carbon/platform/branches/4.1.0/dependencies/hive/0.8.1-wso2v7/cassandra-handler/src/java/org/apache/hadoop/hive/cassandra/serde/AbstractColumnSerDe.java
>> URL:
>> http://wso2.org/svn/browse/wso2/carbon/platform/branches/4.1.0/dependencies/hive/0.8.1-wso2v7/cassandra-handler/src/java/org/apache/hadoop/hive/cassandra/serde/AbstractColumnSerDe.java?rev=170526&r1=170525&r2=170526&view=diff
>>
>> ==
>> ---
>> carbon/platform/branches/4.1.0/dependencies/hive/0.8.1-wso2v7/cassandra-handler/src/java/org/apache/hadoop/hive/cassandra/serde/AbstractColumnSerDe.java
>>(original)
>> +++
>> carbon/platform/branches/4.1.0/dependencies/hive/0.8.1-wso2v7/cassandra-handler/src/java/org/apache/hadoop/hive/cassandra/serde/AbstractColumnSerDe.java
>>Wed Apr 17 18:40:40 2013
>> @@ -57,6 +57,8 @@
>>public static final String CASSANDRA_SLICE_PREDICATE_RANGE_COUNT =
>> "cassandra.slice.predicate.range.count";
>>public static final String CASSANDRA_ENABLE_WIDEROW_ITERATOR =
>> "cassandra.enable.widerow.iterator";
>>
>> +  public static final String CARBON_PORT_OFFSET = "carbon.port.offset";
>> +
>>public static final String CASSANDRA_SPECIAL_COLUMN_KEY = "row_key";
>>public static final String CASSANDRA_SPECIAL_COLUMN_COL =
>> "column_name";
>>public static final String CASSANDRA_SPECIAL_COLUMN_SCOL=
>> "sub_column_name";
>> ___
>> Commits mailing list
>> comm...@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/commits
>>
>
>
>
> --
> Regards,
>
> Tharindu Mathew
>
> Associate Technical Lead, WSO2 BAM
> Member - Data Mgmt. Committee
>
> blog: http://tharindumathew.com/
> M: +9459908
>
> ___
> Commits mailing list
> comm...@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/commits
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB 4.5.1 UDP Transport documentation is incorrect

2013-03-19 Thread Kasun Weranga
Fixed the doc. I tested receiver transport. But I didn't test the sender
transport. I hope class name "org.apache.axis2.transport.udp.UDPSender"
should be correct.

Thanks,
KasunW.

On Tue, Mar 19, 2013 at 3:39 PM, Kasun Weranga  wrote:

> Hi,
>
> 
>  
>
> Should be corrected as
>
>"org.apache.axis2.transport.udp.UDPListener"/>
>   "org.apache.axis2.transport.udp.UDPSender"/>
>
>  Thanks,
>  KasunW.
>
>
> doc link -
> http://docs.wso2.org/wiki/display/ESB451/Configuring+WSO2+ESB+for+UDP+Transport
>
> --
> *Kasun Weranga*
> **
> Member, Management Committee - Data Technologies
> Software Engineer
> *WSO2, Inc.
> *lean.enterprise.middleware.
> mobile : +94 772314602
> <http://sanjeewamalalgoda.blogspot.com/>blog :
> http://kasunweranga.blogspot.com/
>



-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] ESB 4.5.1 UDP Transport documentation is incorrect

2013-03-19 Thread Kasun Weranga
Hi,


 

Should be corrected as

  
 

 Thanks,
 KasunW.


doc link -
http://docs.wso2.org/wiki/display/ESB451/Configuring+WSO2+ESB+for+UDP+Transport

-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jaggery URIMatcher wild card support.

2013-03-08 Thread Kasun Weranga
On Fri, Mar 8, 2013 at 10:43 AM, Kasun Weranga  wrote:

>
>
> On Thu, Mar 7, 2013 at 6:54 PM, Ruchira Wageesha  wrote:
>
>> Hi Kasun,
>>
>> You can prefix 'restOfURI' with '+' sign and get what you want.
>>
>> uriMatcher.match('/helloapp/{+restOfURI}')
>>
>
> Great. Thanks.
>


It is better to have this documented in here [1], because I can see we
supports some other operators like '#', '.' etc[2]. But these are not
documented.


[1] http://jaggeryjs.org/apidocs/urimatcher.jag
[2]
https://svn.wso2.org/repos/wso2/trunk/commons/uri-templates/1.0.0/src/main/java/org/wso2/uri/template/parser/URITemplateParser.java

Thanks,
KasunW.


>

>>
>> then,
>>
>> uriMatcher.elements().restOfURI
>>
>>
>> On Fri, Mar 8, 2013 at 3:17 AM, Kasun Weranga  wrote:
>>
>>> Hi,
>>>
>>> We have a requirement for extracting uri value after some pattern. ex:-
>>> uri pattern is something like this - /helloapp/*  (/helloapp/aa/bb/c.jag,
>>> /helloapp/aa/bbb/cc/d.jag)
>>> Is there a way to get the value directly after the '/helloapp/' ?
>>> something like uriMatcher.match('/helloapp/{restOfURI}'), so we can get
>>> this as uriMatcher.elements().restOfURI
>>>
>>> I found a workaround by dynamically creating the match expression and
>>> get values and combine, but I want to know is there any direct way to
>>> achieve this without using that workaround?
>>>
>>> Thanks,
>>> KasunW.
>>>
>>>
>>> --
>>> *Kasun Weranga*
>>> **
>>> Member, Management Committee - Data Technologies
>>> Software Engineer
>>> *WSO2, Inc.
>>> *lean.enterprise.middleware.
>>> mobile : +94 772314602
>>> <http://sanjeewamalalgoda.blogspot.com/>blog :
>>> http://kasunweranga.blogspot.com/
>>>
>>
>>
>>
>> --
>> *Ruchira Wageesha
>> Senior Software Engineer & Member, Management Committee, Development
>> Technologies*
>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com*
>> *
>> email: ruch...@wso2.com,   blog: ruchirawageesha.blogspot.com,   mobile: +94
>> 77 5493444*
>>
>
>
>
> --
> *Kasun Weranga*
> **
> Member, Management Committee - Data Technologies
> Software Engineer
> *WSO2, Inc.
> *lean.enterprise.middleware.
> mobile : +94 772314602
> <http://sanjeewamalalgoda.blogspot.com/>blog :
> http://kasunweranga.blogspot.com/
>



-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Jaggery URIMatcher wild card support.

2013-03-08 Thread Kasun Weranga
On Thu, Mar 7, 2013 at 6:54 PM, Ruchira Wageesha  wrote:

> Hi Kasun,
>
> You can prefix 'restOfURI' with '+' sign and get what you want.
>
> uriMatcher.match('/helloapp/{+restOfURI}')
>

Great. Thanks.


>
>
> then,
>
> uriMatcher.elements().restOfURI
>
>
> On Fri, Mar 8, 2013 at 3:17 AM, Kasun Weranga  wrote:
>
>> Hi,
>>
>> We have a requirement for extracting uri value after some pattern. ex:-
>> uri pattern is something like this - /helloapp/*  (/helloapp/aa/bb/c.jag,
>> /helloapp/aa/bbb/cc/d.jag)
>> Is there a way to get the value directly after the '/helloapp/' ?
>> something like uriMatcher.match('/helloapp/{restOfURI}'), so we can get
>> this as uriMatcher.elements().restOfURI
>>
>> I found a workaround by dynamically creating the match expression and get
>> values and combine, but I want to know is there any direct way to achieve
>> this without using that workaround?
>>
>> Thanks,
>> KasunW.
>>
>>
>> --
>> *Kasun Weranga*
>> **
>> Member, Management Committee - Data Technologies
>> Software Engineer
>> *WSO2, Inc.
>> *lean.enterprise.middleware.
>> mobile : +94 772314602
>> <http://sanjeewamalalgoda.blogspot.com/>blog :
>> http://kasunweranga.blogspot.com/
>>
>
>
>
> --
> *Ruchira Wageesha
> Senior Software Engineer & Member, Management Committee, Development
> Technologies*
> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com*
> *
> email: ruch...@wso2.com,   blog: ruchirawageesha.blogspot.com,   mobile: +94
> 77 5493444*
>



-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Jaggery URIMatcher wild card support.

2013-03-07 Thread Kasun Weranga
Hi,

We have a requirement for extracting uri value after some pattern. ex:- uri
pattern is something like this - /helloapp/*  (/helloapp/aa/bb/c.jag,
/helloapp/aa/bbb/cc/d.jag)
Is there a way to get the value directly after the '/helloapp/' ? something
like uriMatcher.match('/helloapp/{restOfURI}'), so we can get this as
uriMatcher.elements().restOfURI

I found a workaround by dynamically creating the match expression and get
values and combine, but I want to know is there any direct way to achieve
this without using that workaround?

Thanks,
KasunW.


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Two bam modules in components and features

2013-03-03 Thread Kasun Weranga
Hi,

We didn't remove it because stratos billing and metering was using those
earlier bam components until they move to new bam. I think now we can
remove it. When removing if they still have references to old bam
components there can be build failures. So need check that before removing.

Thanks,
KasunW.

On Sun, Mar 3, 2013 at 7:24 PM, Supun Malinga  wrote:

> Hi bam folks,
>
> components/bam, components/bam2
> features/bam, features/bam2
>
> I know bam2 is the improved bam version. But do we still use both?.  We
> should either merge or remove /bam.
>
> thanks,
> --
> Supun Malinga,
>
> Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - sup...@wso2.com 
> mobile - 071 56 91 321
>



-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding Data Agents as a different composite feature

2013-02-10 Thread Kasun Weranga
On Mon, Feb 11, 2013 at 12:47 AM, Sinthuja Ragendran wrote:

> Hi Maninda,
>
> I think the data agents should be removed from BAM composite feature, and
> only JMX data agent  should be added under BAM feature category, which is
> shipped as default in BAM distribution. AFAIU having the feature category
> is basically a logical group of required features for a particular product
> and it enables a user to install, say BAM features in any WSO2 server and
> get the BAM functionality. Therefore as far as the data agents are not
> there in standard BAM distribution, it's not logical to have it under BAM
> composite feature. And some data agents such as mediation stats agent and
> BAM mediator are not relevant to be within the BAM product.
>
> IMHO we should remove the Data Agents from BAM composite feature and
> include it as separate feature category.
>

+1, We need to separate out data-agent from BAM category.

>
> Thanks,
> Sinthuja.
>
>
> On Sun, Feb 10, 2013 at 10:29 PM, Maninda Edirisooriya 
> wrote:
>
>> BAM Data Agents are currently added as a feature in BAM composite
>> feature. So it is visible inside the tree under BAM when Find Features
>> button is clicked in 4.0.7 p2-repo installation UI. There is another
>> argument that BAM Data Agents should be shipped outside the BAM product
>> separately as they are not a part of BAM. In the upcoming release 4.0.7
>> there only BAM and IS are there. If Data Agents are shipped outside BAM
>> then there will be three of them. WDYT?
>>
>>
>>
>> *Maninda Edirisooriya*
>> Software Engineer
>> *WSO2, Inc.
>> *lean.enterprise.middleware.
>>
>> *Blog* : http://maninda.blogspot.com/
>> *Phone* : +94 777603226
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Sinthuja Rajendran*
> Software Engineer <http://wso2.com/>
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Do we need PublisherClass parameter in APIUsageTracking configuration?

2013-02-04 Thread Kasun Weranga
Hi,

I can see some redundant parameters in api-manager.xml. Usually to publish
data to BAM we only need BAMServerURL (which contains protocol,hostname and
port), username and password. But I in api-manager.xml I can see
PublisherClass and ThriftPort (This is aready included in BAMServerURL
parameter). I think we can get rid of these additional parameters.

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


Re: [Dev] Build Failure [components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7]

2013-02-04 Thread Kasun Weranga
On Mon, Feb 4, 2013 at 5:24 PM, Lalaji Sureshika  wrote:

> Hi Kasun,
>
> I tried building org.wso2.carbon.bam.cassandra.data.archive.stub/4.0.7
> manually and then ui component again.This time it built successfully. Not
> sure what went wrong with earlier built time from patch release,as I tried
> with mvn clean install and related patch version is already there in the
> patch-release poms..


stub and ui components are in the patch release pom. So I am also not sure
why it succeed when you built it manually and failed it from patch release
pom.

Thanks,
KasunW.

>
> Thanks;
>
>
> On Mon, Feb 4, 2013 at 3:44 PM, Lalaji Sureshika  wrote:
>
>> Hi,
>>
>> I'm getting below compilation failure when building from patch
>> release[4.0.7] pom after taking a svn up of platform. Note
>> the org.wso2.carbon.bam.cassandra.data.archive.stub/4.0.7 was built
>> successfully.
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>> (default-compile) on project org.wso2.carbon.bam.cassandra.data.archive.ui:
>> Compilation failure: Compilation failure:
>> [ERROR]
>> /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[10,54]
>> package org.wso2.carbon.bam.cassandra.data.archive.stub does not exist
>> [ERROR]
>> /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[11,54]
>> package org.wso2.carbon.bam.cassandra.data.archive.stub does not exist
>> [ERROR]
>> /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[12,59]
>> package org.wso2.carbon.bam.cassandra.data.archive.stub.util does not exist
>> [ERROR]
>> /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[22,12]
>> cannot find symbol
>> [ERROR] symbol  : class CassandraArchivalServiceStub
>> [ERROR] location: class
>> org.wso2.carbon.bam.cassandra.data.archive.ui.CassandraDataArchiveAdminClient
>> [ERROR]
>> /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[37,37]
>> cannot find symbol
>> [ERROR] symbol  : class ArchiveConfiguration
>> [ERROR] location: class
>> org.wso2.carbon.bam.cassandra.data.archive.ui.CassandraDataArchiveAdminClient
>> [ERROR]
>> /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[37,97]
>> cannot find symbol
>> [ERROR] symbol  : class CassandraArchivalServiceException
>> [ERROR] location: class
>> org.wso2.carbon.bam.cassandra.data.archive.ui.CassandraDataArchiveAdminClient
>> [ERROR]
>> /home/wso2/sanjeewa/plarform/4.0.0/components/bam2/org.wso2.carbon.bam.cassandra.data.archive.ui/4.0.7/src/main/java/org/wso2/carbon/bam/cassandra/data/archive/ui/CassandraDataArchiveAdminClient.java:[30,19]
>> cannot find symbol
>> [ERROR] symbol  : class CassandraArchivalServiceStub
>> [ERROR] location: class
>> org.wso2.carbon.bam.cassandra.data.archive.ui.CassandraDataArchiveAdminClient
>> [ERROR] -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn  -rf :org.wso2.carbon.bam.cassandra.data.archive.ui
>>
>> Thanks;
>>
>>
>>
>> --
>> Lalaji Sureshika
>> Software Engineer; Development Technologies Team;WSO2, Inc.;
>> http://wso2.com/
>> email: lal...@wso2.com; cell: +94 71 608 6811
>> blog: http://lalajisureshika.blogspot.com
>>
>>
>>
>
>
> --
> Lalaji Sureshika
> Software Engineer; Development

[Dev] CalloutMediator uses axis2.xml in samples instead of axis2_client.xml in conf

2013-01-21 Thread Kasun Weranga
Hi,

I noticed the $subject. Don't we need to read it from axis2_client.xml in
repository/conf/axis2 directory? Because if someone need to change the
default configuration he need to change it from sample axis2.xml.


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


Re: [Dev] [BAM-VALIDATION] Meditor stream version No validation thus throws following

2013-01-21 Thread Kasun Weranga
On Mon, Jan 21, 2013 at 7:44 PM, Sinthuja Ragendran wrote:

> Hi,
>
> On Mon, Jan 21, 2013 at 6:45 PM, Dushan Abeyruwan  wrote:
>
>> Full Profile I have created
>>
>> Server Profile Profile Name* Server Credential User Name* Password* Server
>> Transport Enable Load Balancer Protocol* Thrift
>> Enable Security IP Address* Receiver Port* Authentication
>> Port*   Streams Configuration Name Version Nickname Description   Remove
>> StreamEdit Stream Add Stream
>>
>>
> You have enabled security here, please untick this and use without
> security and use receiver port to 7611. This will solve your problem.
>

Yes, I chatted with Dushan, After configured it correctly and restart the
server this issue went away.
I created an issue[1], since until restart the server, mediator didn't use
the new configuration.

[1] https://wso2.org/jira/browse/BAM-1026

Thanks,
KasunW.


> Thanks,
> Sinthuja.
>
>
>
>>
>>
>> On Mon, Jan 21, 2013 at 6:42 PM, Dushan Abeyruwan wrote:
>>
>>> HI
>>>I am using
>>>
>>>  able Load Balancer Protocol* Thrift
>>> Enable Security IP Address* Receiver Port* 
>>> Authentication
>>> Port*
>>>
>>>
>>>
>>> and gives mes success connect..
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Jan 21, 2013 at 6:35 PM, Kasun Weranga  wrote:
>>>
>>>>
>>>>
>>>> On Mon, Jan 21, 2013 at 6:14 PM, Dushan Abeyruwan wrote:
>>>>
>>>>>
>>>>> e : StockQuoteProxy
>>>>> [2013-01-21 18:05:39,461]  INFO - Stream Data Publisher Created.
>>>>> [2013-01-21 18:05:39,465] ERROR - StreamDefinitionBuilder Malformed
>>>>> Stream Definition
>>>>> org.wso2.carbon.databridge.commons.exception.MalformedStreamDefinitionException:
>>>>> version stock does not adhere to the format x.x.x
>>>>> at
>>>>> org.wso2.carbon.databridge.commons.StreamDefinition.(StreamDefinition.java:58)
>>>>>  at
>>>>> org.wso2.carbon.mediator.bam.StreamDefinitionBuilder.buildStream(StreamDefinitionBuilder.java:55)
>>>>> at org.wso2.carbon.mediator.bam.Stream.logMessage(Stream.java:107)
>>>>>  at org.wso2.carbon.mediator.bam.Stream.sendEvents(Stream.java:92)
>>>>> at
>>>>> org.wso2.carbon.mediator.bam.BamMediator.mediate(BamMediator.java:69)
>>>>>  at
>>>>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:70)
>>>>> at org.apache.synapse.mediators.base.SequenceMediato
>>>>>
>>>>>
>>>>> and more I am getting following errors
>>>>>
>>>>> BAM side..
>>>>> main] DEBUG org.apache.hadoop.hive.conf.HiveConf  - Using
>>>>> hive-site.xml found on CLASSPATH at
>>>>> /home/dushan/poc/server/4.0.2-new/wso2bam-2.0.1/repository/conf/advanced/hive-site.xml
>>>>> [2013-01-21 18:10:02,240] ERROR
>>>>> {org.apache.thrift.server.TThreadPoolServer} -  Thrift error occurred
>>>>> during processing of message.
>>>>> org.apache.thrift.protocol.TProtocolException: Bad version in
>>>>> readMessageBegin
>>>>>  at
>>>>> org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:208)
>>>>> at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:22)
>>>>>  at
>>>>> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:176)
>>>>> 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)
>>>>> Execution log at:
>>>>> /home/dushan/poc/server/4.0.2-new/wso2bam-2.0.1/repository/logs//wso2carbon.log
>>>>> 2013-01-21 18:10:03,477 null map = 100%,  reduce = 0%
>>>>> 2013-01-21 18:10:06,480 null map = 100%,  reduce = 100%
>>>>>
>>>>>
>>>>> ESB Side
>>>>>
>>>>> #1
>>>>> ## Next retryThu Jan 01 05:29:59 IST 1970Current time Mon Jan 21
>>>>> 18:10:02 IST 2013
>>>>> [2013-01-21 18:10:02,240] ERROR - As

Re: [Dev] [BAM-VALIDATION] Meditor stream version No validation thus throws following

2013-01-21 Thread Kasun Weranga
On Mon, Jan 21, 2013 at 6:14 PM, Dushan Abeyruwan  wrote:

>
> e : StockQuoteProxy
> [2013-01-21 18:05:39,461]  INFO - Stream Data Publisher Created.
> [2013-01-21 18:05:39,465] ERROR - StreamDefinitionBuilder Malformed Stream
> Definition
> org.wso2.carbon.databridge.commons.exception.MalformedStreamDefinitionException:
> version stock does not adhere to the format x.x.x
> at
> org.wso2.carbon.databridge.commons.StreamDefinition.(StreamDefinition.java:58)
>  at
> org.wso2.carbon.mediator.bam.StreamDefinitionBuilder.buildStream(StreamDefinitionBuilder.java:55)
> at org.wso2.carbon.mediator.bam.Stream.logMessage(Stream.java:107)
>  at org.wso2.carbon.mediator.bam.Stream.sendEvents(Stream.java:92)
> at org.wso2.carbon.mediator.bam.BamMediator.mediate(BamMediator.java:69)
>  at
> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:70)
> at org.apache.synapse.mediators.base.SequenceMediato
>
>
> and more I am getting following errors
>
> BAM side..
> main] DEBUG org.apache.hadoop.hive.conf.HiveConf  - Using hive-site.xml
> found on CLASSPATH at
> /home/dushan/poc/server/4.0.2-new/wso2bam-2.0.1/repository/conf/advanced/hive-site.xml
> [2013-01-21 18:10:02,240] ERROR
> {org.apache.thrift.server.TThreadPoolServer} -  Thrift error occurred
> during processing of message.
> org.apache.thrift.protocol.TProtocolException: Bad version in
> readMessageBegin
>  at
> org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:208)
> at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:22)
>  at
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:176)
> 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)
> Execution log at:
> /home/dushan/poc/server/4.0.2-new/wso2bam-2.0.1/repository/logs//wso2carbon.log
> 2013-01-21 18:10:03,477 null map = 100%,  reduce = 0%
> 2013-01-21 18:10:06,480 null map = 100%,  reduce = 100%
>
>
> ESB Side
>
> #1
> ## Next retryThu Jan 01 05:29:59 IST 1970Current time Mon Jan 21 18:10:02
> IST 2013
> [2013-01-21 18:10:02,240] ERROR - AsyncDataPublisher Reconnection failed
> forssl://127.0.0.1:7611
>

I think you have used 7611 for authentication port

Thanks,
KasunW.

>
> cheers,
> Dushan Abeyruwan
> *Senior Software Engineer*
> *Integration Technologies Team*
> *WSO2 Inc. http://wso2.com/*
> *Mobile:(+94)714408632*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BAM-VALIDATION] Meditor stream version No validation thus throws following

2013-01-21 Thread Kasun Weranga
Hi

Are you getting this?
http://docs.wso2.org/wiki/display/BAM210/FAQ#FAQ-IamgettingerrorThrifterroroccurredduringprocessingofmessageAnyideawhy

Thanks,
KasunW.


On Mon, Jan 21, 2013 at 6:14 PM, Dushan Abeyruwan  wrote:

> Thrift error occurred during processing of message.
> org.apache.thrift.protocol.TProtocolException: Bad version in
> readMessageBegin
>




-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Purging and Archiving Cassandra data in BAM

2013-01-16 Thread Kasun Weranga
Hi,

I am going to do the $subject. Plan is to use map-reduce jobs to do the
purging and archival process, so it can handle the purging/archiving large
amount of data. This feature has ability to purge/archive data manually
by specifying a duration and also automatically purge/archive older data
(only keeping data of last N number of days). User can select the stream
name, version and the duration of the data that he needs to archive.

Here I have described the model that we came up to achieve the above
functionality.

1. Select the data specified in the time duration and insert those data
into a column family. (use a Hive query)
2. Insert rowkeys of selected data into a temporary CF (use a Hive query) -
 If we have large amount of data to archive, we can't keep all the rowkeys
in memory, so we insert them into a temp CF.
3. Write a class analyzer to read the rowkeys from temporary CF and then
delete data in the original CF (use custom map-reduce jobs), finally we
will delete the temporary CF.


Class analyzer can be included in a hive script, because of that
purging/archiving can be done using single Hive script that can be
generated programmatically. As a advantage of that we can reuse the
scheduling functionality implemented for Hive scripts as well.

This is the model we came up for archiving/purging Cassandra data in BAM,
if you have any concerns Please raise them.

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


Re: [Dev] JMS to http - Operation not found issue in the backend service.

2012-12-07 Thread Kasun Weranga
Hi Harshana,

Now I didn't get Operation not found issue but now it reports namespace
mismatch issue.


[2012-12-07 23:02:36,505] ERROR
{org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} -  Exception
occurred while trying to invoke service method placeOrder
org.apache.axis2.AxisFault: namespace mismatch require
http://services.samples found http://schemas.xmlsoap.org/soap/envelope/
 at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:190)
at
org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
 at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
 at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
at
org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:416)
 at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:268)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 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-12-07 23:02:36,507] ERROR
{org.apache.axis2.receivers.AbstractMessageReceiver} -
 org.apache.axis2.AxisFault: Exception occurred while trying to invoke
service method placeOrder

Thanks,
KasunW.


On Fri, Dec 7, 2012 at 10:40 PM, Harshana Martin  wrote:

> Hi KasunW,
>
> Can you try this again after setting the Address Endpoint Message Format
> to Soap1.1?
>
> Sample Endpoint Configuration is given below.
>
> 
>  statistics="disable" trace="disable" uri="
> http://localhost:9000/services/SimpleStockQuoteService";>
> 
> 0
> discard
> 
> 
>
> 0
> 0
> 
> 
> 0
> 0
> 1.0
> 
> 
>     
>
> Hope this helps!
>
> Thanks and Regards,
> Harshana
>
>
> On Sat, Dec 8, 2012 at 2:39 AM, Kasun Weranga  wrote:
>
>> Hi,
>>
>> I have following listener proxy which take messages from the queue and
>> send it to the SimpleStockQuoteService service.
>>
>> http://ws.apache.org/ns/synapse";
>> name="JMSQueueListenerProxy" transports="jms" statistics="disable"
>> trace="disable" startOnLoad="true">
>>
>>   
>>  
>>  
>>  
>> 
>>http://localhost:9000/services/SimpleStockQuoteService"/>
>> 
>>  
>>   
>>   
>>
>>
>>   
>>  contentType
>>  application/xml
>>   
>>
>>> name="transport.jms.ConnectionFactory">myQueueConnectionFactory
>>queue
>>myQueue
>>
>> 
>>
>>
>> But when this proxy sending message to the SimpleStockQuoteService,
>> following error throws by the axis2 server.
>>
>>
>> [2012-12-07 21:54:41,688] ERROR {org.apache.axis2.engine.AxisEngine} -
>>  The endpoint reference (EPR) for the Operation not found is
>> /services/SimpleStockQuoteService and the WSA Action = null. If this EPR
>> was previously reachable, please contact the server administrator.
>> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the
>> Operation not found is /services/SimpleStockQuoteService and the WSA Action
>> = null. If this EPR was previously reachable, please contact the server
>> administrator.
>>  at
>> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:102)
>> at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
>>  at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
>>  at
>> org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
>> at
>> org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:89)
>>  at
>> org.apache.synapse.transport.nhttp.util.RESTUtil.processPOSTRequest(RESTUtil.java:189)
>> at
>> org.apache.synapse.transport.nhttp.ServerWorke

[Dev] JMS to http - Operation not found issue in the backend service.

2012-12-07 Thread Kasun Weranga
Hi,

I have following listener proxy which take messages from the queue and send
it to the SimpleStockQuoteService service.

http://ws.apache.org/ns/synapse"; name="JMSQueueListenerProxy"
transports="jms" statistics="disable" trace="disable" startOnLoad="true">
   
  
 
 
 

   http://localhost:9000/services/SimpleStockQuoteService"/>

 
  
  
   
   
  
 contentType
 application/xml
  
   
   myQueueConnectionFactory
   queue
   myQueue
   



But when this proxy sending message to the SimpleStockQuoteService,
following error throws by the axis2 server.


[2012-12-07 21:54:41,688] ERROR {org.apache.axis2.engine.AxisEngine} -  The
endpoint reference (EPR) for the Operation not found is
/services/SimpleStockQuoteService and the WSA Action = null. If this EPR
was previously reachable, please contact the server administrator.
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
not found is /services/SimpleStockQuoteService and the WSA Action = null.
If this EPR was previously reachable, please contact the server
administrator.
 at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:102)
at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
 at
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
at
org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:89)
 at
org.apache.synapse.transport.nhttp.util.RESTUtil.processPOSTRequest(RESTUtil.java:189)
at
org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:411)
 at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:268)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 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-12-07 21:54:41,690] ERROR
{org.apache.synapse.transport.nhttp.ServerWorker} -  Error processing POST
request
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
not found is /services/SimpleStockQuoteService and the WSA Action = null.
If this EPR was previously reachable, please contact the server
administrator.
 at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:102)
at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
 at
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
at
org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:89)
 at
org.apache.synapse.transport.nhttp.util.RESTUtil.processPOSTRequest(RESTUtil.java:189)
at
org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:411)
 at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:268)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 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)

But SimpleStockQuoteService in the backend is up and running.

This is the message captured from tcpmon

POST /services/SimpleStockQuoteService HTTP/1.1
Content-Type: application/xml; charset=UTF-8
JMS_DESTINATION: myQueue
JMS_MESSAGE_ID: ID:3800e247-743e-3a4f-8b24-102c0ac8abf7
JMS_PRIORITY: 4
JMS_QPID_DESTTYPE: 1
JMS_TIMESTAMP: 1354901553425
JMS_EXPIRATION: 0
JMS_REDELIVERED: false
JMS_DELIVERY_MODE: 2
SOAPAction: urn:placeOrder
Transfer-Encoding: chunked
Host: 127.0.0.1:
Connection: Keep-Alive
User-Agent: Synapse-HttpComponents-NIO

1fd

http://www.w3.org/2003/05/soap-envelope";
xmlns:xsd="http://services.samples/xsd"; xmlns:ser="http://services.samples";>
   
  
 

   
  50
  
 3
 
IBM
   
  
 



Does anyone know the reason for this issue?

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


Re: [Dev] NPE from Cassandra Explorer

2012-11-21 Thread Kasun Weranga
On Wed, Nov 21, 2012 at 11:05 PM, Shelan Perera  wrote:

> Hi Tharindu,
>
> I'll fix it.
>
> Great. I also got the same issue yesterday when trying to view some
column families.  I have already reported a blocker for this. This is the
JIRA[1]

[1] https://wso2.org/jira/browse/SS-63

Thanks,
KasunW


> Thanks
>
>
> On Wed, Nov 21, 2012 at 10:58 PM, Tharindu Mathew wrote:
>
>> for (int j = 0; j < rows[i].getColumns().length; j++) {
>> 91: valueArray.add(columns[j].getValue());
>> 92: }
>>
>
>
>
> --
> *Shelan Perera*
>
> Software Engineer
> **
> *WSO2, Inc. : wso2.com*
> lean.enterprise.middleware.
>
> *Home Page*  :shelan.org
> *Blog* : blog.shelan.org
> *Linked-i*n  :http://www.linkedin.com/pub/shelan-perera/a/194/465
> *Twitter* :https://twitter.com/#!/shelan
>
> *Mobile*  : +94 772 604 402
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Branch - kernel 4.0.5

2012-11-15 Thread Kasun Weranga
On Thu, Nov 15, 2012 at 5:23 PM, Vijayaratha Vijayasingam
wrote:

> So, kasun did you update all 4.0.5 products with the latest version of the
> Kernel?
>

I didn't update the kernel version in 4.0.5 products.
Product teams please update your products with kernel 4.5.0.

Thanks,
KasunW.


>
> On 15 November 2012 14:00, Kasun Weranga  wrote:
>
>> Hi all,
>>
>> FYI, I have created 4.0.5 kernel for fixing[1]. You can commit 4.0.5
>> kernel fixes there.
>>
>> [1] https://wso2.org/jira/browse/STRATOS-2173
>>
>> Thanks,
>> KasunW.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Branch - kernel 4.0.5

2012-11-15 Thread Kasun Weranga
Hi all,

FYI, I have created 4.0.5 kernel for fixing[1]. You can commit 4.0.5 kernel
fixes there.

[1] https://wso2.org/jira/browse/STRATOS-2173

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


[Dev] Getting tenant's domain name from PrivilegedCarbonContext always retruns null

2012-11-12 Thread Kasun Weranga
Hi,

I am facing $subject when getting tenant domain
using PrivilegedCarbonContext.getCurrentContext().getTenantDomain(true);

due to following logic in PrivilegedCarbonContext.

private void resolveTenantDomain(int tenantId) {
TenantManager tenantManager = getTenantManager();
if (tenantManager != null) {
try {
log.debug("Resolving tenant domain from tenant id");
setTenantDomain(tenantManager.getDomain(tenantId));
} catch (UserStoreException ignored) {
}
}
}

private TenantManager getTenantManager() {
return null;
}

During carbon context re-factoring someone has mistakenly commented out the
logic for getting tenant manager. Because of that it doesn't set tenant
domain name and it is always null.

I have fixed it to get the TenantManager from UserRealmService as follows,
please raise your concerns If you have any.

private TenantManager getTenantManager() {
try {
UserRealmService realmService =
dataHolder.getUserRealmService();
if (realmService != null) {
return realmService.getTenantManager();
}
} catch (Exception ignored) {
}
return null;
}

This will fix the above issue.

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


Re: [Dev] Can I define a Cassandra key space when initializing a BAM data publisher?

2012-11-06 Thread Kasun Weranga
Events will be published to EVENT_KS keyspace and AFAIK currently you can't
change it. But you can change the column family by changing the stream
name.

Thanks,
KasunW.

On Wed, Nov 7, 2012 at 10:45 AM, Nirmal Fernando  wrote:

> Hi,
>
> $subject?
>
> --
>
> Thanks & regards,
> Nirmal
>
> Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] usability issue with BAM 2.0.1

2012-10-26 Thread Kasun Weranga
On Fri, Oct 26, 2012 at 10:28 PM, Tharindu Mathew  wrote:

> Good enough for now, as long as that step is documented... ;)
>
>
Yes, We added a note for relevant toolbox pages by mentioning this
usability issue[1]

[1] http://docs.wso2.org/wiki/display/BAM201/Mediation+Statistics+Toolbox

>
> On Fri, Oct 26, 2012 at 9:46 AM, Buddhika Chamith wrote:
>
>> Yes. It could be done by uncommenting required dashboard elements in
>> dashboard.xml found under
>> repository/deployment/server/jaggeryapps/bamdashboards.
>>
>> Regards
>> Buddhika
>>
>>
>> On Fri, Oct 26, 2012 at 9:53 PM, Tharindu Mathew wrote:
>>
>>> Hi,
>>>
>>> The way to do this for now is by editing a config file, right? That
>>> should be good enough... Buddhika, is this correct?
>>>
>>>
>>> On Thu, Oct 25, 2012 at 11:25 PM, Buddhika Chamith 
>>> wrote:
>>>
>>>> We are currently working on improving the Dashboard to detect the
>>>> deployed toolboxes and generate navigation links accordingly. Will be
>>>> available in 2.0.2. JIRA at [1].
>>>>
>>>> Regards
>>>> Buddhika
>>>>
>>>> [1] https://wso2.org/jira/browse/BAM-954
>>>>
>>>>
>>>> On Fri, Oct 26, 2012 at 10:46 AM, Samisa Abeysinghe wrote:
>>>>
>>>>> https://wso2.org/jira/browse/BAM-960
>>>>>
>>>>>
>>>>> On Fri, Oct 26, 2012 at 5:03 AM, Jorge Infante Osorio 
>>>>> wrote:
>>>>>
>>>>>> Hi all.
>>>>>>
>>>>>> I´m using BAM 2.0.1 with Service_Statistics_Monitoring  and
>>>>>> Mediation_Statistics_Monitoring tool box installed.
>>>>>>
>>>>>> When I go to the BAM Dashboard I don´t see a way to switch between AS
>>>>>> and
>>>>>> ESB statistic. I don´t see a tool boxes list or something that help
>>>>>> me to
>>>>>> switch between them.
>>>>>> I had to change the URL to see the AS or ESB statistic.
>>>>>>
>>>>>> AS: https://ip:port/bamdashboards/service_stats/index.jsp
>>>>>> ESB:https://ip:port/bamdashboards/mediation_stats/esb_proxy.jsp
>>>>>>
>>>>>>
>>>>>> Saludos,
>>>>>> Ing. Jorge Infante Osorio.
>>>>>> CDAE.
>>>>>> Fac. 5.
>>>>>> UCI.
>>>>>> “En un mundo perfecto las pizzas serían una comida saludable, las
>>>>>> laptops se
>>>>>> cargarían desde una fuente de corriente inalámbrica y todos los JAR
>>>>>> serían
>>>>>> bundles de OSGI ”
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS
>>>>>> INFORMATICAS...
>>>>>> CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION
>>>>>>
>>>>>> http://www.uci.cu
>>>>>> http://www.facebook.com/universidad.uci
>>>>>> http://www.flickr.com/photos/universidad_uci
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>> Thanks,
>>>>> Samisa...
>>>>>
>>>>> Samisa Abeysinghe
>>>>> VP Engineering
>>>>> WSO2 Inc.
>>>>> http://wso2.com
>>>>> http://wso2.org
>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Tharindu
>>>
>>> blog: http://mackiemathew.com/
>>> M: +9459908
>>>
>>>
>>
>
>
> --
> Regards,
>
> Tharindu
>
> blog: http://mackiemathew.com/
> M: +9459908
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting Summary Data out of BAM

2012-10-20 Thread Kasun Weranga
On Sat, Oct 20, 2012 at 2:59 PM, Senaka Fernando  wrote:

> Hi all,
>
> Say I've write a BAM toolbox which does everything from collecting,
> summarizing and displaying on dashboard. Now, is there an API I can use to
> access this data (what gets displayed in the gadgets) so that I can use it
> outside of BAM? For example, in small Java Client or a Validation in a
> G-Reg lifecycle.
>

We store summarized data in RDBMS, then the gadgets will collect those data
from the database. So If you want, you can directly access the database to
get the summarized data.

Thanks,
KasunW.


> Thanks,
> Senaka.
>
> --
> *Senaka Fernando*
> Member - Integration Technologies Management Committee;
> Technical Lead; WSO2 Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Hive Query is not executing in BAM 2.0.1 which worked fine in BAM 2.0.0

2012-10-16 Thread Kasun Weranga
On Tue, Oct 16, 2012 at 10:12 PM, Reka Thirunavukkarasu wrote:

> Sure. Will include relevant tests for summarizer into BAM.
>

Great


> jira: https://wso2.org/jira/browse/BAM-934
>
> Thanks,
> Reka
>
>
> On Tue, Oct 16, 2012 at 10:05 PM, Tharindu Mathew wrote:
>
>> Reka,
>>
>> Please include an integration test for BAM. This should have been
>> detected much earlier.
>>
>> On Tue, Oct 16, 2012 at 9:32 AM, Reka Thirunavukkarasu wrote:
>>
>>> Thanks for looking into this issue.
>>>
>>> Reka
>>>
>>>
>>> On Tue, Oct 16, 2012 at 9:35 PM, Kasun Weranga  wrote:
>>>
>>>> This issue has been fixed. Thanks Buddhika for providing the fix.
>>>>
>>>> On Tue, Oct 16, 2012 at 2:31 PM, Reka Thirunavukkarasu 
>>>> wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> The following hive query which works fine in BAM 2.0.0 is not working
>>>>> now in BAM 2.0.1. Could you please have a look on this?
>>>>> jira: https://wso2.org/jira/browse/CARBON-13943
>>>>>
>>>>> set logs_column_family = "log_1_AS_2012_10_14";
>>>>> set file_path =
>>>>> /media/Entertainment/stratos/BAM_LOGS/archive-logs/tmpLogs/1/AS/2012_10_14;
>>>>> drop table LogStats;
>>>>> set mapred.output.compress=true;
>>>>> set hive.exec.compress.output=true;
>>>>> set
>>>>> mapred.output.compression.codec=org.apache.hadoop.io.compress.GzipCodec;
>>>>> set io.compression.codecs=org.apache.hadoop.io.compress.GzipCodec;
>>>>>
>>>>> CREATE EXTERNAL TABLE IF NOT EXISTS LogStats (key STRING,
>>>>> payload_tenantID STRING,payload_serverName STRING,
>>>>> payload_appName STRING,payload_message STRING,
>>>>> payload_stacktrace STRING,
>>>>> payload_logger STRING,
>>>>> payload_priority STRING,payload_logTime BIGINT)
>>>>> STORED BY
>>>>> 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler'
>>>>> WITH SERDEPROPERTIES ( "cassandra.host" = "localhost",
>>>>> "cassandra.port" ="9160","cassandra.ks.name" = "EVENT_KS",
>>>>> "cassandra.ks.username" = "admin","cassandra.ks.password"
>>>>> ="admin",
>>>>> "cassandra.cf.name" = ${hiveconf:logs_column_family},
>>>>> "cassandra.columns.mapping" =
>>>>> ":key,payload_tenantID,
>>>>> payload_serverName,payload_appName,payload_message,
>>>>> payload_stacktrace,payload_logger,payload_priority,
>>>>> payload_logTime" );
>>>>> INSERT OVERWRITE LOCAL DIRECTORY 'file:///${hiveconf:file_path}'
>>>>> select
>>>>> concat('TID[',payload_tenantID, ']\t',
>>>>> 'Server[',payload_serverName,']\t',
>>>>> 'Application[',payload_appName,']\t',
>>>>> 'Message[',payload_message,']\t',
>>>>> 'Stacktrace ',payload_stacktrace,'\t',
>>>>> 'Logger{',payload_logger,'}\t',
>>>>> 'Priority[',payload_priority,']\t'),
>>>>> concat('LogTime[',
>>>>> (from_unixtime(cast(payload_logTime/1000 as
>>>>> BIGINT),'-MM-dd HH:mm:ss.SSS' )),']\n') as LogTime from LogStats
>>>>> ORDER BY LogTime;
>>>>>
>>>>> The exception trace is as following:
>>>>>
>>>>> Hive history
>>>>> file=/tmp/reka/hive_job_log_reka_201210161416_1379462536.txt
>>>>> Hive history
>>>>> file=/tmp/reka/hive_job_log_reka_201210161416_844839482.txt
>>>>> [2012-10-16 14:16:03,180] ERROR {hive.ql.metadata.Hive} -
>>>>> NoSuchObjectException(message:default.LogStats table not found)
>>>>> at
>>>>> org.apache.hadoop.hive.metastore.MultitenantMetaStoreHandler$16.run(MultitenantMetaStoreHandler.java:1194)
>>>>> at
>>>>> org.apache.hadoop.hive.metastore.MultitenantM

Re: [Dev] Hive Query is not executing in BAM 2.0.1 which worked fine in BAM 2.0.0

2012-10-16 Thread Kasun Weranga
ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
>
> OK
> FAILED: Parse Error: line 1:536 mismatched input '$' expecting
> StringLiteral near '=' in specifying key/value property
>
> [2012-10-16 14:16:03,186] ERROR {org.apache.hadoop.hive.ql.Driver} -
> FAILED: Parse Error: line 1:536 mismatched input '$' expecting
> StringLiteral near '=' in specifying key/value property
>
> org.apache.hadoop.hive.ql.parse.ParseException: line 1:536 mismatched
> input '$' expecting StringLiteral near '=' in specifying key/value property
>
> at
> org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:438)
> at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:419)
> at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:339)
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:891)
> at
> org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:201)
> at
> org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:187)
> at
> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:324)
> at
> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:225)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
>
> [2012-10-16 14:16:03,186] ERROR
> {org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl} -  Error
> while executing Hive script.
> Query returned non-zero code: 11, cause: FAILED: Parse Error: line 1:536
> mismatched input '$' expecting StringLiteral near '=' in specifying
> key/value property
>
> java.sql.SQLException: Query returned non-zero code: 11, cause: FAILED:
> Parse Error: line 1:536 mismatched input '$' expecting StringLiteral near
> '=' in specifying key/value property
>
> at
> org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:189)
> at
> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:324)
> at
> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:225)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> [2012-10-16 14:16:03,187] ERROR
> {org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask} -  Error while
> executing script : test
> org.wso2.carbon.analytics.hive.exception.HiveExecutionException: Error
> while executing Hive script.Query returned non-zero code: 11, cause:
> FAILED: Parse Error: line 1:536 mismatched input '$' expecting
> StringLiteral near '=' in specifying key/value property
>
> at
> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl.execute(HiveExecutorServiceImpl.java:110)
> at
> org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask.execute(HiveScriptExecutorTask.java:60)
> at
> org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:56)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
> 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.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-10-16 14:16:03,203] ERROR {hive.ql.metadata.Hive} -
> NoSuchObjectException(message:default.LogStats table not found)
> at
> org.apache.hadoop.hive.metastore.MultitenantMetaStoreHandler$16.run(MultitenantMetaStoreHandler.java:1194)
> at
> org.apache.hadoop.hive.metastore.MultitenantMetaStoreHandler$16.run(MultitenantMetaStoreHandler.java:1189)
> at
> org.apache.hadoop.hive.metastore.MultitenantMetaStoreHandler.executeWithRetry(MultitenantMetaStoreHandler.java:324)
> at
> org.apache.hadoop.hive.metastore.MultitenantMetaStoreHandler.get_table(MultitenantM
>
> Thanks,
> Reka
>



-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Need of having BAM data publisher features in ESB by default

2012-10-15 Thread Kasun Weranga
+1, for having BAM mediator and mediation stats data-agent features by
default.

On Mon, Oct 15, 2012 at 3:45 PM, Chamara Ariyarathne wrote:

> https://wso2.org/jira/browse/ESBJAVA-1658
>
> --
> *Chamara Ariyarathne*
> Senior Software Engineer - QA;
> WSO2 Inc; http://www.wso2.com/.
> Mobile; *+94772786766*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Need of having BAM data publisher features in ESB by default

2012-10-15 Thread Kasun Weranga
+1, for having BAM mediator and mediation stats data-agent features by
default.

On Mon, Oct 15, 2012 at 3:45 PM, Chamara Ariyarathne wrote:

> https://wso2.org/jira/browse/ESBJAVA-1658
>
> --
> *Chamara Ariyarathne*
> Senior Software Engineer - QA;
> WSO2 Inc; http://www.wso2.com/.
> Mobile; *+94772786766*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM Integration test failure

2012-10-10 Thread Kasun Weranga
Hi Chamara,

On Wed, Oct 10, 2012 at 5:22 PM, Chamara Silva  wrote:

> I am getting one integration test fail out of 12 tests. Please find
> the surefire report here with.
>

I'll fix this.

Thanks,
KasunW

>
> Regards,
> Chamara Silva
>
> --
> Suminda Chamara Silva
> WSO2 Inc.
> Mobile: +94718302858
> blog: http://chamaras.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Where can I get summarized request stats

2012-10-03 Thread Kasun Weranga
Hi Amila,

On Wed, Oct 3, 2012 at 3:36 PM, Amila Maha Arachchi  wrote:

>
>
> On Wed, Oct 3, 2012 at 1:09 PM, Kasun Weranga  wrote:
>
>> Hi Amila,
>>
>> On Wed, Oct 3, 2012 at 11:02 AM, Amila Maha Arachchi wrote:
>>
>>> Hi Kasun,
>>>
>>> It seems tenant id is not published with the service stats (by going
>>> through the hive script and cassandra explorer). We'll need to publish it.
>>> And by looking at the script it seems we will have to modify it to be used
>>> in SLive usage report. We'll go through this more and let you know.
>>>
>>
>> If needed we can publish tenant id for service stats and mediation stats.
>> Anyway data will persist in tenant keyspace. So please let us know if you
>> need this.
>>
>
> What we want is, data to be persisted in EVENT_KS (BAM's default one) and
> tenant id to be one additional infomation we publish.
>
> If the data is persisted in tenants' KS, then we will not be able to
> summarize them.
>
> Are we all in the same page or do we have a misunderstanding here?
>

Data publishers that we wrote can be configured by tenants as they wish.
They can enable or disable service stats monitoring/activity monitoring.

Are you going to use those publishers for billing and metering?

Thanks,
KasunW.


>
> Regards,
> Amila.
>
>>
>> Thanks,
>> KasunW.
>>
>>
>>>
>>> Regards,
>>> Amila.
>>>
>>>
>>> On Tue, Oct 2, 2012 at 2:02 PM, Kasun Weranga  wrote:
>>>
>>>>
>>>>
>>>> On Tue, Oct 2, 2012 at 12:52 PM, Amila Maha Arachchi 
>>>> wrote:
>>>>
>>>>> Hi Kasun,
>>>>>
>>>>> Can you point me to the script  which contains table structure of
>>>>> those tables?
>>>>>
>>>>
>>>> Here, I have attached the script.
>>>>
>>>>
>>>>>
>>>>> BTW, can H2 handle this much of data?
>>>>
>>>>
>>>> We used H2, then user can try out service statistics and other samples
>>>> OOTB without configuring the dashboard and scripts.
>>>>
>>>>  Thanks,
>>>> KasunW.
>>>>
>>>>
>>>>> Regards,
>>>>> Amila.
>>>>>
>>>>> On Tue, Oct 2, 2012 at 12:27 PM, Kasun Weranga wrote:
>>>>>
>>>>>> Hi Amila,
>>>>>>
>>>>>>
>>>>>> On Tue, Oct 2, 2012 at 12:16 PM, Amila Maha Arachchi >>>>> > wrote:
>>>>>>
>>>>>>> Hi BAM Team,
>>>>>>>
>>>>>>> Do you guys summarize the request stats (request/response counts)?
>>>>>>> If so what kind of a summarization is it? Is it like hourly, daily, 
>>>>>>> monthly
>>>>>>> summarization?
>>>>>>
>>>>>>
>>>>>> Yes, we do per minute, hourly, daily and monthly summarization.
>>>>>>
>>>>>>
>>>>>>> If so where can I get the summarized data to be shown in the usage
>>>>>>> report?
>>>>>>>
>>>>>>
>>>>>>  By default, those data will store in H2 database after running
>>>>>> service stats/mediation stats toolbox. You can configure it to other
>>>>>> database too.
>>>>>>
>>>>>> Thanks,
>>>>>> KasunW
>>>>>>
>>>>>>
>>>>>>> Regards,
>>>>>>> AmilaM.
>>>>>>>
>>>>>>> --
>>>>>>> *Amila Maharachchi*
>>>>>>> Technical Lead
>>>>>>> Member, Management Committee - Cloud & Platform TG
>>>>>>> WSO2, Inc.; http://wso2.com
>>>>>>>
>>>>>>> Blog: http://maharachchi.blogspot.com
>>>>>>> Mobile: +94719371446
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Kasun Weranga*
>>>>>> Software Engineer
>>>>>> **
>>>>>> *WSO2, Inc.
>>>>>> *lean.enterprise.middleware.
>>>>>> mobile : +94 772314602
>>>>>> <http://sanjeewamalalgoda.blogspot.com/>blog 
>>>>>> :<http://sanjeewamalalgoda.blogspot.com/>
>>>>>> http://kasunweranga.blogspot.com/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Amila Maharachchi*
>>>>> Technical Lead
>>>>> Member, Management Committee - Cloud & Platform TG
>>>>> WSO2, Inc.; http://wso2.com
>>>>>
>>>>> Blog: http://maharachchi.blogspot.com
>>>>> Mobile: +94719371446
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Kasun Weranga*
>>>> Software Engineer
>>>> **
>>>> *WSO2, Inc.
>>>> *lean.enterprise.middleware.
>>>> mobile : +94 772314602
>>>> <http://sanjeewamalalgoda.blogspot.com/>blog 
>>>> :<http://sanjeewamalalgoda.blogspot.com/>
>>>> http://kasunweranga.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> *Amila Maharachchi*
>>> Technical Lead
>>> Member, Management Committee - Cloud & Platform TG
>>> WSO2, Inc.; http://wso2.com
>>>
>>> Blog: http://maharachchi.blogspot.com
>>> Mobile: +94719371446
>>>
>>>
>>>
>>
>>
>> --
>> *Kasun Weranga*
>> Software Engineer
>> **
>> *WSO2, Inc.
>> *lean.enterprise.middleware.
>> mobile : +94 772314602
>> <http://sanjeewamalalgoda.blogspot.com/>blog 
>> :<http://sanjeewamalalgoda.blogspot.com/>
>> http://kasunweranga.blogspot.com/
>>
>
>
>
> --
> *Amila Maharachchi*
> Technical Lead
> Member, Management Committee - Cloud & Platform TG
> WSO2, Inc.; http://wso2.com
>
> Blog: http://maharachchi.blogspot.com
> Mobile: +94719371446
>
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Where can I get summarized request stats

2012-10-03 Thread Kasun Weranga
On Wed, Oct 3, 2012 at 12:09 PM, Supun Malinga  wrote:

> Hi Kasun,
>
> Do we have a BAM API to retrieve service stat data? or we need to directly
> get from the DB?.
>

Yes, You have to directly get data from DB.


>
> thanks,
>
> On Wed, Oct 3, 2012 at 11:02 AM, Amila Maha Arachchi wrote:
>
>> Hi Kasun,
>>
>> It seems tenant id is not published with the service stats (by going
>> through the hive script and cassandra explorer). We'll need to publish it.
>> And by looking at the script it seems we will have to modify it to be used
>> in SLive usage report. We'll go through this more and let you know.
>>
>> Regards,
>> Amila.
>>
>>
>> On Tue, Oct 2, 2012 at 2:02 PM, Kasun Weranga  wrote:
>>
>>>
>>>
>>> On Tue, Oct 2, 2012 at 12:52 PM, Amila Maha Arachchi wrote:
>>>
>>>> Hi Kasun,
>>>>
>>>> Can you point me to the script  which contains table structure of those
>>>> tables?
>>>>
>>>
>>> Here, I have attached the script.
>>>
>>>
>>>>
>>>> BTW, can H2 handle this much of data?
>>>
>>>
>>> We used H2, then user can try out service statistics and other samples
>>> OOTB without configuring the dashboard and scripts.
>>>
>>>  Thanks,
>>> KasunW.
>>>
>>>
>>>> Regards,
>>>> Amila.
>>>>
>>>> On Tue, Oct 2, 2012 at 12:27 PM, Kasun Weranga  wrote:
>>>>
>>>>> Hi Amila,
>>>>>
>>>>>
>>>>> On Tue, Oct 2, 2012 at 12:16 PM, Amila Maha Arachchi 
>>>>> wrote:
>>>>>
>>>>>> Hi BAM Team,
>>>>>>
>>>>>> Do you guys summarize the request stats (request/response counts)? If
>>>>>> so what kind of a summarization is it? Is it like hourly, daily, monthly
>>>>>> summarization?
>>>>>
>>>>>
>>>>> Yes, we do per minute, hourly, daily and monthly summarization.
>>>>>
>>>>>
>>>>>> If so where can I get the summarized data to be shown in the usage
>>>>>> report?
>>>>>>
>>>>>
>>>>>  By default, those data will store in H2 database after running
>>>>> service stats/mediation stats toolbox. You can configure it to other
>>>>> database too.
>>>>>
>>>>> Thanks,
>>>>> KasunW
>>>>>
>>>>>
>>>>>> Regards,
>>>>>> AmilaM.
>>>>>>
>>>>>> --
>>>>>> *Amila Maharachchi*
>>>>>> Technical Lead
>>>>>> Member, Management Committee - Cloud & Platform TG
>>>>>> WSO2, Inc.; http://wso2.com
>>>>>>
>>>>>> Blog: http://maharachchi.blogspot.com
>>>>>> Mobile: +94719371446
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Kasun Weranga*
>>>>> Software Engineer
>>>>> **
>>>>> *WSO2, Inc.
>>>>> *lean.enterprise.middleware.
>>>>> mobile : +94 772314602
>>>>> <http://sanjeewamalalgoda.blogspot.com/>blog 
>>>>> :<http://sanjeewamalalgoda.blogspot.com/>
>>>>> http://kasunweranga.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Amila Maharachchi*
>>>> Technical Lead
>>>> Member, Management Committee - Cloud & Platform TG
>>>> WSO2, Inc.; http://wso2.com
>>>>
>>>> Blog: http://maharachchi.blogspot.com
>>>> Mobile: +94719371446
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> *Kasun Weranga*
>>> Software Engineer
>>> **
>>> *WSO2, Inc.
>>> *lean.enterprise.middleware.
>>> mobile : +94 772314602
>>> <http://sanjeewamalalgoda.blogspot.com/>blog 
>>> :<http://sanjeewamalalgoda.blogspot.com/>
>>> http://kasunweranga.blogspot.com/
>>>
>>
>>
>>
>> --
>> *Amila Maharachchi*
>> Technical Lead
>> Member, Management Committee - Cloud & Platform TG
>> WSO2, Inc.; http://wso2.com
>>
>> Blog: http://maharachchi.blogspot.com
>> Mobile: +94719371446
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Supun Malinga,
>
> Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - sup...@wso2.com 
> mobile - 071 56 91 321
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Where can I get summarized request stats

2012-10-03 Thread Kasun Weranga
Hi Amila,

On Wed, Oct 3, 2012 at 11:02 AM, Amila Maha Arachchi wrote:

> Hi Kasun,
>
> It seems tenant id is not published with the service stats (by going
> through the hive script and cassandra explorer). We'll need to publish it.
> And by looking at the script it seems we will have to modify it to be used
> in SLive usage report. We'll go through this more and let you know.
>

If needed we can publish tenant id for service stats and mediation stats.
Anyway data will persist in tenant keyspace. So please let us know if you
need this.

Thanks,
KasunW.


>
> Regards,
> Amila.
>
>
> On Tue, Oct 2, 2012 at 2:02 PM, Kasun Weranga  wrote:
>
>>
>>
>> On Tue, Oct 2, 2012 at 12:52 PM, Amila Maha Arachchi wrote:
>>
>>> Hi Kasun,
>>>
>>> Can you point me to the script  which contains table structure of those
>>> tables?
>>>
>>
>> Here, I have attached the script.
>>
>>
>>>
>>> BTW, can H2 handle this much of data?
>>
>>
>> We used H2, then user can try out service statistics and other samples
>> OOTB without configuring the dashboard and scripts.
>>
>>  Thanks,
>> KasunW.
>>
>>
>>> Regards,
>>> Amila.
>>>
>>> On Tue, Oct 2, 2012 at 12:27 PM, Kasun Weranga  wrote:
>>>
>>>> Hi Amila,
>>>>
>>>>
>>>> On Tue, Oct 2, 2012 at 12:16 PM, Amila Maha Arachchi 
>>>> wrote:
>>>>
>>>>> Hi BAM Team,
>>>>>
>>>>> Do you guys summarize the request stats (request/response counts)? If
>>>>> so what kind of a summarization is it? Is it like hourly, daily, monthly
>>>>> summarization?
>>>>
>>>>
>>>> Yes, we do per minute, hourly, daily and monthly summarization.
>>>>
>>>>
>>>>> If so where can I get the summarized data to be shown in the usage
>>>>> report?
>>>>>
>>>>
>>>>  By default, those data will store in H2 database after running service
>>>> stats/mediation stats toolbox. You can configure it to other database too.
>>>>
>>>> Thanks,
>>>> KasunW
>>>>
>>>>
>>>>> Regards,
>>>>> AmilaM.
>>>>>
>>>>> --
>>>>> *Amila Maharachchi*
>>>>> Technical Lead
>>>>> Member, Management Committee - Cloud & Platform TG
>>>>> WSO2, Inc.; http://wso2.com
>>>>>
>>>>> Blog: http://maharachchi.blogspot.com
>>>>> Mobile: +94719371446
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Kasun Weranga*
>>>> Software Engineer
>>>> **
>>>> *WSO2, Inc.
>>>> *lean.enterprise.middleware.
>>>> mobile : +94 772314602
>>>> <http://sanjeewamalalgoda.blogspot.com/>blog 
>>>> :<http://sanjeewamalalgoda.blogspot.com/>
>>>> http://kasunweranga.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> *Amila Maharachchi*
>>> Technical Lead
>>> Member, Management Committee - Cloud & Platform TG
>>> WSO2, Inc.; http://wso2.com
>>>
>>> Blog: http://maharachchi.blogspot.com
>>> Mobile: +94719371446
>>>
>>>
>>>
>>
>>
>> --
>> *Kasun Weranga*
>> Software Engineer
>> **
>> *WSO2, Inc.
>> *lean.enterprise.middleware.
>> mobile : +94 772314602
>> <http://sanjeewamalalgoda.blogspot.com/>blog 
>> :<http://sanjeewamalalgoda.blogspot.com/>
>> http://kasunweranga.blogspot.com/
>>
>
>
>
> --
> *Amila Maharachchi*
> Technical Lead
> Member, Management Committee - Cloud & Platform TG
> WSO2, Inc.; http://wso2.com
>
> Blog: http://maharachchi.blogspot.com
> Mobile: +94719371446
>
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Where can I get summarized request stats

2012-10-02 Thread Kasun Weranga
On Tue, Oct 2, 2012 at 12:52 PM, Amila Maha Arachchi wrote:

> Hi Kasun,
>
> Can you point me to the script  which contains table structure of those
> tables?
>

Here, I have attached the script.


>
> BTW, can H2 handle this much of data?


We used H2, then user can try out service statistics and other samples OOTB
without configuring the dashboard and scripts.

Thanks,
KasunW.


> Regards,
> Amila.
>
> On Tue, Oct 2, 2012 at 12:27 PM, Kasun Weranga  wrote:
>
>> Hi Amila,
>>
>>
>> On Tue, Oct 2, 2012 at 12:16 PM, Amila Maha Arachchi wrote:
>>
>>> Hi BAM Team,
>>>
>>> Do you guys summarize the request stats (request/response counts)? If so
>>> what kind of a summarization is it? Is it like hourly, daily, monthly
>>> summarization?
>>
>>
>> Yes, we do per minute, hourly, daily and monthly summarization.
>>
>>
>>> If so where can I get the summarized data to be shown in the usage
>>> report?
>>>
>>
>>  By default, those data will store in H2 database after running service
>> stats/mediation stats toolbox. You can configure it to other database too.
>>
>> Thanks,
>> KasunW
>>
>>
>>> Regards,
>>> AmilaM.
>>>
>>> --
>>> *Amila Maharachchi*
>>> Technical Lead
>>> Member, Management Committee - Cloud & Platform TG
>>> WSO2, Inc.; http://wso2.com
>>>
>>> Blog: http://maharachchi.blogspot.com
>>> Mobile: +94719371446
>>>
>>>
>>>
>>
>>
>> --
>> *Kasun Weranga*
>> Software Engineer
>> **
>> *WSO2, Inc.
>> *lean.enterprise.middleware.
>> mobile : +94 772314602
>> <http://sanjeewamalalgoda.blogspot.com/>blog 
>> :<http://sanjeewamalalgoda.blogspot.com/>
>> http://kasunweranga.blogspot.com/
>>
>
>
>
> --
> *Amila Maharachchi*
> Technical Lead
> Member, Management Committee - Cloud & Platform TG
> WSO2, Inc.; http://wso2.com
>
> Blog: http://maharachchi.blogspot.com
> Mobile: +94719371446
>
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/


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


Re: [Dev] Where can I get summarized request stats

2012-10-01 Thread Kasun Weranga
Hi Amila,


On Tue, Oct 2, 2012 at 12:16 PM, Amila Maha Arachchi wrote:

> Hi BAM Team,
>
> Do you guys summarize the request stats (request/response counts)? If so
> what kind of a summarization is it? Is it like hourly, daily, monthly
> summarization?


Yes, we do per minute, hourly, daily and monthly summarization.


> If so where can I get the summarized data to be shown in the usage report?
>

By default, those data will store in H2 database after running service
stats/mediation stats toolbox. You can configure it to other database too.

Thanks,
KasunW


> Regards,
> AmilaM.
>
> --
> *Amila Maharachchi*
> Technical Lead
> Member, Management Committee - Cloud & Platform TG
> WSO2, Inc.; http://wso2.com
>
> Blog: http://maharachchi.blogspot.com
> Mobile: +94719371446
>
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build failure from HDFS Management Feature

2012-10-01 Thread Kasun Weranga
 at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:395)
... 24 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could
not find artifact org.wso2.carbon:org.wso2.carbon.hdfs.dataaccess:jar:4.0.0
in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/)
 at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:945)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:940)
 at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:695)
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.flush(WagonRepositoryConnector.java:689)
 at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.get(WagonRepositoryConnector.java:445)
at
org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:460)
 ... 26 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn  -rf :org.wso2.carbon.hdfs.mgt.feature

Thanks,
KasunW.

-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Test failure in SecurityVerificationTest

2012-09-23 Thread Kasun Weranga
On Fri, Sep 21, 2012 at 7:07 PM, Suresh Attanayaka  wrote:

> Hi,
>
> I'm getting this test failure for the IS build too. Can someone help us
> with this ?
>

We are facing this issue in BAM too.

Thanks,
KasunW.


> Thanks,
> -Suresh
>
> On Wed, Sep 19, 2012 at 6:15 PM, Sanjaya Vithanagama wrote:
>
>> Hi All,
>>
>> When I'm running the BPS SecurityVerificationTest case which is a sub
>> class of org.wso2.carbon.integration.framework.SecurityVerificationTest, I
>> get the following error.
>>
>> verifyAdminServiceSecurity(org.wso2.bps.integration.tests.SecurityVerificationTestCase)
>> Time elapsed: 0.086 sec  <<< FAILURE!
>> org.apache.axis2.AxisFault:
>> org/wso2/carbon/core/multitenancy/SuperTenantCarbonContext
>> at
>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>> 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.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:475)
>> at
>> org.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:456)
>> at
>> org.wso2.carbon.integration.framework.SecurityVerificationTest.verifyAdminServiceSecurity(SecurityVerificationTest.java:59)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
>> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
>> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
>> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
>> at
>> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
>> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
>> at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
>> at org.testng.TestRunner.privateRun(TestRunner.java:757)
>> at org.testng.TestRunner.run(TestRunner.java:608)
>> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
>> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
>> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
>> at org.testng.SuiteRunner.run(SuiteRunner.java:240)
>> 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:177)
>> at
>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
>> at
>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:105)
>> 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:189)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
>>
>> --
>> Sanjaya Vithanagama
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> cell: +94 71 342 2881
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Suresh Attanayake
> Software Engineer; WSO2 Inc. http://wso2.com/
> Blog : http://sureshatt.blogspot.com/
> Twitter : https://twitter.com/sureshatt
> LinkedIn : http://lk.linkedin.com/in/sureshatt
> Mobile : +94755012060,+94770419136,+94710467976
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org

[Dev] AS start-up issue

2012-09-23 Thread Kasun Weranga
Hi,

I am getting following issue when starting the AS.

[2012-09-23 17:19:29,459] ERROR
{org.wso2.carbon.mashup.jsservices.deployer.JSDeployer} -  The service
RESTSample.js is not valid.
java.lang.NoClassDefFoundError:
org/wso2/carbon/core/multitenancy/SuperTenantCarbonContext
at
org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:157)
 at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
 at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
 at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
 at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
 at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:397)
 at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
 at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.lang.ClassNotFoundException:
org.wso2.carbon.core.multitenancy.SuperTenantCarbonContext
 at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:467)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
 at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 16 more
[2012-09-23 17:19:29,462] FATAL
{org.wso2.carbon.core.init.CarbonServerManager} -  WSO2 Carbon
initialization Failed
java.lang.NoClassDefFoundError:
org/wso2/carbon/core/multitenancy/SuperTenantCarbonContext
at
org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:206)
 at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
 at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
 at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
 at
org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
 at
org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
at
org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:397)
 at
org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
at
org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
 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)

Please fix it.


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


Re: [Dev] BAM Server Start-up Error after re-factoring CarbonContext

2012-09-23 Thread Kasun Weranga
On Fri, Sep 21, 2012 at 12:13 AM, Madhuka Udantha  wrote:

> Hi,
>
> Jaggery version is updated to jaggery/0.9.0.ALPHA2-wso2v2
> and updated build also.
> you can updated it for your products. (BAM/AS/APImgt/API factory)
>

I updated BAM and AS.


>
> Thanks
>
>
>
> On Thu, Sep 20, 2012 at 12:52 PM, Madhuka Udantha wrote:
>
>>
>>
>> On Thu, Sep 20, 2012 at 11:02 AM, Sinthuja Ragendran 
>> wrote:
>>
>>>
>>> Hi,
>>> On Wed, Sep 19, 2012 at 10:27 AM, Madhuka Udantha wrote:
>>>
 hi,

 I will update those changes with  ' jaggery 0.9.0.ALPHA2-wso2v2'

>>>  Is this updated?
>>>
>> I have added 'jaggery\0.9.0.ALPHA2-wso2v2\' but still I did not apply for
>> component and features
>> Because this change make some test failure in jaggery WS and WSstub.
>> So I am working in those,
>>
>> if you do not use this host objects (WS/WS-Stub)  You can try out this
>> change jaggery 0.9.0.ALPHA2-wso2v2
>> When I complete this I will update this thread.
>>
>>
>>> Thanks,
>>> Sinthuja.
>>>


 On Wed, Sep 19, 2012 at 7:50 AM, Pradeep Fernando wrote:

> Hi,
>
> I used 4.0.0 as the path split while getting the list of components to
> be re-factored. Looks like i have missed the jaggery components.
> (0.9.0)
>
> madhuka/nuwan please have a look.
>
> --Pradeep
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



 --
 *Madhuka* Udantha
 http://madhukaudantha.blogspot.com/


>>>
>>
>>
>> --
>> *Madhuka* Udantha
>> http://madhukaudantha.blogspot.com/
>>
>>
>
>
> --
> *Madhuka* Udantha
> http://madhukaudantha.blogspot.com/
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Issue when using Cloud gateway.

2012-09-12 Thread Kasun Weranga
Hi,


I face some issue, after publishing some services in AS to Cloud gateway.
After sometime I observed cpu usage on my machine was fully occupied by
both AS and CG. I have only published 2 services to cloud gateway and it
does nothing. Also in my AS I can see some faulty services, it has
mentioned the reason for this issue as "Unable to configure the service
HelloService for the CGPOLLING transport: The secure token is not set for
service 'HelloService'. This service is being marked as faulty and will not
be available over the CGPOLLING transport."
I suspect there is some issue in the Cloud Gateway Agent.  Please have a
look.


This is the result of the top command

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND

 5012 kasunw20   0 3539m 382m  17m S  157  5.0  10:37.44 java

 4652 kasunw20   0 3519m 334m  13m S  142  4.3   9:42.11 java


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


Re: [Dev] Kudos to BAM 2.0: Building your own analytics with BAM is very straightforward

2012-09-11 Thread Kasun Weranga
On Wed, Sep 12, 2012 at 9:29 AM, Senaka Fernando  wrote:

> FYI, see [1] to understand how to build your own toolbox and start
> publishing events to BAM.
>
> [1]
> http://docs.wso2.org/wiki/display/Governance450/Notifications+Subscriber+Sample
>

Nice article that covers another BAM use case which we haven't thought. :)


> Regards,
> Senaka.
>
> --
> *Senaka Fernando*
> Member - Integration Technologies Management Committee;
> Technical Lead; WSO2 Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding HeapDumpOnOutOfMemoryError to wso2server.sh

2012-09-06 Thread Kasun Weranga
On Wed, Sep 5, 2012 at 2:51 PM, Nirmal Fernando  wrote:

>
>
> On Wed, Sep 5, 2012 at 2:42 PM, Kasun Indrasiri  wrote:
>
>> Can we do the $subject?
>> -XX:+HeapDumpOnOutOfMemoryError \
>> -XX:HeapDumpPath="$CARBON_HOME/repository/logs/heap-dump.hprof" \
>>
>
+1


>
> +1
>
>>
>>
>> --
>> Kasun Indrasiri
>> Associate Technical Lead
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> cell: +94 71 536 4128
>> Blog : http://kasunpanorama.blogspot.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build failure at features/authenticators/iwa-authenticator/

2012-08-30 Thread Kasun Weranga
Hi,

I am getting following build failure.

[ERROR] Failed to execute goal on project
org.wso2.carbon.identity.authenticator.iwa.ui.feature: Could not resolve
dependencies for project
org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.ui.feature:pom:4.0.1:
Failed to collect dependencies for
[org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.ui:jar:4.0.1
(compile),
org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.stub:jar:4.0.1
(compile)]: Failed to read artifact descriptor for
org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.ui:jar:4.0.1:
The repository system is offline but the artifact
org.wso2.carbon:iwa-authenticator:pom:4.0.1 is not available in the local
repository. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal on project org.wso2.carbon.identity.authenticator.iwa.ui.feature:
Could not resolve dependencies for project
org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.ui.feature:pom:4.0.1:
Failed to collect dependencies for
[org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.ui:jar:4.0.1
(compile),
org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.stub:jar:4.0.1
(compile)]
 at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:196)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:108)
 at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
 at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.project.DependencyResolutionException: Could
not resolve dependencies for project
org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.ui.feature:pom:4.0.1:
Failed to collect dependencies for
[org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.ui:jar:4.0.1
(compile),
org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.stub:jar:4.0.1
(compile)]
 at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:139)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:171)
 ... 22 more
Caused by: org.sonatype.aether.collection.DependencyCollectionException:
Failed to collect dependencies for
[org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.ui:jar:4.0.1
(compile),
org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.stub:jar:4.0.1
(compile)]
 at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:262)
at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:345)
 at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:131)
... 23 more
Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException:
Failed to read artifact descriptor for
org.wso2.carbon:org.wso2.carbon.identity.authenticator.iwa.ui:jar:4.0.1
at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:317)
 at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:172)
at
org.sonatype.aether.impl.internal.DefaultDependencyCollector.process(DefaultDependencyCollector.java:419)
 at
or

Re: [Dev] Build failure - API Management Usage Publisher

2012-08-27 Thread Kasun Weranga
Hi Johan,

Why usage publisher in api manger is using old libthrift version? It should
be upgraded right?

On Mon, Aug 27, 2012 at 4:54 PM, Johann Nallathamby  wrote:

> Hi,
>
> I didn't have a problem when building with local repo before committing.
> Perhaps there is an issue with the deployed libthrift jar in our maven repo.
>
> Thanks,
> Johann.
>
>
> On Mon, Aug 27, 2012 at 4:05 PM, Ajith Vitharana  wrote:
>
>> Hi Johan,
>>
>> Please build and verify before commit new bundles for patch release.
>>
>> [INFO] BUILD FAILURE
>> [INFO]
>> 
>> [INFO] Total time: 33:44.669s
>> [INFO] Finished at: Mon Aug 27 15:57:36 IST 2012
>> [INFO] Final Memory: 1248M/1686M
>> [INFO]
>> 
>> [ERROR] Failed to execute goal on project
>> org.wso2.carbon.apimgt.usage.publisher: Could not resolve dependencies for
>> project
>> org.wso2.carbon:org.wso2.carbon.apimgt.usage.publisher:bundle:1.0.1: Could
>> not find artifact org.apache.thrift:libthrift:jar:0.5-wso2v1 in
>> wso2-maven2-repository (http://dist.wso2.org/maven2) -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn  -rf :org.wso2.carbon.apimgt.usage.publisher
>>
>> --
>> Ajith Vitharana.
>> WSO2 Inc. - http://wso2.org
>> Email  :  aji...@wso2.com
>> Mobile : +94714631794
>>
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM2 gives out of memory issue

2012-08-26 Thread Kasun Weranga
It seems like you are getting this issue.
https://issues.apache.org/jira/browse/CASSANDRA-4201
Are you using 32 bit JVM?

Thanks,
KasunW.

On Mon, Aug 27, 2012 at 10:14 AM, Vijayaratha Vijayasingam
wrote:

> increased to 1GB but still gets..I just extracted the pack and ran..mine
> windows environment..
>
>
> On 27 August 2012 00:41, Tharindu Mathew  wrote:
>
>> Hi,
>>
>> Can you raise memory to 1G in the wso2server.sh?
>>
>> Can you explain the steps to reproduce this problem?
>>
>> On Mon, Aug 27, 2012 at 12:39 AM, Vijayaratha Vijayasingam <
>> rat...@wso2.com> wrote:
>>
>>> Hi all,
>>> Im getting following start up error in BAM2 beta pack..
>>>
>>> recommended minimum size :2048
>>> 2012-08-27 00:35:48,993]  INFO
>>> {org.wso2.carbon.cassandra.server.internal.CassandraServerDSComponent} -
>>> There is no \repository\conf\etc\cassandra.y
>>> ml. Using the default configuration
>>> 2012-08-27 00:35:49,058]  INFO
>>> {org.wso2.carbon.bam.toolbox.deployer.internal.DataBridgeRecieverServiceComponent}
>>> -  Successfully setted data bridge
>>> eciever service
>>> 2012-08-27 00:35:49,065]  INFO
>>> {org.wso2.carbon.databridge.core.internal.DataBridgeDS} -  Successfully
>>> deployed Agent Server
>>> 2012-08-27 00:35:49,515]  INFO
>>> {org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
>>> Registry Mode: READ-WRITE
>>> 2012-08-27 00:35:50,175] ERROR
>>> {org.apache.cassandra.service.AbstractCassandraDaemon} -  Exception in
>>> thread Thread[COMMIT-LOG-ALLOCATOR,5,main]
>>> ava.io.IOError: java.io.IOException: Map failed
>>>at
>>> org.apache.cassandra.db.commitlog.CommitLogSegment.(CommitLogSegment.java:127)
>>>at
>>> org.apache.cassandra.db.commitlog.CommitLogSegment.freshSegment(CommitLogSegment.java:80)
>>>at
>>> org.apache.cassandra.db.commitlog.CommitLogAllocator.createFreshSegment(CommitLogAllocator.java:244)
>>>at
>>> org.apache.cassandra.db.commitlog.CommitLogAllocator.access$500(CommitLogAllocator.java:49)
>>>at
>>> org.apache.cassandra.db.commitlog.CommitLogAllocator$1.runMayThrow(CommitLogAllocator.java:104)
>>>at
>>> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>>>at java.lang.Thread.run(Thread.java:619)
>>> aused by: java.io.IOException: Map failed
>>>at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:758)
>>>at
>>> org.apache.cassandra.db.commitlog.CommitLogSegment.(CommitLogSegment.java:119)
>>>... 6 more
>>> aused by: java.lang.OutOfMemoryError: Map failed
>>>at sun.nio.ch.FileChannelImpl.map0(Native Method)
>>>at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:755)
>>>... 7 more
>>> :\Downloads\wso2bam-2.0.0-SNAPSHOT\bin>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>> blog: http://mackiemathew.com/
>> M: +9459908
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Listener Implementation Added to Carbon Core for Receiving Notification of Server Initialization

2012-08-20 Thread Kasun Weranga
On Tue, Aug 21, 2012 at 12:41 AM, Anjana Fernando  wrote:

> Hi,
>
> I've added a new interface
> "org.wso2.carbon.core.init.CarbonStartupListener", and a static method
> "CarbonServerManager#addCarbonStartupListener(CarbonStartupListener
> listener)", to get notifications when the Carbon server is fully
> initialized. This is done from the class
> "StartupFinalizerServiceComponent", where it keeps the list of registered
> CarbonStartupListener objects, and at the end of the Carbon server init,
> all the CarbonStartupListeners are notified. And, if the server is already
> initialized when a addCarbonStartupListener is called, it will be
> immediately called back, without it being stored.
>
> This functionality was basically required for the ntask implementation,
> where the server has to be fully initialized before the scheduled tasks are
> run, for example, this is a required by BAM tasks and also data services
> scheduled tasks, where the fully required resources are only available
> after the Carbon server is fully initialized.
>

Great, Thanks Anjana.


>
> The changed code can be found in the following locations:
>
> *
> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/core/org.wso2.carbon.core/4.0.1/src/main/java/org/wso2/carbon/core/init/CarbonServerManager.java
> *
> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/core/org.wso2.carbon.core/4.0.1/src/main/java/org/wso2/carbon/core/init/CarbonStartupListener.java
> *
> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/core/org.wso2.carbon.core/4.0.1/src/main/java/org/wso2/carbon/core/internal/StartupFinalizerServiceComponent.java
>
> And the usage of the above functionality in ntask can be found at:
>
> *
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/components/ntask/org.wso2.carbon.ntask.core/4.0.1/src/main/java/org/wso2/carbon/ntask/core/service/impl/TaskServiceImpl.java
>
> Cheers,
> Anjana.
> --
> *Anjana Fernando*
> Associate Technical Lead
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build failure 4.0.1 : org.wso2.carbon.databridge.agent.thrift.server.feature

2012-08-18 Thread Kasun Weranga
Fixed, sorry for the inconvenience.


On Sat, Aug 18, 2012 at 11:54 AM, Senaka Fernando  wrote:

> Hi all,
>
> Is this fixed? I ran into the same issue right now.
>
> Thanks,
> Senaka.
>
> On Sat, Aug 18, 2012 at 2:03 AM, Prabath Siriwardena wrote:
>
>> Hi Kasun,
>>
>> Can you please
>> add org.wso2.carbon.databridge.agent.thrift.server.feature/4.0.1 to the
>> SVN.. Looks like missing this causes build failures..
>>
>> Thanks & regards,
>> -Prabath
>>
>> On Fri, Aug 17, 2012 at 7:46 PM,  wrote:
>>
>>> Author: kasunw
>>> Date: Fri Aug 17 10:16:35 2012
>>> New Revision: 138775
>>> URL: http://wso2.org/svn/browse/wso2?view=rev&revision=138775
>>>
>>> Log:
>>> Fixed the version
>>>
>>> Modified:
>>>
>>>  
>>> carbon/platform/branches/4.0.0/features/data-bridge/org.wso2.carbon.databridge.datapublisher.feature/4.0.1/pom.xml
>>>
>>> Modified:
>>> carbon/platform/branches/4.0.0/features/data-bridge/org.wso2.carbon.databridge.datapublisher.feature/4.0.1/pom.xml
>>> URL:
>>> http://wso2.org/svn/browse/wso2/carbon/platform/branches/4.0.0/features/data-bridge/org.wso2.carbon.databridge.datapublisher.feature/4.0.1/pom.xml?rev=138775&r1=138774&r2=138775&view=diff
>>>
>>> ==
>>> ---
>>> carbon/platform/branches/4.0.0/features/data-bridge/org.wso2.carbon.databridge.datapublisher.feature/4.0.1/pom.xml
>>>  (original)
>>> +++
>>> carbon/platform/branches/4.0.0/features/data-bridge/org.wso2.carbon.databridge.datapublisher.feature/4.0.1/pom.xml
>>>  Fri Aug 17 10:16:35 2012
>>> @@ -60,7 +60,7 @@
>>>  
>>>
>>>  
>>> org.wso2.carbon:org.wso2.carbon.databridge.commons.server.feature:4.0.0
>>>
>>>  
>>> org.wso2.carbon:org.wso2.carbon.databridge.commons.thrift.server.feature:4.0.1
>>> -
>>>  
>>> org.wso2.carbon:org.wso2.carbon.databridge.agent.thrift.server.feature:4.0.0
>>> +
>>>  
>>> org.wso2.carbon:org.wso2.carbon.databridge.agent.thrift.server.feature:4.0.1
>>>  
>>>  
>>>  
>>> ___
>>> Commits mailing list
>>> comm...@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/commits
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>> Prabath
>>
>> Mobile : +94 71 809 6732
>>
>> http://blog.facilelogin.com
>> http://RampartFAQ.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Senaka Fernando*
> Member - Integration Technologies Management Committee;
> Technical Lead; WSO2 Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error in building kernel - r138299

2012-08-16 Thread Kasun Weranga
On Thu, Aug 16, 2012 at 10:37 PM, Janaka Ranabahu  wrote:

> Hi Pradeep,
>
> I see the same error on Bamboo build "WSO2 Carbon BRANCH › Kernel_4.0.0 ›
> #97 failed". Please let us know the correct fix for this.


I am also getting this.


>
> Thanks,
> Janaka
>
>
> On Thu, Aug 16, 2012 at 3:16 PM, Janaka Ranabahu  wrote:
>
>> Hi,
>>
>> I did not get this error when building on a clean repo.
>>
>> Thanks,
>> Janaka
>>
>>
>> On Thu, Aug 16, 2012 at 12:32 PM, Senaka Fernando wrote:
>>
>>> Hi Pradeep,
>>>
>>> Can you have a look? We need to get the kernel build to pass.
>>>
>>> Thanks,
>>> Senaka.
>>>
>>>
>>> On Thu, Aug 16, 2012 at 12:21 PM, Malinga Perera wrote:
>>>
 Any fixes? I too got this error!!

 On Thu, Aug 16, 2012 at 1:08 AM, Janaka Ranabahu wrote:

> Hi All,
>
> Getting the following error. Any thoughts?
>
> [INFO] Apache Axis2 - Root ... SUCCESS
> [6.594s]
> [INFO] axis2.wso2  SUCCESS
> [41.673s]
> [INFO] axis2.json.wso2 ... SUCCESS
> [0.346s]
> [INFO] axis2.client.wso2 . SUCCESS
> [19.709s]
> [INFO] axis2.jaxbri.wso2 . SUCCESS
> [0.257s]
> [INFO] axis2.jibx.wso2 ... SUCCESS
> [0.246s]
> [INFO] WSO2 Carbon - Aggregate Pom ... SUCCESS
> [0.102s]
> [INFO] WSO2 Carbon - Patch releases - dependencies - Aggregator Module
>  SUCCESS [0.032s]
> [INFO] WSO2 Carbon - Patch releases - service-stubs - Aggregator
> Module  SUCCESS [0.026s]
> [INFO] WSO2 Carbon - Utilities ... SUCCESS
> [12.885s]
> [INFO] WSO2 Carbon - Caching . SUCCESS
> [4.210s]
> [INFO] WSO2 Carbon - User Manager Kernel . SUCCESS
> [12.989s]
> [INFO] WSO2 Carbon - Kernel .. SUCCESS
> [21.262s]
> [INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SUCCESS
> [10.523s]
> [INFO] WSO2 Carbon - New Data Sources Core ... SUCCESS
> [4.119s]
> [INFO] WSO2 Carbon - Registry Kernel . SUCCESS
> [1:04.386s]
> [INFO] WSO2 Carbon - Patch releases - core - Aggregator Module
>  SUCCESS [0.009s]
> [INFO] WSO2 Carbon - Carbon Common Feature ... SUCCESS
> [26.285s]
> [INFO] WSO2 Carbon - Carbon Feature .. FAILURE
> [5:07.799s]
> [INFO] WSO2 Carbon - Patch releases - features - Aggregator Module
>  SKIPPED
> [INFO] WSO2 Carbon Core - Distribution ... SKIPPED
> [INFO] WSO2 Carbon - Integration . SKIPPED
> [INFO] WSO2 Carbon - Security Verification Service ... SKIPPED
> [INFO] WSO2 Carbon - Integration Core  SKIPPED
> [INFO] WSO2 Carbon - Integration Testing Framework ... SKIPPED
> [INFO] WSO2 Carbon - Integration Tests ... SKIPPED
> [INFO] WSO2 Carbon - UI styles ... SKIPPED
> [INFO] WSO2 Carbon - Style Feature ... SKIPPED
> [INFO] WSO2 Carbon - Profile Generation .. SKIPPED
> [INFO] WSO2 Carbon - Distribution  SKIPPED
> [INFO] WSO2 Carbon - Patch releases - distribution - Aggregator Module
>  SKIPPED
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 15:38.802s
> [INFO] Finished at: Thu Aug 16 01:03:39 IST 2012
>  [INFO] Final Memory: 316M/1009M
> [INFO]
> 
> [ERROR] Failed to execute goal on project
> org.wso2.carbon.core.feature: Could not resolve dependencies for project
> org.wso2.carbon:org.wso2.carbon.core.feature:pom:4.0.1: The following
> artifacts could not be resolved:
> org.wso2.carbon:org.wso2.carbon.core.services:jar:4.0.1,
> org.wso2.carbon:org.wso2.carbon.tomcat:jar:4.0.1,
> org.wso2.carbon:org.wso2.carbon.tomcat.patch:jar:4.0.1,
> org.wso2.carbon:org.wso2.carbon.tomcat.fragment.dummy:jar:4.0.1,
> org.wso2.carbon:org.wso2.carbon.server.admin:jar:4.0.1,
> org.wso2.carbon:org.wso2.carbon.context:jar:4.0.1,
> org.wso2.carbon:org.wso2.carbon.logging:jar:4.0.1,
> org.wso2.carbon:org.wso2.carbon.securevault:jar:4.0.1,
> org.wso2.carbon:org.wso2.carbon.core.common:jar:4.0.1,
> org.wso2.carbon:org.wso2.carbon.server.admin.common:jar:4.0.1,
> org.wso2.carbon:org.wso2.carbon.user.mgt.common:jar:4.0.1,
> org.wso2.carbon:org.wso2.carbon.application.deployer:jar:4.0.1,
> org.wso2.carbon:org.wso2.carbon.cluster.mgt.core:jar:4.0.1,
> org.wso2.carb

Re: [Dev] ESB , IS , BAM2 and LB building with carbon kernel - 4.0.0

2012-08-16 Thread Kasun Weranga
On Mon, Aug 13, 2012 at 5:48 PM, Ajith Vitharana  wrote:

> Hi All,
>
> Please update your product to build with carbon-kernel 4.0.1.
> Currently ,those packs are not compatible to use with AS (using
> kernel-4.0.1).
>

BAM2 are already using 4.0.1, will update data-publishers to use 4.0.1


> Thanks
> Ajithn
>
> --
> Ajith Vitharana.
> WSO2 Inc. - http://wso2.org
> Email  :  aji...@wso2.com
> Mobile : +94714631794
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Bamboo-Build] WSO2 Carbon BRANCH > Products_4.0.0 > #68 has FAILED. Change made by 25 authors.

2012-08-16 Thread Kasun Weranga
I went through patch-release poms, features and product p2-profile-gen. I
couldn't find any issue. Also this is building fine for me.

On Fri, Aug 17, 2012 at 8:39 AM, Ajith Vitharana  wrote:

> Hi BAM team,
>
> Please fix this build issue.
>
>
> build 16-Aug-2012 19:51:25[INFO] WSO2 Business Activity Monitor P2 
> Profile Generation  FAILURE [3.542s]
> build 16-Aug-2012 19:51:25[INFO] WSO2 Business Activity Monitor - Product 
> .. FAILURE [21.356s]
> build 16-Aug-2012 19:51:25[INFO] WSO2 Carbon - Patch releases - products 
> - Aggregator Module  SUCCESS [0.049s]
> build 16-Aug-2012 19:51:25[INFO] 
> 
> build 16-Aug-2012 19:51:25[INFO] BUILD FAILURE
> build 16-Aug-2012 19:51:25[INFO] 
> 
> build 16-Aug-2012 19:51:25[INFO] Total time: 30.438s
> build 16-Aug-2012 19:51:25[INFO] Finished at: Thu Aug 16 19:51:25 PDT 2012
> build 16-Aug-2012 19:51:25[INFO] Final Memory: 43M/602M
> build 16-Aug-2012 19:51:25[INFO] 
> 
> build 16-Aug-2012 19:51:25[ERROR] Failed to execute goal 
> org.wso2.maven:carbon-p2-plugin:1.5:p2-repo-gen (2-p2-repo-generation) on 
> project wso2bam-p2-profile-gen: ERROR: Failure to find 
> org.wso2.carbon:org.wso2.carbon.databridge.streamdefn.cassandra.feature:zip:4.0.1
>  in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the 
> local repository, resolution will not be reattempted until the update 
> interval of wso2-nexus has elapsed or updates are forced
> build 16-Aug-2012 19:51:25[ERROR]
> build 16-Aug-2012 19:51:25[ERROR] Try downloading the file manually from 
> the project website.
> build 16-Aug-2012 19:51:25[ERROR]
> build 16-Aug-2012 19:51:25[ERROR] Then, install it using the command:
> build 16-Aug-2012 19:51:25[ERROR] mvn install:install-file 
> -DgroupId=org.wso2.carbon 
> -DartifactId=org.wso2.carbon.databridge.streamdefn.cassandra.feature 
> -Dversion=4.0.1 -Dpackaging=zip -Dfile=/path/to/file
> build 16-Aug-2012 19:51:25[ERROR]
> build 16-Aug-2012 19:51:25[ERROR] Alternatively, if you host your own 
> repository you can deploy the file there:
> build 16-Aug-2012 19:51:25[ERROR] mvn deploy:deploy-file 
> -DgroupId=org.wso2.carbon 
> -DartifactId=org.wso2.carbon.databridge.streamdefn.cassandra.feature 
> -Dversion=4.0.1 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> build 16-Aug-2012 19:51:25[ERROR]
> build 16-Aug-2012 19:51:25[ERROR]
> build 16-Aug-2012 19:51:25[ERROR] 
> org.wso2.carbon:org.wso2.carbon.databridge.streamdefn.cassandra.feature:zip:4.0.1
> build 16-Aug-2012 19:51:25[ERROR]
> build 16-Aug-2012 19:51:25[ERROR] from the specified remote repositories:
> build 16-Aug-2012 19:51:25[ERROR] wso2-nexus 
> (http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true, 
> snapshots=true),
> build 16-Aug-2012 19:51:25[ERROR] central (http://repo1.maven.org/maven2, 
> releases=true, snapshots=false)
> build 16-Aug-2012 19:51:25[ERROR] -> [Help 1]
> build 16-Aug-2012 19:51:25[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-2:attached (dist) on 
> project wso2bam: Failed to create assembly: Error adding file to archive: 
> /home/bamboo/Bamboo-3.4/source-repository/build-dir/WCB001-PRO000-JOB1/products/bam2/2.0.0/modules/distribution/../p2-profile-gen/target/wso2carbon-core-4.0.1/repository/conf/etc/cassandra-auth.xml
>  isn't a file. -> [Help 1]
> build 16-Aug-2012 19:51:25[ERROR]
> build 16-Aug-2012 19:51:25[ERROR] To see the full stack trace of the 
> errors, re-run Maven with the -e switch.
> build 16-Aug-2012 19:51:25[ERROR] Re-run Maven using the -X switch to 
> enable full debug logging.
> build 16-Aug-2012 19:51:25[ERROR]
> build 16-Aug-2012 19:51:25[ERROR] For more information about the errors 
> and possible solutions, please read the following articles:
> build 16-Aug-2012 19:51:25[ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> build 16-Aug-2012 19:51:25[ERROR]
> build 16-Aug-2012 19:51:25[ERROR] After correcting the problems, you can 
> resume the build with the command
> build 16-Aug-2012 19:51:25[ERROR]   mvn  -rf 
> :wso2bam-p2-profile-gen
>
>
> On Fri, Aug 17, 2012 at 8:22 AM, Bamboo  wrote:
>
>>  [image: Failed]  WSO2 Carbon 
>> BRANCH›
>> Products_4.0.0  › 
>> #68
>> failed
>>
>> Code has been updated by 
>> krishantha,
>> nandika , 
>> nuwanw,
>> Kishanthan 
>> Thangarajah

Re: [Dev] [branch-4.0.1]Build failure - patch-release.

2012-08-15 Thread Kasun Weranga
On Thu, Aug 16, 2012 at 10:22 AM, Ajith Vitharana  wrote:

> Hi KasunW,
>
> Please update the patch-release poms after you complete the new bundle or
> feature creation.
>

Sorry for the trouble. I fixed it.

Thanks,
KasunW

>
>
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project
> org.wso2.carbon:platform-patch-releases-features:4.0.1
> (/home/ajithn/wso2/build/branches/release/platform/4.0.0/patch-releases/4.0.1/features/pom.xml)
> has 2 errors
> [ERROR] Child module
> /home/ajithn/wso2/build/branches/release/platform/4.0.0/patch-releases/4.0.1/features/../../../features/data-agents/service/org.wso2.carbon.bam.service.agent.server.feature/4.0.1/pom.xml
> of
> /home/ajithn/wso2/build/branches/release/platform/4.0.0/patch-releases/4.0.1/features/pom.xml
> does not exist
> [ERROR] Child module
> /home/ajithn/wso2/build/branches/release/platform/4.0.0/patch-releases/4.0.1/features/../../../features/data-agents/service/org.wso2.carbon.bam.service.agent.feature/4.0.1/pom.xml
> of
> /home/ajithn/wso2/build/branches/release/platform/4.0.0/patch-releases/4.0.1/features/pom.xml
> does not exist
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
>
>
> --
> Ajith Vitharana.
> WSO2 Inc. - http://wso2.org
> Email  :  aji...@wso2.com
> Mobile : +94714631794
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Compilation error when building patch release pom

2012-08-07 Thread Kasun Weranga
On Tue, Aug 7, 2012 at 1:55 PM, Supun Malinga  wrote:

> Hi Kasun,
>
> On Tue, Aug 7, 2012 at 1:50 PM, Kasun Weranga  wrote:
>
>> Hi,
>>
>>
>> I am getting this error.
>>
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>> (default-compile) on project org.wso2.carbon.webapp.list.ui: Compilation
>> failure: Compilation failure:
>> [ERROR]
>> /opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.0.0/components/webapp-mgt/org.wso2.carbon.webapp.list.ui/4.0.0/src/main/java/org/wso2/carbon/webapp/list/ui/WebappAdminClient.java:[69,23]
>> getPagedWebappsSummary(java.lang.String,java.lang.String,int) in
>> org.wso2.carbon.webapp.mgt.stub.WebappAdminStub cannot be applied to
>> (java.lang.String,java.lang.String,java.lang.String,int)
>> [ERROR]
>> /opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.0.0/components/webapp-mgt/org.wso2.carbon.webapp.list.ui/4.0.0/src/main/java/org/wso2/carbon/webapp/list/ui/WebappAdminClient.java:[129,16]
>> cannot find symbol
>> [ERROR] symbol  : method deleteAllWebApps(java.lang.String[])
>> [ERROR] location: class org.wso2.carbon.webapp.mgt.stub.WebappAdminStub
>> [ERROR]
>> /opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.0.0/components/webapp-mgt/org.wso2.carbon.webapp.list.ui/4.0.0/src/main/java/org/wso2/carbon/webapp/list/ui/WebappAdminClient.java:[139,23]
>> getPagedFaultyWebappsSummary(java.lang.String,int) in
>> org.wso2.carbon.webapp.mgt.stub.WebappAdminStub cannot be applied to
>> (java.lang.String,java.lang.String,int)
>> [ERROR]
>> /opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.0.0/components/webapp-mgt/org.wso2.carbon.webapp.list.ui/4.0.0/src/main/java/org/wso2/carbon/webapp/list/ui/WebappAdminClient.java:[296,38]
>> downloadWarFileHandler(java.lang.String) in
>> org.wso2.carbon.webapp.mgt.stub.WebappAdminStub cannot be applied to
>> (java.lang.String,java.lang.String)
>> [ERROR] -> [Help 1]
>>
>>
>> I was able to fix it after building org.wso2.carbon.webapp.mgt.stub.
>>
>>
>> Don't we need to add it to patch-releases service-stubs pom?
>>
> We haven't released any product with  org.wso2.carbon.webapp.mgt.stub.
> Hence this need not be added to patch releases. Instead it should be build
> from normal service-stubs pom.
>

You mean, now first we have to build 4.0.0 branch, then we need to build
patch release poms. Is this the way now we should build?

If so why do we need this
"../../../components/webapp-mgt/org.wso2.carbon.webapp.list.ui/4.0.0/pom.xml"
in patch release poms. ?


> thanks,
>
>> I think someone has missed it.
>>
>>
>> Thanks,
>> KasunW.
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Supun Malinga,
>
> Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - sup...@wso2.com 
> mobile - 071 56 91 321
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Compilation error when building patch release pom

2012-08-07 Thread Kasun Weranga
Hi,


I am getting this error.


[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project org.wso2.carbon.webapp.list.ui: Compilation
failure: Compilation failure:
[ERROR]
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.0.0/components/webapp-mgt/org.wso2.carbon.webapp.list.ui/4.0.0/src/main/java/org/wso2/carbon/webapp/list/ui/WebappAdminClient.java:[69,23]
getPagedWebappsSummary(java.lang.String,java.lang.String,int) in
org.wso2.carbon.webapp.mgt.stub.WebappAdminStub cannot be applied to
(java.lang.String,java.lang.String,java.lang.String,int)
[ERROR]
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.0.0/components/webapp-mgt/org.wso2.carbon.webapp.list.ui/4.0.0/src/main/java/org/wso2/carbon/webapp/list/ui/WebappAdminClient.java:[129,16]
cannot find symbol
[ERROR] symbol  : method deleteAllWebApps(java.lang.String[])
[ERROR] location: class org.wso2.carbon.webapp.mgt.stub.WebappAdminStub
[ERROR]
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.0.0/components/webapp-mgt/org.wso2.carbon.webapp.list.ui/4.0.0/src/main/java/org/wso2/carbon/webapp/list/ui/WebappAdminClient.java:[139,23]
getPagedFaultyWebappsSummary(java.lang.String,int) in
org.wso2.carbon.webapp.mgt.stub.WebappAdminStub cannot be applied to
(java.lang.String,java.lang.String,int)
[ERROR]
/opt/projects/carbon/trunkKernelOrbitPlatform/carbon/platform/branches/4.0.0/components/webapp-mgt/org.wso2.carbon.webapp.list.ui/4.0.0/src/main/java/org/wso2/carbon/webapp/list/ui/WebappAdminClient.java:[296,38]
downloadWarFileHandler(java.lang.String) in
org.wso2.carbon.webapp.mgt.stub.WebappAdminStub cannot be applied to
(java.lang.String,java.lang.String)
[ERROR] -> [Help 1]


I was able to fix it after building org.wso2.carbon.webapp.mgt.stub.


Don't we need to add it to patch-releases service-stubs pom?
I think someone has missed it.


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


Re: [Dev] svn externals needed to be fixed in products in branch 4.0.0

2012-08-02 Thread Kasun Weranga
Hi APIM team,

products/apimgt/1.0.0/config/BAM -
> bamClient/org.wso2.carbon.bam.client/src/main/resources/APIVersionServiceTimeSummaryScript.hiveql
>
> https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/apimgt/org.wso2.carbon.apimgt.usage/org.wso2.carbon.apimgt.usage.analyzer/src/main/resources/APIVersionServiceTimeSummaryScript.hiveql
>
> bamClient/org.wso2.carbon.bam.client/src/main/resources/APIVersionKeyLastAccessSummaryScript.hiveql
>
> https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/apimgt/org.wso2.carbon.apimgt.usage/org.wso2.carbon.apimgt.usage.analyzer/src/main/resources/APIVersionKeyLastAccessSummaryScript.hiveql
>
> bamClient/org.wso2.carbon.bam.client/src/main/resources/APIVersionUsageSummaryScript.hiveql
>
> https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/apimgt/org.wso2.carbon.apimgt.usage/org.wso2.carbon.apimgt.usage.analyzer/src/main/resources/APIVersionUsageSummaryScript.hiveql
>
> bamClient/org.wso2.carbon.bam.client/src/main/resources/KeyUsageSummaryScript.hiveql
>
> https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/apimgt/org.wso2.carbon.apimgt.usage/org.wso2.carbon.apimgt.usage.analyzer/src/main/resources/KeyUsageSummaryScript.hiveql
>
> bamClient/org.wso2.carbon.bam.client/src/main/resources/APIVersionKeyUsageSummaryScript.hiveql
>
> https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/apimgt/org.wso2.carbon.apimgt.usage/org.wso2.carbon.apimgt.usage.analyzer/src/main/resources/APIVersionKeyUsageSummaryScript.hiveql
>
>
>
Now you can remove these externals since you are no longer using it.

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


[Dev] Qpid ant build dir has been committed to svn.

2012-08-02 Thread Kasun Weranga
Hi,

I can see the qpid ant build dir in svn [1].

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/dependencies/qpid/0.12-wso2v1/java/build/

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


Re: [Dev] Platform build failure (org.wso2.carbon.bam.dashboard.ui.feature)

2012-07-31 Thread Kasun Weranga
Fixed.

On Tue, Jul 31, 2012 at 7:30 PM, Ranga Siriwardena  wrote:

> Hi,
>
> $Subject.
>
> -- Forwarded message --
> From: WSO2 Carbon 3.2.2 Builder (US1) 
> Date: Wed, Aug 1, 2012 at 3:27 AM
> Subject: "WSO2 Carbon Continuous Build has FAILED
> /home/builder/carbon/platform/4.0.0"
> To: ra...@wso2.com
>
>
> [INFO] WSO2 Carbon - Autoscaler Feature .. SKIPPED
> [INFO] Autoscaler Service Module . SKIPPED
> [INFO] WSO2 Carbon - Autoscaler Feature .. SKIPPED
> [INFO] Tenant Aware Load Balancer Feature Aggregator Module  SKIPPED
> [INFO] WSO2 Carbon - Loadbalancer Endpoint Management Feature  SKIPPED
> [INFO] WSO2 Carbon - Gadget Generation Feature Aggregator Module  SKIPPED
> [INFO] WSO2 Carbon - Gadget Generation Server Feature  SKIPPED
> [INFO] WSO2 Carbon - Gadget Generation UI Feature  SKIPPED
> [INFO] WSO2 Carbon - Gadget Generation Feature ... SKIPPED
> [INFO] WSO2 Carbon - Cassandra Feature Aggregator Module . SKIPPED
> [INFO] WSO2 Carbon - Cassandra Explorer server Feature ... SKIPPED
> [INFO] WSO2 Carbon - Cassandra Explorer UI Feature ... SKIPPED
> [INFO] WSO2 Carbon - Cassandra Explorer Feature .. SKIPPED
> [INFO] WSO2 Carbon - Data Bridge - Cassandra Defn Storage Server Feature
>  SKIPPED
> [INFO] WSO2 Carbon - Data Bridge - Cassandra Defn Storage Aggregator
> Feature  SKIPPED
> [INFO] WSO2 Carbon - New Datasource Management Feature ... SKIPPED
> [INFO] WSO2 Jaggery Server - Features Aggregator Module .. SKIPPED
> [INFO] WSO2 Jaggery Server - Style Features .. SKIPPED
> [INFO] Jaggery Server Feature  SKIPPED
> [INFO] Jaggery Management UI Feature . SKIPPED
> [INFO] Jaggery aggregate Feature . SKIPPED
> [INFO] WSO2 Carbon - BAM Feature Aggregator Module ... SKIPPED
> [INFO] WSO2 Carbon - BAM Core Feature  SKIPPED
> [INFO] WSO2 Carbon - BAM Management UI Feature ... SKIPPED
> [INFO] WSO2 Carbon - Business Activity Monitoring Feature  SKIPPED
> [INFO] WSO2 Carbon - AppFactory Feature Aggregator Module  SKIPPED
> [INFO] WSO2 Carbon - AppFactory Server Feature ... SKIPPED
> [INFO] WSO2 Carbon - Platform Aggregator Pom . SKIPPED
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 1:27:44.168s
> [INFO] Finished at: Wed Aug 01 03:27:41 IST 2012
> [INFO] Final Memory: 1271M/1717M
> [INFO]
> 
> [ERROR] Failed to execute goal on project
> org.wso2.carbon.bam.dashboard.ui.feature: Could not resolve dependencies
> for project
> org.wso2.carbon:org.wso2.carbon.bam.dashboard.ui.feature:pom:4.0.0: Could
> not find artifact
> org.wso2.carbon:org.wso2.carbon.bam.dashboard.ui:jar:4.0.0 in wso2-nexus (
> http://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :org.wso2.carbon.bam.dashboard.ui.feature
>
>
> Thank You.
> Ranga.
>
> --
> Ranga Siriwardena
> Software Engineer
> WSO2 Inc.
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Platform build failure (org.wso2.carbon.apimgt.usage component)

2012-07-31 Thread Kasun Weranga
Fixed in r135890 by Hiranya.

Thanks,
KasunW.


On Tue, Jul 31, 2012 at 1:12 PM, Ranga Siriwardena  wrote:

> Hi,
>
> $Subject.
>
>
> [INFO] WSO2 Carbon - Platform Aggregator Pom . SKIPPED
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 1:06:09.460s
> [INFO] Finished at: Tue Jul 31 20:57:43 IST 2012
> [INFO] Final Memory: 1400M/1836M
> [INFO]
> 
> [ERROR] Failed to execute goal on project
> org.wso2.carbon.apimgt.usage.publisher: Could not resolve dependencies for
> project
> org.wso2.carbon:org.wso2.carbon.apimgt.usage.publisher:bundle:1.0.0:
> Failure to find org.wso2.carbon:org.wso2.carbon.bam.agent:jar:4.0.0 in
> http://dist.wso2.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of
> wso2-maven2-repository has elapsed or updates are forced -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :org.wso2.carbon.apimgt.usage.publisher
>
> Thank You.
> Ranga.
>
> --
> Ranga Siriwardena
> Software Engineer
> WSO2 Inc.
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Need to modify wso2server.sh/bat to fix BAM-538

2012-07-30 Thread Kasun Weranga
On Mon, Jul 30, 2012 at 2:43 PM, Afkham Azeez  wrote:

> Have separate files for BAM, or append this during the BAM build.
>

Thanks Azeez, I am planing to use separate files at bam2 product level
since I couldn't find a proper way to append the required change during the
build time.
Also when fixing this we need to change the current jamm orbit bundle,
because existing bundle doesn't have Premain-Class manifest attribute. I'll
upgrade the version of current orbit bundle and upload it to maven repo.
Hope this is the procedure I need to follow when changing the exiting orbit
bundles in branch.


Thanks,
KasunW.


> On Mon, Jul 30, 2012 at 1:58 PM, Kasun Weranga  wrote:
>
>> Hi all,
>>
>>
>> When using Cassandra with some average load it prints following warning
>> in bam console.
>>
>> "MemoryMeter uninitialized (jamm not specified as java agent); assuming
>> liveRatio of 10.0. Usually this means cassandra-env.sh disabled jamm
>> because you are using a buggy JRE; upgrade to the Sun JRE instead"
>>
>> In order to fix this, We need to add -javaagent:/jamm.jar to
>> the wso2server.sh/bat and also org.github.jamm package to the
>> launch.ini, But this is only specific to products that uses Cassandra. So
>> adding above will affect to whole platform.
>> so is there any way to solve this problem?
>>
>>  Thanks,
>> KasunW.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon 4 Orbit/Kernel/Platform Branching

2012-07-30 Thread Kasun Weranga
On Fri, Jul 27, 2012 at 4:56 PM, Shammi Jayasinghe  wrote:

> Hi,
>
>  Still Following products have not followed the branching folder
> structure.
>
> BAM2
>

Done.


> BRS
> DSS
> GS
> LB
>
> Release Managers , Please follow the branching folder structure as soon as
> possible, since there can be problems when changing these at the last
> moment. We will add these products to bamboo once they moved to the correct
> structure.
>
> Thanks
> Shammi
>
> On Wed, Jul 25, 2012 at 2:36 PM, Amila Maha Arachchi wrote:
>
>> Hi RMs,
>>
>> You need to branch your products with respective version numbers as we
>> did in 3.2.0 branch. Please note this and do the needful. Otherwise there
>> will be problems when you want are doing minor releases on this branch.
>>
>> Regards,
>> AmilaM.
>>
>>
>> On Wed, Jul 25, 2012 at 2:06 PM, Amila Maha Arachchi wrote:
>>
>>> Hi Pradeep,
>>>
>>> When branching the products, folder structure should be
>>> product-name/version/. , right? But I dont see this in
>>> some/any products who are already building packs from the branch. For
>>> example ESB, G-Reg..
>>>
>>> Regards,
>>> AmilaM.
>>>
>>> On Fri, Jul 20, 2012 at 3:57 PM, Pradeep Fernando wrote:
>>>

 Hi,

 we are done with (i wont say done done. :) ) branching carbon for C4
 release.

 1. Obit branch  -
 https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.0.0/
  All the obit jars been uploaded to dist.wso2.org/maven2. Ideally
 you dont have to build orbit. Recently uploaded jars may take some time to
 get cached. (one day).

 2. Kernel branch -
 https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

 during the kernel branching we had the following changes in the
 dependencies/orbit versions. (we had to increase versions of some project,
 since some of them were released with carbon 3.2.0 release)

  h2-database  1.2.140-wso2v2 1.2.140-wso2v3
 jsrCache 1.1-wso2v1   1.1.0-wso2v2
 neethi   2.0.4-wso2v2 2.0.4-wso2v4
 securevault  1.0.01.0.0-wso2v2
 ciphertool  1.0.01.0.0-wso2v2
 wsdl4j  1.6.2-wso2v3  1.6.2-wso2v4
 xmlschema   1.4.7-wso2v1  1.4.7-wso2v2


 orbit
 ---
 axis2-jaxbri  1.6.1.wso2v1  1.6.1.wso2v5
 axis2-jibx1.6.1.wso2v1  1.6.1.wso2v5
 h2-database-engine  1.2.140.wso2v2  1.2.140.wso2v3
 jsr107cache1.1.wso2v1   1.1.0.wso2v2
 neethi 2.0.4.wso2v3   2.0.4.wso2v4
 wsdl4j 1.6.2.wso2v3   1.6.2.wso2v4
 XmlSchema  1.4.7.wso2v1   1.4.7.wso2v2



 3. platform branch -
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/

we had the following changes in the versions during the platform
 branch.

 amber  0.22.1358727-wso2v1 same
 andes   0.13-wso2v1  0.13.0-wso2v1
 cassandra 1.1.0-wso2v1 1.1.0-wso2v2
 closure-js-plugin1.0-SNAPSHOT  1.0 (released)
 datanucleus  3.0.1  3.0.1-wso2v1
 hadoop 0.20.203.1-wso2v1  0.20.203.1-wso2v1
 hector  0.7.0-23-wso2v1  0.7.0.23-wso2v1
 hive 0.8.1-wso2v2  0.8.1-wso2v3
 rampart1.6.1-wso2v4  same
 snappy1.0.4.1-wso2v1   same
 svn-client-adaptor 1.6.18.wso2v1  1.6.18.wso2v2
 synapse  2.1.0-wso2v6same
 thrift0.5
 0.5.0-wso2v2
 scm1.7.wso2v1  1.7.0-wso2v1


 externals:

 commons-vfs2.0-wso2v32.0-wso2v4
 shindig  removed
 sandesha   1.6.1-wso2v1 1.6.1-wso2v2
 qpid   0.12-wso2v1 same
 httpcore-nio4.1.3-wso2v2 same
 siddhi 1.0.0-SNAPSHOT 1.0.0-wso2v1
 balana   1.0.0-SNAPSHOT  1.0.0-wso2v1
 xferremoved
 xkms  removed
 ciphertoolremoved
 pwprovider  removed
 oauth removed
 charon   1.0.0-SNAPSHOT 1.0.0-wso2v1
 throttle2 removed
 caching  removed
 eventing removed
 wsdlvalidator   1.2.0-SNAPSHOT 1.2.0-wso2v1
 throttle3.3.0 3.3.0-wso2v1
 ode 1.3.5-SNAPSHOT 1.3.5-wso2v5
 e4ximpl   2.0.1.SNAPSHOT 2.0.1.wso2v1
 webharvest 2.0.wso2v1   2.0-wso2v2






>>>

[Dev] Need to modify wso2server.sh/bat to fix BAM-538

2012-07-30 Thread Kasun Weranga
Hi all,


When using Cassandra with some average load it prints following warning in
bam console.

"MemoryMeter uninitialized (jamm not specified as java agent); assuming
liveRatio of 10.0. Usually this means cassandra-env.sh disabled jamm
because you are using a buggy JRE; upgrade to the Sun JRE instead"

In order to fix this, We need to add -javaagent:/jamm.jar to the
wso2server.sh/bat and also org.github.jamm package to the launch.ini, But
this is only specific to products that uses Cassandra. So adding above will
affect to whole platform.
so is there any way to solve this problem?

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


Re: [Dev] Reminder : Add Product Categories to P2 Feature Repository

2012-07-19 Thread Kasun Weranga
On Thu, Jul 19, 2012 at 5:17 PM, Dileepa Jayakody  wrote:

> Hi Product Teams,
>
> This is to remind you to add Product Categories to our P2 feature
> repository.
> Currently it only has App Server, DSS and BAM Data Agent as categories.
> Please add your Product also as a category. This is important since it
> will give users a complete list of product categories when listing down
> features from the repository.
>
> On a related note:
> @BAM Team
> Are we considering BAM Data Agent as a separate Product category?
>

No, It contains agent features that required for other products like
ESB,AS,DSS etc. Will add BAM product to P2 feature repository.



>
> Thanks,
> Dileepa
>
>
> On Tue, May 15, 2012 at 3:40 PM, Dileepa Jayakody wrote:
>
>> Hi All,
>>
>> I have committed the above 2 categories in repository/pom.xml (r127303).
>> I have also created another category called Product Styles Category and
>> added the styles for DSS and AS there.
>> We can add other product categories in the repo in a similar manner.
>>
>> Thanks,
>> Dileepa
>>
>>
>> On Sat, May 12, 2012 at 8:34 PM, Sameera Jayasoma wrote:
>>
>>>
>>> On May 11, 2012 7:26 PM, "Dileepa Jayakody"  wrote:
>>> >
>>> > Hi Sameera et al,
>>> >
>>> > As you have correctly pointed out, we can simply create categories for
>>> each product by using the feature-list in the relevant p2-profile-gen
>>> module.
>>> > When doing so we need to make sure that all those p2-profile features
>>> are published to the repository. So one needs to first include the missing
>>> features in the features/repository/pom.xml under  in
>>> carbon-p2-plugin's p2-repo-gen goal. Then they can be used under the
>>> relevant  as s to generate the categories.
>>> >
>>> > I have modified my platform features/repository/pom.xml to have
>>> Application Server and Data Services Server Categories. Likewise other
>>> product categories can be also added. The pom.xml is attached herewith for
>>> your reference.
>>> >
>>> > However, I've got one concern when installing a product on top of
>>> carbon using a feature category. How are we going to manage the products
>>> styles here?  Since each product has it's own styles feature in the
>>> p2-profile, when installing a category, the carbon style changes to the
>>> installed product style. However if we want to install another product
>>> again, the style gets broken. How are we going to manage product styles
>>> here?
>>> > IMO we should not include product styles feature under the product
>>> category here and continue with the default carbon style.
>>>
>>> + 1 for not including the product styles to the product categories..
>>>
>>> Lets have a separate category called styles category and include all the
>>> product styles...
>>>
>>> Thanks,
>>> Sameera.
>>>
>>> >
>>> > Thanks,
>>> > Dileepa
>>> >
>>> >
>>> >
>>> >
>>> > On Tue, May 8, 2012 at 10:55 AM, Sameera Jayasoma 
>>> wrote:
>>> >>
>>> >> Hi Dileepa,
>>> >>
>>> >> The idea here is to install a particular category onto a Carbon
>>> server right?. e.g. Installing AS category onto Carbon would result in an
>>> WSO2 Application Server.
>>> >>
>>> >> If thats the case, we need to add more features to these categories.
>>> All products contains logging feature, system statistics, etc. You can find
>>> the complete list of features which makes a products by looking at the
>>> pom.xml of the p2-profile-gen module of a product.
>>> >>
>>> >> Thanks,
>>> >> Sameera.
>>> >>
>>> >> On Mon, May 7, 2012 at 6:19 PM, Dileepa Jayakody 
>>> wrote:
>>> >>>
>>> >>> Hi All,
>>> >>>
>>> >>> When improving the kernel feature manager to accommodate
>>> feature-groups(categories), we grouped some features in
>>> platform/trunk/features/repository into sample categories for demo purposes.
>>> >>> Primarily the grouping was done based on product level
>>> categorisation, so that the users can easily identify and install products
>>> on carbon server.
>>> >>>
>>> >>> I think this sample list can be improved as the actual list of
>>> feature categories in Carbon platform. So please add missing features to
>>> relevant categories or introduce new categories as appropriate. Please note
>>> that a feature may belong to 1 or many categories.
>>> >>>
>>> >>> AS
>>> >>> org.wso2.carbon.jarservices
>>> >>> org.wso2.carbon.jaxwsservices
>>> >>> org.wso2.carbon.repomanager.axis2
>>> >>> org.wso2.carbon.security.mgt
>>> >>> org.wso2.carbon.service.mgt
>>> >>> org.wso2.carbon.servicehosting
>>> >>> org.wso2.carbon.springservices
>>> >>> org.wso2.carbon.webapp.mgt
>>> >>> BAM
>>> >>> org.wso2.carbon.bam.data.publisher.activity.mediation
>>> >>> org.wso2.carbon.bam.data.publisher.activity.service
>>> >>> org.wso2.carbon.bam.data.publisher.mediationstats
>>> >>> org.wso2.carbon.bam.data.publisher.servicestats
>>> >>> org.wso2.carbon.bam
>>> >>>
>>> >>> Data
>>> >>>
>>> >>> org.wso2.carbon.dataservices
>>> >>> org.wso2.carbon.datasource
>>> >>>
>>> >>> ESB
>>> >>>
>>> >>> org.wso2.carbon.deployment.synchronizer
>>> >>> org.wso2.c

Re: [Dev] Kernel build issue (version.tomcat not defined ?)

2012-07-15 Thread Kasun Weranga
I saw this error on builder machine too.

On Sun, Jul 15, 2012 at 1:02 PM, Ranga Siriwardena  wrote:

> Hi,
>
> I'm getting following error when building carbon kernel. Appreciate any
> help on this.
>
> [INFO]
> 
> [INFO] BUILD FAILURE
> [INFO]
> 
> [INFO] Total time: 7:05.030s
> [INFO] Finished at: Sun Jul 15 10:44:24 IST 2012
> [INFO] Final Memory: 487M/987M
> [INFO]
> 
> [ERROR] Failed to execute goal on project org.wso2.carbon.tomcat: Could
> not resolve dependencies for project
> org.wso2.carbon:org.wso2.carbon.tomcat:bundle:4.0.0-SNAPSHOT: The following
> artifacts could not be resolved:
> org.apache.tomcat:tomcat-dbcp:jar:${version.tomcat},
> org.apache.tomcat.embed:tomcat-embed-core:jar:${version.tomcat},
> org.apache.tomcat.embed:tomcat-embed-jasper:jar:${version.tomcat}: The
> repository system is offline but the artifact
> org.apache.tomcat:tomcat-dbcp:jar:${version.tomcat} is not available in the
> local repository. -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn  -rf :org.wso2.carbon.tomcat
>
>
> Thank You.
> Ranga.
>
> --
> Ranga Siriwardena
> Software Engineer
> WSO2 Inc.
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Compilation error while building components

2012-07-06 Thread Kasun Weranga
I upgraded the hive version and uploaded it to maven repo.

Thanks,
KasunW.

On Fri, Jul 6, 2012 at 2:11 PM, Kasun Weranga  wrote:

> Thanks Waruna and Tharindu,
>
> I will upgrade the version and upload it to nexus.
>
> On Fri, Jul 6, 2012 at 1:56 PM, Tharindu Mathew  wrote:
>
>> I guess we should increment the version number every time we upload to
>> nexus (ex: hive-0.8.1.wso2v1 to hive-0.8.1.wso2v2), and change the
>> necessary dependent poms. That should solve this problem. The overwriting
>> of jars is a bad practice and we should discontinue this immediately.
>>
>> This should be done for all ant build based dependencies, i.e. cassandra,
>> hadoop, hive, we have uploaded. Relevant teams please note.
>>
>>
>> On Fri, Jul 6, 2012 at 1:49 PM, Waruna Ranasinghe wrote:
>>
>>>
>>>
>>> On Fri, Jul 6, 2012 at 1:43 PM, Kasun Weranga  wrote:
>>>
>>>> As a quick fix I have added hive into dependency/pom.xml. Will remove
>>>> it once we fix the nexus issue.
>>>
>>> I dont think there's something to fix in the nexus. The version of the
>>> hive orbit is not an snapshot, therefore eventhough you guys upload latest
>>> orbit into nexus, maven won't download since we have the old hive orbit jar
>>> in our local repo.
>>>
>>> Thanks,
>>> Waruna
>>>
>>>
>>>
>>>>
>>>>
>>>> On Fri, Jul 6, 2012 at 1:17 PM, Rajika Kumarasiri wrote:
>>>>
>>>>> Is this fixed ?
>>>>
>>>>
>>>>> Rajika
>>>>>
>>>>>
>>>>> On Fri, Jul 6, 2012 at 12:55 PM, Kasun Weranga wrote:
>>>>>
>>>>>> I checked this, It seems like some issues with nexus. I'll have a
>>>>>> look.
>>>>>>
>>>>>> Thanks,
>>>>>> KasunW
>>>>>>
>>>>>>
>>>>>> On Fri, Jul 6, 2012 at 12:48 PM, Kasun Weranga wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Jul 6, 2012 at 12:44 PM, Krishantha Samaraweera <
>>>>>>> krishan...@wso2.com> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Jul 6, 2012 at 12:43 PM, Kasun Weranga wrote:
>>>>>>>>
>>>>>>>>> Hi Krishantha,
>>>>>>>>>
>>>>>>>>> Is it offline build?
>>>>>>>>>
>>>>>>>>
>>>>>>>> Yes
>>>>>>>>
>>>>>>>
>>>>>>> Can you build online? It should fix.
>>>>>>>
>>>>>>>
>>>>>>>> -Krishantha.
>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, Jul 6, 2012 at 12:42 PM, Tharindu Mathew <
>>>>>>>>> thari...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Please build dependencies/hive and dependencies/orbit/hive.
>>>>>>>>>>
>>>>>>>>>> These are not in the build. This jar was uploaded to nexus but I
>>>>>>>>>> believe there is something wrong. Kasun, please have a look.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Fri, Jul 6, 2012 at 12:27 PM, Isuru Wimalasundera <
>>>>>>>>>> isu...@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> I am getting the same compilation failure, and the dependencies
>>>>>>>>>>> are up to date and build.
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Jul 6, 2012 at 12:16 PM, Krishantha Samaraweera <
>>>>>>>>>>> krishan...@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I'm getting following compilation error while building
>>>>>>>>>>>> components. Platform dependencies were already build by taking svn 
>>>>>>>>>>>> update.
>>>>>>>>>>>> Any reason for this failure ?
>>>&g

Re: [Dev] Do we support IBM JDK in latest trunk?

2012-07-06 Thread Kasun Weranga
On Fri, Jul 6, 2012 at 5:12 PM, Dushan Abeyruwan  wrote:

> Hi
>If I remember we had a same issue mention in point [1] some time back
> where the client is using IBM JDK
>
> 1. A new dependency to SUN JDK has been introduced with M5
>
>1. I used to run WSO2 BAM with IBM JDK 1.6 now I get this error on
>   server startup
>
> Can not create and start Agent Server
> org.wso2.carbon.eventbridge.core.exception.EventBridgeException: Cannot
> start agent server on port 7711
> ...
> *java.security.NoSuchAlgorithmException: SunX509 KeyManagerFactory not
> available"*
> *
> *
> *
> *
> *
> *
> *-*
> *
> *
> and the solution provided was described in below.
>
>  This issue happens basically IBM SDK or JRE, which does not provide the
> SunX509 implementation, but instead provides a IbmX509
> implementation.please do the following steps to
> 1.open mgt-transports.xml under IS-GREG-BPS server
> cluster/repository/conf, there under
> class="org.wso2.carbon.server.transports.http.HttpTransport">
>
> 
>   IbmX509
>
>
> *
> *
> *
> *
>

I tried this but it doesn't work in the trunk.


> **
> *
> *
>
>
>
> On Fri, Jul 6, 2012 at 4:08 PM, Charitha Kankanamge wrote:
>
>> ChamaraA is on IBM JDK6 testing G-reg trunk packs.
>>
>> Thanks!
>> Charitha
>>
>> On Fri, Jul 6, 2012 at 1:58 PM, Kasun Weranga  wrote:
>>
>>> We have supported this in past [1]. But adding the parameter algorithm
>>> as IBMX509  to catalina-server.xml doesn't fix the following error in the
>>> trunk.
>>> Don't we support IBM JDK anymore?
>>>
>>>
>>> Thanks,
>>> KasunW
>>>
>>>
>>> [1]
>>> http://charithaka.blogspot.com/2009/11/running-wso2-carbon-based-products-on.html
>>>
>>>
>>> On Fri, Jul 6, 2012 at 2:11 AM, Kasun Weranga  wrote:
>>>
>>>> Hi devs,
>>>>
>>>> Do we support IBM JDK in latest trunk?  This user got some issues when
>>>> using BAM M5 with IBM JDK 1.6. If we support IBM JDK, I think we should fix
>>>> this in the kernel level.
>>>>
>>>>
>>>> -- Forwarded message --
>>>> From: Fernando Troya 
>>>> Date: Tue, Jun 26, 2012 at 6:26 PM
>>>> Subject: Re: [Architecture] BAM 2.0.0 Milestone 5 released!
>>>> To: architect...@wso2.org
>>>>
>>>>
>>>> Hi all,
>>>>
>>>> I don't want to make too much noise with these errors as they might be
>>>> expected behavior; anyway this is my experience with M5;
>>>>
>>>>
>>>> 1. A new dependency to SUN JDK has been introduced with M5
>>>>
>>>>1. I used to run WSO2 BAM with IBM JDK 1.6 now I get this error on
>>>>   server startup
>>>>
>>>> Can not create and start Agent Server
>>>> org.wso2.carbon.eventbridge.core.exception.EventBridgeException:
>>>> Cannot start agent server on port 7711
>>>>  ...
>>>> java.security.NoSuchAlgorithmException: SunX509 KeyManagerFactory not
>>>> available
>>>>
>>>> 2. Then I switched to SUN JKD 1.6, connected to Cassandra's Cluster
>>>> (localhost:9160, admin, admin), installed the KPI Toolbox sample (neat) and
>>>> tried to run the KPI script. I got the following error:
>>>>
>>>>> *ERROR:* Error while executing Hive script. Query returned non-zero
>>>>> code: 9, cause: FAILED: Execution Error, return code 1 from
>>>>> org.apache.hadoop.hive.ql.exec.DDLTask
>>>>>
>>>>> Stacktrace:
>>>>>
>>>>> [2012-06-26 08:55:26,835] ERROR
>>>>> {org.wso2.carbon.cassandra.server.CarbonCassandraAuthenticator} -  The key
>>>>> is not present in the cache...
>>>>> Hive history
>>>>> file=/tmp/ftroya/hive_job_log_ftroya_201206260855_1569991736.txt
>>>>> Hive history
>>>>> file=/tmp/ftroya/hive_job_log_ftroya_201206260855_1456764371.txt
>>>>> FAILED: Error in metadata: MetaException(message:Unable to create key
>>>>> space 'EVENT_KS'. Error:null)
>>>>> [2012-06-26 08:55:50,634] ERROR {org.apache.hadoop.hive.ql.exec.Task}
>>>>> -  FAILED: Error in metadata: MetaException(message:Unable to create key
>>>>> space 'EVENT_KS'. E

Re: [Dev] Compilation error while building components

2012-07-06 Thread Kasun Weranga
Thanks Waruna and Tharindu,

I will upgrade the version and upload it to nexus.

On Fri, Jul 6, 2012 at 1:56 PM, Tharindu Mathew  wrote:

> I guess we should increment the version number every time we upload to
> nexus (ex: hive-0.8.1.wso2v1 to hive-0.8.1.wso2v2), and change the
> necessary dependent poms. That should solve this problem. The overwriting
> of jars is a bad practice and we should discontinue this immediately.
>
> This should be done for all ant build based dependencies, i.e. cassandra,
> hadoop, hive, we have uploaded. Relevant teams please note.
>
>
> On Fri, Jul 6, 2012 at 1:49 PM, Waruna Ranasinghe  wrote:
>
>>
>>
>> On Fri, Jul 6, 2012 at 1:43 PM, Kasun Weranga  wrote:
>>
>>> As a quick fix I have added hive into dependency/pom.xml. Will remove it
>>> once we fix the nexus issue.
>>
>> I dont think there's something to fix in the nexus. The version of the
>> hive orbit is not an snapshot, therefore eventhough you guys upload latest
>> orbit into nexus, maven won't download since we have the old hive orbit jar
>> in our local repo.
>>
>> Thanks,
>> Waruna
>>
>>
>>
>>>
>>>
>>> On Fri, Jul 6, 2012 at 1:17 PM, Rajika Kumarasiri wrote:
>>>
>>>> Is this fixed ?
>>>
>>>
>>>> Rajika
>>>>
>>>>
>>>> On Fri, Jul 6, 2012 at 12:55 PM, Kasun Weranga  wrote:
>>>>
>>>>> I checked this, It seems like some issues with nexus. I'll have a
>>>>> look.
>>>>>
>>>>> Thanks,
>>>>> KasunW
>>>>>
>>>>>
>>>>> On Fri, Jul 6, 2012 at 12:48 PM, Kasun Weranga wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Jul 6, 2012 at 12:44 PM, Krishantha Samaraweera <
>>>>>> krishan...@wso2.com> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Jul 6, 2012 at 12:43 PM, Kasun Weranga wrote:
>>>>>>>
>>>>>>>> Hi Krishantha,
>>>>>>>>
>>>>>>>> Is it offline build?
>>>>>>>>
>>>>>>>
>>>>>>> Yes
>>>>>>>
>>>>>>
>>>>>> Can you build online? It should fix.
>>>>>>
>>>>>>
>>>>>>> -Krishantha.
>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Jul 6, 2012 at 12:42 PM, Tharindu Mathew >>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Please build dependencies/hive and dependencies/orbit/hive.
>>>>>>>>>
>>>>>>>>> These are not in the build. This jar was uploaded to nexus but I
>>>>>>>>> believe there is something wrong. Kasun, please have a look.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, Jul 6, 2012 at 12:27 PM, Isuru Wimalasundera <
>>>>>>>>> isu...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> I am getting the same compilation failure, and the dependencies
>>>>>>>>>> are up to date and build.
>>>>>>>>>>
>>>>>>>>>> On Fri, Jul 6, 2012 at 12:16 PM, Krishantha Samaraweera <
>>>>>>>>>> krishan...@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I'm getting following compilation error while building
>>>>>>>>>>> components. Platform dependencies were already build by taking svn 
>>>>>>>>>>> update.
>>>>>>>>>>> Any reason for this failure ?
>>>>>>>>>>>
>>>>>>>>>>> [INFO]
>>>>>>>>>>> 
>>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>>>>>>>>>>> (default-compile) on project org.wso2.carbon.analytics.hive: 
>>

Re: [Dev] Do we support IBM JDK in latest trunk?

2012-07-06 Thread Kasun Weranga
We have supported this in past [1]. But adding the parameter algorithm
as IBMX509  to catalina-server.xml doesn't fix the following error in the
trunk.
Don't we support IBM JDK anymore?


Thanks,
KasunW


[1]
http://charithaka.blogspot.com/2009/11/running-wso2-carbon-based-products-on.html


On Fri, Jul 6, 2012 at 2:11 AM, Kasun Weranga  wrote:

> Hi devs,
>
> Do we support IBM JDK in latest trunk?  This user got some issues when
> using BAM M5 with IBM JDK 1.6. If we support IBM JDK, I think we should fix
> this in the kernel level.
>
>
> -- Forwarded message --
> From: Fernando Troya 
> Date: Tue, Jun 26, 2012 at 6:26 PM
> Subject: Re: [Architecture] BAM 2.0.0 Milestone 5 released!
> To: architect...@wso2.org
>
>
> Hi all,
>
> I don't want to make too much noise with these errors as they might be
> expected behavior; anyway this is my experience with M5;
>
>
> 1. A new dependency to SUN JDK has been introduced with M5
>
>1. I used to run WSO2 BAM with IBM JDK 1.6 now I get this error on
>   server startup
>
> Can not create and start Agent Server
> org.wso2.carbon.eventbridge.core.exception.EventBridgeException: Cannot
> start agent server on port 7711
>  ...
> java.security.NoSuchAlgorithmException: SunX509 KeyManagerFactory not
> available
>
> 2. Then I switched to SUN JKD 1.6, connected to Cassandra's Cluster
> (localhost:9160, admin, admin), installed the KPI Toolbox sample (neat) and
> tried to run the KPI script. I got the following error:
>
>> *ERROR:* Error while executing Hive script. Query returned non-zero
>> code: 9, cause: FAILED: Execution Error, return code 1 from
>> org.apache.hadoop.hive.ql.exec.DDLTask
>>
>> Stacktrace:
>>
>> [2012-06-26 08:55:26,835] ERROR
>> {org.wso2.carbon.cassandra.server.CarbonCassandraAuthenticator} -  The key
>> is not present in the cache...
>> Hive history
>> file=/tmp/ftroya/hive_job_log_ftroya_201206260855_1569991736.txt
>> Hive history
>> file=/tmp/ftroya/hive_job_log_ftroya_201206260855_1456764371.txt
>> FAILED: Error in metadata: MetaException(message:Unable to create key
>> space 'EVENT_KS'. Error:null)
>> [2012-06-26 08:55:50,634] ERROR {org.apache.hadoop.hive.ql.exec.Task} -
>> FAILED: Error in metadata: MetaException(message:Unable to create key space
>> 'EVENT_KS'. Error:null)
>> org.apache.hadoop.hive.ql.metadata.HiveException:
>> MetaException(message:Unable to create key space 'EVENT_KS'. Error:null)
>> at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:546)
>>
> KPI tabs in the dashboard are created but of course there's no content
> displayed.
>
> 3. With regards the *Gadget Gen Tool*, I can't pass the second screen as
> no table has been created. Anyways, I have two questions about this:
>
>- Is the *Gadget IDE *gone for good?
>- Users have now to type their scripts; does this mean that they need
>to know SQL to write their gadgets?
>
> Cheers,
> 2012/6/22 Tharindu Mathew 
>
>> *WSO2 Business Activity Monitor 2.0.0 - Milestone 5 Released!* *Date :
>> 23rd June 2012*
>> *
>> *
>> This milestone is available at -
>> http://people.wso2.com/~tharindu/m5/wso2bam-2.0.0-SNAPSHOT.zip
>>
>> P2 Repo containing Agents for ESB and AS available at :
>> http://people.wso2.com/~kasunw/BAM2-M5-p2-repo/p2-repo/
>>
>> Note: This M5 does not work on Windows due to a known issue with Hadoop.
>> This will be fixed for a future milestone.
>> This release can be tested *end-end. *This release is NOT compatible
>> with older milestone releases of BAM 2.0.0.* *Please check out the
>> samples located in the $BAM_HOME/samples directory to try out the features.
>>
>>
>> Main highlights of this release are:
>>
>> *Agent API*
>>
>> - A new Agent API model with the capability to define event streams
>>
>> - A new fast Apache Thrift based API for high performance event capturing
>>
>> - Java SDK for high performance Thrift clients
>>
>> - A complete REST API for event capturing
>>
>>
>> *Scalable Storage*
>>
>> - New versioned, stream definition based data model
>>
>> - Implemented on top of Apache Cassandra for maximum scalability an write
>> throughput
>>
>> *
>> *
>> *Scalable Analytics*
>>
>> - SQL like scalable analytics query language on top of Apache Hive
>>
>> - Specially built Hive JDBC handler only available for WSO2 BAM
>>
>> - Big Data Scalable analytics with the integration of Apache Hadoop
>>
>

Re: [Dev] Compilation error while building components

2012-07-06 Thread Kasun Weranga
As a quick fix I have added hive into dependency/pom.xml. Will remove it
once we fix the nexus issue.

On Fri, Jul 6, 2012 at 1:17 PM, Rajika Kumarasiri  wrote:

> Is this fixed ?


> Rajika
>
>
> On Fri, Jul 6, 2012 at 12:55 PM, Kasun Weranga  wrote:
>
>> I checked this, It seems like some issues with nexus. I'll have a look.
>>
>> Thanks,
>> KasunW
>>
>>
>> On Fri, Jul 6, 2012 at 12:48 PM, Kasun Weranga  wrote:
>>
>>>
>>>
>>> On Fri, Jul 6, 2012 at 12:44 PM, Krishantha Samaraweera <
>>> krishan...@wso2.com> wrote:
>>>
>>>>
>>>>
>>>> On Fri, Jul 6, 2012 at 12:43 PM, Kasun Weranga  wrote:
>>>>
>>>>> Hi Krishantha,
>>>>>
>>>>> Is it offline build?
>>>>>
>>>>
>>>> Yes
>>>>
>>>
>>> Can you build online? It should fix.
>>>
>>>
>>>> -Krishantha.
>>>>
>>>>>
>>>>> On Fri, Jul 6, 2012 at 12:42 PM, Tharindu Mathew wrote:
>>>>>
>>>>>> Please build dependencies/hive and dependencies/orbit/hive.
>>>>>>
>>>>>> These are not in the build. This jar was uploaded to nexus but I
>>>>>> believe there is something wrong. Kasun, please have a look.
>>>>>>
>>>>>>
>>>>>> On Fri, Jul 6, 2012 at 12:27 PM, Isuru Wimalasundera >>>>> > wrote:
>>>>>>
>>>>>>> I am getting the same compilation failure, and the dependencies are
>>>>>>> up to date and build.
>>>>>>>
>>>>>>> On Fri, Jul 6, 2012 at 12:16 PM, Krishantha Samaraweera <
>>>>>>> krishan...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I'm getting following compilation error while building components.
>>>>>>>> Platform dependencies were already build by taking svn update. Any 
>>>>>>>> reason
>>>>>>>> for this failure ?
>>>>>>>>
>>>>>>>> [INFO]
>>>>>>>> 
>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>>>>>>>> (default-compile) on project org.wso2.carbon.analytics.hive: 
>>>>>>>> Compilation
>>>>>>>> failure: Compilation failure:
>>>>>>>> [ERROR]
>>>>>>>> /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[23,37]
>>>>>>>> cannot find symbol
>>>>>>>> [ERROR] symbol  : class Utils
>>>>>>>> [ERROR] location: package org.apache.hadoop.hive.service
>>>>>>>> [ERROR]
>>>>>>>> /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[163,42]
>>>>>>>> cannot find symbol
>>>>>>>> [ERROR] symbol  : variable Utils
>>>>>>>> [ERROR] location: class
>>>>>>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl
>>>>>>>> [ERROR]
>>>>>>>> /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[163,47]
>>>>>>>> operator + cannot be applied to Utils.TENANT_ID_SEPARATOR_CHAR_SEQ,int
>>>>>>>> [ERROR] -> [Help 1]
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Krishantha.
>>>>>>>>
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Isuru Wimalasundera*
>>>>>>> Software Engineer;  WSO2, Inc.; http://wso2.com,
>>>>>>>  mobile: +94 77 920 5641
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>>
>>>>>> Tharindu
>>>>>>
>>>>>> blog: http://mackiemathew.com/
>>>>>> M: +9459908
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Kasun Weranga*
>>>>> Software Engineer
>>>>> **
>>>>> *WSO2, Inc.
>>>>> *lean.enterprise.middleware.
>>>>> mobile : +94 772314602
>>>>> <http://sanjeewamalalgoda.blogspot.com/>blog 
>>>>> :<http://sanjeewamalalgoda.blogspot.com/>
>>>>> http://kasunweranga.blogspot.com/
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> *Kasun Weranga*
>>> Software Engineer
>>> **
>>> *WSO2, Inc.
>>> *lean.enterprise.middleware.
>>> mobile : +94 772314602
>>> <http://sanjeewamalalgoda.blogspot.com/>blog 
>>> :<http://sanjeewamalalgoda.blogspot.com/>
>>> http://kasunweranga.blogspot.com/
>>>
>>
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Compilation error while building components

2012-07-06 Thread Kasun Weranga
I checked this, It seems like some issues with nexus. I'll have a look.

Thanks,
KasunW

On Fri, Jul 6, 2012 at 12:48 PM, Kasun Weranga  wrote:

>
>
> On Fri, Jul 6, 2012 at 12:44 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>>
>>
>> On Fri, Jul 6, 2012 at 12:43 PM, Kasun Weranga  wrote:
>>
>>> Hi Krishantha,
>>>
>>> Is it offline build?
>>>
>>
>> Yes
>>
>
> Can you build online? It should fix.
>
>
>> -Krishantha.
>>
>>>
>>> On Fri, Jul 6, 2012 at 12:42 PM, Tharindu Mathew wrote:
>>>
>>>> Please build dependencies/hive and dependencies/orbit/hive.
>>>>
>>>> These are not in the build. This jar was uploaded to nexus but I
>>>> believe there is something wrong. Kasun, please have a look.
>>>>
>>>>
>>>> On Fri, Jul 6, 2012 at 12:27 PM, Isuru Wimalasundera 
>>>> wrote:
>>>>
>>>>> I am getting the same compilation failure, and the dependencies are up
>>>>> to date and build.
>>>>>
>>>>> On Fri, Jul 6, 2012 at 12:16 PM, Krishantha Samaraweera <
>>>>> krishan...@wso2.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm getting following compilation error while building components.
>>>>>> Platform dependencies were already build by taking svn update. Any reason
>>>>>> for this failure ?
>>>>>>
>>>>>> [INFO]
>>>>>> 
>>>>>> [ERROR] Failed to execute goal
>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>>>>>> (default-compile) on project org.wso2.carbon.analytics.hive: Compilation
>>>>>> failure: Compilation failure:
>>>>>> [ERROR]
>>>>>> /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[23,37]
>>>>>> cannot find symbol
>>>>>> [ERROR] symbol  : class Utils
>>>>>> [ERROR] location: package org.apache.hadoop.hive.service
>>>>>> [ERROR]
>>>>>> /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[163,42]
>>>>>> cannot find symbol
>>>>>> [ERROR] symbol  : variable Utils
>>>>>> [ERROR] location: class
>>>>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl
>>>>>> [ERROR]
>>>>>> /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[163,47]
>>>>>> operator + cannot be applied to Utils.TENANT_ID_SEPARATOR_CHAR_SEQ,int
>>>>>> [ERROR] -> [Help 1]
>>>>>>
>>>>>> Thanks,
>>>>>> Krishantha.
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Isuru Wimalasundera*
>>>>> Software Engineer;  WSO2, Inc.; http://wso2.com,
>>>>>  mobile: +94 77 920 5641
>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Tharindu
>>>>
>>>> blog: http://mackiemathew.com/
>>>> M: +9459908
>>>>
>>>>
>>>
>>>
>>> --
>>> *Kasun Weranga*
>>> Software Engineer
>>> **
>>> *WSO2, Inc.
>>> *lean.enterprise.middleware.
>>> mobile : +94 772314602
>>> <http://sanjeewamalalgoda.blogspot.com/>blog 
>>> :<http://sanjeewamalalgoda.blogspot.com/>
>>> http://kasunweranga.blogspot.com/
>>>
>>
>>
>
>
> --
> *Kasun Weranga*
> Software Engineer
> **
> *WSO2, Inc.
> *lean.enterprise.middleware.
> mobile : +94 772314602
> <http://sanjeewamalalgoda.blogspot.com/>blog 
> :<http://sanjeewamalalgoda.blogspot.com/>
> http://kasunweranga.blogspot.com/
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Compilation error while building components

2012-07-06 Thread Kasun Weranga
On Fri, Jul 6, 2012 at 12:44 PM, Krishantha Samaraweera  wrote:

>
>
> On Fri, Jul 6, 2012 at 12:43 PM, Kasun Weranga  wrote:
>
>> Hi Krishantha,
>>
>> Is it offline build?
>>
>
> Yes
>

Can you build online? It should fix.


> -Krishantha.
>
>>
>> On Fri, Jul 6, 2012 at 12:42 PM, Tharindu Mathew wrote:
>>
>>> Please build dependencies/hive and dependencies/orbit/hive.
>>>
>>> These are not in the build. This jar was uploaded to nexus but I believe
>>> there is something wrong. Kasun, please have a look.
>>>
>>>
>>> On Fri, Jul 6, 2012 at 12:27 PM, Isuru Wimalasundera wrote:
>>>
>>>> I am getting the same compilation failure, and the dependencies are up
>>>> to date and build.
>>>>
>>>> On Fri, Jul 6, 2012 at 12:16 PM, Krishantha Samaraweera <
>>>> krishan...@wso2.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm getting following compilation error while building components.
>>>>> Platform dependencies were already build by taking svn update. Any reason
>>>>> for this failure ?
>>>>>
>>>>> [INFO]
>>>>> 
>>>>> [ERROR] Failed to execute goal
>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>>>>> (default-compile) on project org.wso2.carbon.analytics.hive: Compilation
>>>>> failure: Compilation failure:
>>>>> [ERROR]
>>>>> /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[23,37]
>>>>> cannot find symbol
>>>>> [ERROR] symbol  : class Utils
>>>>> [ERROR] location: package org.apache.hadoop.hive.service
>>>>> [ERROR]
>>>>> /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[163,42]
>>>>> cannot find symbol
>>>>> [ERROR] symbol  : variable Utils
>>>>> [ERROR] location: class
>>>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl
>>>>> [ERROR]
>>>>> /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[163,47]
>>>>> operator + cannot be applied to Utils.TENANT_ID_SEPARATOR_CHAR_SEQ,int
>>>>> [ERROR] -> [Help 1]
>>>>>
>>>>> Thanks,
>>>>> Krishantha.
>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Isuru Wimalasundera*
>>>> Software Engineer;  WSO2, Inc.; http://wso2.com,
>>>>  mobile: +94 77 920 5641
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Tharindu
>>>
>>> blog: http://mackiemathew.com/
>>> M: +9459908
>>>
>>>
>>
>>
>> --
>> *Kasun Weranga*
>> Software Engineer
>> **
>> *WSO2, Inc.
>> *lean.enterprise.middleware.
>> mobile : +94 772314602
>> <http://sanjeewamalalgoda.blogspot.com/>blog 
>> :<http://sanjeewamalalgoda.blogspot.com/>
>> http://kasunweranga.blogspot.com/
>>
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error building jaggary dependency

2012-07-06 Thread Kasun Weranga
On Fri, Jul 6, 2012 at 11:33 AM, Tharindu Mathew  wrote:

> Am I missing something here or is a dependency (jaggery) depending on a
> component (webapp)?
>

Yes, I can see this component (webapp) dependency
in dependency/jaggery/pom.xml. We should not use a component in dependency
level.



> If this is by design, when we build in order without building from the
> platform level, almost always the build will break for engineers who
> doesn't expect this kind of dependency.
>
> On Fri, Jul 6, 2012 at 10:39 AM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>>
>>
>> On Fri, Jul 6, 2012 at 3:07 AM, Nuwan Bandara  wrote:
>>
>>> Hi kishanthan,
>>>
>>> Was there any change in webapp mgt component. I also saw a bamboo build
>>> break in jaggery
>>>
>>
>> Yes, it should be successful after webapp-mgt component gets build.
>> Please build webapp-mgt and then jaggery.
>>
>> Thanks,
>> Kishanthan.
>>
>>>
>>> /nuwan
>>>
>>> Sent from my iPad
>>>
>>> On Jul 6, 2012, at 3:04 AM, Chamath Bogahawatta 
>>> wrote:
>>>
>>> Hi,
>>>
>>> I'm getting following error when building
>>> platform/trunk/dependency/jaggary.
>>>
>>>
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
>>> (default-compile) on project org.jaggeryjs.jaggery.app.mgt: Compilation
>>> failure
>>> [ERROR]
>>> /home/chamath/build/trunk/carbon/platform/trunk/dependencies/jaggery/components/jaggery-core/org.jaggeryjs.jaggery.app.mgt/src/main/java/org/jaggeryjs/jaggery/app/mgt/TomcatJaggeryWebappsDeployer.java:[64,8]
>>> cannot find symbol
>>> [ERROR] symbol  : constructor
>>> TomcatGenericWebappsDeployer(java.lang.String,int,java.lang.String,org.wso2.carbon.webapp.mgt.WebApplicationsHolder,org.apache.axis2.context.ConfigurationContext)
>>> [ERROR] location: class
>>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer
>>>
>>>
>>>
>>> _-_-_-_-_-_-_-_-_-_
>>>
>>> Thanks & Regards,
>>> Chamath.
>>> *+94 71 532 0009*
>>>
>>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Software Engineer,
>> Development Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com*
>> Twitter - *http://twitter.com/kishanthan*
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
>
> Tharindu
>
> blog: http://mackiemathew.com/
> M: +9459908
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Compilation error while building components

2012-07-06 Thread Kasun Weranga
Hi Krishantha,

Is it offline build?

On Fri, Jul 6, 2012 at 12:42 PM, Tharindu Mathew  wrote:

> Please build dependencies/hive and dependencies/orbit/hive.
>
> These are not in the build. This jar was uploaded to nexus but I believe
> there is something wrong. Kasun, please have a look.
>
>
> On Fri, Jul 6, 2012 at 12:27 PM, Isuru Wimalasundera wrote:
>
>> I am getting the same compilation failure, and the dependencies are up to
>> date and build.
>>
>> On Fri, Jul 6, 2012 at 12:16 PM, Krishantha Samaraweera <
>> krishan...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I'm getting following compilation error while building components.
>>> Platform dependencies were already build by taking svn update. Any reason
>>> for this failure ?
>>>
>>> [INFO]
>>> 
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
>>> (default-compile) on project org.wso2.carbon.analytics.hive: Compilation
>>> failure: Compilation failure:
>>> [ERROR]
>>> /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[23,37]
>>> cannot find symbol
>>> [ERROR] symbol  : class Utils
>>> [ERROR] location: package org.apache.hadoop.hive.service
>>> [ERROR]
>>> /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[163,42]
>>> cannot find symbol
>>> [ERROR] symbol  : variable Utils
>>> [ERROR] location: class
>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl
>>> [ERROR]
>>> /home/krishantha/svn/trunk/carbon/platform/trunk/components/analytics/org.wso2.carbon.analytics.hive/src/main/java/org/wso2/carbon/analytics/hive/impl/HiveExecutorServiceImpl.java:[163,47]
>>> operator + cannot be applied to Utils.TENANT_ID_SEPARATOR_CHAR_SEQ,int
>>> [ERROR] -> [Help 1]
>>>
>>> Thanks,
>>> Krishantha.
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Isuru Wimalasundera*
>> Software Engineer;  WSO2, Inc.; http://wso2.com,
>>  mobile: +94 77 920 5641
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
>
> Tharindu
>
> blog: http://mackiemathew.com/
> M: +9459908
>
>


-- 
*Kasun Weranga*
Software Engineer
**
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
<http://sanjeewamalalgoda.blogspot.com/>blog
:<http://sanjeewamalalgoda.blogspot.com/>
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Do we support IBM JDK in latest trunk?

2012-07-05 Thread Kasun Weranga
Hi devs,

Do we support IBM JDK in latest trunk?  This user got some issues when
using BAM M5 with IBM JDK 1.6. If we support IBM JDK, I think we should fix
this in the kernel level.


-- Forwarded message --
From: Fernando Troya 
Date: Tue, Jun 26, 2012 at 6:26 PM
Subject: Re: [Architecture] BAM 2.0.0 Milestone 5 released!
To: architect...@wso2.org


Hi all,

I don't want to make too much noise with these errors as they might be
expected behavior; anyway this is my experience with M5;


1. A new dependency to SUN JDK has been introduced with M5

   1. I used to run WSO2 BAM with IBM JDK 1.6 now I get this error on
  server startup

Can not create and start Agent Server
org.wso2.carbon.eventbridge.core.exception.EventBridgeException: Cannot
start agent server on port 7711
 ...
java.security.NoSuchAlgorithmException: SunX509 KeyManagerFactory not
available

2. Then I switched to SUN JKD 1.6, connected to Cassandra's Cluster
(localhost:9160, admin, admin), installed the KPI Toolbox sample (neat) and
tried to run the KPI script. I got the following error:

> *ERROR:* Error while executing Hive script. Query returned non-zero code:
> 9, cause: FAILED: Execution Error, return code 1 from
> org.apache.hadoop.hive.ql.exec.DDLTask
>
> Stacktrace:
>
> [2012-06-26 08:55:26,835] ERROR
> {org.wso2.carbon.cassandra.server.CarbonCassandraAuthenticator} -  The key
> is not present in the cache...
> Hive history
> file=/tmp/ftroya/hive_job_log_ftroya_201206260855_1569991736.txt
> Hive history
> file=/tmp/ftroya/hive_job_log_ftroya_201206260855_1456764371.txt
> FAILED: Error in metadata: MetaException(message:Unable to create key
> space 'EVENT_KS'. Error:null)
> [2012-06-26 08:55:50,634] ERROR {org.apache.hadoop.hive.ql.exec.Task} -
> FAILED: Error in metadata: MetaException(message:Unable to create key space
> 'EVENT_KS'. Error:null)
> org.apache.hadoop.hive.ql.metadata.HiveException:
> MetaException(message:Unable to create key space 'EVENT_KS'. Error:null)
> at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:546)
>
KPI tabs in the dashboard are created but of course there's no content
displayed.

3. With regards the *Gadget Gen Tool*, I can't pass the second screen as no
table has been created. Anyways, I have two questions about this:

   - Is the *Gadget IDE *gone for good?
   - Users have now to type their scripts; does this mean that they need to
   know SQL to write their gadgets?

Cheers,
2012/6/22 Tharindu Mathew 

> *WSO2 Business Activity Monitor 2.0.0 - Milestone 5 Released!* *Date :
> 23rd June 2012*
> *
> *
> This milestone is available at -
> http://people.wso2.com/~tharindu/m5/wso2bam-2.0.0-SNAPSHOT.zip
>
> P2 Repo containing Agents for ESB and AS available at :
> http://people.wso2.com/~kasunw/BAM2-M5-p2-repo/p2-repo/
>
> Note: This M5 does not work on Windows due to a known issue with Hadoop.
> This will be fixed for a future milestone.
> This release can be tested *end-end. *This release is NOT compatible with
> older milestone releases of BAM 2.0.0.* *Please check out the samples
> located in the $BAM_HOME/samples directory to try out the features.
>
>
> Main highlights of this release are:
>
> *Agent API*
>
> - A new Agent API model with the capability to define event streams
>
> - A new fast Apache Thrift based API for high performance event capturing
>
> - Java SDK for high performance Thrift clients
>
> - A complete REST API for event capturing
>
>
> *Scalable Storage*
>
> - New versioned, stream definition based data model
>
> - Implemented on top of Apache Cassandra for maximum scalability an write
> throughput
>
> *
> *
> *Scalable Analytics*
>
> - SQL like scalable analytics query language on top of Apache Hive
>
> - Specially built Hive JDBC handler only available for WSO2 BAM
>
> - Big Data Scalable analytics with the integration of Apache Hadoop
>
> *
> *
> *BAM Toolboxes*
>
> - One click deployment of complete monitoring scenarios with BAM
> Toolboxes. Ex: KPI Definition
>
> - Ability to package BAM artifacts for easy deployment
>
> *
> *
> *BAM Mediators and Statistic collectors*
> *
> *
> - ESB Mediator for capturing data from mediation flows
>
> - Statistic Collectors for AS, ESB and other WSO2 products
>
> *
> *
> *Gadget Generation*
>
> - Simplified dashboard generation with a step by step wizard
>
> 
>
> We welcome your feedback and would love to hear your thoughts on this
> release of WSO2 BAM.
>
> The WSO2 BAM Team
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
 *Fernando Troya*
fernando.tr...@fluxit.com.ar
www.fluxit.com.ar
 9 n° 865 (planta alta) / La Plata / Buenos Aires / Argentina
(+54)-221-5532980 - Interno 315


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

  1   2   >