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

Change WebSphere Ports without Reinstalling

Scenario: you have WebSphere Application Server 7.1 installed as ND. If the cells are using default ports on the same host and you want to access the different cells concurrently, you may want to change the ports on one of the cell.

1. Go to the master config repository for the server ports (Dmgr profiles […]

Access Controls and Virtual Hosts for WebSphere Application Server

WebSphere applications are assigned to virtual hosts during installation and configuration process.

The virtual hosts are bound to one or more aliases (host names and ports), allowing a single application server to respond to multiple inbound request formats.

The virtual host aliases that are configured within WebSphere define the pattern match possibilities for […]

Auto Restart Application Server by Node Agent

Auto Restart Application Server by Node Agent

Learnt that in websphere application server 7, by default, the node agent will not take any action when an application server fails.

In order to get the node agent to monitor and automatically restart a failed application server instance, we must setup the monitoring policy for that […]

Setup an Oracle JDBC Data Source on WebSphere Application Server 7 Step-by-Step

Login to the Admin Console of the running server, i.e. Window -> Show Views -> Servers | right click the server -> Run Administration -> Run Administrative Console

Environment -> WebSphere variables

Find “ORACLE JDBC DRIVER PATH” Name out of the list (second page) and click its link

Set its “Value” to the “directory” (not […]

check if node is in sync with dmgr and take corrective actions using wsadmin tool

Today’s objective is to check if WebSphere nodes are synchronized and take respective actions depending on the results. I will try to be as clear as possible so, you won’t require any preparation to complete this task.

I will divide this into two sections where first will show how to get the information about node […]

manual heap or thread dump in websphere

How you should force heap or thread dump using wsadmin script

Login to your machine running WAS Navigate to cd /profiles//bin/ Connect to deployment manager using wsadmin script wsadmin.sh -conntype SOAP -username -password Set object variable wsadmin> set jvm [$AdminControl completeObjectName type=JVM,process=,node=,*] Force heap dump wsadmin> $AdminControl invoke $jvm generateHeapDump In case you would like […]

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 […]