Re: [Dev] org.wso2.carbon.core.util.KeyStoreManager.getDefaultPrivateKey()

2014-10-05 Thread Danushka Fernando
Created a jira [1] [1] https://wso2.org/jira/browse/CARBON-15002 Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Oct 3, 2014 at 9:47 PM, Prabath Siriwardena wrote: > Yes... need to fix that.. > > return (PublicKey) > primaryKeyStore

Re: [Dev] CEP ( building from source error )

2014-10-05 Thread Ramindu De Silva
Hi all, I am now checking out the above and let you know after Im done with it. Thank you all :) Regards. On Mon, Oct 6, 2014 at 11:56 AM, Niranda Perera wrote: > Hi Ramindu, > > Are you following this [1]? > > [1] https://docs.wso2.com/display/CEP310/Building+from+Source > > On Mon, Oct 6, 20

Re: [Dev] Signature verification error - Signature length not correct: got 203 but was expecting 128

2014-10-05 Thread Danushka Fernando
Resolved by base 64 encoding the signature seperately. Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sat, Oct 4, 2014 at 12:07 AM, Danushka Fernando wrote: > Hi Prabath. > I guess you missed the last line of my mail. ;) > We are going t

[Dev] Error in index.jsp of carbon component

2014-10-05 Thread Buddhi Senarathna
Hi all, I'm writing a carbon component and when it is running on carbon server, it gives following errors *"PWC6199: Generated servlet error:Only a type can be imported. org.wso2.carbon.ser.inf.ui.ServerInfoClient resolves to a packagePWC6197: An error occurred at line: 10 in the jsp file: /

[Dev] Why does ESB source consume so much disk space?

2014-10-05 Thread Lahiru Chandima
Hi All, I checked out the source for ESB from following SVN location several days ago. https://svn.wso2.org/repos/wso2/carbon/platform/tags/turing-chunk07 When initially checked out, the total size of the checked out source was around 5 GB as I can remember. But when I checked today, the source

Re: [Dev] CEP ( building from source error )

2014-10-05 Thread Niranda Perera
Hi Ramindu, Are you following this [1]? [1] https://docs.wso2.com/display/CEP310/Building+from+Source On Mon, Oct 6, 2014 at 11:45 AM, Ramindu De Silva wrote: > Hi all, > > Turned out, I get this issue whenever I try to build any pom.xml. > > Regards. > > On Mon, Oct 6, 2014 at 11:20 AM, Laksh

Re: [Dev] CEP ( building from source error )

2014-10-05 Thread Lasantha Fernando
Hi Ramindu, When building CEP 3.1.0, it refers to the parent pom at products-4.2.0 level, and products would probably have a parent at turing-platform/parent/pom.xml and so on. Therefore, I think you need to checkout the complete turing platform before building a specific product. Can you trying

[Dev] Apache Storm support in WSO2CEP 4.0 update

2014-10-05 Thread Sriskandarajah Suhothayan
Hi all Thanks for Lasantha and SajithR's effort, now I was able to integrate Apache Storm[1] with WSO2 CEP. Enabling WSO2 CEP 4.0[2] to process complex event processing in a distributed manner. Currently to achieve this, CEP execution plans should have Siddhi queries with the correct breakdowns

Re: [Dev] CEP ( building from source error )

2014-10-05 Thread Ramindu De Silva
Hi all, Turned out, I get this issue whenever I try to build any pom.xml. Regards. On Mon, Oct 6, 2014 at 11:20 AM, Lakshman Udayakantha wrote: > Hi Ramindu, > > build [1] before to build CEP 3.1.0 > > [1] > https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/pom.xml > > T

[Dev] [Chunk13 build error] DSS product

2014-10-05 Thread Vijayaratha Vijayasingam
Getting; [INFO] BUILD FAILURE [INFO] [INFO] Total time: 47:16.937s [INFO] Finished at: Sun Oct 05 23:05:14 PDT 2014 [INFO] Final Memory: 300M/838M [INFO] --

Re: [Dev] NoHostAvailableException in MB when doing load testing

2014-10-05 Thread Asitha Nanayakkara
Hi Sajini, Can we take this data source configuration as the default configuration for MB? If so we need to update the master-datasources.xml in the pack [1] I guess. [1] https://github.com/wso2-dev/product-mb/blob/master/modules/distribution/src/main/conf/master-datasources.xml Thanks On Mon,

Re: [Dev] CEP ( building from source error )

2014-10-05 Thread Lakshman Udayakantha
Hi Ramindu, build [1] before to build CEP 3.1.0 [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/pom.xml Thanks On Mon, Oct 6, 2014 at 11:07 AM, Lasantha Fernando wrote: > Hi Ramindu, > > Can you get a checkout of the complete Turing platform and try a build > from

Re: [Dev] Class not found exception while deploying jax-rs in WSO2 App Server

2014-10-05 Thread Madusanka Premaratne
Hi Bhathiya, As I mentioned there was a error in structure. I have pull the code from git and edited using eclipse. When I open it using IDEA, I found the error. Thanks, On Mon, Oct 6, 2014 at 11:09 AM, Bhathiya Jayasekara wrote: > Hi Madusanka, > > On Mon, Oct 6, 2014 at 9:59 AM, Madusanka Pre

Re: [Dev] Class not found exception while deploying jax-rs in WSO2 App Server

2014-10-05 Thread Bhathiya Jayasekara
Hi Madusanka, On Mon, Oct 6, 2014 at 9:59 AM, Madusanka Premaratne wrote: > Hi all, > I got the following error while deploying my .war file in Application > Server. > > [2014-10-06 09:47:55,271] ERROR > {org.apache.catalina.core.ApplicationContext} - StandardWrapper.Throwable > > org.springfra

Re: [Dev] Class not found exception while deploying jax-rs in WSO2 App Server

2014-10-05 Thread Madusanka Premaratne
I resolved the issue. There was a problem in project structure. Thanks, On Mon, Oct 6, 2014 at 9:59 AM, Madusanka Premaratne wrote: > Hi all, > I got the following error while deploying my .war file in Application > Server. > > [2014-10-06 09:47:55,271] ERROR > {org.apache.catalina.core.Applicat

Re: [Dev] CEP ( building from source error )

2014-10-05 Thread Lasantha Fernando
Hi Ramindu, Can you get a checkout of the complete Turing platform and try a build from CEP 3.1.0? There are dependencies to parent level poms which are needed when building CEP. Thanks, Lasantha On 6 October 2014 11:02, Ramindu De Silva wrote: > Hi all, > > I checked out the CEP 3.1.0 source

[Dev] CEP ( building from source error )

2014-10-05 Thread Ramindu De Silva
Hi all, I checked out the CEP 3.1.0 source and tried "maven clean install" to build it and i got the following error. [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.wso2.cep:cep-parent:3.1.0 (/Users/ramilu/Ramindu/WSO2/F

Re: [Dev] NoHostAvailableException in MB when doing load testing

2014-10-05 Thread Prabath Abeysekera
On Mon, Oct 6, 2014 at 9:35 AM, Bhathiya Jayasekara wrote: > Hi Sajini, > > Can you please point which part of above configuration fixed the issue? > +1. It would also be helpful if you could explain what really caused the above reported exceptions too. Cheers, Prabath > > Thanks, > Bhathiya

Re: [Dev] [BAM] Location of the stream definitions XML file in BAM?

2014-10-05 Thread Sinthuja Ragendran
Hi, The configuration in the docs for stream-definitions.xml seems to be obsolete. There need to be few modifications; 1) As suho mentioned the particulate configuration file name should be in repository/conf/data-bridge/stream-definitions.xml. 2) The correct format of configuration should be as

Re: [Dev] [Build error -chunk13] Identity compoenent

2014-10-05 Thread Vijayaratha Vijayasingam
Sorry..got wrong..i correct it.. On 6 October 2014 10:41, Vijayaratha Vijayasingam wrote: > If not released you need to add that in chunk13 pom? > > On 6 October 2014 10:39, Darshana Gunawardana wrote: > >> Hi Ratha, >> >> We haven't released org.wso2.carbon.identity.relyingparty:jar:4.2.1 with

Re: [Dev] [Build error -chunk13] Identity compoenent

2014-10-05 Thread Vijayaratha Vijayasingam
If not released you need to add that in chunk13 pom? On 6 October 2014 10:39, Darshana Gunawardana wrote: > Hi Ratha, > > We haven't released org.wso2.carbon.identity.relyingparty:jar:4.2.1 with > IS 5.0.0 its correct to not having that jar in the nexus. What you have to > do is adding org.wso2.

Re: [Dev] [Build error -chunk13] Identity compoenent

2014-10-05 Thread Darshana Gunawardana
Hi Ratha, We haven't released org.wso2.carbon.identity.relyingparty:jar:4.2.1 with IS 5.0.0 its correct to not having that jar in the nexus. What you have to do is adding org.wso2.carbon.identity.relyingparty 4.2.1 into chunk pom Thanks, On Mon, Oct 6, 2014 at 10:28 AM, Vijayaratha Vijayasingam

Re: [Dev] Issue in Kafka producer load testing

2014-10-05 Thread Kathees Rajendram
Hi Dushan, Yes I set it. Reason for this issue is that producer connection was not closed properly. Now number of open file limit is enough. Thanks, Kathees On Sun, Oct 5, 2014 at 7:43 PM, Dushan Abeyruwan wrote: > ulimit ? > > have you set them in your OS > > On Sat, Oct 4, 2014 at 8:48 PM, K

[Dev] [Build error -chunk13] Identity compoenent

2014-10-05 Thread Vijayaratha Vijayasingam
Hi; Getting; Can IS team check this? Are we missing nay jar at nexus or do we need to update chunk poms with the missed components? INFO] BUILD FAILURE [INFO] [INFO] Total time: 14:48.334s [INFO] Finished at: Sun Oct 05 21

[Dev] [Build error -chunk13] Identity compoenent

2014-10-05 Thread Vijayaratha Vijayasingam
Hi; Getting; Can IS team check this? Are we missing nay jar at nexus or do we need to update chunk poms with the missed components? INFO] BUILD FAILURE [INFO] [INFO] Total time: 14:48.334s [INFO] Finished at: Sun Oct 05 21

Re: [Dev] Store mediator defined in sequence template adds a namespace to the message automatically

2014-10-05 Thread Lahiru Sandaruwan
Hi Anjana, I tried that. But when i save, declaration of namespace " http://ws.apache.org/ns/synapse"; goes away(does note get saved). That is the issue. Thanks On Mon, Oct 6, 2014 at 6:53 AM, Anjana Fernando wrote: > Hi Lahiru, > > You can run an Xpath in the usual way for this message also

Re: [Dev] [re-factoring required for org.wso2.carbon.identity.oauth:4.2.3 component]

2014-10-05 Thread Gayan Gunawardana
+1 JIRA has been created. https://wso2.org/jira/browse/IDENTITY-2771 On Mon, Oct 6, 2014 at 10:06 AM, Darshana Gunawardana wrote: > Better to create JIRA and attach the suggested refactored code as a patch.. > > On Mon, Oct 6, 2014 at 10:02 AM, Gayan Gunawardana wrote: > >> AccessTokenIssuer

Re: [Dev] [re-factoring required for org.wso2.carbon.identity.oauth:4.2.3 component]

2014-10-05 Thread Darshana Gunawardana
Better to create JIRA and attach the suggested refactored code as a patch.. On Mon, Oct 6, 2014 at 10:02 AM, Gayan Gunawardana wrote: > AccessTokenIssuer > > *Current Implementation* > > boolean isAuthenticated; > if(clientAuthHandler != null){ > isAuthenticated = > clientAu

[Dev] [re-factoring required for org.wso2.carbon.identity.oauth:4.2.3 component]

2014-10-05 Thread Gayan Gunawardana
AccessTokenIssuer *Current Implementation* boolean isAuthenticated; if(clientAuthHandler != null){ isAuthenticated = clientAuthHandler.authenticateClient(tokReqMsgCtx); } else { isAuthenticated = true; } boolean isValidGrant = authzGrantHandler.v

[Dev] Class not found exception while deploying jax-rs in WSO2 App Server

2014-10-05 Thread Madusanka Premaratne
Hi all, I got the following error while deploying my .war file in Application Server. [2014-10-06 09:47:55,271] ERROR {org.apache.catalina.core.ApplicationContext} - StandardWrapper.Throwable org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxf' defined in

Re: [Dev] NoHostAvailableException in MB when doing load testing

2014-10-05 Thread Bhathiya Jayasekara
Hi Sajini, Can you please point which part of above configuration fixed the issue? Thanks, Bhathiya On Mon, Oct 6, 2014 at 9:30 AM, Sajini De Silva wrote: > Hi, > > This issue was fixed with following configurations. > > *master-datasources.xml in MB node:* > > > > WSO2_C

Re: [Dev] NoHostAvailableException in MB when doing load testing

2014-10-05 Thread Sajini De Silva
Hi, This issue was fixed with following configurations. *master-datasources.xml in MB node:* WSO2_CASSANDRA_DB The datasource used for cassandra CassandraRepo false

Re: [Dev] [BAM] Location of the stream definitions XML file in BAM?

2014-10-05 Thread Sriskandarajah Suhothayan
Hi stream-manager-config.xml[1] is deprecated in CEP I wonder why its still on the doc, you should be using stream-definitions.xml[2]. I believe these files will also work BAM. @Praneesha please update the doc accordingly. Regards Suho [1]/repository/conf/stream-manager-config.xml [2]/repositor

[Dev] [BAM] Location of the stream definitions XML file in BAM?

2014-10-05 Thread Niranda Perera
Hi, I have configured input streams in the BAM 2.5.0 Beta for a reliable messaging scenario using JMS (and MB as the JMS provider). I have been referring to CEP docs for stream configs [1] I am unable to locate the BAM version of stream-manager-config.xml file (/repository/conf/stream-manager-co

Re: [Dev] Profiling MB2 M1

2014-10-05 Thread Srinath Perera
Publishing numbers are good, and obviously not for receiving Could you add logs to print following once every thousand messages 1) Queue sizes of all queues in Queue DeliveryInfo objects 2) Queue size of worker queue in QueueDeliveryInfo 3) Print every time the worker threads sleeps I will schedu

Re: [Dev] Store mediator defined in sequence template adds a namespace to the message automatically

2014-10-05 Thread Anjana Fernando
Hi Lahiru, You can run an Xpath in the usual way for this message also; In the place you define the expression, simply first declare the namespace " http://ws.apache.org/ns/synapse"; with a namespace prefix, e.g. ns1, and you can put Xpath expressions with that namespace prefix, e.g. "/ns1:file/ns

Re: [Dev] handleException() of AbstractMediator is recommended to use in class mediator?

2014-10-05 Thread Dilan Udara Ariyaratne
Hi Lahiru! In my experience, the answer would be "YES". In our training project, very recently we did introduce some upgrades to 3 existing advanced mediators in ESB and in situations where exceptions could occur, we handled it using the "handleException()" function which was said to be the Stand

[Dev] Store mediator defined in sequence template adds a namespace to the message automatically

2014-10-05 Thread Lahiru Sandaruwan
Hi guys, Is $subject a bug? Store get changed to following automatically, http://ws.apache.org/ns/synapse"; messageStore="A"> I receive this message to a proxy defined in ESB, and the message has this namespace. E.g. http://ws.apache.org/ns/synapse";> myftphost

Re: [Dev] [chunk13]p2-build error

2014-10-05 Thread Maninda Edirisooriya
Hi Ratha, Moved features only required by BAM to p2 repo 4.2.12 from 4.2.11. Commented some non-resolving featured in 4.2.11 to make it buildable. Then moved databridge's *agent.thrift*, *datapublisher* and *commons* features back to chunk 13 from chunk 14. Now APIM 1.8 builds well as I can see.

Re: [Dev] Integrating topics to MB

2014-10-05 Thread Hasitha Hiranya
Hi, At broker shutdown all temp queues are deleted. So all content on that node belonging to them should be removed. At shutdown if we can delete content of a queue in one call this will be solved. On Sun, Oct 5, 2014 at 8:00 PM, Asitha Nanayakkara wrote: > Hi Pamod, > > Ah yes I agree, Thoug

Re: [Dev] Integrating topics to MB

2014-10-05 Thread Asitha Nanayakkara
Hi Pamod, Ah yes I agree, Thought you were suggesting for DB operation without any content duplication. Yes with per node content duplication we can do a content clean up job at start-up and stick with in memory reference counting. BTW depending on message count for topics the start-up time will v

Re: [Dev] Profiling MB2 M1

2014-10-05 Thread Sajini De Silva
Hi Srinath, I was able calculate the throughput for publisher and subscriber with concurrency 10. Checked with one MB and one cassandra node in cluster mode. Message publishing throughput - 5000 - 6000 TPS Message receiving throughput is around 275 TPS. Thank you, Sajini. On Fri, Oct 3, 2014 at

Re: [Dev] Issue in Kafka producer load testing

2014-10-05 Thread Dushan Abeyruwan
ulimit ? have you set them in your OS On Sat, Oct 4, 2014 at 8:48 PM, Kathees Rajendram wrote: > > Hi, > > I tried to send 5000 messages to Kafka broker using Jmeter ( 10 thread and > 500 messages per a thread,one message size is 105 byes). After 2000 > messages I am getting the following excep

Re: [Dev] [Platform] Build error

2014-10-05 Thread Tharindu Edirisinghe
Hi Amila, As Darshana mentioned it seems the issue is with Hazelcast. Build [1] and then try. [1] http://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/patch0009/orbit/hazelcast/3.0.1.wso2v1/ On Sat, Oct 4, 2014 at 10:37 PM, Darshana Gunawardana wrote: > Hi Amila, > > One of thes

Re: [Dev] Integrating topics to MB

2014-10-05 Thread Pamod Sylvester
Hi Asitha, I agree the content should be written before the meat data. What i meant was not having a separate process to do the content clean up rather going with the solution which was proposed by Hasitha where the message count will be maintained in memory instead of the DB. Also if we're going

Re: [Dev] Integrating topics to MB

2014-10-05 Thread Asitha Nanayakkara
Hi Pamod, In a clustered set-up when some other nodes are running. They store message content for topic first and then store message meta data. This is not done atomically. While this is happening if we start another node with a logic to scan the database and delete inconsistent content that will