Re: [Dev] How to point Direct repository location (file://) for SVN based dep-sync

2014-09-27 Thread Nuwan Dias
I doubt whether this will work for the file:// protocol. AFAIK you need to expose your svn repo over http(s) so that you can access it over http:// for the dep-sync to work. Thanks, NuwanD. On Sat, Sep 27, 2014 at 7:45 PM, Gimantha Bandara wrote: > > Hi, > > I have created a svn repository loca

Re: [Dev] How to point Direct repository location (file://) for SVN based dep-sync

2014-09-27 Thread Ajith Vitharana
On Sat, Sep 27, 2014 at 7:55 PM, Nuwan Dias wrote: > I doubt whether this will work for the file:// protocol. AFAIK you need > to expose your svn repo over http(s) so that you can access it over http:// > for the dep-sync to work. > File based works, but just for testing because it has intermitt

Re: [Dev] [AppFactory] Git Server access rights

2014-09-27 Thread Godwin Amila Shrimal
Hi Danushka, Thanks for the reply, it is working properly now On Fri, Sep 26, 2014 at 9:28 PM, Danushka Fernando wrote: > Thats because git admin user is not admin. In dev setups we name him as > gitblitsystemadmin. You can find it in appfactory.xml > > Thanks & Regards > Danushka Fernando

Re: [Dev] Error - bcprov-jdk15on_1.49.0.wso2v1.jar has unsigned entries - org/bouncycastle/LICENSE.class

2014-09-27 Thread Prabath Siriwardena
+1 Thanks & regards, -Prabath On Sat, Sep 27, 2014 at 7:45 PM, Sameera Jayasoma wrote: > Hi Johann, > > You can create the Bouncy castle orbit bundle by embedding the original > jar file without extracting the content into the orbit bundle. This would > solve the problem I guess. > > Thanks, >

Re: [Dev] Error - bcprov-jdk15on_1.49.0.wso2v1.jar has unsigned entries - org/bouncycastle/LICENSE.class

2014-09-27 Thread Johann Nallathamby
Tried this. But still facing the same issue. Just to isolate I tried to embed the bouncy castle 1.49 jar into wss4j like it was all this time in 4.2.0 branch. Facing the same issue. On Sat, Sep 27, 2014 at 10:41 PM, Prabath Siriwardena wrote: > +1 > > Thanks & regards, > -Prabath > > On Sat, Sep

Re: [Dev] [CARBON-14984] Assigned roles details on an user does not list accurately on view roles page

2014-09-27 Thread Tharindu Edirisinghe
Hi, I debugged the issue and found the culprit. When creating a new user, it is possible to specify a set of roles for the user in the 2nd step of user creation. But it does not add those roles to the UserRoleCache although those are written to database. When displaying the roles for the user, it

Re: [Dev] [AF] Puppetizing Dev setup progress

2014-09-27 Thread Danushka Fernando
HI all I am getting following error while tenant creation. Currently app creation fails due to mutual ssl cofiguration issue in BPS. Will resolve that and update the status in this thread. TID: [0] [AF] [2014-09-28 00:49:39,378] ERROR {org.wso2.carbon.governance.lcm.listener.LifecycleLoader} - Er

Re: [Dev] Error - bcprov-jdk15on_1.49.0.wso2v1.jar has unsigned entries - org/bouncycastle/LICENSE.class

2014-09-27 Thread Dilshan Edirisuriya
Hi, Sorry I just saw this thread. In EMM case we had to use 3 bouncycastle libraries as bcprov, bcpkix and bcmail. Please note that I have not done any changes to the jar contents or its signing. Just removed some packages from Export-Package in bcpkix and bcmail since it was exporting similar set

Re: [Dev] [AF] Puppetizing Dev setup progress

2014-09-27 Thread Dimuthu Leelarathne
Hi Danushka, In dev setup, we don't need ELB. Perhaps we can parameterise it, so that in dev setup we can have it, and in anthers setup we can have it. thanks, dimuthu On Sun, Sep 28, 2014 at 12:57 AM, Danushka Fernando wrote: > HI all > I am getting following error while tenant creation. Cur

Re: [Dev] [CARBON-14984] Assigned roles details on an user does not list accurately on view roles page

2014-09-27 Thread Tharindu Edirisinghe
Hi Johann/Darshana, I've attached the patch in [1]. Please review it. The same issue was duplicated in [2] and so I closed it. [1] https://wso2.org/jira/browse/CARBON-14984 [2] https://wso2.org/jira/browse/IDENTITY-2626 On Sun, Sep 28, 2014 at 12:53 AM, Tharindu Edirisinghe wrote: > Hi, > > I

[Dev] DSS 3.2.2 RC Released!

2014-09-27 Thread Chanika Geeganage
Please find the $subject on https://svn.wso2.org/repos/wso2/scratch/chunk13-release/28_09_2014/wso2dss-3.2.2.zip -- Best Regards.. Chanika Geeganage Software Engineer WSO2, Inc.; http://wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-b

[Dev] Misleading log in Cassandra Component

2014-09-27 Thread Hasitha Hiranya
Hi, When starting WSO2MB 3.0.0-SNAPSHOT I can see following log [2014-09-28 07:36:14,453] INFO {org.wso2.carbon.cassandra.server.CassandraServerController} - Cassandra Server Controller Thread was destroyed successfully This log is a misleading log. We have removed it while ago, but this has a

Re: [Dev] [AF] Puppetizing Dev setup progress

2014-09-27 Thread Danushka Fernando
Hi Dimuthu Thats what I mentioned in Action Items #1. We dont have elb in the one I setted up. BTW any idea about error above? Befause of that I cannot create apps. Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Sun, Sep 28, 2014 at 2:07 A

Re: [Dev] Introducing integration test framework to the App Factory

2014-09-27 Thread Amalka Subasinghe
As per the team requirement, I completed the test framework integration, providing tenant and application creation/verification utilities. [Here developer can start test, creating tenant and application with the default values specified in the automation.xml file or passing the values as they want]

[Dev] Java file with no content

2014-09-27 Thread Harsha Thirimanna
Hi All, This java file doesn't have any content (from r107258). I think we can remove this file. [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.utils/4.2.0/src/main/java/org/wso2/carbon/utils/CircularBuffer.java *Harsha Thirimanna* Senior Software Engineer;

[Dev] [WSO2-MB] Subscription Listener Model

2014-09-27 Thread Hasitha Hiranya
Hi Devs, I have introduced listeners based model for WSO2 MB to handle subscriptions, queues, bindings and exchanges. There are multiple implementations of the listeners. These listeners do various things inside the broker on for example subscription change. Note that currently we call the listen

Re: [Dev] Java file with no content

2014-09-27 Thread Harsha Thirimanna
*[2] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/core/org.wso2.carbon.utils/4.2.0/src/main/java/org/wso2/carbon/utils/MemoryAppender.java

Re: [Dev] Misleading log in Cassandra Component

2014-09-27 Thread Deependra Ariyadewa
Hi Hasitha, We will check and remove this long. Thanks, Deependra. On Sun, Sep 28, 2014 at 7:40 AM, Hasitha Hiranya wrote: > Hi, > > When starting WSO2MB 3.0.0-SNAPSHOT I can see following log > > [2014-09-28 07:36:14,453] INFO > {org.wso2.carbon.cassandra.server.CassandraServerController} -

Re: [Dev] [WSO2-MB] Subscription Listener Model

2014-09-27 Thread Chan
Hi Hasitha, I am not quite aware of what the listener does exactly in this context. If we are providing and extensible listener - how about having a rollback callback in each listener that has to be implemented. If one listener fails - the rollback callbacks of all the previously executed listeners

Re: [Dev] Misleading log in Cassandra Component

2014-09-27 Thread Bhathiya Jayasekara
Hi Deep/Hasitha, I removed the log and committed the change[1]. [1] https://github.com/wso2-dev/carbon-storage-management/commit/5d521a8bcc34b7e8b90ef357e8cb1a7188296396 Thanks, Bhathiya On Sun, Sep 28, 2014 at 9:07 AM, Deependra Ariyadewa wrote: > Hi Hasitha, > > We will check and remove thi

[Dev] [Appfactory] org.wso2.carbon.appfactory.repository.mgt.service clarification

2014-09-27 Thread Godwin Amila Shrimal
Hi There is a method called *deleteTenantRepo* in GITBlitBasedGITRepositoryProvider class in above carbon component. as per the following line it concatenate "*/defApp" *string literal with tenantId to assign for the repo name. What does mean by "*defApp". *I checked the repo names created in gi

Re: [Dev] [CARBON-14984] Assigned roles details on an user does not list accurately on view roles page

2014-09-27 Thread Tharindu Edirisinghe
Hi Johann/Darshana, I ran couple of tests and confirming that this issue is only coming with patch0009. Should we compare the changes done in patch0009 for the user.core and find where it broke the existing functionality or apply the fix to patch0009 ?? On Sun, Sep 28, 2014 at 2:48 AM, Tharindu E

Re: [Dev] [CARBON-14984] Assigned roles details on an user does not list accurately on view roles page

2014-09-27 Thread Johann Nallathamby
+1 to find the root cause. We can make sure it won't happen again. Thanks, Johann. On Sun, Sep 28, 2014 at 9:52 AM, Tharindu Edirisinghe wrote: > Hi Johann/Darshana, > > I ran couple of tests and confirming that this issue is only coming with > patch0009. Should we compare the changes done in p

Re: [Dev] Misleading log in Cassandra Component

2014-09-27 Thread Hasitha Hiranya
Hi Bhathiya, Thanks for quick action. Thanks On Sun, Sep 28, 2014 at 9:36 AM, Bhathiya Jayasekara wrote: > Hi Deep/Hasitha, > > I removed the log and committed the change[1]. > > [1] > https://github.com/wso2-dev/carbon-storage-management/commit/5d521a8bcc34b7e8b90ef357e8cb1a7188296396 > > Tha

Re: [Dev] Out of sequence response Exception in Thrift client

2014-09-27 Thread Manoj Gunawardena
Hi Sajini, Its better to use Java ReentrantLock rather than synchronized blocks. Can you Please share the code, which you get this exception. Thanks On Fri, Sep 26, 2014 at 2:18 PM, Sajini De Silva wrote:

Re: [Dev] Enterprise Store H2 database growing repeatedly

2014-09-27 Thread Manoj Gunawardena
Hi Sendura, Did you get this error, after add some assets? How many assets you added. (roughly). Or did you change any configuration. Just to understand the scenario, Please post the changes you did. Thanks On Fri, Sep 26, 2014 at 9:38 PM, Senduran Balasubramaniyam < sendu...@wso2.com> wrote: >

Re: [Dev] why axis2 async client needs a sleep time?

2014-09-27 Thread Lakshman Udayakantha
I forgot to mention that I referred [1] to develop async client. [1] http://briansjavablog.blogspot.com/2013/01/axis2-web-service-client-tutorial.html On Tue, Sep 23, 2014 at 5:55 PM, Lakshman Udayakantha wrote: > Hi all, > > I am trying to create a axis2 client to execute a bpel service. I use

Re: [Dev] why axis2 async client needs a sleep time?

2014-09-27 Thread Lakshman Udayakantha
Hi All, Asynchronous call can get some time to return the response from service to the client. Until the response return, client thread should not be finished because otherwise client will not be able to do other works that is depend on the response. That may be the reason behind putting that slee

Re: [Dev] Making Realtime Dashboards

2014-09-27 Thread Manoj Gunawardena
Hi All, Is there any reason for not pulling real time data from casendra. I think writing into RDBMS, and then query from RDBMS is too expensive operations. casendra has nice REST api to data fetch. As Dilini said, in real time scenarios not persistence of data is not useful always. Some scenar

Re: [Dev] Error - bcprov-jdk15on_1.49.0.wso2v1.jar has unsigned entries - org/bouncycastle/LICENSE.class

2014-09-27 Thread Sameera Jayasoma
Hi Johann, Any update on this? We have no choice other than reverting the version upgrade.. :) Thanks, Sameera. On Thu, Sep 25, 2014 at 6:38 PM, Johann Nallathamby wrote: > Sure. Will do. > > Thanks, > Johann. > > On Thu, Sep 25, 2014 at 6:30 PM, Sameera Jayasoma > wrote: > >> Hi Johann, >> >

Re: [Dev] Testability of the AS 6.0.0 distribution with Carbon 4.3.0

2014-09-27 Thread Sameera Jayasoma
Hi Supun, Looks like some of the dbscripts including mysql.sql are missing in AS 6.0.0 pack? Can you have a look? Thanks, Sameera. On Mon, Sep 22, 2014 at 1:21 PM, Supun Malinga wrote: > Hi Sameera, > > Will work on these. > Issue is already known and fixable after jaggery features deployed t

Re: [Dev] Testability of the AS 6.0.0 distribution with Carbon 4.3.0

2014-09-27 Thread Aruna Karunarathna
Hi all, There is a permission restricted folder inside the dbscripts folder, in AS 6.0.0 pack. *d- 2 aruna aruna 4096 sep 2 12:27 wsrm-dbscripts/* Regards, Aruna On Sat, Sep 27, 2014 at 2:54 PM, Sameera Jayasoma wrote: > Hi Supun, > > Looks like some of the dbscripts including my

Re: [Dev] Error - bcprov-jdk15on_1.49.0.wso2v1.jar has unsigned entries - org/bouncycastle/LICENSE.class

2014-09-27 Thread Johann Nallathamby
[Adding Dilshan] Hi Sameera, The bouncy castle 1.49 OSGi-fication has been done by Dilshan. You can refer the thread [1] in architecture by him. The problem is because of the signature verification that happens when we use bouncy castle provider. This is a common issue, and according to Pulasthi

Re: [Dev] Testability of the AS 6.0.0 distribution with Carbon 4.3.0

2014-09-27 Thread Supun Malinga
Will fix this.. Sent from mobile. On Sep 27, 2014 3:23 PM, "Aruna Karunarathna" wrote: > Hi all, > > There is a permission restricted folder inside the dbscripts folder, in AS > 6.0.0 pack. > > *d- 2 aruna aruna 4096 sep 2 12:27 wsrm-dbscripts/* > > Regards, > Aruna > > > On Sat, Sep

Re: [Dev] Making Realtime Dashboards

2014-09-27 Thread Lasantha Fernando
Hi Manoj, On 27 September 2014 13:56, Manoj Gunawardena wrote: > Hi All, > > Is there any reason for not pulling real time data from casendra. I think > writing into RDBMS, and then query from RDBMS is too expensive operations. > casendra has nice REST api to data fetch. > +1 to use Cassandra

Re: [Dev] Making Realtime Dashboards

2014-09-27 Thread Chan
Hi guys, I had some offline discussions with - Suho, Lasantha and Dilini. We finally concluded to use CEP 4.0.0 which supports websocket output adaptor. This way -we'll have to implement the load balancing data publisher instead of the async data publisher to publish events. Thus CEP and BAM will b

[Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
Hi, I began the $subject. Idea is to instead of deriving queues/bindings/exchanges from subscriptions sync them Independently. I introduced QueueListener/BindingListener/ExchangeListner in the same way as subscription listener Thanks -- *Hasitha Abeykoon* Senior Software Engineer; WSO2, Inc.;

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
Moved initalizing code of andes kernel to a new class AndesKernelBoot - now Andes kernel startup code lies here. Decoupled from Qpid >>loadConfigurations - done from outside >>startAndesStores - done from outside >>startAndesComponents() >>startHouseKeepingThreads() >>syncNodeWithClusterState()

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
Introduced following new classes ClusterCoordinationHandler implements QueueListener, ExchangeListener, BindingListener, SubscriptionListener >> one place to handle all cluster coordination AndesRecoveryTask - reload from DB time to time in case of cluster notification miss and simulate cluster

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
1. When storing a queue/binding/exchange in DB 2. and when notifying the change is sent via Hazlecast same encoded string is used. So now the recovery from DB is straightforward. On Sat, Sep 27, 2014 at 5:48 PM, Hasitha Hiranya wrote: > Removed following classes > > interface ClusterCoordinatio

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
Removed following classes interface ClusterCoordinationManager class ClusterwideSubscriptionChangeNotifier SubscriptionNotification - now all queues/exchanges/bindings are synced by a common notification type called "clusterSubscription" ClusterSubscription structure - >>

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
Now we have a concept called subscription disconnect. This specifically come into play during durable topic subscriptions - need to think more In all other occasions we just delete the subscription. No disconnect. On Sat, Sep 27, 2014 at 5:49 PM, Hasitha Hiranya wrote: > 1. When storing a queu

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
Facts We deal with Qpid only thro 2 classes >>QpidAndesBridge - qpid tells to kernel >>VirtualHostConfigSynchronizer - kernel tells to qpid Concerns Have we not still got rid of CassandraMessageStore class completely?? On Sat, Sep 27, 2014 at 5:49 PM, Hasitha Hiranya wrote: >

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
I have verified that AndesRecovery handler is working correctly. After getting it verified I have "short-circuited" cluster changes to be triggered inside local changes. So we do not need to write codes specifically for standalone mode. On Sat, Sep 27, 2014 at 5:49 PM, Hasitha Hiranya wrote: > F

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
This change working fine in standalone mode now. According to above logic, if Hazlecast side works there is no reason for MB not to work fine in cluster mode. TODO: 1. Check this in cluster mode 2. Carefully think about durable topic subscriptions 3. handle the case where MB shut down when there

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
I got the durable topic scenario working (I am testing with GQ/NQ included as Sajini's fixes are on the way) So, I am testing subscription perspective only. Did following tests. create with sub id= x topic=y. disconnect and try to connect again - passed create with sub id= x topic=y. kill subsc

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
Hi, I got last three working. create with sub id= x topic=y. Unsubscribe. Now try sub id= x topic=y - passed create with sub id= x topic=y. Unsubscribe. Now try sub id= z topic=y - passed create with sub id= x topic=y. Unsubscribe. Now try sub id= x topic=z - passed Done following case as well c

Re: [Dev] [WSO2 MB] improvements to subscription model and others

2014-09-27 Thread Hasitha Hiranya
In order to handle node kill -one other node of the cluster should clear all cluster subscriptions of that node and notify the cluster -when starting a node, if there are cluster subscriptions of the node id assigned delete all of them - no matter cluster or standalone mode -during start do a scan

Re: [Dev] Error - bcprov-jdk15on_1.49.0.wso2v1.jar has unsigned entries - org/bouncycastle/LICENSE.class

2014-09-27 Thread Johann Nallathamby
Update: Removing bouncy castle orbit jar from plugins and dropping a 1.49 jar into repository/components/lib did not work yesterday when I tried. But today after I modifying the wss4j bundle to not embed bouncy castle 1.32 inside it and then dropping bouncy castle 1.49 jar into lib directory works

Re: [Dev] why axis2 async client needs a sleep time?

2014-09-27 Thread Firzhan Naqash
HI Lakshman, They have added sleep method to allow the WebServiceCientCallBackHandler to have some time to obtain the response back from the service. If they haven't mentioned the sleep method, after immediately invoking the service, main method will exit, thus killing all the other services. Thi

Re: [Dev] why axis2 async client needs a sleep time?

2014-09-27 Thread Lakshman Udayakantha
Thanks for the feedback Firzhan. On Sat, Sep 27, 2014 at 6:38 PM, Firzhan Naqash wrote: > HI Lakshman, > > They have added sleep method to allow the WebServiceCientCallBackHandler > to have some time to obtain the response back from the service. > > If they haven't mentioned the sleep method, af

[Dev] How to point Direct repository location (file://) for SVN based dep-sync

2014-09-27 Thread Gimantha Bandara
Hi, I have created a svn repository location in a local setup. I added the following configuration to carbon.xml of ESB 4.8.1 true true true svn file:///home/gimantha/Support/repo/depsyncrepo/ repouser repopassword true When I

Re: [Dev] Error - bcprov-jdk15on_1.49.0.wso2v1.jar has unsigned entries - org/bouncycastle/LICENSE.class

2014-09-27 Thread Sameera Jayasoma
Hi Johann, You can create the Bouncy castle orbit bundle by embedding the original jar file without extracting the content into the orbit bundle. This would solve the problem I guess. Thanks, Sameera. On Sat, Sep 27, 2014 at 6:21 PM, Johann Nallathamby wrote: > Update: > > Removing bouncy cast