November 2014
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

Categories

November 2014
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

clean messaging queue using jython

Objective for yesterday: Clean Persistent messages from JMS queue.

There are few methods that will work depending on your messaging set-up. I ill show how to clean persistent messages from the queue using wsadmin and jython.

First of all localize wsadmin tool on your host. It is located in /AppServer/bin

cd /AppServer/bin

Create new file […]

Recovering passwords from WebSphere

WebSphere stores passwords for datasources, security aliassss, etc in an encrypted format in its configuration files. The format, called XOR (exclusive OR), is not a particularly strong encryption algorithm, probably designed just to stop casual snooping. (In contrast WebLogic uses triple-DES encryption.)

(To be precise IBM says WebSphere “encodes” paswords, not encrypts them.)

When you […]

Password Decoder for WebSphere

Did you happen to have too much configuration and want to recover password from WebSphere Configuration, if yes then following program can help you. I happen to forgot my application database password and didn’t wanted to get into hassle of resetting it from the Administration Support Group ( you know it can be time consuming […]

websphere: how to refresh security settings with scriptnig

after changing security settings, creating or modifying authentication alias you can reload security settings without restarting websphere processes.

reload security settings on specific websphere process

set agm [ $AdminControl queryNames type=AuthorizationGroupManager,process=,* ] $AdminControl invoke $agm refreshAll

reload security settings on all processes

set agm [ $AdminControl queryNames type=AuthorizationGroupManager,* ] for a $agm { $AdminControl invoke […]

how to check JMS queue depth using jacl

Case 1: check depth of 1 particular queue

set qpoint “WebSphere:*,type=SIBQueuePoint,name=MyQueuePointName” 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] }

Case 2: check all the queue points

set qpoint “WebSphere:*,type=SIBQueuePoint” set queues [$AdminControl […]

websphere mq: create queue manager

Create queue manager

crtmqm -c “QMANAGER DESCRIPTION” -q QMANAGER_NAME.QUEUE.MANAGER

Create queue manager and default queue

crtmqm -q -d DEFAULT.QUEUE -u SYSTEM.DEAD.LETTER.QUEUE -c “QMANAGER DESCRIPTION” QMANAGER_NAME.QUEUE.MANAGER