Friday, March 29, 2013

How to deactivate monitor sleep in Raspbery Pi

This is my personal experience. I have installed "Raspbery Pi Wheezy" in to my raspberry pi. I used it to display some browser based dashboard and it going to sleep mode frequently. i found this solution from one of the site i couldn't' remember what it is. Following was the solution what i have used to avoid this issue. It's worked perfect.

1. Open a root terminal in raspberry Pi. Now  you need to edit your script that's starting X. In the default build with lightdm.
2. Open "lightdm.conf" file located in, 

     /etc/lightdm/lightdm.conf

3. Add below line in to SeatDefault section.
[SeatDefaults]
xserver-command=X -s 0 -dpms
4. Restart your Raspberry Pi.
Now issue should be solved.

Friday, March 22, 2013

How to connect WSO2 ESB with ActiveMQ

This article will describes how to configure WSO2 ESB 4.6.0 to work with the JMS transport. WSO2 ESB can work as a JMS listener or sender. It will works with the various types of JMS brokers such as,
1. ActiveMQ
2. IBM MQ
3. Websphere MQ
4. MSMQ
5. SwiftMQ
6. Tibco EMS
7. WSO2 Message Broker

To demonstrate this article i am using ActiveMQ Broker. You can download ActiveMQ 5.5.1 from here.  To Work with that download WSO2 ESB from here.

Start ActiveMQ

1. Extract downloaded ActiveMQ,
     In linux : tar zxvf apache-activemq-5.5.1-bin.tar.gz