beautypg.com

IBM 51 User Manual

Page 101

background image

assign

a

different

port

to

the

administrative

console.

You

can

do

this

when

you

install

WebSphere

Application

Server

or

afterwards.

To

change

the

port

used

by

the

WebSphere

Administrative

Console

after

WebSphere

Application

Server

is

installed,

complete

the

following

steps.

In

this

example,

the

WebSphere

Administrative

Console

runs

under

the

application

server

named

server1

and

the

Web

browser

is

running

on

the

same

system

as

WebSphere

Application

Server:

1.

Select

an

available

port

using

both

of

the

following

techniques:

v

Examine

the

/etc/services

or

%SYSTEMROOT%\System32\drivers\etc\services

file

to

see

a

list

of

port

definitions

for

the

system.

The

list

includes

ports

that

can

be

used

by

services

on

your

system,

even

if

the

port

is

not

currently

in

use.

The

file

does

not

include

ports

that

are

opened

dynamically

by

applications.

v

Use

the

netstat

-a

command

to

list

the

active

ports

on

this

system.

This

example

uses

port

9091.

2.

In

the

virtualhosts.xml

file,

located

in

the

WAS_install_dir/config/cells/cellName

directory,

change

port

9090

to

9091.

3.

In

the

server.xml

file,

located

in

the

WAS_install_dir/config/cells/cellName/nodes/nodeName/server/server1

directory,

change

port

9090

to

9091.

4.

Stop

server1

,

and

then

start

it

using

the

following

commands:

stopServer

server1

startServer

server1

5.

Access

the

administrative

console

using

the

following

Web

address:

http://hostName:9091/admin

On

Windows,

if

you

have

shortcuts

to

the

administrative

console,

you

must

change

the

port

number

in

the

Target

field

of

the

shortcut

properties.

If

this

chapter

did

not

help

you

resolve

your

problem,

you

can

get

additional

assistance

from

the

IBM

Software

Support

Web

site

at

the

following

Web

address:

http://www.ibm.com/software/support/

Chapter

8.

Troubleshooting

the

agent

manager

89