Sunday, October 26, 2014

Confrontation with Terrorist - Part 2

Continuing from the last episode of facing the terrorist head on....

Removed my shirt(this really adds to the courage… try it out), stepped into the room and closed the 
room from inside. The room had one cupboard attached to wall, A Refrigerator, 2 gas cylinders, A set of Bed and bed sheets on the floor on one corner and 2 brooms near the door.  As mentioned earlier a steel pipe connecting from one wall to the shirt hanger at the opposite side. I reckoned our terrorist should have made his way to his hiding through the window and through the steel pipe.

I created a plan in 5 seconds. I decided that I would use 2 brooms to the fullest possible extent as a weapon to kill the terrorist. I closed all the escape routes for terrorist(and even me) to outside. The only possible place where he could have gone was to the place where bed and cylinders were kept. I decided come what may, I would kill him. I put my mobile into silent mode(not to lose concentration). I could have blasted cylinder, but why would someone take a bath if his hands are unclean. J J I decided against that as a foolish idea.

I didn’t know about his plans. He was in a much higher position than me, and could have jumped on me at any time. I decided to use one of my cricketing shots (hook) to the best possible extent to prevent the attack.( you should have seen my shot in world cup 2003 against Andrew Caddick – The ball went out of the ground and Believe me this would have.. twice the distance.. I was that angry)

I started executing the plan…. I held 2 brooms in both hands and from one I started slowly removing shirts from hangers …. One by one. I removed them gently and placed them on floor and made sure that our terrorist wasn’t there in that. After 5 minutes of  hard work, I saw his Tail hanging from a pocket of my favorite shirt. I could have hit him there itself, but I didn’t want to lose the shirt.
So, slowly and steadily removed the shirt from hanger and placed it on floor, tempted terrorist to come out of the pocket. He ran, ran like the ball cover driven by me…(you must have seen many),


But this time, instead of follow through/Watching in admiration I had to stop it and I had to kill that “ball like terrorist”. I put the right hand broom into work. Using all  my strength, I gave a shot at him. Tried hitting him as hard as I could. But, thanks to local broom manufacturers, the broom fell apart, the sticks scattered all around. But, Terrorist was unscathed. 

Saturday, October 25, 2014

Manage JMS queues on IBM Websphere 7.1 using JACL

We observe sometimes that, the JMS Messages go into a infinite processing mode,  where the same messages gets repeatedly processed by the MDB, and the only way to stop it - is by removing the message from the JMS Queue.

The IBM Websphere interface for removing the message from queue is not so user friendly. It can be done either through the python script or the JACL.

Below are the simple steps to be followed to manqage JMS Queues in Websphere -

To get depth of all queues -

# List all queues/Depth of queues
set qpoint "WebSphere:*,type=SIBQueuePoint"
set queues [$AdminControl queryNames $qpoint]

foreach q $queues { set identifier [$AdminControl getAttribute $q identifier];set size [$AdminControl getAttribute $q depth];puts "$identifier size: $size messages";puts [$AdminControl getAttributes $q] }


To get depth of a particular queue - 

#List number of Messages in a Queue
./wsadmin.sh -user system -password password -conntype SOAP -port 10505

set qpoint "WebSphere:type=SIBQueuePoint,SIBMessagingEngine=TestNode01.server-server_ILS_QUEUE_CONNECTOR.sib,name=app_DEFAULT_JMS_DLQ,*"
set queues [$AdminControl queryNames $qpoint]
set identifier [$AdminControl getAttribute $queues identifier]
set size [$AdminControl getAttribute $queues depth]
puts "$identifier size: $size messages"
puts [$AdminControl getAttributes $queues]

To clear all JMS Messages from a queue -

#Delete messages from Queue
set qstring "WebSphere:type=SIBQueuePoint,SIBMessagingEngine=TestNode01.server-server_ILS_QUEUE_CONNECTOR.sib,name=app_DEFAULT_JMS_DLQ,*"
#set qobject [$AdminControl makeObjectName $qstring]
#set null [java::null]
set queriedobject [$AdminControl queryNames $qstring]
set params [java::new {java.lang.Object[]} 1]
$params set 0 false
$AdminControl invoke $queriedobject deleteAllQueuedMessages $params

Command for Admin Control - 

http://publib.boulder.ibm.com/infocenter/wsdoc400/v6r0/index.jsp?topic=/com.ibm.websphere.iseries.doc/info/ae/ae/rxml_admincontrol.html


Monday, August 24, 2009

ಹಂದಿ ಜ್ವರ

ಬೆಂಗಳುರಿಗೆ ಹಿಂದಿನ ದಿನ ಇನ್ನು ಬಂದಿದ್ದೆ. ನಾನು ಹೊರಟಾಗ ಇಲ್ಲದಿದ್ದ ಹಂದಿ ಜ್ವರ ನಾನು ವಾಪಾಸ್ ಬಾರೋ ಅಷ್ಟರಲ್ಲಿ ಬೆನ್ಗ್ಲುರಲ್ಲೇ ಫೇಮಸ್ ಆಗಿ ಹೋಗಿತ್ತು. ಯಾರು ಮಾತೆತ್ತಿದರು ಹಂದಿಜ್ವರ ಬಗ್ಗೆನೇ.

ಬೆಳಿಗ್ಗೆ ಪೇಪರ್ ಓದ್ತಾ ನ್ಯೂಸ್ ನೋಡ್ತಾ ಇದ್ದೆ, expect ಮಾಡ್ದಂಗೆ ಹಂದಿಜ್ವರದ ಸಾವಿನಿಂದ ಶುರು ಆಯಿತು.. ನ್ಯೂಸು...
ನಂಗೆ ಕೇಳುದ್ರೆ ಇದ್ರಿಂದ ದುಡ್ಡು ಮಾಡ್ಕೋತ ಇರೋದು tamiflu manufacture ಮಾಡೋ ಕಂಪನಿ ಮತ್ತು ಈ ನ್ಯೂಸ್ channel ಅವ್ರು, ಮಾಸ್ಕ್ ಮರೋವ್ರು :).

ಅಷ್ಟ್ರಲ್ಲಿ ನಮ್ಮ ಆರೋಗ್ಯ ಸಚಿವರು ಕಾಲಿರಿಸಿದರು (ಮನೆಗಲ್ಲ ರೀ .. ನ್ಯೂಸ್ alli), - ' ಜನ ಏನ್ ಭಯ ಪಡಬೇಕಾಗಿಲ್ಲ... ಹಂದಿ ಜ್ವರ ಇರೋವ್ರ ಪಕ್ಕ ಕೂತರು ಏನ್ ಆಗಕ್ಕಿಲ್ಲ, ನಿಂತರು ಏನ್ ಆಗಕಿಲ್ಲ, ಮಲಿಕ್ಕೊನ್ದ್ರು ಏನು ಆಗಕಿಲ್ಲ...'

Democracy ಗೆ ಜೈ !!! :-)

Monday, August 17, 2009

Confrontation with Terrorist - Part 1

Some of my experiences...

Yes, it’s true. I faced a Terrorist.

When : 24th December 2008, Time: Around 9:30 PM.

Where: Some where in Bangalore.

It was not so different day for me till I stepped into my house after a hectic day at office. I unlocked my house’s dual-lock door, stepped in, removed the shoes and switched on the light of hall.

Kept the laptop bag inside my living room.

I had decided to cook food for myself and hence had bought a 250 ml curd on my way to house. I decided to keep that in the refrigerator situated in the 2nd un-occupied room of my house. This room was unoccupied for 3 months or I believed so. I always had a doubt that somebody could have stepped into my house and might have occupied one of the large storage space situated in the kitchen or bathroom. So, daily I had the braveness(madness J) of checking those places to check if somebody is hiding there.

I switched on the room’s light to put the curd in refrigerator and started moving towards it. Suddenly I got this spider-man(really J) like sense that somebody was slowly walking on the temporary steel pipe I placed to dry my clothes. My sense was true. Seeing the sight of this terrorist, I retrograded back to the hall with fear. One good thing was he didn’t notice me, and I saw him hide in the shirt hanger.

I was shocked and blank. He might attack me cowardly when I was asleep or from my back, as terrorists do normally. He might bring damage to my properties by using his weapons(teeth???). The thoughts of running out of the house came to my mind. In the next moment, I thought of the great slains of Terrorist attack who saved my country, country’s people from the terrorists inhuman act.

I thought - This was my house, he had infiltrated to my house. Why should I run away ? That made me feel brave from inside.

I made the decision and the only one who has to go out alive from the room was either me or him.

To be continued..

First Blog

This blog marks my entry into the blogging world.
Strange are the means of sharing our experiences with the rest of the world.
Not so earlier, During college days, we used to have a gathering at some katte or some tea shop, where we talked indefinetely with no time sense as BMTC buses went by. The topics ranged from Sports, movies, politics and of course girls. :)
Enter the world of Software Industry, we created a googlegroup and started using it as the means of sharing experience. Some, people thought this world is more beautiful. Others thought the other way. I was one of the others.
Who knows whats in the future ?
I will try to share my experiences in my day to day life, the people I came across, the incidents i witnessed and etc..
If you find any of the contents silly, boring, derogative etc., please try to stay away. They will be purely intentional unless otherwise mentioned. [:)]