Posts

Monitoring WSO2 products with logstash JMX input plugin

These days, I got the chance to play with ELK  ( Elasticsearch , Logstash & Kibana ). These tools are a great way to analyze & visualize all logs. You can easily analyze all wso2carbon.log files from ELK. However we also needed to use ELK for monitoring WSO2 products and this post explains the essential steps to use logstash JMX input plugin to monitor WSO2 servers. Installing Logstash JMX input plugin Logstash has many inputs and the JMX input plugin is available under "contrib" We can use "plugin install contrib" command to install extra plugins. cd /opt/logstash/bin sudo ./plugin install contrib Note: If you use logstash 1.4.0 and encounter issues in loading the jmx4r, please refer Troubleshooting below. Logstash JMX input configuration When using the JMX input plugin, we can use a similar configuration as follows. We are keeping the logstash configs in "/etc/logstash/conf.d/logstash.conf" input { jmx{ path ...

"Subversion Native Library Not Available" Error on Eclipse (with Subclipse) Ubuntu

Image
Do you use Eclipse and Subclipse ? Do you encounter following error: "Subversion Native Library Not Available" Now if you go to Eclipse -> Preferences -> Team -> SVN, you will see that "JavaHL (JNI) is Not Available" for SVN interface. The solution is to install JavaHL . After installing, we need to make sure that Eclipse can see the relevant libraries. For that I just created soft links. sudo apt-get install libsvn-java sudo ln -s /usr/lib/x86_64-linux-gnu/jni/* /usr/lib/ Now restart Eclipse and you should be able use Subsclipse with JavaHL.

Why you should attend WSO2Con Asia 2014

WSO2Con Asia 2014 , a must attend conference for anyone interested in WSO2 products, is just around the corner. The WSO2Con Asia 2014 is scheduled from March 24 to March 26 with two conference days and one pre-conference tutorial day. Have a look at WSO2Con Asia 2014 Agenda for all interesting talks and tutorials WSO2 has to offer. The conference will be held at Waters Edge , a popular venue in Sri Jayawardenapura Kotte, Sri Lanka. Here are few reasons I can think of as to why you should attend the WSO2Con. WSO2 is the only company to have a complete set of open source middleware products built from scratch and WSO2Con is a good opportunity for you to learn how we make world-class products. Pre-conference tutorials will help you to get an understanding of how our stuff works. So, don't worry if you do not have much idea about the WSO2 products. See what WSO2 has to offer with WSO2 Mobile subsidiary. Meet the experts. Networking opportunities. Discover how WSO2 sof...

What is WSO2 Private PaaS?

Image
In this blog post, I'm going to briefly introduce the WSO2 Private PaaS , an upcoming product from WSO2. Even though I'm writing about this now, the WSO2 Private PaaS term coined just few weeks after we donated WSO2 Stratos to Apache Foundation in June 2013. Apache Stratos (incubating) and WSO2 Private PaaS The WSO2 Private PaaS is built on top of the Apache Stratos (incubating) project, which is currently undergoing major architectural changes from the initial 3.0.0-incubating version. Following are few major changes you can expect in the next Apache Stratos (incubating) release. i.e. 4.0.0-incubating version. Using a message broker for communication among core Stratos components. Auto scaling now analyze real time data from cartridges like in flight request count and load average. Currently this data is analyzed using  WSO2 Complex Event Processor Load Balancer is now a cartridge in Stratos New Stratos Manager UI Stratos Manager now has RESTful servic...

Installing Oracle JDK 7 (Java Development Kit) on Ubuntu

There are many posts on this topic if you search on Google. This post just explains the steps I use to install JDK 7 on my laptop. Download the JDK from Oracle. The latest version as of now is Java SE 7u51. I'm on 64-bit machine, therefore I downloaded jdk-7u51-linux-x64 .tar.gz It's easy to get the tar.gz package as we just have to extract the JDK. I usually extract the JDK to /usr/lib/jvm directory. sudo mkdir -p /usr/lib/jvm cd /usr/lib/jvm/ sudo tar -xf ~/Software/jdk-7u51-linux-x64.tar.gz sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0_51/bin/javac" 1 sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_51/bin/java" 1 sudo update-alternatives --install "/usr/lib/mozilla/plugins/libjavaplugin.so" "mozilla-javaplugin.so" "/usr/lib/jvm/jdk1.7.0_51/jre/lib/amd64/libnpjp2.so" 1 sudo update-alternatives --install ...

Happy Birthday OpenStack!!!

Image
OpenStack celebrates it’s third birthday today!  I would like to wish a Very Happy Birthday to OpenStack! :) Happy 3rd Birthday, OpenStack! Visit the OpenStack birthday page  for more information!

Apache Stratos - The Open Source PaaS Framework

Image
Recently, WSO2 proposed the "Apache Stratos" as an incubating project at the Apache Software Foundation. The vote for Stratos proposal started about a week ago. We are really excited to hear the news that voting has passed less than 20 hours ago and Apache Stratos project is now officially in the incubator. Apache Stratos will be a polyglot PaaS framework and it will be possible to run on any IaaS supported by jclouds . Interestingly, the jclouds is also currently an Apache incubating project. The proposed Apache Stratos committer list includes developers from WSO2, Cisco, SUSE, Citrix, NASA Jet Propulsion Lab (JPL), Sungard and Engine Yard. I'm really happy that I'm also in the initial committer list!! :) We recently released the Stratos Foundation 2.0 GA, which will be the last release of "Stratos" from WSO2. The Stratos 2.0 GA release is also featured in many technology web sites such as InfoQ , JAXenter , BusinessWire ,  Kavis Technol...