ZooKeeper is an open source distributed configuration service, synchronization service, and naming registry for large distributed systems. ZooKeeper was a sub project of Hadoop. ZooKeeper's architecture supports high-availability through redundant services. It support naming service, configuration management, synchronization, leader election, message Queue and notification system. ZooKeeper is a high-performance coordination service for distributed applications “ZooKeeper: Because Coordinating Distributed S
This new future coming in wso2 IS 4.7.0 where we can define application specific permission. First create service provider as below 1. Start IS and login to WSO2 IS and navigate to 'home -> Manage -> Service Providers -> add' 2. As it added you can find new role. it is create for this service provider 3. Now we will ...
Here I am creating Axis2 service from Dev Studio, that is only take less than 2/3 mins. Those setup need to be in your finger tips. As it is most used in my blog post. 1. Open WSO2 Developer Studio Dashboard and select Axis2 Service Project 2. Then pick below one as we going to create new Axis 2 service. ...
“Learn from world-changing innovators on how to be a Connected Business” Fifth WSO2Con will be happening at 24th to 26th March in Waters Edge Colombo, Sri Lanka. Guest keynote speakers and People from WSO2 will talk about how WSO2 products can help an organization become lean and agile. In wso2Con 2014 will have many interesting talks and tutorial over wso2 ...
“WSO2Con Back in Asia” I just want to write wso2 con time line as there will be a WSO2Con in March, 2014 in Asia and it is fifty WSO2Con. I will be listing most important and highlighted talks in the events WSO2Con 2010 – Asia WSO2 con was start in 2010 and the event happen in HNB tower, Colombo. Here ...
WSO2Con is back in to Asia and it will be held March 24-26, 2014 at Waters Edge in Battaramulla, Sri Lanka. It is the fifth WSO2Con user conference and previous conferences have taken places in WSO2Con Asia 2010/11 - Colombo WSO2Con Europe 2013 - London WSO2Con USA 2013 - San Francisco Since WSO2Con was hosted out of Sri Lanka for ...
When writting unit test It is worth to know how to comapre JSON correctly and with effective manner. You can try skyscreamer, Where I used to do jaggery json comparing. if you are comparing a string. Under the covers, JSONassert converts your string into a JSON object and compares the logical structure and data with the actual JSON. When strict ...
My last Post was "how Web Socket Implementation in Tomcat 7 and Jaggery[4]". Now we will write simple app with using jaggeryjs webSocket. Here I will give some Basic information on web socket Sample javaScript (Front end) code samples Handling cross-domain in web sockets WebSocket spec and types that support over it Where to used web scokets with web socket ...
Post will go from Evolution of web communication Web socket web socket implemented in Apache Tomcat 7 How we Develop Web socket feature for jaggery Tomcat 7 introduced a WebSocket implementation. introduced a WebSocket implementation. Firstly I will give web socket's benefits and limitations plus briefly web socket implemented in Apache Tomcat 7. WebSocket is considered as evolution of web ...
In jaggery you can interact with java code from HostObject or jaggery modules[1], accessing java from JS code[2].Here I will give sample Host Object and steps to added such new hostObject for jaggeryjs 1. Using Host Object function straight using Host Object function.2. Embedding jar in to Host Object and using that jar with out expose embedded jar 1) WeatherHostObject ...
Virtual patching was invent by Intrusion Prevention System (IPS) vendors. It have different names including both External Patching and Just-in-time Patching. Why Not Just Fix the Code rather patching?This concept is universally agreed upon by both web application security experts and system owners. Unfortunately, in real world business situations, there arise many scenarios where updating the source code of a ...
From jaggery you can used java function/class/object/methods. Now I can tell this post also be prof of “Sell the JVM as a multi language platform”. A JVM language can share the Java libraries, and the Java Virtual Machine. It's really cooland powerful stuff to know and try. java source become java bytecode Rhino JS source also become java bytecode aggery ...
In my last post I explain the use-case, with sample where jaggery face thread-safe issue. Now I used rhino sync (predefine keyword) and do some changes for jaggery core. Here We have sync(function) in jaggery. Let try this Add below line for init.jsvar obj = { f : sync(test) }; Now change our last sample jag files as below rather ...
Just think we have function in global scope called 'myFunction'. We can define function in global scope by initial script. Here is sample jaggery.conf of my jaggery app 'testapp' { "displayName":"sync Sample", "initScripts" : ["init.js"]} init.js var log = new Log();log.info("Initializing test sync sample Jaggery app"); function myFunction(name,sleepTime) { log.info(name+" entry"); //sensitivity data operations //- Below line to sent time ...
This post describe thread safe play with rhino[2] with sync. We know thread play with java[1] well. Now we will test thread safe with JS (JavaScript) by Rhino. Rhino is a JavaScript interpreter implemented in Java. It allows you to expose arbitrary Java objects to the JavaScript runtime, meaning you can easily provide interfaces with which the JavaScript code can ...
1. If you have created the registry database you can use it. If not you can builder database. (In here I am using reg_db that I created in last post) 2. Add mysql driver to lib 3. Update datasource in <IS_HOME>/repository/conf/datasources/master-datasources.xml <datasource> <name>WSO2_CARBON_DB</name> <description>The datasource used for registry and user manager</description> <jndiConfig> <name>jdbc/WSO2CarbonDB</name> </jndiConfig> <definition
Here I am going to building two APIM instance for high availability. You can try this on two nodes. But here I am trying it in one PC. Therefore I will be changing port offset. I will be using WSO2 AM 4.6.0 for this article. In Here you will be needing MySQL Server.MySQL JDBC driver.(mysql-connector-java-x.x.xx-bin.jar) 1. Unzip AM 4.6.0 for ...
This is a very basic and can be very helpful post when need undartand the databases structure under wso2 Products 1) You can find 'H2DatabaseConfiguration' in <CARBON_HOME>/repository/config/carbon.xml2) Editing the H2DatabaseConfiguration in carbon.xml as belows. <H2DatabaseConfiguration> <property name="web" /> <property name="webPort">8082</property> <property name="webAllowOthers" /> <!--property name="webSSL" /> <property name="tcp" /> <property name="
1. Here is a SSO sample[1] that will be deployed in AS 5.2.1 and WSO2 IS will be used as IDP for SSO. 2. Get svn check out[1] and go to \src\main\resources\travelocity.properties uncomment below line SAML.AttributeConsumingServiceIndex=1701087467or update number with ConsumerIndex after registry the issuer in IS 3. Avoid exposing slf4j from WSO2 AS using <AS_HOME>/repository/conf/tomcat/webapp-classloading-environments.xml file. There you can modify ...
In this post is about using Apache Directory Studio from LDAP search quires. 1. Go to Search from LDAP. 2. Here is filled up form (search Name,base and filter and return attributes, scope to sub tree) Just Click OK, you will get results Few more. Filter :: (&(objectClass=groupOfNames)(cn=*)) Search Base:: ou=Groups,dc=example,dc=com Here is Command line ldapsearch -H ldap://localhost:10389 -x -D ...