Saturday, June 27, 2009

Quick installation : WS-Messenger

1. Download Messenger here and extract to a location, which will later be pointed as WSNT_HOME.
2. create a mysql database, use db/mysqlCreationScript.txt to create the tables in the database
3. update the config/db.config to point to the data base (sample here).
4. run ant war to create war file. messenger.war will be created inside WSNT_HOME/distribution folder.
5. Download and install a web container (we use apache tomcat), deploy the war file by dropping it into the tomcat webapps folder, and start tomcat.
6. run ./startMessenger.sh at WSNT_HOME to start the messenger. [In Windows, it is the *.bat file]. If the downloaded version's startMessenger has any trouble, try this.

Starting the message broker includes two processes.
The war file deployed in the web container, can be reached at http://localhost:8080/messenger/ after starting the web container. It is called the broker.
Delivery thread of WS-Messenger can be reached at http://localhost:12347/ by running the startMessenger.


Testing - Running a sample
Download nowTest.java and put it into the folder WSNT_HOME/test/org/indiana/extreme/queue.
Create a project using WSNT_HOME/test as the source root.
Add the WSNT_HOME/lib jar files, and WSNT_HOME/build/lib/wsmg.jar to the path.
After running the messenger as mentioned above, run the nowTest.java.

This will depict the case, where 10 subscribers subscribing to one of the 3 available publishers.

Friday, June 26, 2009

DroneBL

Today morning, while trying to log into my irc account on freenode using xchat, I was getting the message,
"(notice) *** Banned: You have a host listed in the DroneBL. For more information, visit dronebl.org/lookup_branded.do?ip=124.43.238.174 Please contact kline@freenode.net with questions. "
The message was repeating itself, as it tried to connect with different Freenode servers.

So I visited dronebl.org/lookup_branded.do?ip=124.43.238.174
It was saying
"There have been listings for the host, 124.43.238.174 found in DroneBL. To get removed from our DNSBL, you will need to address all of these incident listings.



I got it! Since we are given dynamic IP from the service provider (Sri Lanka Telecom), an abusive usage of someone else has caused this trouble to me. I used the request removal option.

Removal results for 124.43.238.174
You are requesting the delisting of incident 532599 involving 124.43.238.174. Please confirm that you are human.

It was quick and removed the ban promptly, without any fuss.
Removal results for 124.43.238.174
This incident has been removed from the DroneBL. Please make sure that you have fixed your problem, or it will reappear here. Have a great day.
You may have other incidents in DroneBL reported, in which case you will need to remove them.

I learned more about DroneBL from its blog. "DroneBL is a realtime monitor of abusable IPs, which has the goal of stopping abuse of infected machines."

Mooshabaya - A new beginning

We have recently enrolled to the Final Year Project module (CS4200) and started working towards preparing the project proposal. We, 8 of the WSO2 interns (2008/2009), formed a group of two.

Our team (Buddhika, Denis, Pradeeban, and Supun) has chosen "Xbaya graphical composition tool to compose workflows and Mashups" (Listed as project idea 9) as our project. The other team (Charith, Dulanjanie, Pradeep, and Udayanga) has chosen Scalable & Hierarchical tuple space (project idea 48). Our ideas were suggested and are mentored by Dr.Srinath Perera and Dr.Sanjiva Weerawarana. Based on a use case, as suggested by Dr.Sanjiva Weerawarana, we will work as a merged group, where each co-project is independent, yet uses the other for the particular scenario.

We have named our project as (Project idea #9) Mooshabaya. Mooshabaya is a name derived from Mooshups and XBaya. The other project (Project idea #48) has been named Bissa. We have named the merged project as M2SC (Mora Middleware for Scalable Computing). The M2SC project IRC is ##m2sc on Freenode.

Sunday, June 21, 2009

Collaboration in document creation

Feel the lighter side of life with Abiword!
http://abicollab.net/

My Summer of Code so far

3rd to 21st of April was an intermediate period trying to find alternate ways for windows build, where 16th of April I successfully cross-built using wine. However I dropped the idea of MinSYS/MinGW build in the middle, as I found cross-building pretty cool. 21st of April, the best news, yes, I got selected for the Google Summer of Codes!

My mentor immediately wished me and the other Summer of codes participants also wished me at IRC. Abiword is a nice place to have the Summer of Codes, where we are considered regular developers, and not just students.

27th of April, uwog created gsoc2009unicode branch for me, and helped me setting the password using ssh. 4th of May I did my first commit, which fixed the cross-building. So that commit was actually the patch I developed for the minor change to enable cross-building during the application period.

19th of May, I started to commit the changes I made to the code, and the new classes. Jordi Mas' initial effects on this project were a good reference for me. 23rd of May, the coding period began officially.

Now we have completed a month, expecting a nice mid term evaluation.
Have a nice time with Abiword.