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

LDAP repository in Websphere Application Server 7

his is to record the steps i used to switch LDAP repository in Websphere Application Server 7 and enabled LDAP over SSL.

Lets Start

Point your browser to the WAS console and login using admin account.

Add in the new LDAP server configurations

As i use a few repositories in my environment, i would be […]

Allowing longer web session going through Apache to Websphere Application Server

Had a tough one last month when migrating the system to WAS. I’m still new to WAS, hit a few problems and take this chance to document down so that this form my reference and hopefully it help you too.

Users has been complaining that the web service keep getting time out, returning a 500 […]

Resolving ADMR0104E for Application Server

This write up serve to record the resolution for the ADMR0104E error encountered by Websphere Application server during start up. The Application Server eventually is unable to start up.

From “SystemOut.log”, we see that the system is unable to read some properties file.

[6/27/12 12:08:35:103 SGT] 00000000 FileDocument E ADMR0104E: The system is unable to […]

Recover websphere password

Google online and found this interesting step to recover websphere 7.1 password.

For encrypting the password we have,

//java/bin/java -Djava.ext.dirs=//deploytool/itp/plugins/com.ibm.websphere.v7_7.0.1.v20100710_0411/wasJars/ -cp securityimpl.jar:iwsorb.jar com.ibm.ws.security.util.PasswordEncoder secret

The output is

decoded password == “secret”, encoded password == “{xor}LDo8LTor”

Hence, you can use the same method to decrypt the encrypted password.

//java/bin/java -Djava.ext.dirs=//deploytool/itp/plugins/com.ibm.websphere.v7_7.0.1.v20100710_0411/wasJars/ -cp securityimpl.jar:iwsorb.jar com.ibm.ws.security.util.PasswordDecoder {xor}LDo8LTor

The output […]

Encrypting the ID and Password for Websphere Application Server

By default, you need to supply the ID and password when starting up/shutting down the deployment manager, node or application server. Example of the command as below

Deployment Manager //bin/startManager.sh -username XXX -password XXX

Node //bin/startNode.sh -username XXX -password XXX

Application Server //bin/startServer.sh -username XXX -password XXX

The steps to encrypt the password and ID […]

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