Wednesday, July 8, 2015

WSO2 Business Process Server - BPEL Correlation Tutorial

The following screen cast will guide you step by step explaining what is BPEL correlation, 
how to implement it using WSO2 Developer Studio and finally how to run it using BPS server.



Happy coding !!

Friday, May 8, 2015

Installing WSO2 certificate into JVM default certificates in Linux

There are mainly two steps to follow in this process.
  • Creating a certificate (mycert.pem) file using wso2carbon.jks
keytool -export -alias wso2carbon -keystore /home/wso2is-5.0.0/repository/resources/security/wso2carbon.jks -storepass wso2carbon -file /home/mycert.pem 
  • Installing the created certificate (mycert.pem) to the JVM default certificates
keytool -import -alias wso2carbon -file /home/mycert.pem -keystore /home/Software/jdk1.7.0_79/jre/lib/security/cacerts -storepass changeit

By default changeit string is the JVM default store password
(unless you have change it).

Linux grep all running processes for a given port and kill them

Open a terminal and type the command:
  • netstat -anp | grep 8080
Replace 8080 with your desired port.

You will get a result like below
  • tcp6     0     0 :::8080      :::*     LISTEN      6903/java 
The 6903 is your process id.

Optionally if you want to kill this process, type the command
  • kill -9 6903

Tuesday, April 28, 2015

How to quickly access a H2 database

 
Cheers !!!