Tuesday, October 21, 2008

Clean Logs from WID

Since we were in development mode we are used to make lot of mistakes like killing server in between killing BPEL process without completing, enabling security and disabling and lotsss of other things. Due to this activity you see lot of errors in the SystemOut.log file while starting your server. The most important thing to look in the SystemOut.log file. "Server1 is open for e-business". The rest of error most of them you can ignore (i am not 100% on this). In order to clean log file delete the tranlog and partner log file from the tranlog folder under your profile folder. Restart the server you will find (60%) a clean log file. But do not do this activity on your production server. This method is intend for easing the pain of looking to large log file during the development phase of the project

Sunday, October 05, 2008

My Flickr Stream & Gbridge

Long time since the last post i am trying to write at regular intervals but toooo lazy to do. let us see how i am keeping my word. Now days i am started using flickr for photo sharing so i am here to share my stream. You guys can have look at pics which was taken either by me or my pals.

Last week i tried this application Gbridge pretty good app. Has lots of feauters its uses google services like gtalk for conversion. you can share desktop, folders, files with each other using this app. Worth app try it.


Friday, August 08, 2008

Human Task Escaltion Settings

While using human task in BPEL, if particular task is not actioned with in a configured time period. we can configure to escalate that through E-mail, Work Item or Event. In event we can customize how we want to handle the escalation. The human tasks which are claimed, ready and subtask started can be configured to escalate.



We have done with event. I will explain how to escalate human task using event. Select any one of the escalation type and create a escalation. In the details tab configure the values you need

Excepted Task State, Escalate After (Time), Notification Type and others.


Escalate After is the time configurable when escalation is to triggered after creation of task, It can be mentioned or it can be dynamic. For dynamic configuration you should pass the time as input to the Human task and you can access like this

%htm.input.<interfacename>HTParamaters\<inputBO Variable
Name>\<Variable holding value>





For example the time values can be like

10 Seconds, 10 hours, 10 minutes


In the Notification Type select Event

Select any where in the Human Task Editor go to the properties tab in details section there will be input place holder for Event handler name, give the class name of the eventHandler.


Now create the class with the name given in the event Handler input box that class should implement NotificationEventHandlerPlugin. This class has a method named escalationNotification with parameters taskID and escalation. with taskid you can get the input values of HT and do the what ever your escalation implementation as designed

TKIID tkiid = task.getID();
String HT_EJB="local:ejb/com/ibm/task/api/HumanTaskManagerHome"
context = new javax.naming.InitialContext();
LocalHumanTaskManagerHome localTaskHome =
(LocalHumanTaskManagerHome)context.lookup();
LocalHumanTaskManager taskManager = localTaskHome.create(HT_EJB);
ClientObjectWrapper clientObjectWrapper =taskManager.getInputMessage(tkiid);
DataObject inputDO = (DataObject) clientObjectWrapper.getObject();




Afer completeion of coding of go the project resources view create a folder name services inside META-INF folder, create a file inside the folder with the name of com.ibm.task.spi.<EventHandlerClassName>NotificationEventHandlerPlugin. Inside the file in the first line type the fully classified name of the event handler.

Upto this is WID. Now from WPS perpective. After installing the application. Go the TaskContainer application, browse through the link Map RunAs roles to users. Here you will see a user can be configured to run the escalation. If there is mismatch between the user which you have configured in Human Task the escalation task will fail.

The better approach is to use groups while configuring Human Task, create a user assign that user to the particular group and use that user as the run as user.

Thursday, July 31, 2008

Personal Finance WebSites

Indian markets are getting mature but the same kind of maturity should happen in personal finance space also. Only a very sites (on line) provide this (portfolio management )service. The only pit stop that every body looks is Money Control. I think this is only website where most of individual investors have their portfolio maintained for real time data. BTW share Khan doesn't have it. Money Control is good but its pretty slow the opening page itself taking too much to open since it contains lottts of data with flash and others. Yesterday i came across this website investment yogi a new site for personal finance. it was really good and its worth trying, i have already decided that this website will be my personal finance guide. It's in beta version you can suggest few things which you need. Any way its good to see more growth is happening in personal finance space.

Thursday, July 24, 2008

NSE here I (We) come

After a quite a longggggggggggg period, submitting three times applications for demat account opening with icici direct failed. Finally i opened with an account with shareKhan. Quite ok. Tested the app yesterday withdrew some money, transfered some money and bought some (very small i am very small investor) shares. Good to start guys. ShareKhan has an offer for 49 /- they are opening an online demat trading account. Its high time to invest in market guys. Vrooommmmmmmmm go ahead and invest