Friday, December 30, 2011

Enabling logging for various components in WSO2 BPS

This blog post explains how to log the messages come into and sent out from WSO2 BPS server.
This feature is extensively used in BPEL development to figure out the problems in the message sequences and in latency analysis during BPEL process invocations.

Tested Environment
     wso2bps-2.1.2

Instructions
  1. Add the following entries to the $CARBON-HOME/lib/log4j.properties
        log4j.logger.org.apache.ode.bpel.messagetrace=TRACE
        log4j.logger.org.wso2.carbon.bpel.messagetrace=TRACE
  2. Then the preferred log4j appender should be configured such that it has a threshold of TRACE level. If CARBON_LOGFILE is the log4j appender, it should be changed as follows. By default this is set to DEBUG.
        eg - log4j.appender.CARBON_LOGFILE.threshold=TRACE
  3. Then re-start the WSO2 BPS server.
  4. The log files can be found as $CARBON-HOME/repository/logs/wso2carbon.log 
Note - You can configure this via Management console as well.

Sunday, December 18, 2011

Customizing the email subject for RegistryEvents in WSO2 Carbon

Recently I used org.wso2.carbon.registry.common.eventing.RegistryEvent in WSO2 G-Reg 4.1.0 (based on Carbon 3.2.2) to generate custom email notifications based on different events. Though it was possible to customize the email body, it was not possible to customize the email subject due to a missing feature. In the upcoming Carbon releases this feature will be available and you can set the subject as a parameter with the key "MailConstants.MAIL_HEADER_SUBJECT" for the event as follows.

Versailles

Last-night I watched this comedy, "Midnight in Paris" and there were some nice scenes which were shot around Versailles where I went with few of my friends. Here are some of the pics from my visit.
Once Versailles was the capital of France over a century and still it's renowned for the Palace of Versailles.


On the way to the Palace...




Statue of Louis XIV

Immature panorama :)




Interior court, Palace of Versailles

Saturday, December 17, 2011

Engineering to take over the world

The most interesting presentation from WSO2Con 2011 :). This presentation done by Samisa, is about how WSO2’s approach to engineering and its secret ingredients to the company’s success. You can hear some inspirational thoughts here and there like “We don’t call people, resources. People are people”. Hope you’ll find it interesting as well.

Saturday, December 3, 2011

The Last Supper - Santa Maria delle Grazie

The Last Supper

The Last Supper is one of the most famous paintings by Leonardo da Vinci. He painted the Last Supper at the rear of a dining hall at Santa Maria delle Grazie in Italy.
If you're gonna visit it, make sure to reserve a ticket far ahead as quite a few people are allowed to visit the church, a day.





Saturday, October 22, 2011

Business Process Hosting in the Cloud

I wrote an OT article named "Business Process Hosting in the Cloud". This article discusses multi-tenancy aspect in a cloud computing environment and some of the concerns of hosting business processes in the cloud. WSO2 Business Process as a Service supports development and easy deployment of business processes modeled using the WS-BPEL standard in a multi-tenanted environment. Also it provides functionality for business process management and hosting in the cloud.

Saturday, September 17, 2011

Introduction and Advanced Concepts of BPEL

Waruna and I held a tutorial session for WSO2Con-2011 post conference tutorials. We basically explained and demonstrated on what the WS-BPEL constructs are and how to write a simple WS-BPEL process. And also we discussed some advanced concepts related to WS-BPEL as well. Here I have attached the slide-deck we presented.

Hm... it's been quite a messed-up week after all. Tomorrow I'm going for some snorkeling+diving with some of my friends :). Have a nice week-end!.

Related post: http://ddweerasiri.blogspot.com/2011/08/advanced-concepts-in-ws-bpel-20.html