Monday, April 28, 2014

Change the delimiter in mysql

To deploy the procedure via terminal in mysql you need to change the delimiter! So this is a sample step that you could follow to do it!


CREATE PROCEDURE ChangeInventory(in InventoryID INT, in Quantity INT) 
END // 


Wednesday, April 16, 2014

How to list the admin Service in WSO2 carbon Products

If you want to find out the admins service that available in wso2 carbon product. with two steps you can find it out with out any problem.

Step 1
Start the wos2 server with OSGI console

Step 2
Once the server is started type the "listAdminServices" command in the osgi  console to list out the admin service.

Monday, April 7, 2014

Quick Note on How to install java in Ubuntu/Mint

Good old days we had the simple way to install the sun java in our Ubuntu machines! Since the oracle has taken the proprietorship of Oracle java(aka sun java) and due to Oracle's software redistribution policy it it not simple as it is to do the "apt-get install"

Nevertheless there are some good documents that showcase the way to install the java with out any struggle :).

First terminal will install the oracle java for you and second terminal command will set the install java as defualt java version.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
sudo apt-get install oracle-java6-set-default