You are on page 1of 29

6/9/15

Middleware Administration : Weblogic material


More

Next Blog

Mi
ddl
e
war
eAdmi
ni
s
t
r
at
i
on
Emai
lmeat
:pav
ankumar
mc
a067@gmai
l
.
c
om

HOME

WEBLOGI
C

MQ

Apac
he

UNI
XCMDS

PERL

WLST

She
l
lSc
r
i
pt
i
ng

OSB

Se
ar
c
hThi
sBl
og
Search

Sunday,1
6June201
3

We
bl
og
i
cmat
e
r
i
al
WebLog
i
cs
er
verAdmi
ni
s
t
r
at
i
o
n
WebLogic Server: Or
a
c
l
eWebLo
gi
ci
sas
er
ve
rs
of
t
wa
r
ea
ppl
i
c
a
t
i
o
nt
ha
tr
unso
nami
ddl
et
i
e
r
,be
t
we
e
nba
c
ke
ndda
t
a
ba
s
esa
ndr
e
l
a
t
e
d
a
ppl
i
c
at
i
onsa
nbr
ows
e
r
bas
edt
hi
nc
l
i
e
nt
s
.WebLo
gi
ci
sal
e
a
di
nge
c
o
mme
r
c
eo
nl
i
net
r
a
ns
a
c
t
i
o
npr
o
c
e
s
s
i
ng(
OLTP)pl
a
t
f
o
r
m,de
ve
l
o
pe
dt
o
c
o
nne
c
tus
er
si
nadi
s
t
r
i
but
edc
omput
i
ngenvi
r
onmenta
ndt
of
a
c
i
l
i
t
a
t
et
hei
nt
e
g
r
a
t
i
o
no
fma
i
nf
r
a
mea
ppl
i
c
a
t
i
o
nswi
t
hdi
s
t
r
i
but
e
dc
o
r
po
r
a
t
e
dat
aa
ndappl
i
c
at
i
ons
.
WebLogi
cs
er
veri
sba
s
edonJa
va2Pl
at
f
or
m,
Ent
er
pr
i
s
eEdi
t
i
o
n(
J
2EE)
,t
hes
t
a
nda
r
dpl
a
t
f
o
r
m us
e
dt
oc
r
e
a
t
eJ
a
va
ba
s
e
dmul
t
i
t
i
e
re
nt
e
r
pr
i
s
e
a
ppl
i
c
at
i
ons
.
Or
ac
l
eWebLo
gi
cSe
r
ver1
2ci
st
hei
ndus
t
r
y'
sbes
ta
ppl
i
c
a
t
i
o
ns
e
r
ve
rf
o
rbui
l
di
nga
ndde
pl
o
yi
nge
nt
e
r
pr
i
s
eJ
a
vaEEa
ppl
i
c
a
t
i
o
nswi
t
hs
uppo
r
tf
o
r
newf
eat
ur
esf
orl
ower
i
ngc
o
s
to
fo
per
at
i
ons
,i
mpr
ovi
ngpe
r
f
o
r
ma
nc
e
,
e
nha
nc
i
ngs
c
a
l
a
bi
l
i
t
ya
nds
uppo
r
t
i
ngt
heOr
a
c
l
eAppl
i
c
a
t
i
o
nspo
r
t
f
o
l
i
o
.
WebLogi
cSer
ver12c(
12.
1.
1
)-Ma
r
c
h2012
WebLogi
cSer
ver12c(
12.
0)-Dec
e
mber1,
2011
WebLogi
cSer
ver11
gR1PS5(
10.
3.
6)-Febr
ua
r
y2012
WebLogi
cSer
ver11
gR1PS4(
10.
3.
5)-May1
6,201
1
WebLogi
cSer
ver11
gR1PS3(
10.
3.
4)-J
anuar
y1
5,
2011
WebLogi
cSer
ver11
gR1PS2(
10.
3.
3)-Apr
i
l201
0
WebLogi
cSer
ver11
gR1PS1(
10.
3.
2)-Novembe
r2009
WebLogi
cSer
ver11
g(
10.
3.
1
)-Jul
y2009
WebLogi
cSer
ver10.
3-Aug
us
t2008
WebLogi
cSer
ver10.
0-Mar
c
h2007
WebLogi
cSer
ver9.
2
WebLogi
cSer
ver9.
1
WebLogi
cSer
ver9.
0-No
ve
mber2006
WebLogi
cSer
ver8.
1-Jul
y2003
WebLogi
cSer
ver7.
0-June2002
WebLogi
cSer
ver6.
1
WebLogi
cSer
ver6.
0-f
i
l
edat
eMa
r
c
h2001o
na
no
l
dCD
WebLogi
cSer
ver5.
1(
c
odename:Denal
i
)Fi
r
s
tver
s
i
ons
uppo
r
t
i
ngho
tde
pl
o
yme
ntf
o
ra
ppl
i
c
a
t
i
o
ns(
vi
ac
o
mma
ndl
i
ne
)
WebLogi
cSer
ver4.
0
WebLogi
cTenga
h3.
1-June1998
WebLogi
cTenga
h3.
0.
1-Ma
r
c
h1998
WebLogi
cTenga
h3.
0-J
anuar
y1998
WebLogi
cTenga
h-No
ve
mber1997
The table below lists major standards supported by WebLogic Server product version.
Standard WLS 7.0 WLS 8.1 WLS 9.0 WLS 10.0

WLS 10.3

WLS 12c

J
ava

1
.
3

1
.
4

6(
7i
n1
0.
3.
6+)7

J
avaEE

1
.
3

1
.
3

1
.
4

Se
r
vl
et

1
.
2

2.
3

2.
4

2.
5

2.
5

3.
0

J
SP

1
.
2

1
.
2

2.
0

2.
1

2.
1

2.
2

middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

1/29

6/9/15

Middleware Administration : Weblogic material

EJ
B

2.
0

2.
0

2.
1

3.
0

3.
0

3.
1

J
DBC

2.
0

2.
0

3.
0

3.
0

3.
0

4.
0

Difference between web server and application server:


Webserver
Application Server
1
)We
bs
er
verha
ndl
es t
he HTTP pr
ot
oc
ol
.
1
)I
ts
er
ve
sbus
i
ne
s
sl
o
g
i
ct
oa
ppl
i
c
a
t
i
o
n
When
pr
og
r
amst
hr
o
ug
ha
nynumbe
ro
fpr
o
t
o
c
o
l
s
t
heWebs
e
r
ve
rr
ec
ei
vesanHTTPr
e
que
s
t
, 2)Appl
i
c
a
t
i
o
ns
e
r
ve
ri
smo
r
ec
a
pa
bl
eo
f
i
tr
es
pondswi
t
hanHTTPr
e
s
po
ns
e,s
uc
ha
s dyna
mi
cbe
ha
vi
o
rt
ha
nwe
bs
e
r
ve
r
.
Wec
a
n
s
endi
ngbac
ka
nHTMLpage
.
al
s
oc
onf
i
g
ur
ea
ppl
i
c
a
t
i
o
ns
e
r
ve
rt
owo
r
k
2)WebSer
vers
er
ve
ss
t
at
i
cHTMLpa
gesor asawebs
e
r
ve
r
.
Si
mpl
ya
ppl
i
c
a
t
i
o
ns
e
r
ve
ri
sa
g
i
f
s
,j
peg
s
,et
c
.
,and c
an al
s
or
un c
ode s
uper
s
e
to
fwe
bs
e
r
ve
r
.
wr
i
t
t
en
3)
Appl
i
c
a
t
i
o
nSe
r
ve
rs
uppo
r
t
sdi
s
t
r
i
but
e
d
i
nCGI
,JSPe
t
c
.
t
r
ans
ac
t
i
o
na
ndEJ
B.
3)We
b Ser
ve
ro
nl
ys
uppor
t
sSe
r
vl
et
sand4) AnAppl
i
c
a
t
i
o
nSe
r
ve
ri
sus
e
dt
or
unbus
i
ne
s
s
J
SP.
l
ogi
c
ordyna
mi
c
a
l
l
yg
e
ne
r
a
t
e
dpr
e
s
e
nt
a
t
i
o
nc
o
de
.
I
tc
a
ne
i
t
he
rbe.
NETba
s
e
do
rJ
2EEba
s
e
d
Domain: AnOr
ac
l
eWebLogi
cSer
veradmi
ni
s
t
r
at
i
ondomai
ni
sal
og
i
c
a
l
l
yr
e
l
a
t
e
dg
r
oupofOr
a
c
l
eWe
bLog
i
cSe
r
ve
rr
e
s
our
c
e
s
.
Doma
i
nsi
nc
l
udeas
pe
c
i
a
l
Or
a
c
l
e
We
bLogi
cSe
r
ve
ri
ns
t
a
nc
eca
l
l
edt
heAdmi
ni
s
t
r
a
t
i
onSe
r
ve
r
,whi
c
hi
st
hec
e
nt
r
a
l
poi
ntf
r
om whi
c
hyouc
onf
i
g
ur
ea
ndma
na
g
ea
l
l
r
e
s
our
c
e
si
nt
hedoma
i
n.
Us
ua
l
l
y,
youconf
i
g
ur
eadomai
nt
oi
ncl
udea
ddi
t
i
onal
Or
a
cl
eWebLogi
cSe
r
ve
ri
ns
t
a
nc
e
sc
a
l
l
e
dMa
na
g
e
dSe
r
ve
r
s
.
Youde
pl
oyWe
ba
ppl
i
c
a
t
i
ons
,
EJ
Bs
,
We
bSe
r
vi
c
e
s
,
a
nd
ot
herr
es
our
c
esont
ot
heMa
nag
edSer
ver
sandus
et
heAdmi
ni
s
t
r
a
t
i
onSe
r
ve
rf
orc
onf
i
g
ur
a
t
i
ona
ndma
na
g
e
me
ntpur
pos
e
sonl
y.
Node Manager: No
deMa
nag
eri
saWebLo
gi
cSe
r
ve
rut
i
l
i
t
yt
ha
te
na
bl
e
syo
ut
os
t
a
r
t
,
s
hutdo
wn,
a
ndr
e
s
t
a
r
tAdmi
ni
s
t
r
a
t
i
o
nSe
r
ve
ra
nd

ManagedSer
veri
ns
t
anc
e
sf
r
om ar
emot
el
oc
a
t
i
o
n.Al
t
houg
hNo
deMa
na
g
e
ri
so
pt
i
o
na
l
,
i
ti
sr
e
c
o
mme
nde
di
fyo
urWe
bLo
g
i
cSe
r
ve
r
e
nvi
r
onmenthos
t
sa
ppl
i
c
at
i
o
nswi
t
hhi
g
ha
vai
l
abi
l
i
t
yr
equi
r
e
me
nt
s
.
ANo
deManage
rpr
o
c
e
s
si
snotas
s
oc
i
at
edwi
t
has
pe
c
i
f
i
cWe
bLo
g
i
cdo
ma
i
nbutwi
t
hama
c
hi
ne
.
Yo
uc
a
nus
et
hes
a
meNo
deMa
na
g
er
pr
oc
es
st
oc
ont
r
o
ls
er
veri
ns
t
anc
esi
nanyWe
bLogi
cSer
ve
rdo
ma
i
n,a
sl
o
nga
st
hes
e
r
ve
ri
ns
t
a
nc
e
sr
e
s
i
deo
nt
hes
a
mema
c
hi
nea
st
heNo
de
Managerpr
oc
es
s
.NodeMa
nag
ermus
tr
unonea
c
hc
o
mput
e
rt
ha
tho
s
t
sWe
bLo
g
i
cSe
r
ve
ri
ns
t
a
nc
e
s
whe
t
he
rAdmi
ni
s
t
r
a
t
i
o
nSe
r
ve
ro
r
ManagedSer
ver
t
hatyo
uwantt
oc
o
nt
r
ol
wi
t
hNo
deMa
na
g
e
r
.
WebLog
i
cSer
verpr
ovi
dest
wover
s
i
onsofNodeMana
ge
r
,
J
a
va
ba
s
e
da
nds
c
r
i
pt
ba
s
e
d,
wi
t
hs
i
mi
l
a
rf
unc
t
i
ona
l
i
t
y.
Howe
ve
r
,e
a
c
hve
r
s
i
onha
sdi
f
f
e
r
e
nt
c
onf
i
g
ur
a
t
i
onands
ecur
i
t
ycons
i
der
at
i
ons
.

Java-based Node Manager: Ja


va
ba
s
e
dNodeMa
nag
e
rr
unswi
t
hi
naJ
a
vaVi
r
t
ua
lMa
c
hi
ne(
J
VM)pr
o
c
e
s
s
.I
ti
sr
e
c
o
mme
nde
dt
ha
tyo
u
r
uni
tasaWi
ndo
wss
e
r
vi
c
eonWi
ndo
wspl
at
f
o
r
msandasa
no
pe
r
a
t
i
ngs
ys
t
e
ms
e
r
vi
c
eo
nUNI
Xpl
a
t
f
o
r
ms
,
a
l
l
o
wi
ngi
tt
or
e
s
t
a
r
ta
ut
o
ma
t
i
c
a
l
l
y
whent
hes
ys
t
em i
sr
eboo
t
ed.
Or
ac
l
epr
o
vi
desna
t
i
veNo
deManage
rLi
br
ar
i
esf
o
rWi
ndo
ws
,So
l
a
r
i
s
,HPUX,Li
nuxo
nI
nt
e
l
,Li
nuxo
nZSe
r
i
e
s
,a
ndAI
Xo
pe
r
a
t
i
ng
s
ys
t
ems
.
Note: NodeManag
eri
snots
uppo
r
t
e
do
nOpe
nVMS,
OS/
390,
AS400,
Uni
xWa
r
e
/
Tr
u64UNI
X.
Script-based Node Manager: ForUNI
Xa
ndLi
nuxs
ys
t
e
ms
,We
bLo
g
i
cSe
r
ve
rpr
o
vi
de
sas
c
r
i
pt
ba
s
e
dve
r
s
i
o
no
fNo
deMana
g
e
r
.Thi
s
s
c
r
i
pti
sbas
edonUNI
Xs
he
l
ls
c
r
i
pt
s
,
butus
e
sSSH f
o
ri
nc
r
e
a
s
e
ds
e
c
ur
i
t
y.SSHus
e
sus
e
r
i
dba
s
e
ds
e
c
ur
i
t
y.Fo
ri
nf
o
r
ma
t
i
o
no
nc
o
nf
i
g
ur
i
ngt
he
s
c
r
i
ptve
r
s
i
onofNo
deMa
na
ger
,s
e
eConfiguring Script Node Manager.
Note: I
ti
sr
e
c
o
mmende
dt
hatyo
ur
uns
c
r
i
pt
ba
s
edNo
deMa
na
g
e
ra
sOpe
r
a
t
i
ngSys
t
e
ms
e
r
vi
c
e
s
,whi
c
ha
l
l
o
wst
or
e
s
t
a
r
ta
ut
o
ma
t
i
c
a
l
l
y
whent
hes
ys
t
em i
sr
e
bo
ot
e
d.
Thi
sver
s
i
ondoesnotpr
o
vi
dea
smuc
hs
e
c
ur
i
t
ya
st
heJ
a
va
ba
s
e
dve
r
s
i
o
n.Ho
we
ve
r
,t
hea
dva
nt
a
g
eo
ft
he
s
c
r
i
pt
bas
edNodeMa
nag
eri
st
hati
tc
anr
e
mot
e
l
yma
na
g
es
e
r
ve
r
so
ve
rane
t
wo
r
kt
ha
tha
sbe
e
nc
o
nf
i
g
ur
e
dt
ous
eSSH.Noa
ddi
t
i
o
na
l
s
e
r
ve
r
i
ns
t
al
l
at
i
oni
sr
equi
r
ed.Thes
c
r
i
pt
smer
e
l
yha
vet
obec
opi
e
dt
ot
her
e
mo
t
ema
c
hi
ne
.
Administration Server: Admi
nSer
ve
ri
sani
ns
t
anc
eo
fWe
bl
o
g
i
cs
e
r
ve
r
.TheAdmi
ni
s
t
r
a
t
i
o
nSe
r
ve
ro
pe
r
a
t
e
sa
st
hec
e
nt
r
a
lc
o
nt
r
o
le
nt
i
t
y
f
ort
hec
onf
i
g
ur
a
t
i
o
no
ft
heent
i
r
edomai
n.I
tmai
nt
a
i
nst
hedo
ma
i
n'
sc
o
nf
i
g
ur
a
t
i
o
ndo
c
ume
nt
sa
nddi
s
t
r
i
but
e
sc
ha
ng
e
si
nt
hec
o
nf
i
g
ur
a
t
i
o
n
doc
ument
st
oMana
ge
dSer
ver
s
.Youc
anal
s
ous
et
heAdmi
ni
s
t
r
a
t
i
o
nSe
r
ve
ra
sac
e
nt
r
a
ll
o
c
a
t
i
o
nf
r
o
m whi
c
ht
omo
ni
t
o
ra
l
lr
e
s
o
ur
c
e
si
na
domai
n.
Managed server: Apar
tf
r
om Admi
nSer
ve
ra
nywebl
o
g
i
cs
e
r
ve
ri
ns
t
a
nc
ei
sc
a
l
l
e
dMa
na
g
e
ds
e
r
ve
r
.Topr
e
ve
ntt
heAdmi
ni
s
t
r
a
t
i
o
nSe
r
ve
r
f
r
om bec
omi
ngas
i
ngl
epoi
ntoff
ai
l
ur
e
,Manag
edSe
r
ve
r
sc
a
na
l
wa
ysf
unc
t
i
o
nwi
t
ho
utt
hepr
e
s
e
nc
ear
unni
ngAdmi
ni
s
t
r
a
t
i
o
nSe
r
ve
r
.Whe
na
ManagedSer
vers
t
a
r
t
s
,i
tc
o
nt
a
c
t
st
heAdmi
ni
s
t
r
at
i
onSe
r
ve
rt
or
e
t
r
i
e
vei
t
sc
o
nf
i
g
ur
a
t
i
o
ni
nf
o
r
ma
t
i
o
n.
I
faMa
na
g
e
dSe
r
ve
ri
suna
bl
et
oc
o
nne
c
t
t
ot
hes
pec
i
f
i
e
dAdmi
ni
s
t
r
at
i
onSer
verdur
i
ngs
t
ar
t
up,i
tc
a
nr
e
t
r
i
e
vei
t
sc
o
nf
i
g
ur
a
t
i
o
ndi
r
e
c
t
l
ybyr
e
a
di
ngac
o
pyo
ft
hec
o
nf
i
g
.
xmlf
i
l
ea
ndo
t
he
r
f
i
l
e
sl
oc
at
edont
heMa
nag
edSe
r
ve
r
'
sownf
i
l
es
ys
t
e
m.
Cluster: AWebLo
gi
cSe
r
ve
rc
l
us
t
erc
o
ns
i
s
t
sofmul
t
i
pl
eWe
bLo
g
i
cSe
r
ve
ri
ns
t
a
nc
e
sr
unni
ngs
i
mul
t
a
ne
o
us
l
ya
ndwo
r
ki
ngt
o
g
e
t
he
rt
opr
o
vi
de
i
nc
r
eas
eds
c
al
abi
l
i
t
yandr
el
i
abi
l
i
t
y.
Ac
l
us
t
e
rappe
ar
st
oc
l
i
e
nt
st
obeas
i
ng
l
eWe
bLo
g
i
cSe
r
ve
ri
ns
t
a
nc
e
.
Thes
e
r
ve
ri
ns
t
a
nc
e
st
hatc
o
ns
t
i
t
ut
ea
c
l
us
t
e
rc
anr
uno
nt
hes
a
mema
c
hi
ne,orbel
o
c
a
t
edondi
f
f
e
r
e
ntma
c
hi
ne
s
.Yo
uc
a
ni
nc
r
e
a
s
eac
l
us
t
e
r

sc
a
pa
c
i
t
ybya
ddi
nga
ddi
t
i
o
na
ls
e
r
ve
r
i
ns
t
anc
est
ot
hec
l
us
t
e
ro
na
nexi
s
t
i
ngmac
hi
ne
,o
ryouc
a
na
ddma
c
hi
ne
st
ot
hec
l
us
t
e
rt
oho
s
tt
hei
nc
r
e
me
nt
a
ls
e
r
ve
ri
ns
t
a
nc
e
s
.Ea
c
hs
e
r
ve
r
i
ns
t
anc
ei
nac
l
us
t
ermus
tr
unt
hes
amever
s
i
o
no
fWebLo
g
i
cSe
r
ve
r
.
Ac
l
us
t
e
ri
sdef
i
nedasag
r
o
upofappl
i
c
at
i
ons
er
ve
r
st
ha
tt
r
a
ns
pa
r
e
nt
l
yr
unaJ
2EEa
ppl
i
c
a
t
i
o
na
si
fi
twe
r
eas
i
ng
l
ee
nt
i
t
y.The
r
ea
r
et
wo
me
t
hodsofc
l
us
t
e
r
i
ng:vertical scaling a
ndhorizontal scaling
Horizontal clustering: It involves running multiple Java application servers that are run on two or more separate physical machines. Horizontal scaling is more reliable
than vertical scaling, since there are multiple machines involved in the cluster environment, as compared to only one machine.
Vertical clustering: However, consists of multiple Java application servers on a single physical machine. With vertical scaling, the machine's processing power, CPU
usage, and JVM heap memory configurations are the main factors in deciding how many server instances should be run on one machine
Proxy Server: Pr
o
xySer
veri
sa
ni
nt
er
medi
a
r
ys
er
ve
rbe
t
we
e
nyo
urwe
bbr
o
ws
e
r(
c
l
i
e
nt
)whi
c
hr
e
que
s
t
sf
o
rs
o
mei
nf
o
r
ma
t
i
o
n/
da
t
aa
nd
yours
er
ver(
webs
e
r
ver
/
Appl
i
c
at
i
ons
er
ve
r
)t
ha
tpr
oc
es
st
heda
t
a
.
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

2/29

6/9/15

Middleware Administration : Weblogic material

Types of Proxy Server: Theyar


et
hr
e
edi
f
f
er
e
ntt
ypeso
fpr
o
xys
e
r
ve
r
s
.
The
ya
r
ea
sf
o
l
l
o
ws
1) Forward Proxy Servers:For
war
dPr
o
xySe
r
veri
sas
e
r
ve
rwhi
c
hf
o
r
wa
r
dst
her
e
que
s
tf
r
o
mt
hei
nt
r
a
ne
tc
l
i
e
nt
s(
we
bbr
o
ws
e
r
)t
ot
he
i
nt
er
nets
er
ve
r
s
.
Thes
epr
oxys
er
ver
sa
r
epr
e
s
e
nti
nt
hes
a
mene
t
wo
r
ko
fyo
urc
l
i
e
nt
.
2) Open Proxy Server: Anopenpr
oxyi
sapr
oxys
er
ve
rwhi
c
hi
sa
c
c
e
s
s
i
bl
ebya
nyI
nt
e
r
ne
tus
e
r
.
Anypr
o
xys
e
r
ve
rt
ha
tdo
e
s
n
tr
e
s
t
r
i
c
ti
t
s
c
l
i
entba
s
et
oi
t
sowns
etofc
l
i
e
nt
sanda
l
l
o
wsanyo
t
herc
l
i
e
ntt
oc
o
nne
c
tt
oi
ti
skno
wna
sa
n
Ope
nPr
o
xy
.Ana
no
nymo
uso
pe
npr
o
xya
l
l
o
ws
us
er
st
oc
onc
e
alt
he
i
rI
Pa
ddr
es
swhi
l
ebr
ows
i
ngt
heWebo
rus
i
ngo
t
he
rI
nt
e
r
ne
ts
e
r
vi
c
e
s
.
The
ya
r
ei
nnume
r
o
uso
pe
npr
o
xys
e
r
ve
r
spr
e
s
e
nti
n
I
nt
er
net
.Forc
onve
r
t
i
nganyf
l
a
voro
fpr
oxys
er
ve
r
st
oOpe
nPr
o
xys
e
r
ve
r
swej
us
tha
vet
oe
na
bl
et
hef
l
a
gProxyRequests On i
nt
he
c
o
nf
i
g
ur
at
i
onf
i
l
e
.
3) Reverse Proxy Server: A Pr
o
xySe
r
verwhi
c
ht
a
ke
sr
e
que
s
t
sf
r
o
me
xt
e
r
na
lc
l
i
e
nt
s(
we
bbr
o
ws
e
r
s
)o
rI
nt
e
r
ne
ta
ndf
o
r
war
dst
he
mt
o
s
e
r
ver
si
nani
nt
e
r
nalnet
wo
r
ki
sc
al
l
e
da
sRever
s
ePr
o
xySe
r
ve
r
.
Ge
ne
r
a
l
l
y,
t
her
e
ve
r
s
epr
o
xys
e
r
ve
r
sa
r
epr
e
s
e
nti
nt
hes
a
mene
t
wo
r
kwhe
r
e
weha
veourApp/Webs
e
r
ve
r
s
.
Advantages of using Reverse Proxy Servers: Theva
r
i
o
usa
dva
nt
a
g
e
so
fus
i
ngt
hepr
o
xys
e
r
ve
r
sa
r
ea
sf
o
l
l
o
ws
1
) Fi
l
t
er
i
ng
2) Ca
c
hi
ng
3) Bypas
s
i
ngf
i
l
t
e
r
sandc
ens
or
s
hi
p
4) Lo
ggi
ngande
ave
s
dr
oppi
ng
5) Ga
t
ewayst
opr
i
vat
enet
wor
ks
6) Ac
c
es
s
i
ngs
er
vi
c
e
sa
no
nymo
us
l
y
Fire wall: I
tpr
o
vi
def
i
l
t
er
i
ng,
aut
he
r
i
z
at
i
o
n&Aut
hent
i
c
a
t
i
o
ns
e
r
vi
c
e
s
.
I
tc
a
nac
taspr
oxys
e
r
ve
r
s
.
Mappi
ngpor
tr
eques
t
s
.
Machine: Ama
c
hi
nei
sac
o
mput
e
rt
ha
thos
tWebLog
i
cs
e
r
ve
r
.
Amac
hi
ner
unsas
uppo
r
t
e
do
.
spl
at
f
or
m.
Canhos
tmul
t
i
pl
eWebLo
gi
cs
er
veri
ns
t
a
nc
es
.
WebLogic server Life Cycle:
Starting state: Dur
i
ngt
hes
t
ar
t
i
ngs
t
at
ei
ns
t
anc
esr
e
adt
hedo
ma
i
nc
o
nf
i
g
ur
a
t
i
o
nda
t
af
r
o
mi
t
sc
o
nf
i
g
ur
a
t
i
o
ndi
r
e
c
t
o
r
y.
Whe
r
e
a
st
heMa
na
g
e
r
s
e
r
verwi
l
lgett
hei
rc
o
nf
i
gur
at
i
onda
t
af
r
o
m Admi
ns
er
ve
r
.
I
ti
si
nt
hi
ss
t
a
t
et
ha
tt
hei
ns
t
a
nc
et
heba
s
i
cs
e
r
vi
c
e
ss
uc
ha
st
heke
r
ne
la
nde
xe
c
ut
e
queue
s
,t
hec
o
nt
a
i
ne
rs
er
vi
c
ef
o
rl
o
gg
i
ngandNodema
nag
e
rs
e
r
vi
c
e
.
Thes
e
r
ve
ra
l
s
ode
pl
o
ydur
i
ngt
hi
spha
s
e
.
Stand by: I
nt
hi
ss
t
at
et
hes
e
r
verI
ns
t
anc
ewi
l
la
l
l
o
wyo
ut
oi
s
s
uej
us
tt
oa
dmi
ni
s
t
r
a
t
i
ver
e
que
s
t
s
.Yo
uc
a
nmet
hes
e
r
ve
rs
t
a
t
ee
i
t
he
rr
unni
ng
o
rs
hut
downs
t
a
t
e.No
r
mal
l
yt
hes
er
ve
ri
ns
t
anc
ewi
l
laut
o
ma
t
i
c
a
l
l
yt
r
a
ns
i
t
i
o
nt
hr
o
ug
ht
hes
t
a
ndbys
t
a
t
et
one
xts
t
a
g
eunl
e
s
syo
us
t
a
r
tt
he
i
ns
t
anc
ewi
t
ht
hes
t
ar
ti
ns
t
a
ndbyc
ommand.
Not
e:Al
lpor
t
sar
ec
l
os
edi
nt
hi
ss
t
at
.
Butyouc
anqui
c
kl
yt
r
a
ns
i
t
i
o
nt
oar
unni
ngs
t
a
t
e
.
Admin mode: Thea
dmi
nmo
depe
r
mi
t
sonl
yAdmi
ni
s
t
r
a
t
i
vet
a
s
k,de
pl
o
yi
nga
ppl
i
c
a
t
i
o
nswi
t
ht
ho
s
ea
ppl
i
c
a
t
i
o
nsbe
i
nga
bl
et
oo
nl
yr
e
que
s
t
f
r
om us
er
swi
t
ht
hea
dmi
nandAppt
es
t
err
o
l
es
.Runni
ngas
e
r
ve
ri
na
dmi
nmo
dei
sa
l
s
ous
e
f
ulwhe
nt
r
yi
ngt
odi
a
g
no
s
epr
o
bl
e
mswi
t
h
a
ppl
i
c
at
i
ongonebadl
y.
Not
e:Se
r
ver
swi
l
lr
uni
nadmi
nmo
dewhent
her
ei
spr
obl
e
m wi
t
hde
pl
o
ye
da
ppl
i
c
a
t
i
o
no
rJ
DBCc
o
nne
c
t
i
o
npo
o
l
.
wec
a
nr
e
s
umet
hes
e
r
ve
rf
r
o
m
Admi
ns
t
at
et
or
e
s
umes
t
at
e
.
Resuming state: Thi
si
spur
e
l
yt
r
a
ns
i
t
i
o
nals
t
at
et
hes
e
r
ve
ri
ns
t
a
nc
eg
o
e
st
hr
o
ug
ha
f
t
e
ri
tt
r
a
ns
i
t
i
o
nsa
ut
o
ma
t
i
c
a
l
l
yt
hr
o
ug
hAdmi
ns
t
a
t
eo
r
youi
s
s
uet
her
es
umec
ommanda
f
t
e
rf
i
r
s
tpl
ac
i
ngt
hei
ns
t
a
nc
ei
nt
hes
t
a
ndbyo
rAdmi
ns
t
a
t
e
.
Yo
uc
a
ndot
hi
ss
t
a
t
ec
ha
ng
ef
r
o
mc
omma
ndl
i
ne
o
rt
hr
ought
heAdmi
nc
ons
o
l
e.
Running state: Thi
si
sof
fc
our
s
ef
i
na
ls
t
at
et
hes
er
ve
ri
ns
t
a
nc
er
e
a
c
he
sa
f
t
e
ryo
ue
i
t
he
ri
s
s
ueas
t
a
r
tupc
o
mma
ndo
rr
e
s
umec
o
mma
ndt
o
mo
vet
hes
er
veroutoft
heAdmi
nors
t
andbys
t
a
t
e.I
ti
si
nt
her
unni
ngs
t
a
t
et
ha
tt
hes
e
r
ve
rc
a
na
c
c
e
ptt
hes
e
r
vi
c
ec
l
i
e
ntr
e
que
s
tf
o
ri
t
s
e
r
vi
c
es
.
WebLogic Installation:
I
ns
t
al
l
at
i
onMet
hods
:
1) Binary Installation
Thi
st
ypeo
fi
ns
t
a
l
l
e
ri
sas
t
a
ndal
onever
s
i
onoft
hei
ns
t
al
l
a
t
i
o
nt
ha
ti
nc
l
ude
sJ
DKsf
o
rt
hes
e
l
e
c
t
e
dpl
a
t
f
o
r
m.Thei
ns
t
a
l
l
e
ri
se
i
t
he
ra
nd.
e
xef
i
l
e
(
f
orwi
ndows
)or.
bi
nf
i
l
e(
f
orUNIX)
2) Generic Jar installation
Thi
st
ypeofi
ns
t
al
l
eri
sa.
j
arf
i
l
e
.I
tdoesnoti
ncl
udeJDK.Youca
nus
et
hi
st
ypeofi
ns
t
a
l
l
e
rt
oi
ns
t
a
l
lt
hepr
oduc
tona
nys
uppor
t
e
dpl
a
t
f
or
m whe
r
ej
a
vai
sa
l
r
e
a
dy
i
ns
t
al
l
e
d.

Ther
ear
e3t
ype
so
fi
ns
t
a
l
l
a
t
i
ons
1.GUImo
de
.
2.Cons
ol
emode
.
3.Si
l
entmode.
1) GUI Mode:
St
ep1:we
l
c
omes
c
r
ee
n
St
ep2:Ac
c
eptl
i
c
ens
eagr
ee
me
nt
.
St
ep3:Cr
e
at
enewBEAhomedi
r
ec
t
or
y
C:
\bea1
0.
3
St
ep4:Choos
ei
ns
t
al
l
a
t
i
o
n-Compl
et
e(
o
r
)Cus
t
o
m
St
ep5.
Sel
e
c
tc
ompl
et
e
St
ep6.
Sel
e
c
tpr
o
duc
ti
ns
t
al
l
at
i
o
ndi
r
ec
t
or
y
C:
\bea1
0.
3\wl
s
er
ver
_10.
3
2) Console Mode:
s
e
r
ver
1
0.
3_wi
n32.
exemo
de=c
ons
ol
e
3) Silent Mode: I
ti
sawayofs
e
t
t
i
ngi
ns
t
al
l
at
i
onc
onf
i
g
ur
a
t
i
o
no
nl
yo
nc
ea
ndt
he
nus
i
ngt
ho
s
ec
o
nf
i
g
ur
a
t
i
o
nst
odupl
i
c
a
t
et
hei
ns
t
a
l
l
a
t
i
o
no
n
ma
nymac
hi
ne
s
.
Thei
ns
t
al
l
a
t
i
o
npr
o
gr
a
msr
e
adt
hes
e
t
t
i
ngsf
o
ryourc
o
nf
i
g
ur
a
t
i
o
nf
r
o
ma
nxml
f
i
l
e
.
(
s
i
l
e
nt
.
xml
)
s
e
r
ver
10.
3_wi
n32.
e
xemode=s
i
l
e
nts
i
l
ent
.
xml
=c
:
\be
a1
0.
3\
s
i
l
e
nt
.
xmll
o
g
=c
:
\
1
0.
3\
s
i
l
e
nt
.
l
o
g
St
ep1:Cr
ea
t
es
i
l
e
nt
.
xmlf
i
l
e
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

3/29

6/9/15

Middleware Administration : Weblogic material

<?xml
ver
s
i
o
n="
1.
0"enc
odi
ng
="
I
SO88591
"?
>
<beai
ns
t
a
l
l
e
r
>
<i
nput
f
i
e
l
ds
>
<dat
aval
uename
="
BEAHOME"va
l
ue
="
C:
\
be
a10.
3"/
>
<dat
aval
uename
="
USER_I
NSTALL_DI
R"va
l
ue
="
C:
\
be
a
1
0.
3\
wl
s
e
r
ve
r
_1
0.
3"/
>
</i
nput
f
i
el
ds
>
</beai
ns
t
al
l
er
>
St
ep2:Savet
hi
sf
i
l
eass
i
l
ent
.
xmlf
i
l
ei
nC:
\
bea
10.
3f
ol
der
St
ep3:Copyt
heWe
bLogi
cs
of
t
war
eunderC:
\
be
a10.
3f
ol
de
r
St
ep4:Cr
eat
eas
ubf
ol
de
rwl
s
er
ve
r
_1
0.
3underc
:
\
bea
10.
3
St
ep5:Exec
ut
et
hebel
owc
o
mmand
s
e
r
ver
103_wi
n32.
e
xemode=s
i
l
ents
i
l
ent
_xml
=C:
\bea1
0.
3\s
i
l
e
nt
.
xmll
o
g
=C:
\
1
0.
3\
s
i
l
e
nt
.
l
o
g
Domain creation using configuration wizard:
St
ep1:Got
ot
hebel
o
wpa
t
ha
ndexec
ut
ec
o
nf
i
g
.
c
mds
c
r
i
pt
C:
\bea1
0.
3\wl
s
e
r
ver
_10.
3\
c
ommon\bi
n>c
onf
i
g
.
c
md
St
ep2:Sel
ec
t-Cr
ea
t
enewWebLo
gi
cdo
ma
i
n
St
ep3:Sel
ec
t-Bas
et
hi
sdomai
nonane
xi
s
t
i
ngt
e
mpl
a
t
e
St
ep4:Conf
i
gur
eAdmi
ni
s
t
r
a
t
orus
er
nameandpas
s
wo
r
d.
St
ep5:Conf
i
gur
es
e
r
ve
rs
t
ar
tmodea
ndJDK
Devel
opmentmode -SunJ
dk
Pr
oduc
t
i
onmode -J
r
o
c
ke
t
Sel
ec
tdevel
o
pmentmodea
ndSunJdk
St
ep6:Cus
t
omi
z
eenvi
r
onme
nt&s
er
vi
c
ess
et
t
i
ngs
Sel
ec
tyesi
fyouwoul
dl
i
ket
oc
onf
i
g
ur
er
e
s
our
c
es
St
ep7:Conf
i
gur
eAdmi
ns
er
ver
Name:Admi
nSer
ver
Li
s
t
ena
ddr
e
s
s
:l
oc
al
hos
t
Li
s
t
enpor
t:7001
SSLl
i
s
t
en:None
**Def
a
ul
tpo
r
tnumberf
orAdmi
nSe
r
ver
7001
**Def
a
ul
ts
s
ll
i
s
t
enpor
t:7002
St
ep8:Conf
i
gur
ema
na
ge
ds
er
ver
s
name l
i
s
t
enaddr
es
s l
i
s
t
enpo
r
ts
s
l
l
i
s
t
enpo
r
t
ms
1 l
oc
al
hos
t
7
003
No
ne
ms
2 l
oc
al
hos
t
7004
No
ne
St
ep9:Conf
i
gur
ec
l
us
t
e
r
NameMul
t
i
c
as
taddr
es
smul
t
i
c
a
s
tpor
tc
l
us
t
eraddr
e
s
s
c
1
239.
1
92.
0.
0
701
0
l
oc
al
hos
t
:
7
003,
l
o
c
a
l
ho
s
t
:
7
004
St
ep10:As
s
i
g
ns
er
ver
st
oc
l
us
t
er
s
St
ep11:Conf
i
gur
emac
hi
nes
Name No
de
Ma
na
ger
Li
s
t
enAddr
es
s NodeManag
e
r
Li
s
t
e
nPo
r
t
m1
l
oc
al
hos
t
5556
St
ep12:As
s
i
g
ns
er
ver
st
omac
hi
ne
s
St
ep13:Cr
eat
eWebLo
gi
cdo
ma
i
n
Ent
ert
hena
mea
ndl
oc
a
t
i
o
nf
ort
hedo
mai
n
Domai
nna
me:dev_domai
n
Domai
nl
o
c
at
i
on:c
:
\bea1
0.
3\us
e
r
_pr
o
j
ec
t
s
\
do
ma
i
ns
St
ep14:Cl
i
c
konCreate
Q) How to start Admin server?
C:
\be
a10.
3\us
er
_pr
oj
ec
t
s
\domai
ns
\
de
v_domai
n\
bi
n>s
t
a
r
t
We
bLo
g
i
c
.
c
md
Q) How to Access Admin console?
ht
t
p:
/
/l
oc
al
ho
s
t
:
7001/
c
o
ns
o
l
e
Q) Starting managed servers without node manager?
If Adminserver is in another machine: c
:
\
bea
\us
er
_pr
o
j
e
c
t
s
\
do
ma
i
ns
\
we
bdo
ma
i
n\
bi
n>s
t
a
r
t
ma
na
g
e
dWe
bLo
g
i
c
.
c
mdms
1
http://localhost:7001 (Admin s
er
verpo
r
tnumber
)
If Adminserver is in same machine: c
:
\bea
\us
er
_pr
o
j
e
c
t
s
\
do
ma
i
ns
\
ma
i
ndo
ma
i
n\
bi
n>s
t
a
r
t
ma
na
g
e
dWe
bLo
g
i
c
.
c
mdms
1
Q) How to stop Admin server?
St
opWe
bLog
i
c
.
c
md Wi
ndows
St
opWe
bLog
i
c
.
s
hUni
x
Q) How To stop managed server?
St
opMa
na
gedWebLog
i
c
.
c
mdms
1
Q) How to start Nodemanager?
C:
\bea10\wl
s
er
ver
_10.
3\s
e
r
ve
r
\bi
n>s
t
ar
t
No
de
ma
na
ger
.
c
md
Creating managed servers from console:
St
ep1:Cl
i
c
ko
nLoc
k&Edi
t
St
ep2:Na
vi
g
at
et
os
e
r
ve
r
sandt
henc
l
i
c
konne
w
St
ep3:Cr
e
at
eane
ws
er
ver
St
ep4:Pr
o
vi
des
er
ve
rpr
oper
t
i
es
Ser
ve
rname:ms
3
Ser
ve
rl
i
s
t
e
na
ddr
es
s
:l
o
c
a
l
ho
s
t
Ser
ve
rl
i
s
t
e
npor
t
:7005
St
ep5:Sel
ec
t-t
hi
si
sas
t
anda
l
ones
er
ver
St
ep6:Re
vi
e
wc
ho
i
c
e
s
St
ep7:Ac
t
i
va
t
ec
hang
es
Assigning server to cluster:
St
ep1:Na
vi
g
at
et
oc
l
us
t
e
r
c
l
us
t
erna
mes
er
ver
s
St
ep2:Cl
i
c
konLo
c
k&Edi
t
St
ep3:Add
Adds
e
r
vert
oc
l
us
t
er
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

4/29

6/9/15

Middleware Administration : Weblogic material

Sel
ec
texi
s
t
i
ngs
er
ve
randaddi
tasac
l
us
t
er
St
ep4:Ac
t
i
va
t
ec
hang
es
Adding servers to machines:
St
ep1:Na
vi
g
at
et
omac
hi
ne
s
m1s
e
r
ve
r
s
St
ep2:Loc
k&Edi
t
St
ep3:Add
St
ep4:Ac
t
i
va
t
ec
hang
es
How to check Node manager status from console:
Wec
a
n
tSt
ar
tNodemanage
rf
r
om c
o
ns
ol
e
St
ep1:Cl
i
c
ko
nma
c
hi
nes
St
ep2:Sel
ec
tm1
St
ep3:Cl
i
c
ko
nmo
ni
t
or
i
ng
Clone:I
tc
r
ea
t
e
sot
he
rs
er
verwi
t
hs
amepr
o
per
t
i
e
s
.
wec
anc
l
ones
er
ver
smac
hi
nesa
ndc
l
us
t
er
s
.
wes
houl
dnotc
l
us
t
e
rmanag
eds
er
ve
rwhi
l
et
hes
er
ve
ri
sr
unni
ng
.
>bo
ot
.
pr
ope
r
t
i
es
i
tc
ont
ai
nsus
er
na
meandpas
s
wor
d
>De
ve
l
opme
ntmo
de
a
ut
o
ma
t
i
c
a
l
l
yc
r
eat
esbo
ot
.
pr
o
pe
r
t
i
e
sf
i
l
e
>Pr
oduc
t
i
onmodeweha
vet
oc
r
ea
t
ebo
ot
.
pr
o
pe
r
t
i
e
sf
i
l
e
.
>s
e
t
Domai
nEnvwec
a
nc
hanget
hemodef
r
om devel
o
pme
ntt
opr
o
duc
t
i
o
no
rpr
o
duc
t
i
o
nt
ode
ve
l
o
pme
ntmo
de
do
i
ngc
ha
ng
e
si
nt
hi
sf
i
l
e
.
Different between development mode and production mode
Development mode
Production mode
1) The def
a
ul
tJ
DK f
or deve
l
opment
1)Thede
f
a
ul
tJ
DKf
o
rpr
o
duc
t
i
o
ndo
ma
i
n
do
ma
i
n
i
sJRo
c
ke
t
.
i
sSunHot
Sopt
.
(
SunJdk)
2)I
ti
sus
e
d de
mo c
e
r
t
i
f
i
c
a
t
ef
o
rSSL a
2)I
tus
e
sdemoc
er
t
i
f
i
c
at
ef
o
rSSL
wa
r
ni
ng
i
sdi
s
pl
a
ye
d.
3) I
nt
hi
s mo
de Aut
o depl
oyme
nt i
s
3) I
n t
hi
s mo
de Aut
o de
pl
o
yme
nt i
s
enabl
ed.
di
s
abl
ed.
4)Ser
ve
ri
ns
t
anc
esr
o
t
at
et
hei
rl
o
gf
i
l
eson4)Ser
ve
ri
ns
t
a
nc
e
ss
t
a
t
e
st
he
i
rl
o
gf
i
l
e
s
s
t
ar
t
up.
when
5)Admi
ns
er
verus
esana
ut
omat
i
c
al
l
y
i
tr
ea
c
he
s5Mb
c
r
e
at
e
dboo
t
.
pr
oper
t
i
esdur
i
ngs
t
a
r
t
up.5)Admi
ns
e
r
ve
rpr
o
mptf
o
rus
e
r
na
me
6) The def
a
ul
t maxi
mum c
apa
c
i
t
yf
or andpa
s
s
wo
r
ddur
i
ngs
t
a
r
t
up.
JDBC
6)Thede
f
a
ul
tma
xi
mum c
a
pa
c
i
t
yf
o
rJ
DBC
Dat
as
our
c
ei
s15.
Da
t
as
o
ur
c
ei
s25.
7)Thedebugf
l
a
gwhi
c
hi
sus
edt
os
t
a
r
t 7)Thede
bugf
l
a
gwhi
c
hus
e
dt
os
t
a
r
t
We
bl
ogi
c wor
ks
hop debug
ger i
s
We
bLo
g
i
c wo
r
ks
ho
p de
bug
g
e
ri
s
enabl
ed.
di
s
abl
ed.
Deployments
Deployment an application involves the following tasks:
Preparing: Cho
os
i
ngweat
hert
opa
c
ka
get
hea
ppl
i
c
a
t
i
o
na
sa
na
r
c
hi
ve
df
i
l
eo
rke
e
pi
na
ne
xpl
o
de
ddi
r
e
c
t
o
r
y.
Configuring: Cr
ea
t
i
ngade
pl
o
ymentpl
ant
omai
nt
ai
nt
hec
o
nf
i
g
ur
a
t
i
o
nc
ha
ng
e
swi
t
ho
utc
ha
ng
e
st
hede
pl
o
yme
ntde
s
c
r
i
pt
o
r
s
.
Deploying: Tar
get
i
nganddi
s
t
r
i
but
i
ngt
heappl
i
c
a
t
i
ont
os
e
r
ve
r
si
na
nOr
a
c
l
e
We
bLo
g
i
c
Se
r
ve
rdo
ma
i
n.
Deploment Methods: WLS(
We
bLogi
cs
c
r
i
pt
i
ng)s
uppo
r
t
st
hr
e
et
ype
so
fde
pl
o
yme
ntme
t
ho
ds
.
1. Aut
odepl
o
yment
2. Cons
ol
edepl
oyme
nt
3. Commandl
i
neDe
pl
oyment
You can deploy:
1. Ent
e
r
pr
i
s
e
,Web,a
ndEJBappl
i
c
a
t
i
ons
2. Webs
er
vi
c
es
3. J2EEl
i
br
a
r
i
e
s
4. JDBC,J
MSa
ndDi
a
gno
s
t
i
cFr
a
me
wo
r
kmo
dul
es
5. Res
o
ur
c
ea
da
pt
e
r
s
6. Opt
i
o
na
lpac
kag
es
7. Cl
i
enta
ppl
i
c
a
t
i
o
na
r
c
hi
ve
s
Applications and EJBs can be deployed:
1. I
nanar
c
hi
ve
df
i
l
e(
.
ear
,.
war
,.
j
ar
)
2. I
nanexpl
ode
d(
ope
n)
di
r
e
c
t
o
r
yf
o
r
mat
Archive Files: Ther
ear
et
hr
e
ea
r
c
hi
vef
i
l
est
odepl
o
yedi
nOr
a
c
l
eWe
bLo
g
i
cSe
r
ve
r
.
1
)JAR(Java Archive): Ja
ri
sj
a
vaar
c
hi
vef
i
l
e
.I
tc
ont
a
i
nsa
l
lc
l
a
s
sf
i
l
e
,i
ma
g
e
,s
o
unda
ndo
t
he
rf
i
l
e
swhi
c
hwi
l
lne
e
de
di
nwho
l
ea
ppl
i
c
a
t
i
o
n.
Comput
erus
e
r
sc
a
nc
r
ea
t
eore
xt
r
ac
tJARf
i
l
e
sus
i
ngt
hej
a
rc
o
mma
ndt
ha
tc
o
me
swi
t
ht
heJ
DK.The
yc
a
na
l
s
ous
ez
i
pt
o
o
l
s
.TheJ
a
va
TM
Ar
c
hi
ve(
JAR)f
i
l
ef
o
r
matenabl
esyo
ut
obundl
emul
t
i
pl
ef
i
l
e
si
nt
oas
i
ng
l
ea
r
c
hi
vef
i
l
e
.
j
a
rwa
sde
s
i
g
ne
dma
i
nl
yt
of
a
c
i
l
i
t
a
t
et
hepa
c
ka
g
i
ngo
fj
a
va
a
ppl
et
sora
ppl
i
c
a
t
i
o
nsi
nt
oas
i
ngl
ear
c
hi
ve
.
Creating Jar File:
j
a
rc
vf f
i
l
ename.
j
ar
.

Extracting Jar file:


Jar xvff
i
l
e
na
me
.
j
a
r
2) WAR(web Archive): We
bAr
c
hi
ve(
WAR)f
i
l
ei
saJ
a
vaa
r
c
hi
vef
i
l
eus
e
dt
os
t
o
r
ej
s
p,
s
e
r
vl
e
t
s
,c
l
a
s
s
e
s
,
me
t
ada
t
ai
nf
o
r
ma
t
i
o
n,
i
ma
g
e
sa
nd
Soundandt
agl
i
br
ar
i
eset
c
.I
ti
ss
t
andar
df
i
l
eext
ens
i
o
ni
s.
wa
r
.
WARf
i
l
e
sa
r
eus
e
dt
opa
c
ka
g
eWe
bmo
dul
e
s
.
AWARf
i
l
ei
sf
o
raWe
ba
ppl
i
c
a
t
i
o
n
depl
oyedt
oas
er
vl
e
t
/j
s
pengi
ne
.
Creating war File:
j
a
rc
vf f
i
l
ename.
wa
r
.

Extracting Jar file:


j
a
rxvff
i
l
e
name
.
wa
r
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

5/29

6/9/15

Middleware Administration : Weblogic material

3) Ear(Enterprise Archive): AnEnt


e
r
pr
i
s
eAr
c
hi
vef
i
l
er
e
pr
e
s
e
nt
saJ
2EEa
ppl
i
c
a
t
i
o
nt
ha
tc
a
nbede
pl
o
ye
di
naWe
bSphe
r
ea
ppl
i
c
a
t
i
o
n
s
e
r
ver
.EARf
i
l
esar
es
t
anda
r
dJa
vaar
c
hi
vef
i
l
e
sa
ndha
vet
hef
i
l
ee
xt
e
ns
i
o
n.
e
a
r
.EARf
i
l
ec
o
nt
a
i
ne
j
b,we
bo
ra
ppl
i
c
a
t
i
o
nc
l
i
e
ntmodul
e
.
e
a
rf
i
l
e
i
sc
ompl
et
ej
2e
ea
ppl
i
c
at
i
o
nf
i
l
et
ha
tc
ont
ai
nal
l
(
j
a
r+wa
r
)
Creating Ear File:
j
a
rc
vf f
i
l
ename.
ear
.

Extracting Ear file:


Jar xvff
i
l
e
na
me
.
ea
r
I
ns
hotwec
ans
a
y
EAR=WAR(
Webmodul
e
)+JAR(
c
anbeEJBmo
dul
eora
ppl
i
c
a
t
i
o
nc
l
i
e
ntmo
dul
e
)
Deployment Tools: Se
ver
almet
ho
dsar
eavai
l
abl
et
ode
pl
o
yt
heOr
a
c
l
eWe
bLo
g
i
cSe
r
ve
ra
ppl
i
c
a
t
i
o
nsa
nds
ha
r
e
dl
i
br
a
r
i
e
s
,
i
nc
l
udi
ng
:
1. Admi
ni
s
t
r
at
i
o
nc
ons
ol
e
2. WebLog
i
cSc
r
i
pt
i
ngTo
ol
(
WLST)
3. WebLog
i
c
.
Depl
oyerj
avac
l
as
s
4. wl
depl
oyAntt
as
k
5. Aut
o
de
pl
o
ymentf
ol
de
r
1
)Auto-deployment: Aut
ode
pl
o
ymenti
same
t
hodf
o
rqui
c
kl
yde
pl
o
yi
nga
na
ppl
i
c
a
t
i
o
nt
oas
t
a
nda
l
o
nes
e
r
ve
r(
Admi
ni
s
t
r
a
t
i
o
nSe
r
ve
r
)f
o
r
e
val
uat
i
onort
es
t
i
ng
.I
ti
sr
e
c
ommendedt
hatt
hi
smet
hodbeus
e
do
nl
yi
nas
i
ng
l
e
s
e
r
ve
rde
ve
l
o
pme
nte
nvi
r
o
nme
nt
.
I
faut
odepl
oymenti
senabl
ed,whe
na
nappl
i
c
a
t
i
o
ni
sc
o
pi
e
di
nt
ot
he\
a
ut
o
de
pl
o
ydi
r
e
c
t
o
r
yo
ft
heAdmi
ni
s
t
r
a
t
i
o
nSe
r
ve
r
,t
he
Admi
ni
s
t
r
at
i
o
nSer
verde
t
e
c
t
st
hepr
e
s
e
nc
eo
ft
henew a
ppl
i
c
a
t
i
o
na
ndde
pl
o
ysi
ta
ut
o
ma
t
i
c
a
l
l
y(
i
ft
heAdmi
ni
s
t
r
a
t
i
o
nSe
r
ve
ri
sr
unni
ng
)
.I
f
WebLogi
cSer
veri
sno
tr
unni
ngwhenyo
uc
opyt
heappl
i
c
a
t
i
o
nt
ot
he\
a
ut
o
de
pl
o
ydi
r
e
c
t
o
r
y,t
hea
ppl
i
c
a
t
i
o
ni
sde
pl
o
ye
dt
henextt
i
met
he
WebLogi
cSer
verAdmi
ni
s
t
r
at
i
o
nSer
veri
ss
t
a
r
t
e
d.
Aut
ode
pl
o
yme
ntde
pl
o
yso
nl
yt
ot
heAdmi
ni
s
t
r
a
t
i
o
nSe
r
ve
r
.
Youc
a
nr
unaWe
bLog
i
cSe
r
ve
rdomai
ni
nt
wodi
f
f
e
r
e
ntmo
de
s
:de
ve
l
o
pme
nta
ndpr
o
duc
t
i
o
n.Onl
yde
ve
l
o
pme
ntmo
deal
l
o
wsyo
uus
e
t
heaut
ode
pl
o
ymentf
eat
ur
e
Devel
opment mo
de enabl
es a WebLo
gi
c Ser
ve
ri
ns
t
a
nc
et
oa
ut
o
ma
t
i
c
a
l
l
y de
pl
o
ya
nd upda
t
ea
ppl
i
c
a
t
i
o
ns t
ha
ta
r
ei
nt
he
domai
n_name
/a
ut
o
depl
oydi
r
e
c
t
o
r
y(
whe
r
edo
ma
i
n_na
mei
st
hena
meo
faWe
bLo
g
i
cSe
r
ve
rdo
ma
i
n)
.
Pr
oduc
t
i
onmodedi
s
a
bl
est
hea
ut
o
depl
oyme
ntf
e
a
t
ur
ea
ndpr
e
ve
nt
sa
nya
ppl
i
c
a
t
i
o
nsyo
upl
a
c
ei
nt
hea
ut
o
de
pl
o
ydi
r
e
c
t
o
r
ya
f
t
e
ryo
u
s
wi
t
c
ht
opr
oduc
t
i
o
nmodef
r
o
m be
i
ngdepl
oyed.Whe
nyo
us
wi
t
c
hf
r
o
m de
ve
l
o
pme
ntmo
det
opr
o
duc
t
i
o
nmo
de
,a
nya
ppl
i
c
a
t
i
o
nst
ha
twe
r
e
pr
evi
ous
l
yde
pl
o
yedvi
at
hea
ut
odepl
oydi
r
ec
t
o
r
yr
ema
i
nde
pl
o
ye
d;i
fyo
uwi
s
ht
ounde
pl
o
yo
rr
e
de
pl
o
ys
uc
ha
ppl
i
c
a
t
i
o
nsa
f
t
e
ryo
uha
ve
s
wi
t
c
hedt
opr
oduc
t
i
onmode,youmus
tunde
pl
o
yorr
ede
pl
o
yt
he
m ma
nua
l
l
y(
f
o
ri
ns
t
a
nc
e
,wi
t
ht
heWe
bLo
g
i
c
.De
pl
o
ye
rc
o
mma
nda
ndt
heundepl
oyorr
edepl
oyopt
i
o
ns
,
asdes
c
r
i
bedi
nWebLogic. Deployer Command-Line Reference)
.
Toa
ut
odepl
oyanar
c
hi
veda
ppl
i
c
a
t
i
o
n,c
opyi
t
sa
r
c
hi
vef
i
l
et
ot
he/
a
ut
o
de
pl
o
ydi
r
e
c
t
o
r
y.We
bLo
g
i
cSe
r
ve
ra
ut
o
ma
t
i
c
a
l
l
ys
e
t
st
he
a
ppl
i
c
at
i
on
sdepl
oyme
ntmo
det
os
t
a
gemo
de
.
Ade
pl
o
ymentuni
tt
hatwa
sa
ut
o
depl
oyedc
anbedyna
mi
c
a
l
l
yr
e
de
pl
o
ye
dwhi
l
et
hes
e
r
ve
ri
sr
unni
ng
.Todyna
mi
c
a
l
l
yr
e
de
pl
o
y,c
o
py
t
henewver
s
i
o
no
ft
hear
c
hi
vef
i
l
eove
rt
heexi
s
t
i
ngf
i
l
ei
nt
he/
a
ut
o
de
pl
o
ydi
r
e
c
t
o
r
y.
Toundepl
oyana
r
c
hi
ve
ddepl
oyme
ntuni
tt
ha
twa
sa
ut
o
de
pl
o
ye
d,de
l
e
t
et
hea
ppl
i
c
a
t
i
o
nf
r
o
mt
he/
a
ut
o
de
pl
o
ydi
r
e
c
t
o
r
y.We
bLo
g
i
c
Ser
ve
rs
t
opst
heappl
i
c
at
i
onandr
e
mo
ve
si
tf
r
om t
hec
onf
i
g
ur
a
t
i
o
n.
2) Console Deployment: I
fwedepl
o
ya
na
ppl
i
c
a
t
i
o
ni
nc
o
ns
o
l
ede
pl
o
yme
ntf
i
r
s
twec
r
e
a
t
edo
ma
i
n,
a
nds
t
a
r
tt
heAdmi
ns
e
r
ve
r
.
Console deployment steps:
St
ep1:Cl
i
c
ko
nDepl
o
yme
nt
s
2:Cl
i
c
ko
nLoc
kAndEdi
t
3:Cl
i
c
ko
nI
ns
t
al
l
4:Sel
ec
tLo
c
a
t
i
onDe
pl
oye
dAppl
i
c
at
i
on
5:Cl
i
c
ko
nNe
xt
6:Choos
eTar
get
i
ngSt
yl
e
Sel
ec
tI
ns
t
a
l
lt
hi
sde
pl
o
ymenta
sa
na
ppl
i
c
a
t
i
o
n
7:Cl
i
c
ko
nNe
xt
8:Sel
ec
tDe
pl
oymentTar
get
s
Admi
ns
e
r
ver or Cl
us
t
er
9:Cl
i
c
ko
nNe
xt
10:Se
l
ec
ts
ec
ur
i
t
yr
ul
e
sa
ndpo
l
i
c
i
es
Se
l
ec
tDDo
nl
y
Se
l
ec
tSt
ag
eo
rNoSt
ag
eMo
de
11
:Cl
i
c
konNext
12:Cl
i
c
ko
nFi
ni
s
h
13: Click on Activate Changes
Youc
ant
es
tyourappl
i
c
a
t
i
onf
r
om wi
t
hi
nt
heAdmi
ni
s
t
r
a
t
i
veCo
ns
o
l
ebyf
o
l
l
o
wi
ngt
hes
t
e
psbe
l
o
w:
1. In the Domain Structure section of the console, click 'Deployments'.
2. In the Summary of Deployments page, click on the name of the deployed Web application.
3. Select the 'Test' tab. Here, you'll find the URL to the deployed Web application. Click the link to launch it in a separate browser window.
Table of Deployable Modules:
Application or Module

Archive Extension Key J2EE Deployment Descriptor

Enterprise Application

.ear

META-INF/application.xml

Enterprise JavaBean Module .jar

META-INF/ejb-jar.xml

Web Application

.war

WEB-INF/web.xml

Web Service

.ear or .war

WEB_INF/web-services.xml

Connector Module

.rar

META-INF/ra.xml

Startup or Shutdown Class

n/a

No deployment descriptor (Class file only)

WebLogi
cs
er
verpr
ovi
de
st
hr
eedi
f
f
e
r
entmodesf
o
rs
t
ag
i
nga
r
c
hi
vef
i
l
e
s
.
1)St
a
gemo
de 2)Nos
t
ag
emode
3)Ext
e
r
nals
t
a
g
emo
de
1) Stage mode: Theadmi
ni
s
t
r
a
t
o
rs
er
verc
o
pi
e
st
hede
pl
o
yme
ntuni
tf
i
l
e
st
ot
hes
t
a
g
i
ngdi
r
e
c
t
o
r
i
e
so
ft
a
r
g
e
ts
e
r
ve
r
sa
ndt
he
ya
r
ede
pl
o
ye
d
us
i
ngl
oc
alc
opy.
1.Thi
smodei
sus
ef
ulwhe
nde
pl
o
yi
ngs
mal
lormo
de
r
at
es
i
z
ea
ppl
i
c
a
t
i
o
nsa
ndpr
e
ve
nt
sha
vi
ngas
i
ng
l
epo
i
nto
ff
a
i
l
ur
ei
ft
heo
r
i
g
i
nalc
o
pyi
sno
t
ac
c
es
s
i
bl
e
.
2. Thi
si
st
hedef
a
ul
ts
t
agi
ngmo
def
ormana
ge
ds
er
ver
.
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

6/29

6/9/15

Middleware Administration : Weblogic material

2) No-stage mode: Thedepl


o
ymentuni
t
sa
r
ede
pl
o
yedus
i
ngt
hes
a
mephys
i
c
a
l
c
o
py,
whi
c
hmus
tbea
c
c
e
s
s
i
bl
ebyt
heAdmi
ni
s
t
r
a
t
o
rs
e
r
ve
r
a
ndt
ar
gets
er
ver
s
.
1. Theadmi
ni
s
t
r
a
t
ors
e
r
verdoe
snotc
opyt
hede
pl
o
ymentuni
tf
i
l
e
st
ot
het
a
r
g
e
ts
e
r
ve
r
.
2. Thi
smodei
sus
ef
ulwhe
ndepl
oyi
ngve
r
yl
ar
gede
pl
o
yme
nt
st
omul
t
i
pl
et
a
r
g
e
t
sa
ndf
o
rde
pl
o
yme
ntt
ha
tr
e
qui
r
edyna
mi
cupda
t
e
s
.
3. Thi
si
st
hedef
a
ul
ts
t
agi
ngmo
def
ort
heAdmi
ni
s
t
r
at
o
rs
e
r
ve
r
.
3) External stage mode: I
nt
heExt
er
nals
t
a
gemodeyo
umus
tc
o
pyt
hede
pl
o
yme
ntuni
t
sma
nua
l
l
yt
ot
hec
o
r
r
e
c
ts
t
a
g
i
ngdi
r
e
c
t
o
r
i
e
sbe
f
o
r
e
depl
oyment
s
.
1.Us
et
hi
ss
t
ag
i
ngmodef
o
rdepl
oyme
nt
swher
eyouwantt
oma
nua
l
l
yc
o
nt
r
o
l
t
hedi
s
t
r
i
but
i
o
no
fde
pl
o
yme
ntf
i
l
e
st
ot
a
r
g
e
ts
e
r
ve
r
s
.
2.Thismodepr
event
sde
pl
o
ymenti
nf
or
ma
t
i
o
nbeg
i
nni
ngdyna
mi
c
a
l
l
yupda
t
e
d.I
nt
hi
sc
a
s
et
hea
dmi
ni
s
t
r
a
t
i
o
ns
e
r
ve
ra
c
c
e
s
st
heo
r
i
g
i
na
l
depl
oyme
ntuni
tf
o
rval
i
dat
i
on.
3) Command Line Deployment:
i) Java WebLogic.Deployer: We
bLog
i
c
.
Depl
oyeri
saJava
ba
s
e
d de
pl
o
yme
ntt
o
o
lt
ha
tpr
o
vi
de
sac
o
mma
ndl
i
nei
nt
e
r
f
a
c
et
ot
heWe
bLo
g
i
c
Ser
ve
rdepl
oyme
ntAPI
.WebLog
i
c
.
De
pl
o
yeri
si
nt
ende
df
o
ra
dmi
ni
s
t
r
a
t
o
r
sa
ndde
ve
l
o
pe
r
swhowa
ntt
ope
r
f
o
r
mi
nt
e
r
a
c
t
i
ve
,c
o
mma
ndl
i
ne
bas
edde
pl
oymento
pe
r
at
i
ons
.
Tos
etupyourenvi
r
onme
ntt
ous
et
heWebLo
gi
c
.
Depl
oye
rut
i
l
i
t
y:
1. I
ns
t
al
landc
onf
i
g
ur
et
heWebLo
gi
cSe
r
vers
of
t
war
e
,asde
s
c
r
i
be
di
nt
heWe
bLo
g
i
cSe
r
ve
rInstallation Guide.
2. Addt
heWe
bLog
i
cSer
ve
rc
l
as
s
est
ot
heCLASSPATH e
nvi
r
o
nme
ntva
r
i
a
bl
e
,a
nde
ns
ur
et
ha
tt
hec
o
r
r
e
c
tJ
DK bi
na
r
i
e
sa
r
ea
va
i
l
a
bl
ei
n
yourPATH.Yo
uc
anus
et
hes
e
t
Domai
nEnv.
c
md[
s
e
t
WLSEnv.
s
ho
r
s
e
t
WLSEnv.
c
md]s
c
r
i
pt
,l
o
c
a
t
e
di
nt
hes
e
r
ve
r
/
bi
ns
ubdi
r
e
c
t
o
r
yo
f
t
heWe
bLogi
cSer
veri
ns
t
al
l
at
i
ondi
r
ec
t
or
y,t
os
ett
hee
nvi
r
o
nme
nt
.
3. I
fyouar
ec
o
nnec
t
i
ngt
oanAdmi
ni
s
t
r
at
i
o
nSer
ve
rvi
aac
o
nf
i
g
ur
e
dAdmi
ni
s
t
r
a
t
i
o
nc
ha
nne
l
,yo
umus
ta
l
s
oc
o
nf
i
g
ur
eSSLo
nt
hema
c
hi
neo
n
whi
c
h you r
unWebLog
i
c
.
Depl
oyer
.SeeSe
eUsing the SSL Protocol to Connect to WebLogic Server from WebLogic.Admin i
n Ma
na
g
i
ng
WebLo
gi
cSe
c
ur
i
t
yf
o
ri
ns
t
r
uc
t
i
onsa
bo
utc
onf
i
g
ur
i
ngSSL.
Deploy:
Syntax: java WebLogic.Deployer [-adminurl] [specifiedurl(t3://localhost:7001)] [-username] [username]
[
pas
s
wor
d][
pas
s
wor
d][
na
me
][
appna
me
][
s
o
ur
c
e][
a
pps
o
ur
c
epa
t
h][
t
a
r
g
e
t
s
][
t
a
r
g
e
t
ss
e
r
ve
r
s
]de
pl
o
y
Ex:java WebLogic.Deployer -adminurl t3://localhost:7001 username WebLogic -password WebLogic
namebenef
i
t
ss
our
c
eC:
\c
our
s
e
\l
a
bs
\
La
b08\
exe
r
c
i
s
e\
a
ppl
i
c
a
t
i
o
ns
\
be
ne
f
i
t
s
.
wa
rt
a
r
g
e
t
sms
1
,
ms
2de
pl
o
y
Redeploy:
Syntax: j
avaWebLog
i
c
.
De
pl
oyer[
a
dmi
nur
l
][
s
pe
c
i
f
i
edur
l
(
t
3:
/
/
l
o
c
a
l
ho
s
t
:
7
001
)
][
us
e
r
na
me
][
us
e
r
na
me
]
[
pas
s
wor
d][
pas
s
wor
d][
na
me
][
appna
me
][
t
a
r
g
et
s
][
t
a
r
g
e
t
ss
e
r
ve
r
s
]r
e
de
pl
o
y
Ex:java WebLogic.Deployer -adminurl t3://localhost:7001 username WebLogic -password WebLogic -name benefits -targets ms1, ms2 -redeploy
Undeploy:
Syntax: j
avaWebLo
gi
c
.
De
pl
o
yer[
admi
nur
l
][
s
pec
i
f
i
e
dur
l
(
t
3:
/
/
l
o
c
a
l
ho
s
t
:
7
001
)
][
us
e
r
na
me
][
us
e
r
na
me
][
pa
s
s
wo
r
d][
pa
s
s
wo
r
d][
na
me
]
[
appname][
t
ar
g
et
s
][
t
ar
ge
t
ss
er
ver
s
]unde
pl
o
y
Ex: java WebLogic.Deployer -adminurl t3://localhost:7001 username WebLogic -password WebLogic -name benefits -targets ms1, ms2 -undeploy
To display list of applications:
Syntax: j
avaWe
bLog
i
c
.
Depl
oyer[
a
dmi
nur
l
][
s
pe
c
i
f
i
edur
l
(
t
3:
/
/
l
o
c
a
l
ho
s
t
:
7
001
)
][
us
e
r
na
me
][
us
e
r
na
me
]
[
pas
s
wor
d][
pas
s
wor
d]l
i
s
t
apps
Ex: java WebLogic.Deployer -adminurl t3://localhost:7001 username WebLogic -password WebLogic -listapps
To display list tasks:
Syntax:j
avaWe
bLogi
c
.
Depl
oye
r[
admi
nur
l
][
s
pec
i
f
i
e
dur
l
(
t
3:
/
/
l
o
c
a
l
ho
s
t
:
7
001
)
][
us
e
r
na
me
][
us
e
r
na
me
]
[
pas
s
wor
d][
pa
s
s
wor
d][
l
i
s
t
t
a
s
ks
]
Ex:java WebLogic.Deployer -adminurl t3://localhost:7001 username WebLogic -password WebLogic
l
i
s
t
t
as
ks
To check the server status:
Syntax: j
avaWe
bLog
i
c
.
Depl
oyer[
a
dmi
nur
l
][
s
pe
c
i
f
i
edur
l
(
t
3:
/
/
l
o
c
a
l
ho
s
t
:
7
001
)
][
us
e
r
na
me
][
us
e
r
na
me
]
[
pas
s
wor
d][
pas
s
wor
d][
GETSTATE][
s
er
ve
rname]
Ex: java WebLogic.Deployer -adminurl t3://localhost:7001 username WebLogic -password WebLogic GETSTATE ms1
WebLogic Scripting Tool(WLST): Wl
s
ti
saki
ndofs
c
r
i
pt
i
ngt
o
o
l
whi
c
hi
sac
o
mbi
na
t
i
o
no
fj
yt
ho
na
ndpyt
ho
nl
a
ng
ua
g
e
.
The WebLogic Scripting Tool (WLST) is a command-line scripting environment that you can use to create, manage, and monitor WebLogic Server domains. It
is based on the Java scripting interpreter, Jython. In addition to supporting standard Jython features such as local variables, conditional variables, and flow control
statements, WLST provides a set of scripting functions (commands) that are specific to WebLogic Server.
You can use WLST as the command-line equivalent to the WebLogic Server. Administration Console (WLST online) or as the command-line equivalent to the
Configuration Wizard (WLST offline).
Thr
eet
ypesofmo
des:1
)I
nt
e
r
ac
t
i
vemode.
2)Sc
r
i
pt
i
ng3)Embe
dde
d.
Interactive mode, in which you enter a command and view the response at a command-line prompt, is useful for learning the tool, prototyping command syntax, and
verifying configuration options before building a script. Using WLST interactively is particularly useful for getting immediate feedback after making a critical configuration
change. The WLST scripting shell maintains a persistent connection with an instance of WebLogic Server.
Script Mode: Scripts invoke a sequence of WLST commands without requiring your input, much like a shell script. Scripts contain WLST commands in a text file with
a .py file extension, for example, filename.py. You use script files with the Jython commands for running script.
Embedded mode, you instantiate the WLST interpreter in your Java code and use it to run WLST commands and scripts. All WLST commands and variables that you
use in interactive and script mode can be run in embedded mode. Wedo
n
tus
et
hi
smo
deg
e
ne
r
a
l
l
y.
Toi
nvo
ket
hewl
s
tgot
oC:
/bea9/WebLogic91/common/bin/wlst.cmd a
nde
xe
c
ut
ewlst.cmd
You can use WLST as the command-line equivalent to the WebLogic Server Administration Console (WLST online) or as the command-line equivalent to the
Configuration Wizard (WLST offline).
Offline: Without connecting to a running WebLogic Server instance, you can use WLST to create domain templates, create a new domain based on existing
templates, or extend an existing, inactive domain. You cannot use WLST offline to view performance data about resources in a domain or modify security data (such
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

7/29

6/9/15

Middleware Administration : Weblogic material

as adding or removing users).


Online: You can use WLST to connect to a running Administration Server and manage the configuration of an active domain, view performance data about resources
in the domain, or manage security data (such as adding or removing users). You can also use WLST to connect to Managed Servers, but you cannot modify
configuration data from Managed Servers.
Di
s
pl
a
yhel
pi
nf
or
mat
i
o
nf
orWLSTc
o
mma
ndsbye
nt
e
r
i
ngt
hehe
l
pc
o
mma
nd:
hel
p(

onl
i
ne
)
hel
p(

of
f
l
i
ne
)
wl
s
:
/of
f
l
i
ne>hel
p(
)
WLSTi
sac
ommandl
i
nes
c
r
i
pt
i
ngt
oo
lt
oc
o
nf
i
gur
eanda
dmi
ni
s
t
e
rWe
bLo
g
i
cSe
r
ve
r
.
Toi
nvo
ket
hewl
s
tgot
o/bea/WebLogic91/common/bin /wlst.cmd a
nde
xe
c
ut
ewlst.cmd
Connect to WLST:
St
ep1:Setc
l
a
s
spat
hf
i
r
s
t(
C:
\bea
9\us
e
r
_pr
o
j
ec
t
s
\
do
ma
i
ns
\
r
a
m_do
ma
i
n\
bi
n\
Se
t
Do
ma
i
nEnv.
c
md)
St
ep2:ent
erWLST.
c
md(
C:
\bea9\WebLo
gi
c
91
\c
o
mmo
n\
bi
n\
WLST.
c
md)
I
ns
t
al
l
i
ngWLSTandgot
oof
f
l
i
nemo
de.
St
ep3:c
onnec
t
(

us
e
r
name
,

pas
s
wor
d
,

ur
l

) ent
er
Ex:c
onne
c
t
(

We
bLog
i
c

We
bLog
i
c

t
3:
//
l
oc
a
l
hos
t
:
9001

)
Toc
onnec
tt
ot
hedo
mai
ns
pec
i
f
i
edpo
r
tnumber
.
Andgot
oo
nl
i
nemo
de
.
Wl
s
:
/r
am_doma
i
n/
s
er
ve
r
Co
f
i
g>
St
ep4:e
di
t
(
)
St
ep5:s
t
ar
t
Edi
t
(
)
Yougot
oe
di
tmodea
nddepl
oyanappl
i
c
a
t
i
ona
f
t
ert
hi
s
.
St
ep6:depl
oyanappl
i
c
at
i
on
Syntax: depl
oy(

appname
,

apppat
h
,
t
a
r
g
et
s
=
s
er
ver
s

)
St
ep7:a
c
t
i
vat
e(
)
St
ep8:di
s
c
onnec
t
(
) di
s
c
onnec
tandc
omet
oof
f
l
i
nes
t
at
e
.
St
ep9:e
xi
t
(
)c
omeoutt
ot
heWLST.
Deploying a file using WLST in different ways: I
nt
hi
swa
yst
ode
pl
o
ya
na
ppl
i
c
a
t
i
o
nbyus
i
ngs
c
r
i
ptba
s
e
d.
a) java WebLogic.WLST
Syntax: j
avaWe
bLog
i
c
.
WLST pa
t
hofs
c
r
i
pt
Ex:j
avaWebLog
i
c
.
WLST C:
\s
c
r
i
pt
s
\
de
pl
o
y.
py
Example script:
pr
i
nt
*******
***
**
***
**
***
***
**
***
**
**
***
**
***
**
***
*
*
*
*
*
*
*
*
*
*
*
*
*
*
'
c
o
nne
c
t
(
'
WebLog
i
c
'
,
'
WebLog
i
c
'
,
'
t
3:
//l
oc
a
l
ho
s
t
:
9001
'
)
pr
i
nt'
*****
**
***
**
***
**
***
***
**
***
**
***
**
**
***
**
***
*
*
*
*
*
*
*
*
*
*
*
*
*
*
'
e
di
t
(
)
pr
i
nt'
*****
**
***
**
***
**
***
***
**
***
**
***
**
**
***
**
***
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
'
s
t
a
r
t
Edi
t
(
)
pr
i
nt'
*****
**
***
**
***
**
***
***
**
***
**
***
**
**
***
**
***
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
'
pr
i
nt'
*****
**
***
**
***
**
***
***
**
***
**
***
**
**
***
**
***
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
'
depl
oy(
'
Sho
ppi
ng
Ca
r
t
'
,
'
C:
/c
o
ur
s
e/l
abs
/Lab25/exer
c
i
s
e/a
ppl
i
c
a
t
i
o
ns
/
Sho
ppi
ng
Ca
r
t
.
wa
r
'
,
t
a
r
g
e
t
s
="
ms
1
,
ms
2"
)
pr
i
nt'
*****
**
***
**
***
**
***
***
**
***
**
***
**
**
***
**
***
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
'
s
a
ve(
)
pr
i
nt'
*****
**
***
**
***
**
***
***
**
***
**
***
**
**
***
**
***
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
'
a
c
t
i
va
t
e(
)
pr
i
nt'
*****
**
***
**
***
**
***
***
**
***
**
***
**
**
***
**
***
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
'
di
s
c
onne
c
t
(
)
b) WLST.cmd script path
Syntax: WLST.
c
md s
c
r
i
ptpat
h
Ex:WLST.
c
md C:
\
s
c
r
i
pt
s
\
depl
oy.
py
3)WLST.
c
md
Syntax: WLST.
c
md
Wl
s
:
/of
f
l
i
ne
>e
xe
c
f
i
l
e(

C:
\
s
c
r
i
pt
s
\depl
oy.
py
)
iii) Side by Side Deployment: Us
i
ngs
i
debys
i
dede
pl
o
yme
nts
t
r
a
t
e
g
y,t
heus
e
rc
a
ne
xpe
r
i
e
nc
eho
wt
ous
et
heWe
bLo
g
i
cs
e
r
ve
rt
or
e
depl
oyanew ver
s
i
o
no
fpr
o
duc
t
i
onappl
i
c
at
i
onwi
t
houti
nt
e
r
r
upt
i
ngt
hea
va
i
l
a
bi
l
i
t
yo
ft
hea
ppl
i
c
a
t
i
o
nt
one
wc
l
i
e
ntr
e
que
s
t
.
Thewa
yt
hene
w
c
l
i
entget
sc
onne
c
t
e
dt
ot
hene
w ver
s
i
o
no
ft
heappl
i
c
at
i
ona
ndt
hepr
e
vi
o
usve
r
s
i
o
no
ft
hea
ppl
i
c
a
t
i
o
ni
ss
t
i
l
li
nus
ebyt
heo
l
de
rc
l
i
ent
sa
ndg
e
t
s
r
e
t
r
i
vedaf
t
ert
hec
l
i
entdi
s
c
onnec
t
s
.
St
eps:
St
ep1.Copybe
ne
f
i
t
s
.
wari
nnewf
ol
deranddepl
o
y
St
ep2.s
et
Domai
nEnv.
c
md
St
ep3:j
a
vaWebLog
i
c
.
Depl
o
yera
dmi
nur
lt
3:
//
l
oc
al
hos
t
:
7
001us
e
r
na
meWe
bLo
g
i
cpa
s
s
wo
r
d We
bLo
g
i
cna
mebe
ne
f
i
t
s
s
o
ur
c
e<app_l
oc
a
t
i
o
n>\bene
f
i
t
s
.
warno
s
t
aget
ar
ge
t
sms
1
,
ms
2de
pl
o
y
a
ppver
s
i
onver
s
i
on1
St
ep4.
Copybene
f
i
t
s
.
wari
nt
oanot
herf
o
l
de
r
(
new_war
)a
nde
xt
r
a
c
t
j
arxvfbe
ne
f
i
t
s
.
war
St
ep5:Edi
twe
l
c
o
mef
i
l
ecolor:navy r
e
pl
a
c
enavywi
t
hColor:green
St
ep:
6Save
St
ep7:j
a
rc
vfbenef
i
t
s
.
war*(
or
)j
arc
vfbe
nef
i
t
s
.
wa
r
.

St
ep8:Del
e
t
eal
l
f
i
l
e
se
xc
e
ptbe
ne
f
i
t
s
.
wa
r
St
ep9:Nowde
pl
o
ybenef
i
t
s
.
war
:j
a
vaWebLog
i
c
.
Depl
oyera
dmi
nur
lt
3:
//
l
oc
al
hos
t
:
7001us
e
r
na
meWe
bLo
g
i
cpa
s
s
wo
r
d We
bLo
g
i
cna
mebe
ne
f
i
t
s
s
o
ur
c
e<Ne
w_app_l
oc
at
i
o
n>\be
ne
f
i
t
s
.
warnos
t
aget
ar
g
e
t
sms
1
,
ms
2de
pl
o
y
a
ppver
s
i
onver
s
i
on1
St
ep10:Te
s
tt
hea
ppl
i
c
a
t
i
o
n ver
s
i
o
n1be
f
or
ever
s
i
o
n2de
pl
o
y.Af
e
t
rve
r
s
i
o
n2 de
pl
o
yt
e
s
tt
hea
ppl
i
c
a
t
i
o
nt
os
e
et
hedi
f
f
e
r
e
nc
e
.ve
r
s
i
o
n1
a
ppl
i
c
at
i
oni
si
nr
et
r
i
eds
t
at
e
.
IV) Deployment using plan:
St
eps
:
1. St
ar
tyoura
dmi
ni
s
t
r
at
i
ons
er
vera
ndmanage
ds
er
ve
r
s
,
i
fno
ta
l
r
e
a
dys
t
a
r
t
e
d.
I
fpr
o
mpt
e
d,
e
nt
e
ryo
urdo
ma
i
n'
sa
dmi
ni
s
t
r
a
t
i
veus
e
r
na
me
a
ndpa
s
s
wor
d.
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

8/29

6/9/15

Middleware Administration : Weblogic material

2. Download the deploy_plan.zip file that contains the sample Web application and WLST script listed below:
HRApp.
war
depl
oy_HRApp.
py
Ext
r
ac
ta
ndpl
a
c
ebo
t
hf
i
l
eswi
t
hi
nt
hes
a
medi
r
ec
t
or
yo
nyo
url
o
c
a
l
f
i
l
es
ys
t
e
m.
Thi
sl
o
c
a
t
i
o
nwi
l
l
ber
e
f
e
r
r
e
dt
oa
s<APP_HOME> i
nl
a
t
e
r
s
t
eps
.
l
,Navi
ga
t
et
ot
hedi
r
e
ct
or
y<I
NSTALL_HOME>/
wl
s
e
r
ve
r
_1
0.
3/
s
e
r
ve
r
/
bi
nwhe
r
e<I
NSTALL_HOME>i
st
hel
oc
a
t
i
onofyour
3. Openanewcommandshel
Or
a
c
l
eWe
bLogi
cSe
r
ve
ri
ns
t
al
l
at
i
on.

4.
Exec
ut
et
hesetWLSEnv s
c
r
i
pt
.
Fo
re
xampl
e,
onLi
nux,
t
ypet
hef
o
l
l
o
wi
ng
:
source setWLSEnv.sh
5. Cha
ngedi
r
e
c
t
o
r
i
e
st
oyour<APP_HOME> f
o
l
de
r(
t
hel
o
c
a
t
i
o
no
ft
hedo
wnl
o
a
de
dWLSTs
c
r
i
pta
nds
a
mpl
ea
ppl
i
c
a
t
i
o
n)
.
6. Exe
c
ut
et
hedeploy_HRApp.py s
c
r
i
ptus
i
ngWLST:
java WebLogic.WLST deploy_HRApp.py
Tip: If your domain's administrative credentials are not admin/welcome1, you will need to first edit this script file and change these values.
Tip: Make sure you have not locked the administration console prior to running this script.
7. Conf
i
r
mt
ha
tt
hea
ppl
i
c
at
i
o
nhasbe
endepl
o
yedt
ot
hems
1s
e
r
ve
r
.
Di
r
e
c
taWe
bbr
o
ws
e
rt
ot
hef
o
l
l
o
wi
ngURL:
http://localhost:7003/HRApp
Generating a Deployment Plan for an Application:
Per
f
or
mt
hef
o
l
l
o
wi
ngs
t
e
ps
:
1. Return to the same command shell used to run the WLST script. Confirm that the current directory is still <APP_HOME>.
2. Exec
ut
et
heWebLogic.PlanGenerator t
o
ol
ont
heHRApp.war a
ppl
i
c
a
t
i
o
n:
java WebLogic.PlanGenerator -all HRApp.war
3. Yous
houl
dr
ec
e
i
veame
s
s
a
ges
i
mi
l
a
rt
ot
hef
ol
l
owi
ng
:
<Saved configuration for application, HRApp.war>
Editing a Deployment Plan:
Per
f
or
mt
hef
o
l
l
o
wi
ngs
t
e
ps
:
1. Loc
a
t
et
he<APP_HOME>/plan.xml f
i
l
e,
ando
peni
ti
nat
e
xte
di
t
o
r
.
2. Loc
a
t
et
hef
o
l
l
owi
ng<variable> el
e
ment
:
<variable>
<name>WebLogicWebApp_ContextRoots_xxxxxxxxxxxxxx</name>
<value xsi:nil="true"></value>
</variable>
3. Removet
hef
ol
l
owi
ngt
e
xtf
r
om t
he<value> c
hi
l
del
e
me
nt
:
xsi:nil="true"
4. Sett
heva
l
ueoft
he<value> c
hi
l
de
l
ementt
o/HR:
<value>/HR</value>
5. Fut
herdo
wni
nt
hef
i
l
e,
l
oc
a
t
et
hef
o
l
l
owi
ng<variable-assignment> e
l
e
me
nt
:
<variable-assignment>
<name>WebLogicWebApp_ContextRoots_xxxxxxxxxxxxxx</name>
<xpath>/WebLogic-web-app/context-root</xpath>
</variable-assignment>
6. Addanew<operation> c
hi
l
del
ementt
ot
hi
s<variable-assignment>:
<var
i
abl
eas
s
i
gnment
>
<name>WebLo
gi
c
We
bApp_Co
nt
ext
Ro
ot
s
_xxxxxxxxxxxxxx</
na
me
>
<xpat
h>/
We
bLogi
c
webapp/
c
ont
e
xt
r
oo
t
</xpat
h>
<operation>replace</operation>
</var
i
a
bl
e
a
s
s
i
g
nment
>
7. Saveyourc
hang
es
.
Updating an Application with a Deployment Plan:
Per
f
or
mt
hef
o
l
l
o
wi
ngs
t
e
ps
:
1. Launch a Web browser and access your domain's administration console. The default port is
7001:http://localhost:7001/console
2. Logi
nt
ot
hec
o
ns
o
l
eus
i
ngyourdomai
n'
sadmi
ni
s
t
r
a
t
i
veus
e
r
na
mea
ndpa
s
s
wo
r
d.
3. I
nt
heChangeCe
nt
e
rpane
l
,c
l
i
c
kLock & Edit:
4. I
nt
heDo
ma
i
nSt
r
uc
t
ur
epane
l
,c
l
i
c
kDeployments:
Sel
ec
tt
hec
hec
kboxf
ort
heHRApp a
ppl
i
c
a
t
i
o
n,a
ndc
l
i
c
kt
heUpdate but
t
o
n:
Cl
i
c
kt
heChange Path but
t
onas
s
oc
i
at
edwi
t
ht
heDeployment Plan Path f
i
e
l
d
:
7. Sel
ec
tt
her
adi
obut
t
onf
oryournew plan.xml f
i
l
e
,a
ndc
l
i
c
kNext.I
fne
c
e
s
s
a
r
y,
us
et
he hyper
l
i
nks next t
ot
he Current Location f
i
e
l
d t
o br
o
ws
et
o
your<APP_HOME> di
r
e
c
t
o
r
y:
8. Cl
i
c
kt
heFinish but
t
on.
9. I
nt
heChangeCe
nt
e
rpane
l
,c
l
i
c
kt
heActivate Changes but
t
o
n:
10. Verify the new context path of the application. Direct your Web browser to the following
URL:http://localhost:7003/HR
V) wl(WebLogic)deploy Ant task:
St
ep1:Cr
ea
t
e.
xml
f
i
l
e
St
ep2:wr
i
t
es
c
r
i
pti
ni
t
.
St
ep3:exec
ut
ec
o
mma
nd antdepl
oy{
i
fwes
avet
hef
i
l
ena
mea
sbui
l
d.
xml
}
Antff
i
l
ena
me.
xml
{
i
ft
hef
i
l
enamei
sc
r
ea
t
edwi
t
hf
i
l
e
na
me
.
xml
}
VI) Two-Phase Deployment: Thenew t
wo
phas
ede
pl
o
yme
ntpr
o
t
o
c
o
lhe
l
pst
oma
i
nt
a
i
ndo
ma
i
nc
o
ns
i
s
t
e
nc
y.I
npr
e
vi
o
usve
r
s
i
o
nso
f
WebLogi
cSer
ver
,whe
nyoude
pl
o
yeda
na
ppl
i
c
a
t
i
o
n,
t
hea
dmi
ni
s
t
r
a
t
i
o
ns
e
r
ve
rs
e
ntac
o
pyo
ft
hea
ppl
i
c
a
t
i
o
nf
i
l
e
(
s
)t
oa
l
lt
het
a
r
g
e
t
e
ds
e
r
ve
r
s
,
whi
c
ht
he
nl
oa
de
dt
heappl
i
c
at
i
on.I
fde
pl
oyme
ntt
oa
nyo
ft
ho
s
es
e
r
ve
r
sf
a
i
l
e
do
rpa
r
t
i
a
l
l
yf
a
i
l
e
d,
t
hee
nt
i
r
ede
pl
o
yme
nt
'
ss
t
a
t
ea
c
r
os
si
t
st
ar
g
e
t
s
e
r
ver
sbec
amei
nc
o
ns
i
s
t
ent
.
Thet
wopha
s
emo
de
lmake
si
nc
o
ns
i
s
t
e
ntde
pl
o
yme
nts
t
a
t
e
si
nc
l
us
t
e
r
sl
e
s
sl
i
ke
l
ybyc
o
nf
i
r
mi
ngt
hes
uc
c
e
s
so
ft
hepr
e
pa
r
epha
s
ebe
f
o
r
e
5.
6.

middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

9/29

6/9/15

Middleware Administration : Weblogic material

depl
oyi
ngt
heappl
i
c
at
i
ononanyt
a
r
ge
t
e
ds
er
ver
s
.Adepl
o
yme
ntt
ha
tf
a
i
l
sdur
i
ngt
hepr
e
pa
r
epha
s
ewi
l
l
no
te
nt
e
rt
hea
c
t
i
va
t
i
o
npha
s
e
.
Prepare Phase: Thepr
epa
r
ephas
eo
fdepl
oyme
nt
,t
hef
i
r
s
tpha
s
e
,di
s
t
r
i
but
e
so
rc
o
pi
e
sf
i
l
e
sa
ndpr
e
pa
r
e
st
hea
ppl
i
c
a
t
i
o
na
ndi
t
sc
o
mpo
ne
nt
s
f
orac
t
i
va
t
i
o
n,va
l
i
da
t
i
ngt
he
m andper
f
or
mi
nger
r
orc
he
c
kso
nt
he
m.
Thepur
po
s
eo
ft
hepr
e
pa
r
epha
s
ei
st
oe
ns
ur
et
ha
tt
hea
ppl
i
c
a
t
i
o
na
ndi
t
s
c
o
mponent
sa
r
ei
nas
t
at
ei
nwhi
c
ht
heyc
anber
el
i
a
bl
yde
pl
o
ye
d.
Activate Phase: Thes
e
c
o
ndphas
e,t
heac
t
i
vat
ephas
e,i
st
hea
c
t
ua
lde
pl
o
yme
nt
,
o
ra
c
t
i
va
t
i
o
n,o
ft
hea
ppl
i
c
a
t
i
o
na
ndi
t
sc
o
mpo
ne
ntwi
t
ht
he
r
e
l
evants
er
ve
rs
ubs
ys
t
em.
Af
t
e
rt
heac
t
i
vat
ephas
e,t
hea
ppl
i
c
a
t
i
o
ni
sma
dea
va
i
l
a
bl
et
oc
l
i
e
nt
s
.
JDBC( Java Data Base connectivity)
JDBC: J
avadat
a
ba
s
ec
onne
c
t
i
vi
t
y(
JDBC)i
st
heJavaSof
ts
pe
c
i
f
i
c
a
t
i
o
no
fas
t
a
nda
r
da
ppl
i
c
a
t
i
o
npr
o
g
r
a
mmi
ngi
nt
e
r
f
a
c
e(
API
)t
ha
ta
l
l
o
wsJ
a
va
pr
ogr
amst
oa
c
c
e
s
sda
t
abas
emanage
ments
ys
t
ems
.TheJ
DBCAPIc
o
ns
i
s
t
sas
e
to
fi
nt
e
r
f
a
c
e
sa
ndc
l
a
s
s
e
swr
i
t
t
e
ni
nt
heJ
a
vapr
o
g
r
a
mmi
ng
l
a
nguage
.Us
i
ngt
he
s
es
t
andar
di
nt
er
f
ac
esandc
l
as
s
es
,pr
o
g
r
a
mme
r
sc
a
nwr
i
t
ea
ppl
i
c
a
t
i
o
nst
ha
tc
o
nne
c
tt
oda
t
a
ba
s
e
s
,s
e
ndque
r
i
e
swr
i
t
t
e
ni
n
s
t
r
uc
t
ur
edquer
yl
a
nguag
e(
SQL)
,
andpr
oc
es
st
her
es
ul
t
s
.
TheJDBCAPIi
sc
ons
i
s
t
e
ntwi
t
ht
hes
t
yl
eoft
hec
o
r
eJ
a
vai
nt
e
r
f
a
c
e
sa
ndc
l
a
s
s
e
s
,s
uc
ha
sj
a
va
.
l
a
nga
ndj
a
va
.
a
wt
.Thef
o
l
l
o
wi
ngt
a
bl
e
des
c
r
i
best
hei
nt
e
r
f
a
c
e
s
,c
l
as
s
es
,andexc
ept
i
o
ns(
c
l
a
s
s
est
hr
o
wna
se
xc
e
pt
i
o
ns
)t
ha
tma
keupt
heJ
DBCAPI
.
I
nt
het
a
bl
e
,
i
nt
e
r
f
a
c
e
sbe
l
o
ng
i
ngt
o
t
hej
avax.
s
qlpac
kag
ea
r
eext
ens
i
o
nst
ot
hes
t
a
ndar
dJ
DBCi
nt
e
r
f
a
c
e
sa
nda
r
ec
o
nt
a
i
ne
di
nt
heJ
a
va2SDK,
Ent
e
r
pr
i
s
eEdi
t
i
o
n.
JDBC Architecture:
JDBC Drivers: Ther
ear
ef
ourt
ypesofdr
i
ve
r
si
nJ
DBC.
1) Type-1 Driver:(J
DBCODBC br
i
dg
edr
i
ver
)
1. Thi
sdr
i
verr
ec
ei
vesanyJ
DBCc
al
l
sands
endst
hent
oODBCdr
i
ve
r
.
2. ODBCdr
i
ve
runder
s
t
a
ndt
he
s
ec
al
l
sa
ndc
o
mmuni
c
a
t
e
swi
t
ht
heda
t
a
ba
s
el
i
br
a
r
ypr
o
vi
debyt
heve
ndo
r
.
3. ODBCdr
i
ve
ra
ndve
ndordat
a
ba
s
el
i
br
ar
ymus
tpr
e
s
ento
nt
hec
l
i
e
ntma
c
hi
ne
.
2) Type-2 Driver: (
Nat
i
veAPI
par
t
l
yj
avadr
i
ver
)
1. I
tc
onver
t
sJ
DBCc
al
l
si
nt
oda
t
abas
es
pec
i
f
i
cc
a
l
l
swi
t
ht
hehe
l
po
fve
ndo
rda
t
a
ba
s
el
i
br
a
r
y.
2. I
tc
ommuni
c
at
esdi
r
ec
t
l
ywi
t
ht
hedat
aba
s
es
e
r
ve
r
;i
tr
e
qui
r
e
st
ha
ts
o
mebi
na
r
yc
o
det
obepr
e
s
e
nto
nt
hec
l
i
e
ntma
c
hi
ne
.
3) Type-3 Driver: (
Netpr
ot
o
c
ol
pur
ej
avadr
i
ver
)
1. I
tf
ol
l
o
wst
hr
ee
t
i
er
e
dappr
oa
c
hwher
ebyt
heJDBCda
t
a
ba
s
er
e
que
s
t
sa
r
epa
s
s
e
dt
hr
o
ug
ht
hene
t
wo
r
kt
oami
ddl
e
t
i
e
rs
e
r
ve
r
.
2. Themi
ddl
et
i
e
rs
er
vert
r
a
ns
l
at
e
st
her
eque
s
tt
ot
heda
t
a
ba
s
es
pe
c
i
f
i
cl
i
br
a
r
ya
ndt
he
ns
e
ndsi
tt
ot
heda
t
a
ba
s
es
e
r
ve
r
.
3. Thedat
abas
es
er
vert
henexe
c
ut
est
her
eques
ta
ndgi
ve
sba
c
kt
ot
her
e
s
ul
t
.
4)Type-4 Driver:( Netpr
ot
oc
ol
pur
ej
avadr
i
ver)
4. I
tc
onver
t
sJ
DBCc
al
l
si
nt
ot
hevendor
s
pec
i
f
i
cDBMSpr
o
t
o
c
o
l
.
Sot
ha
tc
l
i
e
nta
ppl
i
c
a
t
i
o
nsc
a
nc
o
mmuni
c
a
t
edi
r
e
c
t
l
yda
t
a
ba
s
es
e
r
ve
r
.
5. Thi
sdr
i
verc
ompl
et
el
yi
mpl
e
me
nt
e
di
nj
avat
oar
c
hi
vepl
a
t
f
o
r
mi
nde
pe
nde
nt
.
I
nJDBCc
ont
ai
nst
wot
ypesofAr
c
hi
t
ec
t
ur
es
.
1) Two-Tier Arcitecture: I
nt
wot
i
e
rj
a
vaappl
i
c
at
i
onc
o
mmuni
c
a
t
e
sdi
r
e
c
t
l
ywi
t
ht
heDBMS.
AJDBCdr
i
veri
sne
ede
dt
ha
tc
a
nc
ommuni
c
at
edi
r
e
c
t
l
ywi
t
ht
heDBMS.
SoThi
si
sCl
i
e
nt
/
Se
r
ve
rc
o
nf
i
g
ur
a
t
i
o
n(
Ar
c
hi
t
e
c
t
ur
e
)
Multi-tier Architecture: I
nmul
t
i
t
i
erc
o
mma
ndsar
es
e
ntt
oami
ddl
e
t
i
e
ro
fs
e
r
vi
c
e
swhi
c
ht
he
ns
e
ndt
hec
o
mma
nds
.TheDBMSpr
o
c
e
s
s
c
o
mmandss
endst
her
es
ul
t
sba
c
kt
omi
ddl
e
t
i
er
,whi
c
ht
he
ns
e
ndst
he
mt
oc
l
i
e
nt
.
Data Source: ADat
aSour
c
eobj
ec
tpr
ovi
de
sawa
yf
oraJ
DBCc
l
i
e
ntt
oo
bt
a
i
nada
t
a
ba
s
ec
o
nne
c
t
i
o
nf
r
o
m ac
o
nne
c
t
i
o
npo
o
l
.I
ti
sus
e
dt
os
t
o
r
e
t
heWLSTJNDIt
r
e
e,i
tc
ans
uppor
tt
r
ans
a
c
t
i
o
nsandi
ti
sa
l
s
oa
s
s
o
c
i
a
t
e
dwi
t
ht
hec
o
nne
c
t
i
o
npo
o
l
.
What is JNDI(Java Naming Directory Interface):
TheJa
vaNa
mi
ngandDi
r
e
c
t
o
r
yI
nt
er
f
ac
e(
JNDI
)i
sa
na
ppl
i
c
a
t
i
o
npr
o
g
r
a
mmi
ngi
nt
e
r
f
a
c
e(
API
)f
o
ra
c
c
e
s
s
i
ngdi
f
f
e
r
e
ntki
ndso
fna
mi
ng
a
nddi
r
ec
t
or
ys
er
vi
c
es
.JNDIi
snots
pe
c
i
f
i
ct
oapa
r
t
i
c
ul
arna
mi
ngo
rdi
r
e
c
t
o
r
ys
e
r
vi
c
e
,i
tc
a
nbeus
e
dt
oa
c
c
e
s
sma
nydi
f
f
e
r
e
ntki
ndso
fs
ys
t
e
ms
i
nc
l
udi
ngf
i
l
es
ys
t
ems
,di
s
t
r
i
but
e
do
bj
e
c
t
ss
ys
t
emsl
i
keCORBA,J
a
vaRMI
,a
ndEJ
B;a
nddi
r
e
c
t
o
r
ys
e
r
vi
c
e
sl
i
keLDAP,No
ve
l
lNe
t
Wa
r
e
,a
nd
NI
S+.
Why JNDI: I
nWe
bLogi
cSer
ver
,
JNDIs
e
r
ve
sa
sar
e
po
s
i
t
o
r
ya
ndl
o
o
kups
e
r
vi
c
ef
o
rJ
2EEo
bj
e
c
t
si
nc
l
udi
ng
:
1. EJBhomes
t
ubs
2. JDBCDa
t
aSour
c
e
s
3. JMSc
onnec
t
i
o
nf
ac
t
or
i
es
,
que
ue
sa
ndt
o
pi
c
s
4. RMIs
t
ubs
JNDI Root(Tree):
Connection pool: A c
o
nnec
t
i
onpo
oli
sac
ol
l
ec
t
i
onofda
t
a
ba
s
ec
o
nne
c
t
i
o
nst
ha
ti
sma
i
nt
a
i
ne
dbyme
mo
r
y.Tha
tc
a
nber
e
us
e
d.Onc
ea
n
a
ppl
i
c
at
i
onha
sf
i
ni
s
hedi
t
sphys
i
c
a
lc
o
nnec
t
i
ont
hec
onnec
t
i
o
ni
sr
e
c
yc
l
e
dr
a
t
he
rt
ha
nbe
g
i
nni
ngde
s
t
r
o
ye
d.
Connec
t
i
onpo
ol
s
:
1. Ar
ec
r
eat
edatWebLog
i
cs
er
ver
.
2. Canbeadmi
ni
s
t
r
a
t
e
dus
i
ngt
heAdmi
ni
s
t
r
at
i
onc
o
ns
ol
e
.
3. Canbedyna
mi
c
al
l
yr
es
i
z
e
dt
oac
c
ommodat
ei
nc
r
e
as
i
ngl
o
a
d.
Benefits of DataSource And Connection pool:
1. Ti
meando
ver
he
adar
es
a
vedbyus
i
nga
ne
xi
s
t
i
ngdat
a
ba
s
ec
o
nne
c
t
i
o
n
2. Conne
c
t
i
oni
nf
or
mat
i
oni
sma
na
gedi
nonel
oc
a
t
i
o
ni
nt
heAdmi
ni
s
t
r
a
t
i
o
nCo
ns
o
l
e
3. Thenumbe
ro
fc
o
nnec
t
i
onst
oada
t
abas
ec
a
nbec
ont
r
o
l
l
e
d
4. TheDBMSc
anbec
hange
dwi
t
houtt
hea
ppl
i
c
a
t
i
o
ndeve
l
o
pe
rha
vi
ngt
omo
di
f
yunde
r
l
yi
ngc
o
de
5. Ac
onnec
t
i
o
npoo
lal
l
owsa
na
ppl
i
c
a
t
i
o
nt
o
bor
r
owaDBMSc
o
nne
c
t
i
o
n.
JDBC DtataSource Architecture:
How to use DataSource:
Ac
l
i
entr
et
r
i
e
vesaDa
t
aSour
c
et
hr
oughJNDIl
o
okupandus
e
si
tt
oo
bt
a
i
nada
t
a
ba
s
ec
o
nne
c
t
i
o
n.
Process :
1
.Cl
i
e
ntwi
l
ll
o
okupf
o
rt
heJ
NDI,
onc
ej
ndii
si
dent
i
f
i
e
di
twi
l
l
r
e
t
ur
nda
t
a
ba
s
e
.
2.Dat
as
our
c
ewi
l
lg
etc
onne
c
t
i
o
nf
r
om c
onnec
t
i
o
npoo
l
.
3.I
twi
l
l
ac
c
es
st
hedat
abas
ewi
t
ht
ha
tc
onnec
t
i
o
n.
JDBC - To run point base Database:
St
ep1:
Copyda
t
abas
ef
i
l
esf
r
om c
:
\
s
t
ude
nt
\
c
o
ur
s
e\
wo
r
k\
da
t
a
ba
s
e
\a
ndpa
s
t
ei
nc
:
\
be
a
\
We
bLo
g
i
c
91
\
c
o
mmo
n\
e
va
1
\
po
i
nt
ba
s
e
\
da
t
a
ba
s
e
\
a
ndedi
ts
t
a
r
t
poi
nt
bas
ec
:
\bea\
We
bLogi
c
91
\c
ommo
n\
eva
1
\
po
i
nt
ba
s
e
\
t
o
o
l
s
\
s
t
a
r
t
po
i
nt
ba
s
e
.
c
md
St
ep2:Edi
tSt
ar
t
po
i
nt
ba
s
e
Remo
ve"
%SAPLES_HOME%\
doma
i
n\
wl
_s
e
r
ver
\
po
i
nt
ba
s
e
.
i
ni
"a
ndpa
s
t
e
c
:
\
be
a
\
We
bLo
g
i
c
91
\
c
o
mmo
n\
e
va
1
\
po
i
nt
ba
s
e
\
t
o
o
l
s

a
ndt
hens
a
vei
t
.
St
ep3:Runs
t
ar
t
po
i
nt
bas
es
c
r
i
pt
.
configuredatasoure in admin console and test connection:
Cr
eat
eaDa
t
aSour
c
ewi
t
ht
hef
o
l
l
owi
ngs
pe
c
i
f
i
c
at
i
ons
:
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

10/29

6/9/15

Middleware Administration : Weblogic material

Name
:
di
z
z
ywor
l
dDS
J
NDINa
me:
di
z
z
ywo
r
l
dDS
Dat
abas
eType:
Poi
nt
Ba
s
e
Dat
abas
eDr
i
ver
: *
Poi
nt
Bas
e

s
Dr
i
ver
(
Type4)
ve
r
s
i
ons
:
4.
x,
5.
x
Dat
abas
eName: HRDATABASE
Hos
tName:
l
o
c
al
hos
t
Por
t
:
9092
Dat
abas
eUs
erName:PBPUBLI
C
Pas
s
wor
d:
PBPUBLI
C
I
ni
t
i
alCapa
c
i
t
y:
5
Maxi
mum Capac
i
t
y: 15
Capac
i
t
yI
nc
r
e
ment
: 5
Logi
nDe
l
ay:
1
Tar
ge
t
:
di
z
z
y1
depl
oyana
ppl
i
c
a
t
i
o
nt
es
t
ds
.
warf
r
om l
a
b14andt
es
tf
o
rda
t
a
ba
s
ec
o
nne
c
t
i
vi
t
y.
Steps for creating data source and connection pool in console:
St
e
p1
:c
l
i
c
kons
e
r
vi
c
es
2:c
l
i
c
konJDBC
3:c
l
i
c
konDat
as
o
ur
c
e
4:c
l
i
c
konLo
c
kAndEdi
t
5:c
l
i
c
konNe
w
6:Ent
e
rJ
DBCdat
as
o
ur
c
epr
oper
t
i
e
s
Name :Da
t
as
our
c
eNa
me
J
NDINa
me :JNDINa
me
Dat
abas
eType:dat
a
ba
s
ena
me
Dr
i
verType :Sel
e
c
tType4dr
i
verNo
nXa
Next
7:Se
l
ec
tTr
a
ns
a
c
t
i
onopt
i
ons
Sel
e
c
t
Suppo
r
tgl
o
bal
t
r
a
ns
ac
t
i
on
Sel
ec
tonepha
s
ec
ommi
t
Ne
xt
8:Cr
ea
t
eaNewDat
a
Sour
c
e
Dat
abas
eName
:Da
t
abas
ename
Hos
t
Name
:Hos
t
na
me
Por
t
Numbe
r
:Por
t
numbe
r
DBUs
erNa
me
:us
er
na
me
DBpa
s
s
wor
d :pa
s
s
wor
d
Conf
or
mpas
s
wor
d :pas
s
wor
d
Next
9:Di
s
pl
ayc
o
nne
c
t
i
onpr
o
pe
r
t
i
e
s
10:Tes
tc
onf
i
gur
a
t
i
on
11:Di
s
pl
ayc
o
nnec
t
i
onpr
oper
t
i
es
Co
nnec
t
i
ons
uc
c
e
s
s
e
s
Ne
xt
12:Sel
e
c
tTa
r
ge
t
s(
Admi
no
rc
l
us
t
er
(
ms
1
&ms
2)
)
Fi
ni
s
h
Ac
t
i
vat
ec
ha
ng
es
13.Tes
tDat
aSo
ur
c
e
Cluster JDBC (or) MultiDataSource: A mul
t
idat
as
our
cei
san abs
t
r
act
i
on ar
ound agr
oup ofdat
as
our
cest
hatpr
ovi
desl
oad bal
anci
ngorf
a
i
l
ove
rprocess
i
ngbet
weent
hedat
as
our
cesas
s
oci
at
edwi
t
ht
hemul
t
idat
as
our
ce.Mul
t
idat
as
our
cesar
eboundt
ot
heJNDIt
r
eeorl
ocalappl
i
cat
i
oncont
extj
us
tl
i
ke
dat
as
our
cesar
eboundt
ot
heJNDIt
r
ee.

Multi Data Source Algorithms:


1)Failover: Conne
c
t
i
onsr
e
ques
t
sar
es
e
ntt
ot
hef
i
r
s
tda
t
as
o
ur
c
ei
nt
hel
i
s
t
,i
ft
her
e
que
s
tf
a
i
l
st
her
e
que
s
ti
ss
e
ntt
ot
hene
xtdat
as
o
ur
c
e,i
n
t
hel
i
s
tands
of
o
r
t
h,t
hepr
oc
es
si
sr
e
pr
es
e
nt
edunt
i
a
lava
l
i
dc
o
nne
c
t
i
o
ni
so
bt
a
i
ne
do
runt
i
lt
hee
ndo
ft
hel
i
s
ti
sr
e
a
c
he
di
nwhi
c
hc
a
s
ea
n
e
xc
ept
i
oni
st
hr
o
wn.
2) Load balancing: Themul
t
idat
as
o
ur
c
edi
s
t
r
i
but
esc
o
nne
c
t
i
o
nr
e
que
s
t
se
ve
nl
yt
oi
t
snumbe
rda
t
as
o
ur
c
e
s
,whi
c
ha
l
g
o
r
i
t
hm t
hemul
t
i
da
t
a
s
o
ur
c
eal
s
opr
ovi
desf
a
i
l
o
verpr
oc
e
s
s
i
ng
.Thati
si
far
e
que
s
tf
a
i
l
st
hemul
t
ida
t
as
o
ur
c
es
e
ndst
ot
her
e
que
s
t
st
ot
hene
xtda
t
as
o
ur
c
ei
nt
hel
i
s
t
unt
i
laval
i
dc
o
nnec
t
i
oni
sobt
ai
n,o
runt
i
lt
hee
ndoft
hel
i
s
ti
sr
e
a
c
he
d,
i
nwhi
c
hc
a
s
ea
ne
xc
e
pt
i
o
ni
st
hr
o
wn.
Diff b/w Xa and Non-Xa Datasource:
Xadat
a
s
o
ur
c
e
NonXaDa
t
a
s
o
ur
c
e
1)I
tal
l
owsgl
oba
lt
r
ans
a
c
t
i
o
nt
hatmybe 1
)I
tal
l
owss
i
ng
l
et
r
a
ns
a
c
t
i
o
nt
ha
tmy
mul
t
i
pl
er
e
s
o
ur
c
es
.
bes
i
ngl
er
e
s
o
ur
c
e
s
.
2)I
ti
nvol
vesac
oo
r
di
na
t
i
ngt
r
ans
ac
t
i
o
n 2)t
her
ei
sno transaction coordinator, and it is
mana
gerwi
t
honeo
rmor
edat
a
ba
s
esi
n as
i
ng
l
er
e
s
o
ur
c
ei
sdo
i
nga
l
l
i
t
st
r
a
ns
a
c
t
i
o
n
as
i
ng
l
egl
o
bal
t
r
a
ns
ac
t
i
on.
wor
ki
t
s
e
l
f
.
3)I
tc
omesf
r
om t
heX/Ope
ng
r
oup
3) I
tc
o
me
sf
r
o
m Se
r
vl
e
to
rEJ
Bo
rpl
a
i
no
l
d
s
pec
i
f
i
c
at
i
on o
n di
s
t
r
i
but
e
d,gl
oba
l
J
DBCi
naJ
a
vaa
ppl
i
c
a
t
i
o
nt
a
l
ki
ngt
o
t
r
a
ns
ac
t
i
ons
.
as
i
ngl
eda
t
a
ba
s
e
.

middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

11/29

6/9/15

Middleware Administration : Weblogic material

JMS(JavaMessagingService)
JMS: TheJava Message Service (
JMS)API i
saJava Message Oriented Middleware (
MOM)APIf
o
rs
e
ndi
ngme
s
s
a
g
e
sbe
t
we
e
nt
woo
rmo
r
e
clients.JMSi
sapar
to
ft
heJava Platform Enterprise Edition.I
ti
same
s
s
a
g
i
ngs
t
a
nda
r
dt
ha
ta
l
l
o
wsa
ppl
i
c
a
t
i
o
nc
o
mpo
ne
nt
sba
s
e
do
nt
heJ
a
va2
Pl
a
t
f
o
r
m Ent
e
r
pr
i
s
eEdi
t
i
on(
J2EE)t
oc
r
ea
t
e,
s
end,
r
e
c
ei
ve
,
a
ndr
e
a
dme
s
s
a
g
e
s
.
I
ta
l
l
o
wst
hec
o
mmuni
c
a
t
i
o
nbe
t
we
e
ndi
f
f
e
r
e
ntc
o
mpo
ne
nt
so
fa
distributed application t
obeloosely coupled,r
e
l
i
a
bl
e
,a
ndas
ync
hr
o
no
us
.
Thef
ol
l
o
wi
ngar
eJMSel
e
me
nt
s
:
JMS provider: Ani
mpl
e
ment
at
i
o
noft
heJMSi
nt
er
f
ac
ef
o
raMessage Oriented Middleware (
MOM)
.
Pr
o
vi
de
r
sa
r
ei
mpl
e
me
nt
e
da
se
i
t
he
raJ
a
va
J
MSi
mpl
eme
nt
a
t
i
o
no
ra
na
dapt
ert
oanonJ
avaMOM.
JMS client: Anappl
i
c
at
i
onorpr
o
c
es
st
ha
tpr
oduc
esa
nd/
o
rr
e
c
e
i
ve
sme
s
s
a
g
e
s
.
JMS producer/publisher: AJMSc
l
i
entt
hatc
r
e
at
e
sa
nds
e
ndsme
s
s
a
g
e
s
.
JMS consumer/subscriber: AJMSc
l
i
e
ntt
ha
tr
ec
e
i
ve
sme
s
s
a
g
e
s
.
JMS message: Anobj
ec
tt
hatc
ont
ai
nst
heda
t
abe
i
ngt
r
a
ns
f
e
r
r
e
dbe
t
we
e
nJ
MSc
l
i
e
nt
s
.
JMS queue: A s
t
a
gi
nga
r
e
at
hatc
o
nt
a
i
nsmes
s
ag
est
ha
tha
vebe
e
ns
e
nta
nda
r
ewa
i
t
i
ngt
ober
e
a
d.No
t
et
ha
t
,c
o
nt
r
a
r
yt
owha
tt
hena
me
queue s
ugges
t
s
,me
s
s
a
gesha
vet
obede
l
i
ve
r
e
di
nt
heo
r
de
rs
e
ntAJ
MSque
ueo
nl
yg
ua
r
a
nt
e
e
st
ha
te
a
c
hme
s
s
a
g
ei
spr
o
c
e
s
s
e
do
nl
yo
nc
e
.
JMS topic: Adi
s
t
r
i
but
i
o
nmec
hani
s
mf
orpubl
i
s
hi
ngme
s
s
a
g
e
st
ha
ta
r
ede
l
i
ve
r
e
dt
omul
t
i
pl
es
ubs
c
r
i
be
r
s
TheJMSAPIs
uppo
r
t
st
womodel
s
:
1. Poi
nt
t
opo
i
nt
2. Publish and subscribe
1) Point-to-Point: I
nt
hepoint-to-point model,asender po
s
t
sme
s
s
a
g
e
st
oapa
r
t
i
c
ul
a
rque
uea
ndareceiver r
e
a
dsme
s
s
a
g
e
sf
r
o
mt
he
queue
.Her
e,t
he s
enderknowst
hedes
t
i
na
t
i
o
n oft
heme
s
s
a
g
ea
nd po
s
t
st
heme
s
s
a
g
e di
r
e
c
t
l
yt
ot
her
e
c
e
i
ve
r
'
sque
ue
.Thi
smo
de
li
s
c
har
ac
t
e
r
i
z
edbyt
hef
o
l
l
o
wi
ng:
1. Onl
yo
nec
o
ns
umerget
st
hemes
s
a
ge.
2. Thepr
oduc
e
rdoe
snotha
vet
ober
unni
ngatt
het
i
met
hec
o
ns
ume
rc
o
ns
ume
st
heme
s
s
a
g
e
,
no
rdo
e
st
hec
o
ns
ume
rne
e
dt
ober
unni
nga
tt
he
t
i
met
hemes
s
ag
ei
ss
ent
.
3. Eve
r
ymes
s
ages
uc
c
e
s
s
f
ul
l
ypr
oc
es
s
edi
sac
kno
wl
edg
edbyt
hec
o
ns
ume
r
.
2)Thepublish/subscribe model s
uppo
r
t
spubl
i
s
hi
ngme
s
s
a
g
e
st
oapa
r
t
i
c
ul
a
rme
s
s
a
g
et
o
pi
c
.Subscribers ma
yr
e
g
i
s
t
e
ri
nt
e
r
e
s
ti
nr
e
c
e
i
vi
ng
mes
s
agesonapa
r
t
i
c
ul
arme
s
s
aget
o
pi
c
.I
nt
hi
smo
de
l
,ne
i
t
he
rt
hepublisher no
rt
hes
ubs
c
r
i
be
rkno
wsa
bo
ute
a
c
ho
t
he
r
.
Ag
o
o
da
na
l
o
g
yf
o
rt
hi
s
i
sanano
nymo
usbul
l
et
i
nboa
r
d.
Thef
ol
l
owi
ngar
ec
har
ac
t
e
r
i
s
t
i
c
so
ft
hi
smo
de
l
:
1. Mul
t
i
pl
ec
ons
ume
r
s(
orno
ne)wi
l
lr
ec
e
i
vet
heme
s
s
a
ge.
2. Ther
ei
sat
i
mi
ngde
pe
nde
nc
ybet
wee
npubl
i
s
her
sa
nds
ubs
c
r
i
be
r
s
.
Thepubl
i
s
he
rha
st
oc
r
e
a
t
eame
s
s
a
g
et
o
pi
cf
o
rc
l
i
e
nt
st
os
ubs
c
r
i
be
.The
s
ubs
c
r
i
berha
st
or
emai
nc
o
nt
i
nuo
us
l
yac
t
i
vet
or
e
c
e
i
veme
s
s
a
g
e
s
,
unl
e
s
si
tha
se
s
t
a
bl
i
s
he
dadur
a
bl
es
ubs
c
r
i
pt
i
o
n.
I
nt
ha
tc
a
s
e
,
me
s
s
a
g
e
s
publ
i
s
hed whi
l
et
hes
ubs
c
r
i
be
ri
snotc
o
nnec
t
ed wi
l
lber
e
di
s
t
r
i
but
e
d whe
ne
ve
ri
tr
e
c
o
nne
c
t
s
.
Us
i
ngJ
a
va
,J
MSpr
o
vi
de
sawa
yo
f
s
epa
r
at
i
ngt
hea
ppl
i
c
at
i
o
nf
r
om t
het
r
a
ns
por
tl
aye
ro
fpr
o
vi
di
ngda
t
a
.
Thes
a
meJ
a
vaclasses c
a
nbeus
e
dt
oc
o
mmuni
c
a
t
ewi
t
hdi
f
f
e
r
e
nt
JMSpr
ovi
de
r
sbyus
i
ngt
heJNDI i
nf
or
ma
t
i
onf
o
rt
hede
s
i
r
e
dpr
o
vi
de
r
.
Thec
l
a
s
s
e
sf
i
r
s
tus
eaconnection factory t
oc
o
nne
c
tt
ot
heque
ue
ort
o
pi
c
,a
ndt
henus
epopul
at
eands
endorpubl
i
s
ht
heme
s
s
a
g
e
s
.Ont
her
e
c
e
i
vi
ngs
i
de
,t
hec
l
i
e
nt
st
he
nr
e
c
e
i
veo
rs
ubs
c
r
i
bet
ot
he
mes
s
ag
es
.
Difference b/w Queue and Topic:
Queue
Topic
1
)I
n que
ues
, one mes
s
a
ge c
a
n be1) I
nt
he t
o
pi
c
s
,o
ne me
s
s
a
g
ec
a
n be
c
ons
umed
c
o
ns
umed
byonl
yonec
l
i
ent
.
bymanyc
l
i
e
nt
s
.
2) Queue r
epr
es
ent Poi
nt
To
Poi
nt
2)Topi
cr
e
pr
e
s
e
ntPubl
i
ca
nd Subs
c
r
i
be
model
.
model
.
3)queue i
s us
e
dt
os
end one t
o one3)t
o
pi
ci
s us
e
dt
os
e
nd mo
r
et
ha
no
ne
s
ys
t
em.
s
ys
t
e
m
4)I
nque
uet
hemes
s
ag
esa
r
es
e
nd
atat
i
me
.
t
oFI
FO(
Fi
r
s
ti
nf
i
r
s
tout
)o
r
de
r
.
4)I
nTo
pi
ct
heme
s
s
a
g
e
sa
r
es
e
ndt
oLI
FO
(
Las
ti
nf
i
r
s
to
ut
)o
r
de
r
.

Distributed Queue : Manypr


oduc
er
sc
a
ns
er
i
al
i
z
emes
s
a
g
e
st
omul
t
i
pl
er
e
c
e
i
ve
r
si
naque
ue
.
Distributed Topic : Publ
i
s
hi
nga
nds
ubs
c
r
i
bi
ngt
oat
opi
cde
c
o
upl
e
spr
o
duc
e
r
sf
r
o
mc
o
ns
ume
r
s
.
Difference b/w Distributed Queue and Distributed Topic:
Distributed Queue
Distributed Topic
1)ADi
s
t
r
i
but
edQueuesar
eal
l
owyo
ut
o 1
)Adi
s
t
r
i
but
e
dt
o
pi
cc
a
nbeus
e
dt
o
r
et
r
i
eve a c
onne
c
t
i
on t
oa
ny o
ft
he c
r
e
at
eaTopicPublisher a
ndTopicSubscriber.
Queues
ac
r
os
sac
l
us
t
e
rbyus
i
ngt
heGl
o
ba
lJ
NDI2)Thet
o
pi
cme
mbe
r
sc
a
nbel
o
c
a
t
e
da
nywhe
r
e
name.
but
2)I
ts
eemso
neoft
hemai
npi
e
c
esof
mus
ta
l
lbes
e
r
ve
de
i
t
he
rbyas
i
ng
l
eWe
bLo
g
i
c
f
unc
t
i
o
na
l
i
t
y Di
s
t
r
i
but
e
d Que
ue g
i
ve
sSer
ver
youi
s
o
ranynumbe
ro
fs
e
r
ve
r
si
nac
l
us
t
e
r
.
l
oadbal
a
nc
edc
onne
c
t
i
onsac
r
os
s
3)Adi
s
t
r
i
but
e
dt
o
pi
ci
sas
e
to
fphys
i
c
a
l
J
MS
mul
t
i
pl
emana
ge
ds
er
ver
s
.
t
o
pi
cmembe
r
s
.
3)Theme
mber
so
ft
heuni
tar
eus
ua
l
l
y
di
s
t
r
i
but
ed a
c
r
o
s
s mul
t
i
pl
es
er
ver
s
wi
t
hi
n
ac
l
us
t
er
,wi
t
he
ac
h que
ue membe
r
bel
ongi
ng
to a separate JMS server.
4)
Adi
s
t
r
i
but
edqueuei
sas
eto
fphys
i
c
al
JMSque
ueme
mber
s
.
JMS Architecture:
Connection Factory: A Connec
t
i
o
nFac
t
or
yo
bj
e
c
tenc
a
ps
ul
a
t
e
sas
e
to
fc
o
nne
c
t
i
o
nc
o
nf
i
g
ur
a
t
i
o
npa
r
a
me
t
e
r
st
ha
tha
sbe
e
nde
f
i
ne
dbya
n
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

12/29

6/9/15

Middleware Administration : Weblogic material

a
dmi
ni
s
t
r
at
or
.Ac
l
i
e
ntus
esi
tt
oc
r
eat
eac
o
nnec
t
i
onwi
t
haJ
MSpr
o
vi
de
r
.
1. I
te
nc
aps
ul
a
t
esc
o
nnec
t
i
onc
o
nf
i
g
ur
at
i
oni
nf
or
mat
i
on.
2. I
ti
sus
edt
oc
r
eat
epr
ec
o
nf
i
g
ur
e
dc
onne
c
t
i
o
ns
.
3. I
ts
t
or
edi
nJNDI
.
4. Canbet
a
r
g
et
e
ds
er
verorc
l
us
t
e
r
.
5. I
ts
uppo
r
t
sc
o
nc
ur
r
entus
e.
Thedef
a
ul
tc
o
nnec
t
i
onf
a
c
t
or
yt
ha
ti
sbo
unde
di
nJNDIt
oWe
bLo
g
i
ci
s
We
bLo
g
i
c
.
j
ms
.
Co
nne
c
t
i
o
nFa
c
t
o
r
y
Threshold and a Quota: At
hr
e
s
hol
dandaquot
ac
anbes
e
tf
o
rSe
r
ve
ra
ndDe
s
t
i
na
t
i
o
no
bj
e
c
t
s
.
Aquot
ai
sal
i
mi
tde
f
i
nedf
orJMSadmi
ni
s
t
er
e
dobj
ec
t
s
;i
ti
nc
l
ude
st
he
s
eva
l
ue
s
:
1. Themaxi
mum numberofbyt
est
ha
tc
anbes
t
or
e
d
2. Themaxi
mum numberofme
s
s
a
ge
st
hatc
a
nbes
t
or
ed
At
hr
es
hol
di
sal
i
mi
tt
ha
tt
r
i
gge
r
sme
s
s
agepa
gi
ng,
f
l
o
wc
o
nt
r
o
l
a
ndl
o
g
g
e
dwa
r
ni
ng
sus
i
ng
:
1. Upperandl
owerval
uesf
o
rt
henumbe
ro
fbyt
e
s
2. Upperandl
owerval
uesf
o
rt
henumbe
ro
fmes
s
ag
es
Durable Subscribers and Subscriptions:
1. Dur
abl
es
ubs
c
r
i
be
r
sr
eg
i
s
t
erdur
abl
es
ubs
c
r
i
pt
i
onst
og
ua
r
a
nt
e
eme
s
s
a
g
ede
l
i
ve
r
ye
ve
ni
fs
ubs
c
r
i
be
r
sa
r
ei
na
c
t
i
ve
.
2. As
ubs
c
r
i
be
ri
sc
o
ns
i
de
r
edac
t
i
vei
ft
heJa
vaobj
ec
tt
hatr
e
pr
e
s
e
nt
si
te
xi
s
t
s
.
3. Bydef
aul
t
,
s
ubs
c
r
i
ber
sar
eno
ndur
abl
e.
Persistent store: Theper
s
i
s
t
ents
t
or
epr
o
vi
desabui
l
t
i
n,hi
g
hpe
r
f
o
r
ma
nc
es
t
o
r
a
g
es
o
l
ut
i
o
nf
o
rWe
bLo
g
i
cSe
r
ve
rs
ubs
ys
t
e
msa
nd
s
er
vi
c
e
st
hatr
e
qui
r
epe
r
s
i
s
t
e
nc
e
.Forexampl
e,i
tc
a
ns
t
o
r
epe
r
s
i
s
t
e
ntJ
MSme
s
s
a
g
e
so
rt
e
mpo
r
a
r
i
l
ys
t
o
r
eme
s
s
a
g
e
ss
e
ntus
i
ngt
he
St
or
ea
ndFo
r
war
df
eat
ur
e
.Thepe
r
s
i
s
t
e
nts
t
o
r
es
uppo
r
t
spe
r
s
i
s
t
e
nc
et
oaf
i
l
e
ba
s
e
ds
t
o
r
eo
rt
oaJ
DBCe
na
bl
e
dda
t
a
ba
s
e
.
Ther
ear
et
wot
ypesofper
s
i
s
t
e
ntme
c
hani
s
ms
:1)per
s
i
s
t
e
nt
2)
no
npe
r
s
i
s
t
e
nt
Aper
s
i
s
t
entmes
s
ag
ei
sg
ua
r
a
nt
e
edt
obede
l
i
ver
e
donc
e
a
ndo
nl
yo
nc
e
.Theme
s
s
a
g
ec
a
nno
tbel
o
s
tduet
oaJ
MSpr
o
vi
de
rf
a
i
l
ur
ea
ndi
t
mus
tnotbedel
i
ver
edt
wi
c
e
.I
ti
sno
tc
o
ns
i
de
r
e
ds
entunt
i
li
tha
sbe
e
ns
a
f
e
l
ywr
i
t
t
e
nt
oaf
i
l
eo
rda
t
a
ba
s
e
.We
bLo
g
i
cJ
MSwr
i
t
e
spe
r
s
i
s
t
e
nt
me
s
s
age
st
oaWebLog
i
cper
s
i
s
t
ents
t
or
e(
di
s
kbas
ef
i
l
eo
rJ
DBCa
c
c
e
s
s
i
bl
eda
t
a
ba
s
e
)t
ha
ti
so
pt
i
o
na
l
l
yt
a
r
g
e
t
e
dbye
a
c
hJ
MSs
e
r
ve
rdur
i
ng
c
o
nf
i
g
ur
at
i
on.
ANonpe
r
s
i
s
t
e
ntmes
s
ag
esar
enots
t
o
r
ed.The
yar
eg
ua
r
a
nt
e
e
dt
obede
l
i
ve
r
e
da
t
mo
s
t
o
nc
e
,unl
e
s
st
he
r
ei
saJ
MSpr
o
vi
derf
a
i
l
ur
e
,i
n
whi
c
hc
as
eme
s
s
age
sma
ybel
os
t
,a
ndmus
tno
tbedel
i
ve
r
e
dt
wi
c
e
.I
fac
o
nne
c
t
i
o
ni
sc
l
o
s
e
do
rr
e
c
o
ve
r
e
d,a
l
lno
npe
r
s
i
s
t
e
ntmes
s
a
g
e
st
ha
t
havenotye
tbee
na
c
knowl
edge
dwi
l
l
ber
edel
i
ve
r
ed.Onc
eano
npe
r
s
i
s
t
e
ntme
s
s
a
g
ei
sa
c
kno
wl
e
dg
e
d,
i
twi
l
l
no
tber
e
de
l
i
ve
r
e
d.
When to Use Persistent Messaging: Per
s
i
s
t
ent me
s
s
a
g
i
ng pe
r
mi
t
s me
s
s
a
g
e
si
n me
mo
r
yt
o be wr
i
t
t
e
no
ut t
o a pe
r
s
i
s
t
e
nt
s
t
o
r
e.
Co
nf
i
g
ur
epe
r
s
i
s
t
e
ntme
s
s
a
g
i
ng
i
f
:
De
ve
l
o
pme
ntr
e
qui
r
e
sdur
a
bl
es
ubs
c
r
i
pt
i
o
ns(
us
edur
a
bl
e
s
ubs
c
r
i
be
r
si
n
t
heappl
i
c
at
i
on)
Your
equi
r
et
ha
ti
npr
og
r
e
s
sme
s
s
a
g
e
spe
r
s
i
s
ta
c
r
o
s
ss
e
r
ve
rr
e
s
t
a
r
t
s
How a Durable Subscription Works:
Whent
hec
l
i
entbec
omesac
t
i
veag
ai
n,i
t
sI
Di
sus
edt
or
e
t
r
i
e
vea
ndr
e
de
l
i
ve
rme
s
s
a
g
e
s
.
Configure a Durable Subscription:
Toc
onf
i
gur
edur
abl
es
ubs
c
r
i
pt
i
o
ns
,ana
dmi
ni
s
t
r
at
o
rmus
t
:
Cr
eat
ea
ndc
o
nf
i
gur
eaJMSs
t
o
r
e
Co
nf
i
gur
ec
onnec
t
i
o
nf
a
c
t
o
r
i
e
so
rdes
t
i
nat
i
o
nsaspe
r
s
i
s
t
e
nt
As
s
oc
i
at
et
heJMSs
t
or
ewi
t
ht
heJ
MSSer
ver
TheJMSs
t
or
ec
anbec
o
nf
i
g
ur
e
dt
ous
eei
t
he
r
:
Af
i
l
es
t
or
e
AJDBCs
t
or
e(
ac
o
nne
c
t
i
onpoo
l
)
Configure JMS server through console:
Thef
ol
l
o
wi
ngs
t
e
psar
e
:
St
ep1:Cl
i
c
konJMSSer
ver
St
ep2:Cl
i
c
konLo
c
kAndEdi
t
St
ep3:Cl
i
c
konNew
St
ep4:Ent
e
rJ
MSs
e
r
ve
rPr
o
per
t
i
e
s
Name:JMSs
er
verNa
me
Pe
r
s
i
s
t
e
ntSt
o
r
e:no
ne
Ne
xt
St
ep5:Se
l
ec
tt
a
r
g
et
s
Ta
r
g
et:s
e
r
vername(
ms
1)
Fi
ni
s
h
Configure JMS Module:
Thef
ol
l
o
wi
ngs
t
e
psar
e
:
St
ep1:Cl
i
c
konJMSModul
es
St
ep2:Cl
i
c
ko
nLoc
kAndEdi
t
St
ep3:Cl
i
c
konNew
St
ep4:Ent
e
rt
hef
ol
l
owi
ngpr
o
pe
r
t
i
es
Name:J
MSModul
eName
Des
c
r
i
pt
o
rFi
l
eNa
me
:
Fi
l
ename
Loc
at
i
onDo
ma
i
n:
Next
St
ep5:Sel
ec
tTa
r
g
et:
Cl
us
t
e
r
Next
St
ep6:Se
l
ec
twoul
dyoul
i
ket
oa
ddRe
s
our
c
eso
ft
hi
sJ
MSSys
t
e
m
Fi
ni
s
h
Configure JMSQueue:
Thef
ol
l
o
wi
ngs
t
e
psar
e
:
St
ep1:Cl
i
c
ko
nJMSModul
e
St
ep2:Cl
i
c
konJMSMo
dul
eName
St
ep3:Cl
i
c
konLo
c
kAndEdi
t
St
ep4:Cl
i
c
konNe
w
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

13/29

6/9/15

Middleware Administration : Weblogic material

St
ep5:Se
l
ec
tQue
ue
St
ep6:De
s
c
r
i
pt
i
onPr
oper
t
i
es
Name:Que
ue
Na
me
JNDIName:J
NDINa
me
Te
mpl
a
t
e:No
ne
Ne
xt
St
ep7:Se
l
ec
tTar
g
et
sJMSSe
r
ver
Fi
ni
s
h
Configure JMSTopic:
Thef
ol
l
o
wi
ngs
t
e
psar
e
:
St
ep1:Cl
i
c
ko
nJMSModul
e
St
ep2:Cl
i
c
konJMSMo
dul
eName
St
ep3:Cl
i
c
konLo
c
kAndEdi
t
St
ep4:Cl
i
c
konNe
w
St
ep5:Se
l
ec
tTopi
c
St
ep6:De
s
c
r
i
pt
i
onPr
oper
t
i
es
Name:Topi
c
Name
JNDIName:J
NDINa
me
Te
mpl
a
t
e:No
ne
Ne
xt
St
ep7:Se
l
ec
tTar
g
et
sJMSSe
r
ver
Fi
ni
s
h
Delete struck messages from the queue:
Thef
ol
l
o
wi
ngs
t
e
psar
e
:
St
ep1:Cl
i
c
ko
nJMSModul
e
St
ep2:Cl
i
c
konJMSMo
dul
eName
St
ep3:Cl
i
c
konJMSQue
ue
St
ep4:Cl
i
c
konMoni
t
or
i
ng
St
ep5:s
e
l
ec
tt
heque
ue
St
ep6:Cl
i
c
kons
howme
s
s
a
ge
s
St
ep7:Se
l
ec
tmes
s
ag
eI
D
St
ep8:De
l
et
e
St
ep9:Fi
ni
s
h
Check the pending messages in a queue:
Thef
ol
l
o
wi
ngs
t
e
psar
e
:
St
ep1:Cl
i
c
ko
nJMSSer
ver
St
ep2:Cl
i
c
konJMSSer
verName
St
ep3:Cl
i
c
konmo
ni
t
or
i
ng
St
ep4:Cl
i
c
konAc
t
i
vede
s
t
r
i
nat
i
o
n
Toc
hec
kt
hependi
ngme
s
s
a
gesi
nqueue
.
SSL(Security Socket Layer):
I) Configure SSL in WebLogic:
1. Generating the certificate:
Thef
ol
l
o
wi
ngs
t
e
psar
e
:
St
ep1:Openac
o
mmandpr
o
mpta
nds
ett
hee
nvi
r
o
nmentbyr
unni
ngt
hesetDomainEnv s
c
r
i
pt
.
(C:
\bea
9\
us
e
r
_pr
oj
e
c
t
s
\
do
ma
i
ns
\r
a
m_domai
n\bi
n\
s
e
t
Do
ma
i
nEnv.
c
md)
St
ep2:Gener
a
t
et
hepr
i
vat
epubl
i
cke
ypai
r
.Fordemo
ns
t
r
a
t
i
o
nwewo
ul
dus
ekeytool j
a
vaut
i
l
i
t
yt
odos
o
.
ut
i
l
i
t
i
esl
i
keopens
s
l
et
c
.
ke
yt
oolg
enkey al
i
a
smykey keyal
gRSA keys
i
z
e2048 ke
ys
t
o
r
ei
de
nt
i
t
y.
j
ks
St
ep3:Gener
a
t
eaCertificate Signing Request (CSR) a
nds
e
ndi
tt
oCe
r
t
i
f
yi
ngAut
ho
r
i
t
y.
keyt
ools
el
f
c
er
tal
i
asmyke
yke
ys
t
or
ei
de
nt
i
t
y.
j
ks
St
ep4:Cr
eat
eai
de
nt
i
t
y ke
ys
t
o
r
e
,t
hi
sc
anbedonemye
xpo
r
t
i
ng
keyt
oolexpor
tal
i
asmyke
yf
i
l
ec
er
t
.
c
e
rke
ys
t
o
r
ei
de
nt
i
t
y.
j
ks
St
ep5:Cr
eat
eat
r
us
tkeys
t
o
r
e,
t
hi
sc
a
nbedonemyi
mpo
r
t
i
ng
.
keyt
ooli
mpor
tal
i
as mykey f
i
l
ec
er
t
.
c
er ke
ys
t
o
r
et
r
us
t
.
j
ks no
pr
o
mpt
Tover
i
f
yt
hec
ont
ent
soft
heke
ys
t
or
e
,youc
a
nus
et
hebe
l
o
wc
o
mma
nd,
keyt
ooll
i
s
tvkeys
t
o
r
e<keys
t
or
ename
>s
t
o
r
e
pa
s
s<ke
ys
t
o
r
e
pa
s
s
wo
r
d>

Ho
we
ve
rwec
a
nus
eo
t
he
r

2) Configuring the keystore on the WebLogic Server:


St
ep1:Logi
nt
ot
heAdmi
nCons
ol
e
,Cl
i
c
ko
ns
er
ver
s
St
ep2:Cl
i
c
ko
nLoc
ka
ndEdi
t
St
ep3:s
el
e
c
tt
hes
e
r
vero
nwhi
c
hyouwantt
oc
o
nf
i
gur
et
heSSL c
e
r
t
i
f
i
c
a
t
e
.
(
Ex:
ms
1
)
St
ep4:Cl
i
c
ko
nkeys
t
o
r
es
St
ep5:s
el
e
c
tCus
t
o
mi
de
nt
i
t
ya
ndCus
t
o
mt
r
us
t
Identiy:
CustomIdentitykeystore:C:
\be
a9\us
er
_pr
oj
ec
t
s
\doma
i
ns
\
s
a
i
_do
ma
i
n\
i
de
nt
i
t
y.
j
ks
Custom Identity keystore type: j
ks
Custom identity passphrase : Pa
va
n@123
Trust:
Custom trust keystore: C:
\bea
9\us
e
r
_pr
o
j
ec
t
s
\
do
ma
i
ns
\
s
a
i
_do
ma
i
n\
t
r
us
t
.
j
ks
Custom trust keystore type: j
ks
Custom trust passphrase : Pavan@123

s
ave Ac
i
vat
ec
hanges
St
ep6:Cl
i
c
ko
nSSL
St
ep7:Ent
eri
de
nt
i
t
y
Private key alias: mykey
Privatekey passphrase : Pa
va
n@123
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

14/29

6/9/15

Middleware Administration : Weblogic material

s
a
ve Ac
t
i
vat
ec
hange
s

Toc
hec
kSSLt
ypebr
ows
erht
t
ps
:
//
l
o
c
al
hos
t
:
5003(
ms
1s
s
l
po
r
t
numbe
r
)
/
me
s
s
a
g
i
ng
(
de
pl
o
yi
nga
ppl
i
c
a
t
i
o
n)

Apache Webserver
Install the apache web server in Linux:
St
ep1:f
i
r
s
tunz
i
pt
hef
i
l
eonz
i
pf
i
l
e
Gunz
i
p ht
t
pd2.
0.
55.
gz
St
ep2:t
arf
i
l
ei
sope
n.
Unt
a
rt
hatf
i
l
e
Tarxvfht
t
pd2.
o.
55.
t
a
r
Thef
i
l
ewi
l
ldi
s
pl
ay ht
t
pd2.
o
.
55
St
ep3:c
d ht
t
pd2.
0.
55
.
/
c
onf
i
g
ur
epr
e
f
i
x=/
ho
me
/apac
he
2
.
/
ma
ke
.
/
ma
kei
ns
t
a
l
l
Thei
ns
t
al
li
sc
ompl
e
t
e
d.
Check Apache servers running processes:
psef|gr
e
pht
t
pd|gr
ep vgr
e
p
1
)Tos
t
a
r
tapa
c
he-ht
t
pdks
t
ar
t
2)Tos
t
opapa
c
heht
t
pdks
t
op
3)ToRe
s
t
a
r
tapa
c
heht
t
pdkr
e
s
t
ar
t
Pr
ogr
am f
i
l
es/Apa
c
hes
o
f
t
war
ef
o
unda
t
i
on/Apac
he2.
2/
bi
nf
o
l
de
ri
n
i
)Ma
i
nc
onf
i
g
ur
a
t
i
o
nf
i
l
ei
nApa
c
hei
s
ht
t
pd.
c
onf

i
i
)Addi
t
i
onal
c
onf
i
gf
i
l
es
Ext
r
af
ol
der
4)Apac
hedef
aul
tpor
tno80
5)Apac
hes
s
l
def
aul
tpor
tnumber443
6)Toc
hec
kt
hes
ynt
axht
t
pd t
7
)Al
l
ht
mldoc
ument
s
ht
doc
s
f
ol
der
The Apache Directory Structure: The Apache software is typically distributed into the following subdirectories:
c
gi
bi
n

Thi
si
swher
emany,i
fnotal
l
,o
ft
hei
nt
e
r
a
c
t
i
vepr
o
g
r
a
mst
ha
tyo
uwr
i
t
ewi
l
l
r
e
s
i
de
.The
s
ewi
l
l
bepr
o
g
r
a
mswr
i
t
t
e
nwi
t
hPe
r
l
,J
a
va
,
orot
he
rpr
og
r
a
mmi
ngl
a
nguag
es
.

Conf

Thi
sdi
r
ec
t
or
ywi
l
l
c
ont
ai
nyourc
onf
i
gur
a
t
i
onf
i
l
e
s
.

ht
do
c
s

Thi
sdi
r
ec
t
or
ywi
l
l
c
ont
ai
nyoura
c
t
ual
hyper
t
extdo
c
ume
nt
s
.
Thi
sdi
r
e
c
t
o
r
ywi
l
l
t
ypi
c
a
l
l
yha
vema
nys
ubdi
r
e
c
t
o
r
i
e
s
.
Thi
sdi
r
e
c
t
o
r
yi
s
knownast
heDoc
ume
nt
Roo
t
.

I
c
ons Thi
sdi
r
ec
t
or
yc
ont
ai
nst
hei
c
o
ns(
s
mal
li
mag
es
)t
ha
tApa
c
hewi
l
l
us
ewhe
ndi
s
pl
a
yi
ngi
nf
o
r
ma
t
i
o
no
re
r
r
o
rme
s
s
a
g
e
s
.
i
magesThi
sdi
r
ec
t
or
ywi
l
l
c
ont
ai
nt
hei
magef
i
l
es(
GI
Fo
rJ
PG)t
ha
tyo
uwi
l
l
us
eo
nyo
urwe
bs
i
t
e
.
Logs

Thi
sdi
r
ec
t
or
ywi
l
l
c
ont
ai
nyourl
o
gf
i
l
e
s-t
heac
c
e
s
s
_l
o
ga
nde
r
r
o
r
_l
o
gf
i
l
e
s
.

Sbi
n

Us
eno
gr
o
up

Main Configuration file in apache:


1.
The Apache software is configured by changing settings in several text files in the Apache conf (configuration) directory.
2.
There are four configuration files used by Apache. The main configuration file is usually called httpd.conf.
ac
c
es
s
.
c
onf

Thi
si
sThes
ec
ur
i
t
yc
onf
i
g
ur
at
i
o
nf
i
l
e
.I
tCo
nt
a
i
nsi
ns
t
r
uc
t
i
o
nsa
bo
utwhi
c
h us
e
r
ss
ho
ul
d bea
bl
et
oa
c
c
e
s
s
. And wha
t
i
nf
or
ma
t
i
o
n.

ht
t
pd.
c
onf

Thi
si
sThes
e
r
ve
rc
onf
i
gur
a
t
i
onf
i
l
e.
I
tTypi
c
a
l
l
yc
o
nt
a
i
nsdi
r
e
c
t
i
ve
st
ha
ta
f
f
e
c
tho
wt
hes
e
r
ve
rr
uns
,
s
uc
ha
sus
e
ra
ndg
r
o
upI
D'
s
i
ts
ho
ul
dus
ewhe
nr
unni
ng,
t
hel
o
c
at
i
onofo
t
he
rf
i
l
e
s
,
e
t
c
.

s
r
m.
c
onf

Thi
si
sTher
e
s
our
c
ec
onf
i
gur
at
i
onf
i
l
e.I
tCo
nt
a
i
nsdi
r
e
c
t
i
ve
st
ha
tde
f
i
newhe
r
edo
c
ume
nt
sa
r
ef
o
und,ho
wt
oc
ha
ngea
ddr
e
s
s
e
s
t
of
i
l
e
na
me
s
,
et
c
.

mi
me.
t
ypesAc
onf
i
g
ur
a
t
i
o
nf
i
l
et
ha
tr
el
a
t
esf
i
l
e
na
meext
e
ns
i
o
nst
of
i
l
et
ype
s
.
Apache root: OnanApac
heHTTPSer
ver
,yo
uc
anc
o
nt
r
o
lwhe
r
et
hes
e
r
ve
rl
o
o
ksf
o
rl
i
veHTMLdo
c
ume
nt
s
;i
no
t
he
rwo
r
ds
,yo
urwe
bpa
g
e
s
o
rc
ont
entma
nag
ements
ys
t
em.
DocumentRoot: . The directory will typically have many subdirectories. This directory is known as the DocumentRoot. The documentRoot directory in apache is
htdocs.
Server root: Server Root Directory
Synt
a
x:Se
r
ve
r
Ro
o
tA<pa
t
h><t
t
="
"
>
Exa
mpl
e
:Ser
ver
Ro
ot/
s
w/
pkg
/
a
pa
c
he
Si
nc
e
:Apac
he1.
0 </pa
t
h><>
Thi
sdi
r
ec
t
i
ves
e
t
st
her
o
otdi
r
ec
t
or
yi
nwhi
c
ht
hes
e
r
ve
rr
e
s
i
de
s
.Typi
c
a
l
l
y,i
tc
o
nt
a
i
nst
hes
ubdi
r
e
c
t
o
r
i
e
sc
o
nf
/a
ndl
o
g
s
/
.Re
l
a
t
i
vepa
t
hsf
o
r
o
t
herc
onf
i
gur
at
i
onf
i
l
e
sa
r
et
akenasr
el
at
i
vet
ot
hi
sdi
r
ec
t
o
r
y.
Thi
sdi
r
e
c
t
i
vec
a
nbea
l
s
oo
ve
r
r
i
dde
nf
r
o
mt
hec
o
mma
ndl
i
nevi
at
hedo
pt
i
o
n.
II) Integrate Apache with WebLogic Server: Install apache in our machine and open httpd.conf file (C:\Program Files (x86)\Apache Software
Foundation\Apache2.2\conf\httpd.conf) and to do the following steps are:
St
ep1:Makes
ur
et
heapac
hes
e
r
verr
uno
npor
tnumber80o
r8080
Li
s
t
enl
oc
a
l
ho
s
t
:
80or8080
Li
s
t
e
n:
80
St
ep2:
Copyt
hemodul
eMod_WL_20 t
oC:
\
Pr
ogr
amFi
l
e
s
(
x86)
\
Apa
c
he
So
f
t
wa
r
eFo
unda
t
i
o
n\
Apa
c
he
2.
2\
mo
dul
e
s
St
ep3:c
opyt
hemo
dul
eo
n LoadModule WebLogic_module modules/mod_wl_22.so t
oht
t
pd.
c
o
nff
i
l
e
.
St
ep4:c
opyt
hebel
owc
o
nt
e
nti
nt
oht
t
pd.
c
onfonma
i
ns
e
r
ve
r
.
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

15/29

6/9/15

Middleware Administration : Weblogic material

<Location />
SetHandler WebLogic-handler
<IfModule mod_WebLogic.c>
WebLogicCluster localhost:5002,localhost:5004
WLTempDir c:/temp
</IfModule>
St
ep4:Res
t
ar
tt
hes
er
verandac
c
es
st
heappl
i
c
at
i
on.

</Location>
Debug ON
WLLogFile c:/temp/wlproxy.log

ht
t
p:
/
/l
oc
al
ho
s
t
:
apa
c
hepo
r
t
numbe
r
/
appna
me
(
ht
t
p:
//
l
oc
a
l
ho
s
t
80:
/
me
s
s
a
g
i
ng
)
III) Integrate Apache-SSL with WebLogic server: Install the "httpd/apache_x.x.x-win32-x86-openssl-x.x.x.msi" s/w in our machine. Open httpd.conf file Then
do the following steps
Step 1: Configure apache configure file httpd.conf, uncomment the following 2 lines,
LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf
Step2: Execute the following step for windows
s
etOPENSSL_CONF=C:
\Pr
og
r
a
m Fi
l
e
s
\
Apac
heSo
f
t
wa
r
eFo
unda
t
i
o
n\
Apa
c
he
2.
2\
c
o
nf
\
o
pe
ns
s
l
.
c
nf
Step 3: Generate certification using openssl,
openssl req -new -out server.csr
openssl rsa -in privkey.pem -out server.key
openssl x509 -in server.csr -out server.cert -req -signkey server.key -days 365
Step 4: Copyt
heg
ener
a
t
i
o
nf
i
l
est
ot
hedi
r
ec
t
or
ydef
i
ne
dbyht
t
pds
s
l
.
c
o
nf
Wehavet
heSe
l
f
s
i
gnedSSLc
er
t
i
f
i
c
at
e
sr
ea
dynow.
No
wWene
e
dt
oMOVEt
he"
s
e
r
ve
r
.
c
e
r
t
"a
nd
"
C:
\Pr
ogr
a
m Fi
l
e
s
\
Apac
heSof
t
wa
r
eFoundat
i
on\Apac
he
2.
2\
c
o
nf
"l
o
c
a
t
i
o
n.

"
s
e
r
ve
r
.
ke
y"f
i
l
et
ot
he

Step 5: check httpd-ssl.conf


Nowwene
edt
omo
di
f
yt
he"
C:
\Pr
og
r
a
m Fi
l
e
s
\Apa
c
heSo
f
t
wa
r
eFo
unda
t
i
o
n\
Apa
c
he
2.
2\
c
o
nf
\
e
xt
r
a
\
ht
t
pd-s
s
l
.
c
o
nf
"
.
Letal
l
t
hede
f
a
ul
topt
i
onsa
si
ti
sbutmakes
ur
et
omo
di
f
yt
hef
o
l
l
o
wi
ngs
e
c
t
i
o
na
c
c
o
r
di
ngt
oyo
urne
e
d:
<Vi
r
t
ual
Hos
t_de
f
aul
t
_:
443>
Ser
ve
r
Admi
ns
ome@e
ma
i
l
.
c
om
Doc
ument
Roo
t"
YourRoo
tf
ol
de
rl
oc
a
t
i
o
n"
Ser
ve
r
Namewww.
domai
n.
c
om:
443
ServerAlias domain.com:443
Er
r
or
Log"
l
ogs
/a
nyFi
l
e
e
r
r
o
r
.
l
o
g"
Cus
t
omLog"
l
o
gs
/anyFi
l
e
ac
c
es
s
.
l
o
g"c
o
mmon
SSLEngi
neon
SSLCer
t
i
f
i
c
at
e
Fi
l
e"
C:
/
Pr
ogr
am Fi
l
es
/Apac
heSo
f
t
war
eFo
unda
t
i
o
n/
Apa
c
he
2.
2/
c
o
nf
/
s
e
r
ve
r
.
c
e
r
t
"
SSLCer
t
i
f
i
c
at
e
Ke
yFi
l
e"
C:
/Pr
og
r
am Fi
l
e
s
/Apa
c
heSof
t
wa
r
eFo
unda
t
i
o
n/
Apa
c
he
2.
2/
c
o
nf
/
s
e
r
ve
r
.
ke
y"
</Vi
r
t
ual
Hos
t
>
Step 6: Open an exception in Windows Firewall for TCP port 443.(set ssl port number:443 in our mechine)
Step 7: Access the application using the below url
https://localhost:443/app-name or https://localhost/app-name
Set SSLport number:443 in our mechine:
St
ep1:Cl
i
c
kons
t
a
r
tbut
t
on
St
ep2:Cl
i
c
konCo
nt
r
olpanel
St
ep3:Cl
i
c
konwi
ndo
wsf
i
r
ewal
l
St
ep4:Cl
i
c
konAdva
nc
e
dSet
t
i
ng
s
St
ep5:Cl
i
c
konI
nboundedr
ul
es
St
ep6:Cl
i
c
konne
wr
ul
e
St
ep7:Se
l
ec
tpor
t
---- click on next
St
ep8:s
e
l
ec
tTCP
Se
l
ec
ts
pec
i
f
i
cl
o
c
at
i
onpo
r
t
:443
------ next
St
ep9:Se
l
ec
tAl
l
owt
hec
onnec
t
i
o
ns
---- next

---next

St
ep10:SSLpor
ti
sc
r
ea
t
e
d
Diff b/w one-way ssl and two-way ssl:
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

16/29

6/9/15

Middleware Administration : Weblogic material

One Way SSL :


-Onl
yt
hec
l
i
enta
ut
hent
i
c
at
e
st
hes
er
ve
r
.
Thi
sme
a
nst
ha
tt
hepubl
i
cc
e
r
to
ft
hes
e
r
ve
rne
e
dst
oc
o
nf
i
g
ur
e
di
nt
het
r
us
ts
t
o
r
e
o
ft
hec
l
i
ent
.
Two Way SSL: -Thec
l
i
entaut
he
nt
i
c
a
t
est
hes
er
ver&t
hes
e
r
ve
ra
l
s
oa
ut
he
nt
i
c
a
t
e
st
hec
l
i
e
nt
.
Thi
smeanst
hatt
hepubl
i
cc
er
toft
hes
e
r
ve
rnee
dst
oc
onf
i
g
ur
e
di
nt
het
r
us
ts
t
o
r
eo
ft
hec
l
i
e
nt
.
AndAl
s
ot
hepubl
i
cc
e
r
to
ft
hec
l
i
e
ntne
e
dst
o
bec
onf
i
g
ur
edont
hes
e
r
ver
'
st
r
us
ts
t
o
r
e
.
Virtual Hosting:
Diff b/w Name-based and Ip-based virtual hosting:
IP-based virtual hosts use the IP address of the connection to determine the correct virtual host to serve.
Name-based vi
r
t
ualho
s
t
i
ng,t
hes
er
ve
rr
el
i
e
so
nt
hec
l
i
e
ntt
or
e
po
r
tt
heho
s
t
na
mea
spa
r
to
ft
heHTTPhe
a
de
r
s& ma
nydi
f
f
e
r
e
ntho
s
t
sc
a
n
s
har
et
hes
ameI
Pa
ddr
es
s
.
Configure virtual host in apache and WebLogic:
Go to servers -> click on admin server -> click protocol -> select the chanel tab ->click new option N/
wc
ha
nne
lna
me:80pr
o
t
o
c
o
l
:
ht
t
pa
ndc
l
i
c
k
next>l
i
s
t
enAddr
es
s
:l
o
c
a
l
hos
tl
i
s
t
e
npor
t:80andc
l
i
c
kne
xt>c
l
i
c
kf
i
ni
s
h
Got
oenvi
r
onment>vi
r
t
ualhos
t
s>c
l
i
c
knewopt
i
o
n>c
r
e
a
t
eane
wvi
r
t
ua
l
ho
s
t>c
l
i
c
ko
k.

JVM(Java Virtual Machine)


JVM Architecture: JVM is the heart of any Java based Application Server. We face most of the issues due to incorrect JVM tuning. It is very important to
understand the Overall architecture of the JVM in order to trouble shoot different JVM tuning related issues. Here we are going to discuss the Architecture and the
Major parts of a Java Process And the Java Heap Division.
TheFo
l
l
owi
ngDi
a
gr
a
mi
sj
us
tabas
i
co
ve
r
vi
ew ofaJ
a
vaPr
o
c
e
s
si
na2GBpr
o
c
e
s
sSi
z
eMa
c
hi
ne
.Us
ua
l
l
yi
n32bi
tWi
ndo
wsOpe
r
a
t
i
ng
Sys
t
emst
hedef
a
ul
tpr
oc
es
ss
i
z
ewi
l
lbe2GB(
I
nUni
xba
s
e
d64bi
to
pe
r
a
t
i
ngSys
t
e
msi
tc
a
nbe4GBo
rmo
r
e
)
.
Soi
dr
a
wt
hef
o
l
l
owi
ngDi
a
gr
a
m
o
fJavaPr
oc
es
st
oe
xpl
ai
nt
heJ
avaPr
oc
es
spa
r
t
i
t
i
o
nsi
na2Gbpr
o
c
e
s
ss
i
z
ema
c
hi
ne
.
Java Process Architecture Diagram
I
nt
hea
bo
vedi
a
gr
am wewi
l
lf
i
nddi
f
f
er
entpar
t
i
t
i
o
nso
faJ
a
vaPr
o
c
e
s
s
.
Pl
e
a
s
ec
o
mpa
r
et
hea
bo
vedi
a
g
r
a
m wi
t
hbe
l
o
wde
s
c
r
i
pt
i
o
ns
.
.
1) Just for Example we can see that Process Size is 2048 MB (2GB)
2) The Java Heap Size is 1024MB (means 1GB) -Xmx1024m
3) Native Space = ( ProcessSize MaxHeapSize MaxPermSize) It means around 768 MB of Native Space.
4) MaxPermSpace is around -XX:MaxPermSize=256m
5) Young Generation Space is around 40% of Maximum Java Heap.
Different parts of JVM:
1) Eden space: Eden Space is a Part of Java Heap where the JVM initially creates any objects, where most objects die and quickly are cleaned up by the minor
Garbage Collectors (Note: Full Garbage Collection is different from Minor Garbage Collection). Usually any new objects created inside a Java Method go into Eden
space and the objects space is reclaimed once the method execution completes. Where as the Instance Variables of a Class usually lives longer until the Object based
on that class gets destroyed. When Eden fills up it causes a minor collection, in which some surviving objects are moved to an older generation.
2)Survivor Spaces: EdenSpac
eha
st
woSur
vi
vo
rs
pa
c
e
s
.Ones
ur
vi
vo
rs
pa
c
ei
se
mpt
ya
ta
nyg
i
ve
nt
i
me
.The
s
eSur
vi
vo
rSpa
c
e
ss
e
r
ve
sa
s
t
hedes
t
i
nat
i
ono
ft
henextc
opyi
ngc
o
l
l
ec
t
i
o
no
fa
nyl
i
vi
ngo
bj
e
c
t
si
nEde
na
ndt
heo
t
he
rs
ur
vi
vo
rs
pa
c
e
.
Thepa
r
amet
erSur
vi
vor
Ra
t
i
oc
anbeus
edt
ot
unet
hes
i
z
eo
ft
hes
ur
vi
vo
rs
pa
c
e
s
.
XX:
Sur
vi
vor
Rat
i
o=6s
et
st
her
at
i
obet
wee
ne
ac
hs
ur
vi
vo
rs
pa
c
ea
ndEde
nt
obe1
:
6
I
fs
ur
vi
vors
pa
c
e
sa
r
et
oos
mal
l
c
opyi
ngc
ol
l
ec
t
i
o
no
ver
f
l
o
wsdi
r
e
c
t
l
yi
nt
ot
het
e
nur
e
dg
e
ne
r
a
t
i
o
n.
3)Young Generation: (-XX:MaxNewSize): Ti
l
lJDK1
.
3a
nd1.
4weus
e
dt
os
e
tt
heYo
ungGe
ne
r
a
t
i
o
nSi
z
eus
i
ng-XX:MaxNewSize.But
f
r
om JDK1.
4o
nwar
dswes
e
tt
heYoungGener
at
i
ons
i
z
eus
i
ng(
-Xmn)J
VM o
pt
i
o
n.
YoungGener
a
t
i
o
ns
i
z
ei
sc
ont
r
o
l
l
edbyNewRa
t
i
o
.I
tmea
nss
e
t
t
i
ngXX:
Ne
wRa
t
i
o
=3me
a
nst
ha
tt
her
a
t
i
obe
t
we
e
nt
heOl
dGe
ne
r
a
t
i
o
na
ndt
he
YoungGener
a
t
i
o
ni
s1
:
3.
Si
mi
l
a
r
l
yXX:
Ne
wRat
i
o=8mea
nst
ha
t8:
1r
a
t
i
oo
ft
e
nur
e
da
ndyo
ungg
e
ne
r
a
t
i
o
n.
NewRatio: NewRatio is actually the ratio between the (YoungGenaration/Old Generations) has default values of 2 on Sparc , 12 on client Intel, and 8 everywhere else.
NOTE: After JDK 1.4 The Young Generation Size can be set using (-Xmn) as well.
1) Virtual space-1:(MaxNewSize NewSize): The First Virtual Space is actually shows the difference between the -XX:NewSize and -XX:MaxNewSize. Or we
can say that it is basically a difference between the Initial Young Size and the Maximum Young Size.
JavaHeapArea:( -Xmx and Xms): Java Heap is a Memory area inside the Java Process which holds the java objects. Java Heap is a combination of Young
Generation Heap and Old Generation Heap. We can set the Initial Java Heap Size using -Xms JVM parameter similarly if we want to set the Maximum Heap Size then
we can use -Xmx JVM parameter to define it.
Example:
-Xmx1024m > Means Setting the Maximum limit of Heap as 1 GB
-Xms512m > Means setting Java Heap Initial Size as 512m
.
NOTE-1): It is always recommended to set the Initial and the Maximum Heap size values as same for better performance.
NOTE-2): The Theoretical limitation of Maximum Heap size for a 32 bit JVM is upto 4GB. Because of the Memory Fragmentation, Kernel Space Addressing, Swap
memory usages and the Virtual Machine Overheads are some factors JVM does not allow us to allocate whole 4GB memory for Heap in a 32 bit JVM. So usually on
32-bit Windows Operating Systems the Maximum can be from 1.4 GB to 1.6 GB.
I
fwewantal
ar
ge
rmemo
r
yal
l
o
c
a
t
i
o
na
c
c
o
r
di
ngt
oo
ura
ppl
i
c
a
t
i
o
nr
e
qui
r
e
me
ntt
he
nwemus
tc
ho
o
s
et
he64bi
to
pe
r
a
t
i
ngs
ys
t
e
mswi
t
h
64bi
tJVM.64bi
tJVM pr
o
vi
desusal
ar
geraddr
es
ss
pa
c
e
.Sowec
a
nha
vemuc
hl
a
r
g
e
rJ
a
vaHe
a
p wi
t
ht
hei
nc
r
e
a
s
e
dnumbe
ro
fThr
e
a
ds
a
l
l
oc
at
i
onar
ea
.Bas
e
do
nt
heNa
t
ur
eo
fyourOpe
r
at
i
ngs
ys
t
e
mi
na64bi
tJ
VM yo
uc
a
ne
ve
ns
e
tt
heMa
xi
mum He
a
ps
i
z
eupt
o32GB.
Exampl
e
: -Xms32g -Xmx32g -Xmn4g
2) Virtual Space-2: (MaxHeapSize InitialHeapSize): The Second Virtual Space is actually the Difference between the Maximum Heap size (-Xmx)and the Initial
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

17/29

6/9/15

Middleware Administration : Weblogic material

Heap Size(-Xms). This is called as virtual space because initially the JVM will allocate the Initial Heap Size and then according to the requirement the Heap size can
grow till the MaxHeapSize.
PermGen Space: (-XX:MaxPermSize): PermGen is a non-heap memory area where the Class Loading happens and the JVM allocates spaces for classes, class
meta data, java methods and the reference Objects here. The PermGen is independent from the Heap Area. It can be resized according to the requirement using XX:MaxPermSize and -XX:PermSize JVM Options. The Garbage collection happens in this area of JVM Memory as well. The Garbage collection in this area is
called as Class GC. We can disable the Class Garbage Collection using the JVM Option -noclassgc. if -noclassgc Java Option is added while starting the Server.
In that case the Classes instances which are not required will not be Garbage collected.
Native Area: Native Memory is an area which is usually used by the JVM for its internal operations and to execute the JNI codes. The JVM Uses Native Memory
for Code Optimization and for loading the classes and libraries along with the intermediate code generation.
TheSi
z
eoft
heNat
i
veMe
mor
ydependso
nt
heAr
c
hi
t
e
c
t
ur
eo
ft
heOpe
r
a
t
i
ngSys
t
e
ma
ndt
hea
mo
unto
fme
mo
r
ywhi
c
hi
sa
l
r
e
a
dyc
o
mmi
t
e
dt
o
t
heJavaHe
ap.Nat
i
vememor
yi
sa
nPr
o
c
es
sAr
e
awher
et
heJ
NIc
o
de
sg
e
t
sl
o
a
de
do
rJ
VM Li
br
a
r
i
e
sg
e
t
sl
o
a
de
do
rt
hena
t
i
vePe
r
f
o
r
manc
e
pac
ksandt
hePr
oxyModul
e
sg
et
sl
oa
de
d.
Ther
ei
snoJVM Opt
i
o
na
va
i
l
abl
et
os
i
z
et
heNat
i
veAr
ea
.
butwec
a
nc
a
l
c
ul
a
t
ei
ta
ppr
o
xi
ma
t
e
l
yus
i
ngt
hef
o
l
l
o
wi
ngf
o
r
mul
a
:
NativeMemory = (ProcessSize MaxHeapSize MaxPermSize)
Garbage collection: Its always best to enable the Garbage collection Logging in our production environment as well because it does not cause any resource overhead
or any side effect on WebLogic server or another application servers performance. GC log helps us in investigating man issues. Apart from issues it helps us to find out
if some tuning is required based on the statistics of the Garbage collection.
Garbage collection logging can be enable and collected in a separate log file
by using the following JAVA_OPTIONS:
-Xloggc:D:/gcLogs/GCLogs.log
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
Ass
oonasyouaddt
he
s
eJAVA_OPTI
ONSwhi
c
ha
r
eJVM s
pe
c
i
f
i
c(
a
bo
vewi
l
l
wo
r
kf
o
rSuna
ndOpe
nJ
DKsf
i
ne
)t
heJ
VM wi
l
l
s
t
a
r
tg
e
ne
r
a
t
i
ng
t
hega
r
bagec
o
l
l
e
c
t
i
o
nl
og
gi
ngi
nt
heGCLog
.
l
ogf
i
l
e.
No
wi
fyo
uwi
l
l
o
pe
nt
hi
sf
i
l
et
he
nyo
uc
a
n
see something like following:
4.636: [GC [PSYoungGen: 230400K->19135K(268800K)] 230400K->19135K(2058752K), 0.0635710 secs] [Times: user=0.08
01
sys=0.01, real=0.06 secs]
7.302: [GC [PSYoungGen: 249535K->38396K(268800K)] 249535K->51158K(2058752K), 0.0777300 secs] [Times: user=0.21
02
sys=0.04, real=0.07 secs]
7.521: [GC [PSYoungGen: 49735K->38388K(268800K)] 62496K->51933K(2058752K), 0.0741680 secs] [Times: user=0.15 sys=0.04,
real=0.07 secs]
7.595: [Full GC (System) [PSYoungGen: 38388K->0K(268800K)] [PSOldGen: 13545K->51794K(1789952K)] 51933K04
>51794K(2058752K) [PSPermGen: 19868K->19868K(39936K)], 0.3066610 secs] [Times: user=0.28 sys=0.02, real=0.31 secs]
03

9.752: [GC [PSYoungGen: 230400K->26206K(268800K)] 282194K->78000K(2058752K), 0.0728380 secs] [Times: user=0.15


sys=0.00, real=0.08 secs]
11.906: [GC [PSYoungGen: 256606K->38393K(268800K)] 308400K->94759K(2058752K), 0.1058920 secs] [Times: user=0.19
06
sys=0.00, real=0.10 secs]
05

13.480: [GC [PSYoungGen: 268793K->38394K(268800K)] 325159K->109054K(2058752K), 0.0762360 secs] [Times: user=0.20


sys=0.03, real=0.08 secs]
18.115: [GC [PSYoungGen: 268794K->38384K(268800K)] 339454K->179238K(2058752K), 0.1351350 secs] [Times: user=0.42
08
sys=0.10, real=0.14 secs]
07

20.860: [GC [PSYoungGen: 268784K->38394K(268800K)] 409638K->200343K(2058752K), 0.1063430 secs] [Times: user=0.29


sys=0.03, real=0.11 secs]
22.148: [GC [PSYoungGen: 268794K->38399K(268800K)] 430743K->221395K(2058752K), 0.1173980 secs] [Times: user=0.24
10
sys=0.02, real=0.12 secs]
09

23.357: [GC [PSYoungGen: 268799K->26775K(268800K)] 451795K->231618K(2058752K), 0.0714130 secs] [Times: user=0.15


sys=0.03, real=0.08 secs]
24.449: [GC [PSYoungGen: 257175K->29170K(268800K)] 462018K->239909K(2058752K), 0.0312400 secs] [Times: user=0.06
12
sys=0.01, real=0.04 secs]
Youc
annot
i
c
es
o
me
t
hi
ngi
nt
heaboveo
ut
put
:
Point1: [Full GC (System) [PSYoungGen: 38388K->0K(268800K)] It means a Full GC is happening on the complete Heap Area including all the Areas of the Java
Heap Space.
Point2: [GC [PSYoungGen: 230400K->19135K(268800K)] Indicates some small GCs which keep on happening in the young generation very frequently, This
garbage collection cleans the Young Generation short living Objects.
Point3: Meaning of the [GC [PSYoungGen: 230400K->19135K(268800K)] line is around 256MB (268800K) is the Young Generation Size, Before Garbage
Collection in young generation the heap utilization in Young Generation area was around 255MB (230400K) and after garbage collection it reduced up to 18MB
(19135K)
Point4: Same thing we can see for Full Garbage collection as well.How effective the Garbage collection was[Full GC (System) [PSYoungGen: 38388K>0K(268800K)] [PSOldGen: 13545K->51794K(1789952K)] Here it says that around
[
(
ol
d)
1789952K+ young(
268800K)]me
mor
ys
pac
eme
a
ns Ol
dGe
ne
r
a
t
i
o
ni
sc
o
ns
umi
ng1
.
7
5GBs
pa
c
ea
ndYo
ungGe
ne
r
a
t
i
o
ni
sc
o
ns
umi
ng
a
r
ound255MBs
pa
c
eSoi
tmea
nst
o
t
al
He
aps
i
z
ei
sar
ound2GB.
Buta
na
l
yz
i
ngt
heGa
r
bagec
ol
l
e
c
t
i
onl
ogl
i
keabo
vet
e
c
hni
queLi
nebyLi
nei
sve
r
yba
ds
ohe
r
eweha
vea
na
l
t
e
r
na
t
i
vewast
oa
nal
yz
e
t
heGar
bageCol
l
ec
t
i
onl
ogi
nf
ewSec
o
ndst
os
eehowmuc
ht
i
met
heFul
l
Ga
r
ba
g
ec
o
l
l
e
c
t
i
o
ni
st
a
ki
nga
sa
na
ve
r
a
g
ea
ndo
t
he
rr
e
po
r
t
s
e
t
c
.
11

Step1): Download the garbagecat-1.0.0.jar (881 KB) tool from the follwing link:http://garbagecat.eclipselabs.org.codespot.com/files/garbagecat-1.0.0.jar
Step2): Open a command prompt and then make sure that JAVA is set in the Path so that we can use jar utility of JDK to run the garbagecat-1.0.0.jar tool.
Step3): Put the garbagecat-1.0.0.jar file and the GCLog.log file in the same directory. then run the following command:
java
-jar garbagecat-1.0.0.jar GCLog.log
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

18/29

6/9/15

Middleware Administration : Weblogic material

Step4): As soon as our run the above command you will see that in your current directory following files are created:
gar
bage
c
a
t
1
.
0.
0.
j
ar
GCLog.
l
og
gc
db.
l
c
k
gc
db.
l
o
g
gc
db.
pr
oper
t
i
es
r
epo
r
t
.
t
xt
Step5): Now open the report.txt file to see the Overall report of the Garbage Collection something like following:
========================================
SUMMARY:
========================================
#GCEvent
s
:12
GCEventTypes
:PARALLEL_SCAVENGE,PARALLEL_SERI
AL_OLD
MaxHeapSpa
c
e
:2058752K
MaxHeapOc
c
upanc
y:462018K
MaxPer
m Spac
e
:39936K
MaxPer
m Oc
c
upanc
y:19868K
Thr
oughput
:95%
MaxPaus
e:306ms
Tot
al
Paus
e:1
233ms
Fi
r
s
tTi
mes
t
amp:4636ms
Las
tTi
mes
t
amp:24449ms
========================================
.
I
fyous
e
et
ha
tt
heGa
r
ba
geCol
l
ec
t
i
o
nMaxPaus
et
i
mei
sve
r
yhi
g
hl
i
kemo
r
et
ha
n57Se
c
o
ndsf
o
ra2GBhe
a
pt
he
nyo
une
e
dt
owo
r
r
ya
bo
ut
i
t
.
NOTE: Garbage collection is a best utility to generate the Garbage Collection Report for Sun JDK and Open JDK for other JDKs you should use other tools for
accurate results.
Garbage collection algorithms:
1) Mark-and-sweep collector: Thi
st
ypeo
fc
ol
l
e
c
t
orf
i
r
s
tt
r
a
ve
r
s
e
st
heo
bj
e
c
tg
r
a
pha
ndma
r
ksr
e
a
c
ha
bl
eo
bj
e
c
t
s
.I
tt
he
ns
c
a
nst
hehe
a
p
f
orunmar
kedobj
ec
t
sa
ndaddst
hei
rmemor
yt
oal
i
s
to
fa
va
i
l
a
bl
eme
mo
r
ys
e
g
me
nt
s
.Thi
sc
o
l
l
e
c
t
o
rt
ypi
c
a
l
l
yus
e
sas
i
ng
l
et
hr
e
a
dt
odoi
t
swo
r
k
a
ndi
sas
t
opt
he
wo
r
l
dc
o
l
l
e
c
t
o
r
.
2) Mark-and-compact collector: A mar
kandc
ompa
c
tc
o
l
l
e
c
t
o
r
,s
o
me
t
i
me
skno
wna
sama
r
ks
we
e
pc
o
mpa
c
tc
o
l
l
e
c
t
o
r
,us
e
st
hes
a
me
ma
r
ki
ngphas
ea
samar
kands
we
epc
o
l
l
e
c
t
o
r
.Dur
i
ngt
hes
e
c
o
ndpha
s
e
,
i
tc
o
mpa
c
t
st
hehe
a
pbyc
o
pyi
ngma
r
ke
do
bj
e
c
t
st
oane
wa
r
e
ao
ft
he
heap.
Thes
ec
o
l
l
e
c
t
o
r
sar
eal
s
os
t
opt
hewo
r
l
dc
o
l
l
e
c
t
o
r
s
.
3) Copying collector: Thi
st
ypeo
fc
ol
l
e
c
t
o
rdi
vi
de
st
hehe
a
pi
nt
ot
woa
r
e
a
s
,
c
o
mmo
nl
ykno
wna
ss
e
mi
s
pa
c
e
s
.I
tus
e
so
nl
yo
nes
emi
s
pa
c
ea
t
at
i
me;t
heJVM c
r
e
at
esa
l
lnew obj
ec
t
si
nones
e
mi
s
pac
e
.
Whe
nt
heg
a
r
ba
g
ec
o
l
l
e
c
t
o
rr
uns
,
i
tc
o
pi
e
sa
nyr
e
a
c
ha
bl
eo
bj
e
c
t
si
tf
i
ndst
ot
heo
t
he
r
s
e
mi
s
pac
easi
tf
i
ndst
he
m,t
husc
o
mpac
t
i
ngt
hehe
apa
si
tc
o
pi
e
sl
i
veo
bj
e
c
t
s
.Al
lde
a
do
bj
e
c
t
sa
r
el
e
f
tbe
hi
nd.Thi
sa
l
g
o
r
i
t
hm wo
r
kswe
l
lf
o
r
s
hor
t
l
i
vedobj
ec
t
s
,
butt
hee
xpens
eo
fc
ont
i
nual
l
yc
opyi
ngl
o
ng
l
i
ve
do
bj
e
c
t
sma
ke
si
tl
e
s
se
f
f
i
c
i
e
nt
.
Ag
a
i
n,
t
hi
si
sas
t
o
pt
he
wo
r
l
dc
o
l
l
e
c
t
o
r
.
4) Incremental collector: I
nc
r
ement
a
lc
o
l
l
e
c
t
o
r
sbas
i
c
a
l
l
ydi
vi
det
hehe
a
pi
nt
omul
t
i
pl
ea
r
e
a
sa
ndc
o
l
l
e
c
tg
a
r
ba
g
ef
r
o
mo
nl
yo
nea
r
e
aa
ta
t
i
me.Thi
sc
anc
r
eat
emuc
hs
mal
l
er
,
t
houg
hmo
r
ef
r
e
quent
,pa
us
e
si
nyo
ura
ppl
i
c
a
t
i
o
n.
The
r
ea
r
enume
r
o
usa
ppr
o
a
c
he
sde
f
i
ni
nghow t
hea
c
t
ua
l
c
o
l
l
ec
t
i
oni
shandl
e
df
r
om t
r
a
di
t
i
onalma
r
kands
weept
oa
l
g
o
r
i
t
hmsde
s
i
g
ne
de
xpl
i
c
i
t
l
yf
o
rus
ewi
t
hmul
t
i
pl
es
ma
l
l
e
ra
r
e
a
sl
i
ket
het
r
a
i
n
a
l
gor
i
t
hm. Se
e
I
nc
r
ement
al Mat
ur
e Gar
ba
ge Col
l
e
c
t
i
o
n Us
i
ng t
he Tr
a
i
n Al
g
o
r
i
t
hm by J
a
c
o
b Se
l
i
g
ma
nn a
nd St
e
f
f
e
n Gr
a
r
up
(
http://www.daimi.aau.dk/~beta/Papers/Train/train.html)f
ormor
ei
nf
o
r
ma
t
i
o
n.
5) Generational collector:Thi
st
ypeofc
o
l
l
ec
t
o
rdi
vi
de
st
hehe
a
pi
nt
ot
woo
rmo
r
ea
r
e
a
st
ha
ti
tus
e
st
os
t
o
r
eo
bj
e
c
t
swi
t
hdi
f
f
e
r
e
ntl
i
f
e
t
i
me
s
.
TheJ
VM gene
r
a
l
l
yc
r
e
at
esal
lne
wo
bj
ec
t
si
no
neoft
he
s
ea
r
e
a
s
.
Ove
rt
i
me
,
t
heo
bj
e
c
t
st
ha
tc
o
nt
i
nuet
oe
xi
s
tg
e
tt
e
nur
ea
ndmo
vei
nt
oa
no
t
he
r
a
r
eaf
orl
onger
l
i
vedo
bj
e
c
t
s
.Ge
ne
r
at
i
onal
c
ol
l
ec
t
or
so
f
t
enus
edi
f
f
e
r
e
nta
l
g
o
r
i
t
hmsf
o
rt
hedi
f
f
e
r
e
nta
r
e
a
st
oo
pt
i
mi
z
epe
r
f
o
r
ma
nc
e
.
6) Concurrent collectors:Conc
ur
r
entc
ol
l
ec
t
or
sr
unc
o
nc
ur
r
e
nt
l
ywi
t
ht
hea
ppl
i
c
a
t
i
o
n,t
ypi
c
a
l
l
ya
so
neo
rmo
r
eba
c
kg
r
o
undt
hr
e
a
ds
.The
s
e
c
o
l
l
ec
t
or
st
ypi
c
a
l
l
y ha
vet
os
t
o
pt
he
wor
l
d ats
omepo
i
ntt
oc
o
mpl
e
t
ec
e
r
t
a
i
nt
a
s
ks
,butt
hea
mo
unto
ft
i
met
he
y ha
l
ta
l
lpr
o
c
e
s
s
i
ngi
s
s
i
gni
f
i
c
ant
l
yr
e
duc
edbec
a
us
eoft
hei
rot
herba
c
kgr
o
undwo
r
k.
7) Parallel collectors: Pa
r
al
l
elc
ol
l
ec
t
or
st
ypi
c
al
l
yus
eo
neo
ft
het
r
a
di
t
i
o
na
la
l
g
o
r
i
t
hmsbutus
emul
t
i
pl
et
hr
e
a
dst
opa
r
a
l
l
e
l
i
z
et
he
i
rwo
r
ko
n
mul
t
i
pr
o
c
es
s
o
rmac
hi
nes
.Us
i
ngmul
t
i
pl
et
hr
eadsonmul
t
i
CPU ma
c
hi
ne
sc
a
ndr
a
ma
t
i
c
a
l
l
yi
mpr
o
vet
hes
c
a
l
a
bi
l
i
t
yo
faJ
a
vaa
ppl
i
c
a
t
i
o
no
n
mul
t
i
pr
o
c
es
s
o
rmac
hi
nes
.
Creating And Analyze log for Garbage Collection:
Creating GC log: Setmemor
yar
gume
nti
ns
t
a
r
t
WebLo
g
i
c
.
c
md.
Xms
256m Xmx512m XX:
Co
mpai
l
Thr
e
s
ho
l
d=8000XX:
pe
r
mSi
z
e
=48m XX:
Ma
xPe
r
mSi
z
e
=1
28m
analyze GC logs:
Srep1:Got
oadmi
nc
ons
ol
e
Step2: Cl
i
c
kt
heAdmi
ns
er
ver
Step3: Se
l
ec
tt
hemo
ni
t
o
r
st
ab
Step4: Cl
i
c
kt
heper
f
or
manc
e
Step5: Se
l
ec
tt
hegar
bag
ec
ol
l
ec
t
or
Security Realms: A security realm is a container for the mechanisms including users, groups, security roals, security palaces and providers. That are used to protect
WebLogic resources, we can have multiple security reasons in a WebLogic servers domain. But only one can be set as the default realm.
Thi
ss
e
c
ur
i
t
yr
e
al
mspa
ge
,l
i
s
t
si
ss
ec
ur
i
t
yr
ea
l
mst
ha
tha
sbe
e
nc
o
nf
i
g
ur
e
di
nt
hi
sWe
bLo
g
i
cs
e
r
ve
rdo
ma
i
n.
Cl
i
c
kt
hena
meoft
her
e
a
l
ms
t
oexpl
or
eandc
o
nf
i
gur
et
ha
tr
e
al
m.
Creating users and groups in WLS:
St
ep1:Go
t
os
ec
ur
i
t
yr
ea
l
m
St
ep2:Cl
i
c
ko
nLoc
kAndEdi
t
St
ep3:Sel
ec
tMyr
e
al
m
St
ep4:Sel
ec
tus
erandgr
oupt
ab
St
ep5:Cl
i
c
ko
nNe
w
Name
:Ram
Des
i
gnat
i
on :WebLo
gi
c
_Admi
n
Pr
o
vi
der
:Sel
e
c
tpr
o
vi
der
Pas
s
wor
d
:Ram123
Conf
or
mPwd :Ram123
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

19/29

6/9/15

Middleware Administration : Weblogic material

> Ok
St
ep6:Cl
i
c
ko
nRa
m
St
ep7:Cl
i
c
ko
ngr
o
upTa
b
St
ep8:Sel
ec
tRo
l
e
St
ep9:Cl
i
c
ko
nOk
St
ep10:Cl
i
c
konSa
ve
Roals:
1) Admin Channel Users: Admin channel users can access the admin channel.
2) Administrator: Administrator can view and modify all the resource attributes and start, stop servers.
3) App Testing: App testing group.
4) Cross Domain Connecters: Cross Domain Connecters can make inter-domain calls from foreign domains.
5) Deployers: Deployer can view all the resource attributes and deploy applications.
6) Monitors: Monitors can view and modify all resource attributes and perform operations not restricted by roles.
7) Operators: Operators can view and modify all response attributes and perform server life cycle operations.
Difference between unicast and multicast:
Unicast
Multicast
1) I
ti
sj
us
tone
t
o
o
nec
ommuni
c
a
t
i
ont
hat1)I
ti
samul
t
i
c
o
mmuni
c
a
t
i
o
nl
e
ve
l
a
ndma
i
nl
y
mul
t
i
c
a
s
t
se
na
bl
e
d r
o
ut
e
r
s us
e
d f
o
r
t
akespl
ac
ebet
wee
nt
hec
l
i
enta
ndt
he
br
oa
dc
a
s
t
i
ng
.
s
er
ver
.
nmul
t
i
c
a
s
ts
e
ndspa
c
ke
t
st
omul
t
i
pl
e
2) I
nuni
c
a
s
t
,onepac
keti
st
r
a
ns
mi
t
t
e
dt
o2)I
de
s
t
i
na
t
i
o
nswhi
c
hi
sr
e
pr
e
s
e
nt
e
dbyag
r
o
up
onl
y
es
s
.
o
nedes
t
i
nat
i
onatat
i
me.
Soi
tr
e
c
i
veo
nl
yaddr
Soi
tr
e
c
e
i
ve
smul
t
i
pl
er
e
c
e
i
ve
r
s
.
one
r
e
c
i
ver
.
3)Whe
nt
hef
o
r
me
ri
smo
r
epr
a
c
t
i
c
a
l
a
so
nl
y
3) I
n uni
c
a
s
t
,t
he I
nt
e
r
ne
t pr
ot
oc
o
l
as
ma
l
ls
e
c
t
i
o
no
ft
heI
nt
e
r
ne
ti
smul
t
i
c
a
s
t
met
ho
ds
,
enabl
ed.
s
uc
has
,TCP(
Tr
ans
mi
s
s
i
onCo
nt
r
ol
nmul
t
i
c
a
s
t
,
t
he
r
ei
snodi
r
e
c
tl
i
nkbe
t
we
e
n
Pr
ot
oc
ol
)a
nd UDP(
Us
er Dat
ag
r
am4) I
Pr
ot
oc
ol
)
t
heus
era
ndt
hes
e
r
ve
r
.
Whe
nus
i
ngWi
ndo
ws
ar
eus
ed.
Medi
aPl
a
ye
r
,t
heus
e
rdo
e
sno
tha
vea
ny
4)Whenaus
erus
est
heWi
ndowsMe
di
a di
r
ec
t
Pl
aye
r
,heors
heha
sdi
r
e
c
tc
ont
ac
twi
t
h
l
i
nkwi
t
ht
hes
e
r
ve
r
.I
ns
t
e
a
d,o
nc
et
heus
e
r
t
hes
e
r
ver
.
Ea
c
hoft
heus
er
sus
i
ng
s
t
ar
t
st
o
t
he uni
c
as
t system ut
i
l
i
s
es a
ddi
t
i
ona
l us
eWi
ndo
wsMe
di
aPl
a
ye
r
,
a
n.
ns
co
rNe
xt
how c
ha
nne
li
sg
e
ne
r
a
t
e
d whi
c
hi
st
he
n
bandwi
dt
h.
del
i
ver
ed
t
ot
heus
e
rf
r
o
mt
hes
e
r
ve
r
.
Trouble shooting issues:
Deployment: Wewi
l
ls
ende
r
r
o
rl
o
gt
ot
heappl
i
c
at
i
ont
ea
mf
o
rmo
di
f
i
c
a
t
i
o
n.
Caus
e
dBy:WebLog
i
c
.
ut
i
l
s
.
Er
r
o
r
Co
l
l
e
c
t
i
onExc
ept
i
o
n:
Ther
ear
e1ne
s
t
e
der
r
or
s
:
WebLogi
c
.
j
2ee
.
dd.
xml
.
Anno
t
at
i
onPr
o
c
es
s
Exc
e
pt
i
on:Dupl
i
c
a
t
ee
j
bna
me'
BDAc
c
o
unt
Ej
bBe
a
n'
f
o
und:a
nno
t
a
t
i
o
n'
St
a
t
e
l
e
s
s
'
o
nbe
a
nf
a
i
l
e
dduet
o
c
o
nne
c
t
i
onpoo
li
s
s
ue:wewi
l
lf
i
xc
o
nnec
t
i
onpo
ol
i
s
s
uesandt
he
nr
e
de
pl
o
yt
hea
ppl
i
c
a
t
i
o
n
Outofmemor
yi
s
s
uedur
i
ngt
hede
pl
o
yment
:
e
r
r
or
:java.lang.outofmemory.permgenspace
t
hi
ser
r
o
roc
c
ur
e
dduet
os
pa
c
ei
nper
m ar
e
a.
s
e
t
Doma
i
nEnv.
s
h
xx:
per
ms
i
z
e1
28m
xx:
maxper
ms
i
z
e128m
weha
ves
eti
nt
i
a
l
pe
r
ms
i
z
e=maxpe
r
ms
i
z
et
henr
es
t
ar
t
edt
hes
e
r
ve
r
s
,
r
e
de
pl
o
ye
dt
hea
ppl
i
c
a
t
i
o
n
I
foneort
woa
ppl
i
c
a
t
i
o
nf
ai
l
e
dwhe
nwear
et
r
i
gg
er
i
ngt
hr
o
ug
hs
c
i
pt
.
wewi
l
l
f
i
xt
ha
ti
s
s
uea
nddoade
pl
o
yme
ntus
i
ngc
o
ns
o
l
e
JDBC:
1
)DBdo
wn(
r
ai
s
eat
i
c
kett
odbt
ea
m)
2)I
nc
or
r
ec
thos
t
na
meorpo
r
tnumber(r
a
i
s
eat
i
c
kett
one
t
wo
r
kt
e
a
m)
3)Dat
abas
ec
onnec
t
i
o
nl
o
s
t(t
e
l
ne
t
i
paddr
e
s
spo
r
t)
4)Dat
abas
eus
er
_a
c
cl
oc
k(r
ai
s
eat
i
c
ke
tt
odbt
eam f
orunl
o
c
ki
ngus
e
r
_a
c
c
)
5)I
nval
i
dpakageer
r
o
r(
r
ai
s
eat
i
c
kett
odbt
e
am)
6)TNSl
i
s
t
ene
re
r
r
o
r(
r
ai
s
eat
i
c
ke
tt
odbt
eam)
7
)Sc
hemadoe
snotexi
s
t(
r
a
i
s
eat
i
c
kett
odbt
ea
m)
8)Cannota
l
l
o
c
at
er
es
o
ur
c
ee
r
r
o
r
I
nt
i
al
c
apac
i
t
y:5
ma
x :15
i
nc
r
ea
s
emaxt
o25
9)Connec
t
i
onl
ea
ks(s
ende
r
r
ort
oappl
i
c
at
i
ont
e
am)
1
0)Connec
t
i
o
nt
i
meout(r
a
i
s
eat
i
c
ke
c
tt
odbt
e
am f
orl
o
ngr
unni
ngqur
i
e
s
)
JMS:
s
t
uc
kmes
s
agei
s
s
ue
s
Chec
kwhet
he
rdes
tqueuei
savai
l
a
bl
e,c
he
c
kme
s
s
a
gef
or
ma
t
,
c
he
c
kque
uena
me
.
r
o
l
l
i
ngmes
s
ag
ei
s
s
ues(
mes
s
age
swi
l
l
r
unc
ont
i
nuous
l
yi
nt
hel
o
o
p)
del
et
et
hos
emes
s
ag
esi
nt
hequeue
.
Disk Space:
I
ft
hedi
s
ks
pa
c
eus
a
gei
s95%1
00% t
he
nwewi
l
ldel
e
t
eo
l
dl
o
gf
i
l
e
s
[
r
o
ot
@l
o
c
al
ho
s
t~]
#dfkh
Fi
l
es
ys
t
emSi
z
eUs
e
dAva
i
lUs
e
% Mo
unt
edon
/
dev/
s
da2
3.
8G 1
.
9G 1.
8G 52% /
/
dev/
s
da1
46M 9.
2M 35M 22% /
bo
ot
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

20/29

6/9/15

Middleware Administration : Weblogic material

t
mpf
s
506M 0 506M 0% /
dev/s
hm
/
dev/
s
da3
1
4G 1
.
8G 1
2G 100% /
ho
me
dukh(
di
s
kus
ag
e)
s
[
r
o
ot
@l
o
c
al
ho
s
t~]
#dus
h/
home
1
.
8G /home
[
r
o
ot
@l
o
c
al
ho
s
tbea
10.
3]
#dus
h*
1
81M j
dk160_05
28K l
o
gs
211M j
r
oc
ki
t
_1
60_05
1
00M
24K
8.
0K
1
9M
556K
429M

mo
dul
es
r
egi
s
t
r
y.
dat
r
egi
s
t
r
y.
xml
us
er
_pr
o
j
ec
t
s
ut
i
l
s
wl
s
er
ver
_1
0.
3

del
et
eol
dl
ogf
i
l
e
s
/
home/bea
10.
3/
us
e
r
_pr
oj
e
c
t
s
/
do
ma
i
ns
/s
her
khan/
s
e
r
ve
r
s
/
Admi
nSe
r
ve
r
/
l
o
g
s
r
mr
fAdmi
ns
er
ver
.
l
o
g00001Admi
ns
e
r
ver
.
l
og
00002Admi
ns
e
r
ve
r
.
l
o
g
00003
r
mr
fAdmi
ns
er
ver
.
out
00001Admi
ns
e
r
ve
r
.
o
ut
00002Admi
ns
e
r
ve
r
.
o
ut
00003
r
mr
fac
c
es
s
.
l
og00001a
c
c
e
s
s
.
l
og00002ac
c
e
s
s
.
l
og00003
/
home/bea
10.
3/
us
e
r
_pr
oj
e
c
t
s
/
do
ma
i
ns
/s
her
khan/
s
e
r
ve
r
s
/
ms
1
/
l
o
g
s
r
mr
fms
1.
l
og
00001
r
mr
fms
1.
out
00001
o
rz
i
pt
hel
o
gf
i
l
es
/
home/bea
10.
3/
us
e
r
_pr
oj
e
c
t
s
/
do
ma
i
ns
/s
her
khan/
s
e
r
ve
r
s
/
Admi
nSe
r
ve
r
/
l
o
g
s
g
z
i
pr*
/
home/bea
10.
3/
us
e
r
_pr
oj
e
c
t
s
/
do
ma
i
ns
/s
her
khan/
s
e
r
ve
r
s
/
Admi
nSe
r
ve
r
g
z
i
prl
o
gs
High CPU utilization:
t
op(
l
i
nux)
pr
s
t
at(
s
ol
a
r
i
s
)
t
op-07:
45:
22up 3:
03,3us
er
s
,l
oa
da
ver
ag
e:0.
1
6,0.
33,
0.
1
7
Tas
ks
:113t
ot
al
,2r
unni
ng
,109s
l
ee
pi
ng,0s
t
o
pped,2z
o
mbi
e
Cpu(
s
)
:0.
0%us
,0.
7%s
y,0.
0%ni
,
99.
3%i
d,0.
0%wa,0.
0%hi
,0.
0%s
i
,0.
0%s
t
Mem: 1
035400kt
ot
a
l
,1020348kus
ed, 15052kf
r
e
e, 7
7
688kbuf
f
e
r
s
Swap:2040212kt
o
t
a
l
, 0kus
e
d,204021
2kf
r
e
e,4837
24kc
a
c
he
d
%c
pu%Mem
9523r
oot 22 0 637m 239m 3660S98.
723.
7 0:
1
2.
7
9j
a
va
I
fyouf
i
ndanyz
o
mbi
epr
oc
e
s
sc
ount>50r
ai
s
eat
i
c
ke
tt
os
o
l
a
r
i
sa
dmi
ns
I
fanyj
a
vapr
oc
e
s
s
e
sa
r
eoc
c
upyi
ng95100% c
puus
a
get
he
nc
he
c
kt
hel
o
gf
i
l
e
sf
o
ra
nyc
o
nt
i
nuo
usl
o
o
pi
ngme
s
s
a
g
e
so
rj
dbct
r
a
ns
a
c
t
i
o
nt
i
me
o
ut
s
.
f
i
xt
hepr
obl
em a
ndki
l
lmanged s
e
r
verus
i
ngki
l
l9pi
da
ndr
e
s
t
a
r
tt
hes
e
r
vi
c
ei
ns
t
a
nc
e
.
404 error:
pagec
an'
tbedi
s
pl
ayed.
1
0.
4.
5404No
tFound
Thes
er
verha
snotf
oundanyt
hi
ngmat
c
hi
ngt
heRe
ques
t
URI
.
Noi
ndi
c
a
t
i
o
ni
sg
i
ve
no
fwhe
t
he
rt
hec
o
ndi
t
i
o
ni
st
e
mpo
r
a
r
yo
rpe
r
ma
ne
nt
.
1
)c
he
c
kwhet
hert
heyar
eus
i
ngc
o
r
r
e
c
tur
l
2)c
he
c
kwhet
herapac
hes
er
veri
sr
unni
ng(psef|gr
epht
t
pd)(pse
f|g
r
e
pi
a
pa
c
he
)
3)c
he
c
kt
hedi
s
ks
pa
c
eofApac
hes
er
veri
fi
ti
sf
ul
lt
hende
l
e
t
et
hel
o
gf
i
l
e
s(
dfkh)
g
ot
oApa
c
he2.
2/l
ogs
del
et
eol
dl
ogs
4)Chec
kwhet
he
rt
hedepl
oyedappl
i
c
at
i
oni
si
na
c
t
i
ves
t
a
t
e
5)I
ft
hedepl
o
ye
da
ppl
i
c
a
t
i
o
ni
sf
ai
l
edt
henf
i
xt
hei
s
s
uea
ndr
e
de
pl
o
yt
hea
ppl
i
c
a
t
i
o
n
Users are getting 404 error some times and they are able to access the application sometimes.
1
)c
he
c
kwhet
heral
lmanage
ds
er
ver
sar
ei
nr
unni
ngs
t
at
e
.
i
fo
neoft
hemanage
ds
er
veri
si
ns
hut
do
wns
t
at
et
henbr
i
ngupt
hes
e
r
ve
r
.
c
hec
kt
heht
t
pr
e
ques
t
si
nac
c
es
s
.
l
o
gf
i
l
ef
oral
lmanage
ds
e
r
ve
r
i
fyouar
eget
t
i
ng404e
r
r
ori
no
neoft
hemana
ge
ds
er
verl
o
g
.
t
he
nc
he
c
ks
e
r
ve
rl
o
gf
o
ra
nye
r
r
o
r
s
i
gott
hei
nl
ogf
i
l
e
:
por
ta
l
r
e
adyi
nus
e
net
s
t
atanp|gr
e
p8002
i
ft
hepor
ti
sl
i
s
t
e
nedo
na
nyot
heri
ns
t
anc
e
.r
e
s
t
a
tmanag
e
ds
e
r
ve
r
.
i
ft
hei
s
s
ues
t
i
l
lper
s
i
s
t
st
henr
ai
s
ear
eqe
s
tt
onet
wo
r
kt
ea
m.
.
500 error:
Ser
vi
c
euna
va
i
l
abl
e
t
hi
ser
r
o
ri
sduet
os
er
verdo
wn
c
hec
kapac
heorWe
bLogi
cs
er
vi
c
ei
ns
t
anc
ei
st
hes
e
r
veri
sdo
wnt
he
ns
t
a
r
tt
hes
e
r
ve
r
.
Slow response:
c
hec
kAl
lWebLo
gi
cs
er
ve
rs
t
at
us
.
br
i
ngt
hes
e
r
ver
supi
ft
he
ya
r
edo
wn
c
hec
kne
t
wor
kha
nds
haker
e
ques
t
si
nappl
i
c
at
i
onl
o
gs
.
I
fyo
uf
o
unda
nyi
s
s
ue
sr
e
l
a
t
e
dt
on/
wt
he
nr
a
i
s
er
e
que
s
tt
on/
wt
e
a
m.
c
hec
kf
ors
t
uc
kt
hr
e
adi
s
s
ue
si
nWe
bLog
i
c
.
I
fyouf
o
unda
nys
t
uc
kt
hr
e
a
di
s
s
ue
st
he
nt
a
ket
hr
e
a
ddumpa
nda
na
l
yz
e
.
c
hec
kc
puus
ag
ef
orj
avapr
oc
es
s
es
.
c
hec
khe
aps
i
z
eo
fWebLo
gi
cs
er
ve
rg
cl
o
go
ri
nc
ons
ol
e
.
I
ft
hehe
aps
i
z
ei
smor
et
han80% t
he
nt
akeheapdumps
e
ndi
tt
ol
3s
uppo
r
t
.
c
hec
knoofus
er
sl
og
ge
di
nt
ot
hea
ppl
i
c
a
t
i
o
n.
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

21/29

6/9/15

Middleware Administration : Weblogic material

c
hec
kf
orl
o
ngr
unni
ngqui
r
i
e
sf
r
om da
t
aba
s
es
i
de.
c
hec
kf
orl
a
t
enc
yi
nda
t
abas
es
i
de.
c
hec
kmemor
yl
e
aksi
ngcl
o
gs
.
c
hec
kc
onnec
t
i
onl
ea
ksi
nt
heWebLog
i
cs
er
ve
rs
i
de
.
c
hec
ks
pac
ei
nWebLog
i
c
uni
xmac
hi
ne
.
c
hec
kapac
hes
er
vers
pac
e.
OOM(OutOfMemory):
- Logi
nt
ot
heCo
r
r
e
s
po
ndi
ngSe
r
vert
hr
oug
hPut
t
y
- The
nChe
c
kt
heSt
at
usoft
heSe
r
ve
ri
ns
t
a
nc
e
s
- Che
c
kt
heSer
verl
og
sa
ndOutl
o
gsf
orOut
Of
Me
mo
r
yEr
r
o
r
- Taket
heAc
c
e
s
sl
og
sa
tt
het
i
meo
fOOM a
ndi
twi
l
l
beg
o
o
di
fwet
a
ket
hr
e
a
ddump
I
fSer
ve
r
(
s
)i
s
/a
r
ei
nRunni
ngSt
a
t
e.
- Ana
l
ys
i
st
heThr
e
addumpf
o
rt
heCaus
eo
fOut
Of
Me
mo
r
yEr
r
o
r(
Duet
oApp/
Se
r
ve
r
)
- The
nDependi
ngo
nt
heSe
r
ve
rSt
a
t
us(
i
fno
ti
nRunni
ngSt
a
t
e
)Re
s
t
a
r
tt
heSe
r
ve
r
.
i) OutOfMemory during deployment:
1.
I
ft
heappl
i
c
at
i
oni
shug
e(
c
ont
ai
nsmo
r
et
ha
n1
00J
SPs
)
,
wemi
g
hte
nc
o
unt
e
rt
hi
spr
o
bl
e
m wi
t
hde
f
a
ul
tJ
VM s
e
t
t
i
ng
s
.
2.
Ther
e
as
onf
ort
hi
si
s
,t
heMa
xPer
mSpac
eg
e
t
t
i
ngf
i
l
l
e
dup.
3.
Thi
ss
pac
ei
sus
edbyJVM t
os
t
o
r
ei
t
si
nt
er
na
l
da
t
a
s
t
r
uc
t
ur
e
sa
swe
l
l
4.
a
sc
l
as
sdef
i
ni
t
i
ons
.J
SPge
ner
at
e
dc
l
a
s
sdef
i
ni
t
i
o
nsa
r
ea
l
s
os
t
o
r
e
di
nhe
r
e
.
5.
Ma
xPer
mSpac
ei
sout
s
i
dej
avahea
pa
ndc
a
nno
te
xpa
nddyna
mi
c
a
l
l
y.
6.
Sof
i
xi
st
oi
nc
r
eas
ei
tbypas
s
i
ngt
hea
r
gume
nti
ns
t
a
r
t
ups
c
r
i
pto
ft
hes
e
r
ve
r
:XX:
Ma
xPe
r
mSi
z
e
=1
28m (
de
f
a
ul
ti
s64m)
ii) Memory related issues can be caused by many problems including:
JavaHeapi
sunder
s
i
z
e
df
ort
heenvi
r
onme
nt
Ther
ei
sno
te
noughna
t
i
vememor
ya
va
i
l
abl
ef
ort
hej
a
vapr
o
c
e
s
s
We
bs
er
veri
sover
l
oaded
Bel
ow ar
es
omege
ne
r
algui
de
l
i
nesonho
wt
oaddr
es
sme
mo
r
yr
e
l
a
t
e
di
s
s
ue
s
.I
na
ddi
t
i
o
n,yo
us
ho
ul
ds
e
a
r
c
ht
he
MyOr
a
c
l
eSuppo
r
t

knowl
edgebas
ef
ort
hes
pec
i
f
i
c
Out
Of
Memor
yer
r
orme
s
s
a
g
et
ha
tyo
us
e
ei
nyo
urPI
A_We
bLo
g
i
c
.
l
o
g
.
Al
s
o,youc
a
nc
ol
l
ec
tf
ur
t
herde
t
a
i
l
sonWe
bLog
i
cmemo
r
yus
a
g
ebyus
i
ngmo
ni
t
o
r
i
ngt
o
o
l
sr
e
f
e
r
e
nc
e
di
ns
e
c
t
i
o
n
Mo
ni
t
o
r
i
ngWe
bLog
i
cMe
mo
r
y
Us
age

General Guidelines on Fixing OutOfMemory Issues:


1
.Fi
r
s
t
,youneedt
odet
e
r
mi
nei
fWe
bLogi
ci
sr
unni
ngouto
f
na
t
i
vehe
a
pme
mo
r
yo
r
j
a
vahe
a
pme
mo
r
y.Typi
c
a
l
l
yyo
ua
r
ea
bl
et
ot
e
l
lt
hi
s
byc
hec
ki
ngt
he
Out
Of
Memor
ye
r
r
o
rme
s
s
a
gei
nt
hePI
A_We
bLo
g
i
c
.
l
o
g
:
a
.I
ft
heer
r
orme
s
s
ager
e
f
e
r
st
o
na
t
i
veort
oa
t
hr
ea
dr
e
l
a
t
e
de
r
r
o
r
,i
ti
sa
ni
s
s
uewi
t
h
na
t
i
ve
me
mo
r
y
.
Exa
mpl
e
so
fe
r
r
o
r
sduet
or
unni
ng
o
utofna
t
i
vememor
yar
e
:

Unabl
et
oc
r
e
at
enewna
t
i
vet
hr
ea
d

Er
r
ors
t
ar
t
i
ngt
hr
e
ad:Note
no
ughs
t
or
a
gei
savai
l
a
bl
e

Nat
i
vememor
ye
r
r
or
sar
emo
r
el
i
ke
l
yt
ooc
c
uronPe
opl
e
To
o
l
s8.
50a
ndl
o
we
rve
r
s
i
o
nswhe
r
eyo
ua
r
er
unni
nga32bi
tj
a
vapr
o
c
e
s
s(
whi
c
hha
s
a
ddr
e
s
ss
pac
el
i
mi
t
a
t
i
o
ns
)
b.Anyot
he
re
r
r
o
rmes
s
a
ges
,ar
eus
ual
l
yduet
or
unni
ngo
uto
fj
a
vahe
a
pme
mo
r
y
2.I
fyouar
er
unni
ngouto
fj
a
vaheap,youmaywa
ntt
os
t
a
r
tbyi
nc
r
e
a
s
i
ngt
hej
a
vahe
a
ps
e
t
t
i
ng
s(
i
fyo
ua
r
euna
bl
et
oi
nc
r
e
as
ej
a
vahe
a
p
s
e
t
t
i
ng,t
hent
heot
heropt
i
o
ni
st
oaddmor
eWebLo
gi
cPI
A
st
ot
hee
nvi
r
o
nme
nt
)
.
I
nc
r
eas
et
hej
a
vahe
aps
e
t
t
i
nga
sf
o
l
l
o
ws
:
a
.Fi
r
s
tc
hec
kt
hec
ur
r
enthe
aps
e
t
t
i
ngbys
e
ar
c
hi
ngs
t
r
i
ng
Xmxi
nyo
urWe
bLo
g
i
cl
o
g(
f
o
rUni
x,
s
e
a
r
c
hPI
A_s
t
do
ut
.
l
o
g
.Fo
rWi
ndo
ws
,
s
e
a
r
c
h
NTs
er
vi
c
e<DOMAI
N_NAME>PI
A.
l
og
)
.
The
Xmxval
ues
ho
wsyo
ut
hec
ur
r
enthea
ps
et
t
i
ng
.Fo
re
xa
mpl
e
,
t
he
s
es
e
t
t
i
ng
ss
ho
wt
ha
tt
hemi
ni
mum he
a
p(
Xms
)a
ndma
xi
mum he
a
p(
Xmx)ar
es
ett
o512mg
:
J
avac
ommandl
i
ne=j
a
vas
e
r
ve
rXms
512m Xmx51
2m
b.ForPeopl
eToo
l
s8.
50,t
r
yi
nc
r
e
as
i
ngt
heheap(
a
t256mgi
nc
r
e
me
nt
s
)upt
o1
.
5g
b.Fo
rPe
o
pl
e
To
o
l
s8.
51o
r8.
52,yo
uc
a
ni
nc
r
e
a
s
et
hehe
a
p
e
venhi
gher
,pr
ovi
dedt
hes
e
r
ve
rhasenoug
hme
mo
r
yava
i
l
a
bl
e
.
ForUni
x,youc
anc
hanget
hehe
aps
e
t
t
i
ngi
nf
i
l
es
et
Env.
s
h.
Exa
mpl
e
:
J
AVA_OPTI
ONS_LI
NUX="
j
r
oc
ki
tXnoOptXXnoJ
I
TI
nl
i
neXms
7
68m Xmx7
68m
ForWi
ndows
,yo
uwi
l
lei
t
hernee
dt
oc
ha
ng
et
hes
et
t
i
ngi
nt
heWi
ndo
wsr
e
g
i
s
t
r
y,o
re
l
s
ec
ha
ng
es
e
t
t
i
ngi
ns
e
t
Env.
c
mda
ndt
he
nr
e
bui
l
dt
he
Wi
ndowsSer
vi
c
e
Refer to the following document for more details on changing the java heap setting:
Doc
#638298.
1
:HowToI
nc
r
eas
e/Dec
r
e
as
eJVM He
apSi
z
ef
o
rWe
bLo
g
i
c
3.I
fyouar
er
unni
ngo
utofnat
i
veme
mo
r
yhe
ap,t
henyo
uma
ywa
ntt
oc
o
ns
i
de
rdo
i
ngt
hef
o
l
l
o
wi
ng
:
a
.Lowert
hej
a
vahe
aps
e
t
t
i
ng(
i
e
Xmx/
Xmss
et
t
i
ngs
)i
no
r
de
rt
oa
l
l
o
wmo
r
eo
ft
hej
a
vapr
o
c
e
s
s
me
mo
r
yt
obeus
e
df
o
r
Na
t
i
veMemo
r
y
.(
s
e
e
s
t
e
p2babo
ve
,f
o
ri
ns
t
r
uc
t
i
o
nso
nc
ha
ng
i
ngj
avahea
ps
et
t
i
ng
)
I
ft
hej
avahea
pi
sa
l
r
e
adybei
ngf
ul
l
yut
i
l
i
z
ed,a
ndyo
ua
r
euna
bl
et
ol
o
we
ri
t
,t
he
nyo
uma
ywa
ntt
oc
o
ns
i
de
ra
ddi
nga
ddi
t
i
o
na
lPI
A
st
oyo
ur
e
nvi
r
onment
b.Lowert
het
hr
ea
ds
t
ac
ks
i
z
e.No
t
et
hatt
het
hr
e
adsus
ena
t
i
veme
mo
r
y,s
oi
fyo
ul
o
we
rt
het
hr
e
a
ds
t
a
c
ks
i
z
e
,t
he
nt
het
hr
ea
dswi
l
lno
t
c
o
ns
umeasmuc
hmemor
y.
Thet
hr
ea
ds
t
a
c
ks
i
z
ei
ss
pec
i
f
i
e
dus
i
ngpa
r
a
me
t
e
r
Xs
s

.
Re
f
e
rt
ot
hef
o
l
l
o
wi
ngdo
c
ume
ntf
o
rde
t
a
i
l
s
651285.
1:We
bLo
gi
cEr
r
o
r
:"
j
ava.
l
a
ng
.
Out
Of
Memor
yEr
r
o
r
:una
bl
et
oc
r
e
a
t
ene
wna
t
i
vet
hr
e
a
d"
Log files not rotating:
c
hec
kt
hedi
s
ks
pac
ei
fi
ti
sf
ul
lt
hende
l
e
t
eo
l
dl
og
s
c
hec
kwhet
herl
o
g4j
pr
oper
t
i
esf
i
l
es
e
ti
nc
l
as
s
pa
t
h
1. Chec
kt
heSt
a
t
usoft
heSer
ver
2. .
/s
t
ar
t
WebLo
gi
c
.
s
h
3. .
/s
t
ar
t
Manag
edWe
bLo
gi
c
.
s
h<manag
es
er
ver
name
>
4. [
0R]
5. Chec
kt
hr
o
ug
hc
ons
ol
e
.
6. Chec
kt
hedi
s
kSpa
c
e(
i
ff
ul
l
,
De
l
et
et
hel
ogsandt
he
nne
e
dt
or
e
s
t
a
r
tt
heSe
r
ve
r
)
7. dukh(
f
o
l
de
r
)
8. dfkh(
f
i
l
es
ys
t
em)
9. A vai
l
s
pa
c
ei
s90%
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

22/29

6/9/15

Middleware Administration : Weblogic material

I
ff
ul
l
,mv<s
o
ur
c
epat
h><de
s
t
i
na
t
i
o
npa
t
h>
De
l
et
e,r
m r
f
<f
i
l
ename:admi
ns
e
r
ve
r
.
l
o
g
>
Stuck thread:
"
[
STUCK]

Whenat
r
ans
a
c
t
i
oni
sr
unni
ngmor
et
han5mi
nut
es
,ame
s
s
a
g
e(
e
xa
mpl
ebe
l
o
w)i
sl
o
g
g
e
dt
ot
hePI
A_We
bLo
g
i
c
.
l
o
g
.
<Apr 18, 2011 12:
47
:
04 PM PDT><Er
r
or
><We
bLo
g
i
c
Se
r
ve
r
><BEA000337
><[STUCK] Exe
c
ut
e
Thr
e
a
d: '
4' f
o
r que
ue
:
'
WebLog
i
c
.
ker
ne
l
.
De
f
a
ul
t(
s
e
l
f
t
uni
ng
)
'
hasbe
enbus
yf
or"
67
5"s
e
c
o
ndswo
r
ki
ngo
nt
her
e
que
s
t.
.
Not
et
ha
tt
heme
s
s
ages
howst
hatt
het
hr
eadi
s
STUCK
.Buti
nf
a
c
t
,t
het
hr
e
a
dma
yno
tbes
t
uc
k,buti
sj
us
tt
a
ki
ngal
o
ngt
i
met
oc
o
mpl
e
t
e
.
Thes
et
hr
eadsof
t
ens
uc
c
e
s
s
f
ul
l
yc
o
mpl
e
t
e,
i
fg
i
veneno
ug
ht
i
me
.
I
fyous
eeal
o
to
fl
o
ng
r
unni
ngt
hr
ea
ds
,a
tt
het
i
meus
e
r
sa
r
ee
xpe
r
i
e
nc
i
ngpr
o
bl
e
m,t
he
nt
hi
si
ndi
c
a
t
e
st
ha
tt
hewe
bs
e
r
ve
ri
sha
vi
ngi
s
s
ue
s
pr
oc
es
s
i
ngt
hr
eads
,
whi
c
hmayc
aus
et
hewebs
e
r
ve
rt
oha
ng
.
Longr
unni
ngt
hr
ea
dsc
anbec
a
us
edbydi
f
f
e
r
enti
s
s
ues
.Thepr
o
bl
e
mo
f
t
e
no
c
c
ur
sduet
oi
s
s
ue
so
nt
hea
pps
e
r
ve
ro
rda
t
a
ba
s
es
ubs
e
que
nt
l
y
c
a
us
i
ngt
het
hr
ea
dst
oqueueupandwa
i
to
nt
hewe
bs
er
ve
r
.
Soi
fyo
us
e
eal
o
to
fs
t
uc
kt
hr
e
a
ds
,
yo
uma
ywa
ntt
ot
r
o
ubl
e
s
ho
o
tf
ur
t
he
rbydo
i
ng
t
hef
ol
l
owi
ng:
1
.Getat
hr
ea
ddumpasde
s
c
r
i
be
di
ns
ec
t
i
on"
Cr
e
at
i
ng/
Ana
l
yz
i
ngThr
e
a
dDumps
"
.Thet
hr
e
a
ddumpma
yhe
l
pyo
ude
t
e
r
mi
newhe
t
he
rt
he
t
hr
eadsar
ege
t
t
i
nghungupont
heapps
er
verorda
t
abas
e
.
2.HaveyourDBAc
hec
kf
orl
ongr
unni
ngSQL'
sa
nd/o
rDBl
o
c
ks
3.Youc
anal
s
ol
o
okatt
he'
St
uc
k'
t
hr
ea
dmes
s
a
gesi
nt
hePI
A_We
bLo
g
i
c
.
l
o
gt
os
e
ewha
tus
e
r
(
s
)a
r
er
unni
ngt
het
r
a
ns
a
c
t
i
o
nsa
ndt
hes
pe
c
i
f
i
c
c
o
mponentt
heyar
er
unni
ng
.Thi
sma
yhel
pyoude
t
er
mi
nei
ft
he
r
ei
sas
pe
c
i
f
i
cus
e
ra
nd/
o
rt
r
a
ns
a
c
t
i
o
nt
ha
ti
sc
a
us
i
ngt
hepr
o
bl
e
ms
.
Port Conflict Issue:
Whi
l
ec
onf
i
g
ur
i
nganew We
bLog
i
ci
ns
t
anc
ea
nds
t
ar
t
i
ngi
t
,t
ha
tmi
g
htbeg
e
ta
ni
s
s
uel
i
ke:"
Po
r
ta
l
r
e
a
dyi
nus
e
"
.
The
r
ec
o
ul
dbema
nyr
e
a
s
o
ns
f
ort
hi
so
ne.
1
.ont
hes
amemac
hi
nemul
t
i
pl
es
t
andal
onei
ns
t
a
nc
esmi
g
htber
unni
ngo
neo
ft
hei
ns
t
a
nc
ea
l
r
e
a
dyus
e
dt
ha
tpo
r
twhi
c
hyo
uha
veg
i
ve
nf
o
rne
w
c
o
nf
i
g
ur
at
i
on.
2.apa
c
hemi
ghtber
unni
ngwi
t
ht
hes
amepor
t
.
3.mi
ddl
ewar
emi
ghtber
unni
ngont
hes
amema
c
hi
newi
t
hs
a
mepo
r
t
OnSo
l
ar
i
sOper
a
t
i
nge
nvi
r
o
nme
ntwehave2opt
i
ons
:
1
.us
i
ngpf
i
l
esc
ommand
net
s
t
atna
|
gr
ep>i
dent
i
f
ypo
r
ti
nus
e
pf
i
l
es|
gr
epi
s
oc
kna
me|
g
r
e
ppo
r
t>l
o
okf
orever
yj
avapr
o
c
e
s
si
si
ni
t
i
a
l
i
z
e
dbys
t
a
r
t
We
bLo
g
i
c
.
s
ho
rs
t
a
r
t
Ma
na
g
e
dWe
bLo
g
i
c
.
s
h
2.Anot
herwa
yc
os
t
l
yone(
Thi
r
dpar
t
ypac
ka
ge)t
of
i
ndt
hepr
o
c
e
s
st
ha
ti
sus
i
ngpa
r
t
i
c
ul
a
rpo
r
ti
s:
l
s
ofi
t
c
p:
3.Bes
twayi
spe
r
ls
c
r
i
ptus
i
ngamet
hodi
twi
l
lc
hec
ko
nl
ys
t
a
nda
r
dpo
r
t
swhi
c
ha
r
eus
e
dbyt
hes
ys
t
e
m.
g
et
s
er
vbypor
t
(
i
nt
po
r
t
_number
,c
o
ns
tc
har*pr
o
t
oc
ol
_na
me
)
#!/usr/bin/perl
(
$name,
$al
i
as
es
,$por
t
_numbe
r
,$pr
ot
o
c
o
l
_name)=g
et
s
e
r
vbypo
r
t
(
7
001
,
"
t
c
p"
)
;
pr
i
nt"
Name=$name\
n"
;
print "Aliases = $aliases\n";
print "Port Number = $port_number\n";
print "Protocol Name = $protocol_name\n";
JVM memory arguments:
XX:
Pr
i
nt
GCDe
t
ai
l
so
ut
put
sde
t
a
i
l
ed i
nf
o
r
mat
i
onate
ac
hc
o
l
l
e
c
t
i
o
n
XX:
Pr
i
nt
GCTi
meSt
a
mpso
ut
put
sat
i
mes
t
a
mpatt
hes
t
a
r
to
fe
a
c
hc
o
l
l
e
c
t
i
o
n
xl
oggc
=<f
i
l
ename>
out
put
sgci
nf
or
mat
i
ont
ot
hes
pe
c
i
f
i
e
df
i
l
e
XX:
Di
s
abl
eExpl
i
c
i
t
GCdi
s
a
bl
ec
al
l
st
os
ys
t
em .
g
c
()
-XX:
NewSi
z
e=2m de
f
aul
ts
i
z
eofnewg
ener
a
t
i
o
n
XX:
MaxNewSi
z
e=s
i
z
emaxi
mum s
i
z
eo
ft
henewge
ne
r
at
i
o
n
XX:
Per
mSi
z
e
=64m def
a
ul
ts
i
z
eofpe
r
manentge
ne
r
at
i
on
XX:
MaxPer
mSi
z
e=64m ma
xi
mum s
i
z
eoft
heper
manentg
e
ne
r
a
t
i
o
n
-Xms
256m I
ni
t
i
al
he
aps
i
z
e
Xmx512m ma
xi
mum hea
ps
i
z
e
xx:
s
ur
vi
vorRat
i
o=<val
ue> Rat
i
oo
fs
ur
vi
vo
r
ss
pa
c
e
st
oyo
ungg
e
ne
r
a
t
i
o
n
XX:
Us
ePar
a
l
l
e
l
GC Us
epa
r
al
l
el
gar
ba
gec
ol
l
ec
t
i
o
nf
o
rs
c
a
ve
ng
e
s
.
THREAD DUMP
Tread dump:- Thr
ea
ddumppr
ovi
desas
naps
hotoft
hec
ur
r
e
nta
c
t
i
vel
i
vet
hr
e
a
ds
.
I
tpr
o
vi
de
st
hes
t
a
c
kt
r
a
c
eo
fa
l
lt
hej
a
vat
hr
e
a
dsi
nt
he
J
VM.
I
ti
sus
e
dwhe
nt
hes
er
veri
shungandwewa
ntt
os
e
et
het
hr
e
a
dse
xe
c
ut
i
nga
ndt
a
ket
he
i
rdump.
Ther
ear
edi
f
f
er
e
ntwa
yst
ot
aket
hr
e
addump.
In unix:ki
l
l3<pi
d>
In windows: c
t
r
l
+br
eak
WebLogic.Admin utility: j
a
va
We
bLog
i
c
.
Admi
nur
lt
3:
/
/
l
o
c
a
l
ho
s
t
:
7
001us
e
r
na
meWe
bLo
g
i
cpa
s
s
wo
r
dWe
bLo
g
i
cTHRED_DUMP
WLST Scripting:
c
o
nne
c
t
(
'
WebLog
i
c
'
,
'
WebLog
i
c
'
,
'
t
3:
//l
oc
a
l
ho
s
t
:
7001
'
)
c
d(
'
s
er
ver
'
)
c
d(
'
Admi
nSer
ver
'
)
Tr
eadDump(
)
di
s
c
onne
c
t
(
)
e
xi
t
(
)
Admin console:
Step1: l
og
i
nt
ot
headmi
nc
ons
ol
e
Step2: Cl
i
c
kons
e
r
ve
r
Step3: Navi
gat
et
os
er
ver
s
Step4: Cl
i
c
kmoni
t
ort
ab
Step5: Cl
i
c
kont
r
ead
Step6: Cl
i
c
kont
hedumpt
hr
e
ads
t
a
c
k.
Locating the Thread Dump: Thet
hr
e
addumpi
spl
a
c
e
di
nt
heWe
bLo
g
i
cl
o
gf
i
l
e
.
Thel
o
gf
i
l
el
o
c
a
t
i
o
nva
r
i
e
sde
pe
ndi
ngo
nt
heOSpl
a
t
f
o
r
m:
For UNIX: t
heout
puti
ss
e
ntt
o:
<PS_HOME>/webs
er
v/<DOMAI
N_NAME>/s
e
r
ver
s
/l
o
g
s
/
PI
A_s
t
do
ut
.
l
o
g
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

23/29

6/9/15

Middleware Administration : Weblogic material

For Linux: t
heout
puti
ss
e
ntt
o:
<PS_HOME>/webs
er
v/<DOMAI
N_NAME>/s
e
r
ver
s
/l
o
g
s
/
PI
A_s
t
de
r
r
.
l
o
g
For Windows: t
heout
puti
ss
entt
o
:
<PS_HOME>\webs
er
v\<DOMAI
N_NAME>\s
e
r
ver
s
\PI
A\
l
o
g
s
\
NTs
e
r
vi
c
e
<DOMAI
N_NAME>PI
A.
l
o
g
Analyzing a Thread Dump: Thet
hr
e
addumpc
anbeabi
tc
ha
l
l
e
ng
i
ngt
oa
na
l
yz
e
,a
ndyo
uma
yne
e
da
s
s
i
s
t
a
nc
ef
r
o
ma
nOr
ac
l
eSuppo
r
t
Engi
neer
.Bel
o
war
es
o
met
i
pso
nhowt
oanal
yz
et
het
hr
e
a
ddump.
Thi
si
nf
o
r
ma
t
i
o
ni
sbr
o
ke
no
uti
nt
ot
hef
o
l
l
o
wi
ngs
e
c
t
i
o
ns
:
1
.Gener
alI
nf
or
mat
i
onaboutt
het
hr
e
addump
2.Over
vi
ewo
ft
ype
so
ft
hr
e
adsc
o
mmonl
ys
ee
ni
nt
hr
e
addump
3.Exampl
eso
fdi
f
f
e
r
enti
s
s
uesyoumayobs
er
vei
nt
het
hr
e
a
ddump
1) General Information about the Thread Dump: No
t
et
ha
tt
het
hr
e
a
ddumpa
l
wa
ysbe
g
i
nswi
t
ht
hi
sl
i
ne
:
===== FULL THREAD DUMP ===============
Ande
ndswi
t
ht
hi
sl
i
ne
:
===== END OF THREAD DUMP ===============
Thef
i
r
s
tl
i
neo
ft
het
hr
ea
ddumps
howswhent
het
hr
e
addumpwa
sc
r
e
a
t
e
d,
f
o
l
l
o
we
dbyt
hee
xa
c
tj
a
vave
r
s
i
o
nyo
ua
r
eus
i
ng
.
Exampl
e
:
Mon Apr 18 12:46:56 2011
Oracle JRockit(R) R28.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32
2) Overview of Types of Threads commonly seen in Thread Dump:
i) Threads waiting for Requests: Yo
uwi
l
lal
wa
yss
e
es
o
met
hr
e
a
dst
ha
ta
r
ej
us
twa
i
t
i
ngf
o
rwo
r
k,a
sWe
bLo
g
i
ca
l
wa
ysa
l
l
o
c
a
t
e
ss
o
me
t
hr
eads t
o be ava
i
l
a
bl
ea
nd r
ea
dy t
o pr
o
c
es
s any i
nc
o
mi
ng r
e
que
s
t
s
.The
s
et
hr
e
a
ds c
a
ne
a
s
i
l
y be i
de
nt
i
f
i
e
d be
c
a
us
e yo
u
l
ls
e
e
ExecuteThread.waitForRequest i
nt
hec
al
ls
t
ac
k.The
s
et
hr
e
a
dswi
l
lbei
n
ACTI
VEo
r
STANDBYmo
de
.The
s
et
hr
e
a
dsdono
tha
ve
muc
hs
i
gni
f
i
c
a
nc
ewhe
nt
r
oubl
es
hoo
t
i
ng.Ho
we
ve
r
,i
fyous
e
eal
o
to
ft
he
s
et
hr
e
a
dswa
i
t
i
ngf
o
rr
e
que
s
t
s(
20o
rmo
r
e
)
,i
tmo
s
tl
i
ke
l
yi
ndi
c
a
t
e
s
t
hatt
heenvi
r
onme
nti
sj
us
tr
e
c
over
i
ngf
r
o
m aver
yhea
vyl
o
a
d,whe
nt
het
hr
e
a
ddumpwa
st
a
ke
n(
a
nda
st
hel
o
a
ddi
mi
ni
s
he
s
,We
bLo
g
i
cwi
l
l
r
e
movema
nyoft
he
s
eext
r
at
hr
ea
dst
ha
ta
r
ewa
i
t
i
ngf
orr
e
que
s
t
s
)
Ex: at WebLogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:157)
ii) Socket Muxer Threads: Youwi
l
la
l
s
os
e
ea
ppr
oxi
ma
t
e
l
yt
wot
of
i
ves
o
c
ke
tmuxe
rt
hr
e
a
ds
.The
s
et
hr
e
a
ds
'
ma
i
nr
e
s
po
ns
i
bi
l
i
t
yi
st
or
e
a
d
t
her
e
ques
tof
ft
hes
oc
ketandpas
st
hewor
kt
ot
heappr
o
pr
i
a
t
et
hr
e
a
d.
We
bLo
g
i
ca
l
l
o
c
a
t
e
sape
r
c
e
nt
a
g
eo
fe
xe
c
ut
et
hr
e
a
dsf
r
o
mt
hes
e
l
f
t
uni
ng
t
hr
eadpoolt
obeMuxert
hr
eads
.Us
ual
l
yyouwi
l
ls
eet
hr
e
eo
rf
o
uro
ft
he
s
et
hr
e
a
ds
:
"ExecuteThread: '0' for queue: 'WebLogic.socket.Muxer'" id=25 idx=0x60 tid=2068 prio=5 alive, in native
iii) ListenThreads: Yo
uwi
l
la
l
s
os
e
ea
ppr
oxi
mat
e
l
ys
i
x
l
i
s
t
e
nt
hr
e
a
ds

,us
ua
l
l
yt
hr
e
ef
o
rSSLa
ndt
hr
e
ef
o
rno
nSSL.Thepur
po
s
eo
ft
he
s
e
t
hr
eadsi
st
owai
tf
o
rc
onnec
t
i
onst
oa
r
r
i
ve.
Al
lbr
ows
e
rr
e
que
s
t
se
nt
e
rt
heWe
bLo
g
i
cs
e
r
ve
rt
hr
o
ug
ht
he
s
et
hr
e
a
ds
.
"DynamicListenThread[Default]" id=39 idx=0x90 tid=2812 prio=9 alive, in native
"DynamicSSLListenThread[DefaultSecure]" id=40 idx=0x94 tid=3148 prio=9 alive, in native
iv) Jolt Connection Threads: We
bLog
i
cSer
ve
ra
ndt
heTuxe
doAppl
i
c
a
t
i
o
nSe
r
ve
rus
eJ
o
l
tt
oc
o
mmuni
c
a
t
ewi
t
he
a
c
ho
t
he
r
.PI
Ac
r
e
a
t
e
s
t
wot
hr
e
adsi
ns
i
det
heWebLog
i
c

sJ
VM perJo
l
tc
onnec
t
i
o
n.Fo
re
a
c
hJ
o
l
tc
o
nne
c
t
i
o
nma
debe
t
we
e
nWe
bLo
g
i
ca
ndt
heTuxe
doAppl
i
c
a
t
i
o
n
Ser
ve
r
s
,yo
uwi
l
l
s
eeaLLENwRea
derandaLLENwWr
i
t
e
rt
hr
e
a
di
nt
het
hr
e
a
ddump:
"LLENwReader" id=52 idx=0xc4 tid=4408 prio=5 alive, in native, daemon
"LLENwWriter" id=53 idx=0xc8 tid=7828 prio=5 alive, waiting, native_blocked, daemon
v) Threads waiting on Application Server: I
ft
hewe
bs
e
r
ve
ri
swa
i
t
i
ngo
nt
hea
pps
e
r
ve
rt
opr
o
c
e
s
sar
e
que
s
t
,
yo
uwi
l
l
s
e
et
hef
o
l
l
o
wi
ng
t
hr
ead(
bel
ow)
at bea/jolt/IOBuf.waitOnBuf(IOBuf.java:119)
3) Examples of Different Issues you may Observe in Thread Dump: Be
l
o
wa
r
ee
xa
mpl
e
so
fdi
f
f
e
r
e
nti
s
s
ue
sa
ndt
het
hr
e
a
ds
t
a
c
ksyo
u
ma
yo
bs
er
ve.
Many threads waiting on App Server: I
fyous
eeal
o
to
ft
hr
e
a
dss
uc
ha
st
heo
nebe
l
o
w,t
he
nt
hi
sme
a
nst
ha
tma
nyo
ft
heWe
bLo
g
i
c
t
hr
eadsar
ewai
t
i
ngont
hea
ppl
i
c
at
i
ons
e
r
vert
of
i
ni
s
hpr
o
c
e
s
s
i
ngt
her
e
que
s
t
:
at bea/jolt/IOBuf.waitOnBuf(IOBuf.java:119)
i) Many threads processing the same call stack: I
fyo
us
e
ema
nyt
hr
e
a
dsa
l
lpr
o
c
e
s
s
i
ngt
hes
a
mec
a
l
ls
t
a
c
k,t
he
nyo
uma
yne
edt
o
r
e
vi
ewc
ont
ent
so
ft
hec
al
ls
t
ac
ki
nor
dert
ot
r
oubl
e
s
ho
ott
hei
s
s
ue
.
Fo
re
xa
mpl
e
,
i
no
nec
a
s
e
,
t
hewe
bs
e
r
ve
rhunga
ndt
het
hr
e
a
ddumps
ho
we
d
hundr
edso
ft
hr
e
adsl
i
ket
heonebel
ow.Thi
swa
sc
aus
edbya
ni
s
s
uewi
t
hapr
o
xys
e
r
ve
rc
o
nf
i
g
ur
a
t
i
o
n,c
a
us
i
nga
l
lt
hr
e
a
dst
og
e
thungupa
t
l
o
gout
:
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
psft.pt8.psp.logoutAccessedPIAs(Unknown Source)
ii) All threads busy and waiting on one thread: Byde
s
i
g
n,t
hePI
A do
e
sno
ta
l
l
o
w mo
r
et
ha
no
ner
e
que
s
tpe
rHTTPs
e
s
s
i
o
n,t
obe
s
ubmi
t
t
edt
ot
heappl
i
c
at
i
ons
er
ve
r
.I
ft
hePI
Ar
e
c
e
i
ve
smul
t
i
pl
er
e
que
s
t
sf
r
o
mt
hes
a
meHTTPs
e
s
s
i
o
n,
i
twi
l
l
que
ueupa
l
l
s
ubs
e
que
ntr
e
que
s
t
s
a
ndpr
oc
es
sj
us
toneatat
i
me
.Typi
c
a
l
l
y,t
her
es
houl
dno
tbes
i
t
ua
t
i
o
nswhe
r
et
hePI
Ar
e
c
e
i
ve
smul
t
i
pl
e
sr
e
que
s
t
sf
r
o
mt
hes
a
meHTTP
s
e
s
s
i
o
n.Howe
ver
,t
hi
sc
ano
c
c
uri
nt
hef
ol
l
o
wi
ngs
i
t
uat
i
ons
:
1
.Youar
eus
i
ngapr
oxys
er
vert
ha
ti
sr
es
ubmi
t
t
i
ngr
eque
s
t
st
ot
hewe
bs
e
r
ve
ri
far
e
s
po
ns
ei
sno
tr
e
c
e
i
ve
dwi
t
hi
nac
e
r
t
a
i
nt
i
me
.
OR2.Aus
ers
ubmi
t
sal
ongr
unni
ngr
eques
t
,a
ndwhi
l
ewai
t
i
ngf
o
rt
her
e
que
s
tt
of
i
ni
s
h,
t
heus
e
rc
o
nt
i
nuo
us
l
ya
t
t
e
mpt
st
os
ubmi
tmo
r
er
e
que
s
t
s
.
Wheno
neoft
hea
boves
c
ena
r
i
o
so
c
c
ur
s
,i
nt
het
hr
e
a
ddumpyo
us
e
eo
ner
e
que
s
twa
i
t
i
ngo
nJ
o
l
tt
og
e
tr
e
s
po
ns
ef
r
o
mt
heAppSe
r
ve
r
a
ndmanyo
t
hert
hr
eadswai
t
i
ngf
o
rt
hel
oc
ko
nt
hes
es
s
i
o
nt
ober
e
l
e
a
s
e
d.
Be
l
o
wa
r
ee
xc
e
r
pt
sf
r
o
m at
hr
e
a
ddump,
s
ho
wi
ngt
hi
ss
i
t
ua
t
i
o
n:
a) Ther
ear
ema
nyt
hr
ea
dsl
i
ket
hi
st
ha
tar
e
bl
o
c
ked
,a
nda
l
l
t
het
hr
e
a
dsa
r
ewa
i
t
i
ngo
nt
hes
a
mel
o
c
k#.
-- Blocked trying to get lock: java/lang/String@0x27D36AC0[thin lock]
b) Thet
hr
e
adt
hati
sho
l
di
ngt
hel
o
c
kon
0x27D36AC0(
t
ha
ta
l
lbl
o
c
ke
dt
hr
e
a
dsa
r
ewa
i
t
i
ngo
n)
,i
sus
ua
l
l
ypr
o
c
e
s
s
i
ngaj
o
l
tr
eque
s
t(
i
ei
ti
s
wai
t
i
ngont
heappl
i
c
at
i
ons
e
r
ve
r
)
:
at bea/jolt/IOBuf.waitOnBuf(IOBuf.java:119)
^-- Holding lock: java/lang/String@0x27D36AC0[thin lock]
c) Att
hee
ndoft
het
hr
e
addump,youmays
eeal
i
s
to
f
bl
o
c
ke
dl
o
c
ke
dc
ha
i
ns

.I
nt
hi
sl
i
s
t
,yo
u
l
lno
t
i
c
et
ha
ta
l
lt
hr
e
a
dsa
r
ewa
i
t
i
ngo
no
ne
t
hr
ead:
Thr
e
ad#0i
nt
hi
sexa
mpl
e.
Whi
c
hhappenst
obeaj
o
l
tr
e
que
s
t(
i
ei
ti
swa
i
t
i
ngo
na
ppl
i
c
a
t
i
o
ns
e
r
ve
r
)
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

24/29

6/9/15

Middleware Administration : Weblogic material

Blocked lock chains


===================
Chain 2: "[ACTIVE] ExecuteThread: '2' for queue: 'WebLogic.kernel.Default (self-tuning)'" id=35 idx=0x80 tid=3964
waiting for java/lang/String@0x27D36AC0 held by:
"[ACTIVE] ExecuteThread: '0' for queue: 'WebLogic.kernel.Default (self-tuning)'" id=16 idx=0x48 tid=180 in chain 1
Chain 3: "[ACTIVE] ExecuteThread: '3' for queue: 'WebLogic.kernel.Default (self-tuning)'" id=44 idx=0xa4 tid=4620
waiting for java/lang/String@0x27D36AC0 held by:
"[ACTIVE] ExecuteThread: '0' for queue: 'WebLogic.kernel.Default (self-tuning)'" id=16 idx=0x48 tid=180 in chain 1
Chain 4: "[ACTIVE] ExecuteThread: '4' for queue: 'WebLogic.kernel.Default (self-tuning)'" id=49 idx=0xb8 tid=1120
waiting for java/lang/String@0x27D36AC0
held by:
"[ACTIVE] ExecuteThread: '0' for queue: 'WebLogic.kernel.Default (self-tuning)'" id=16 idx=0x48 tid=180 in chain 1
Analysing ThreadDump by using Summari tool:
Downl
oa
d:Thebi
na
r
yi
sa
va
i
l
abl
ef
ordo
wnl
oa
da
t
http://yusuke.homeip.net/samurai/en/samurai.jar
How to launch samurai: Yo
uc
ans
i
mpl
ydoubl
e
c
l
i
c
kt
ol
a
unc
hSa
mur
a
i
o
nyo
urde
s
kt
o
po
rt
ypea
sf
o
l
l
o
wi
ngi
nyo
urc
o
mma
ndpr
o
mpt
.
$j
avaj
ars
a
mur
a
i
.
j
a
r
Aut
o
ma
t
i
cupda
t
ei
snotava
i
l
a
bl
ewi
t
ht
hi
sway.Pl
e
a
s
ec
he
c
ka
nddo
wnl
o
a
dl
a
t
e
s
tve
r
s
i
o
nma
nua
l
l
y.
Step1: Dr
a
ga
nddr
opt
heThr
e
adDumpi
nt
os
ummar
yt
o
o
l
Step2: WhenSa
mur
a
ide
t
e
c
t
sat
hr
e
addumpi
nyo
url
og
,
at
a
bna
me
d"
Thr
e
a
dDump"wi
l
l
a
ppe
a
r
.
Step3: Youc
anj
us
tc
l
i
c
k"
Thr
e
addumps
"t
a
bt
os
eet
hea
na
l
ys
i
sr
e
s
ul
t
.Sa
mur
a
ic
o
l
o
r
si
dl
et
hr
e
a
dsi
ngray,bl
o
c
ke
dt
hr
e
a
dsi
nred a
nd
r
unni
ngt
hr
ea
dsi
ngreen.
Ther
ea
r
et
wor
es
ul
t
a
ntvi
e
wsandSamur
ais
ho
ws"Table view" byde
f
a
ul
t
.
I
nma
nyc
as
es
,youar
ej
us
ti
nt
e
r
es
t
edi
nt
het
abl
evi
ewa
ndt
hesequence view.
Us
et
het
a
bl
evi
e
wt
ode
c
i
dewhi
c
ht
hr
e
a
dne
e
dsbei
ns
pe
c
t
e
d,
t
hes
e
quenc
evi
e
wt
ounder
s
t
andt
het
hr
ea
d'
sbe
ha
vi
o
r
.
Result1:
Result2:
HeapDump: AHe
apdumpi
sas
naps
hotofJ
VM me
mo
r
yi
ts
ho
wst
hel
i
veo
bj
e
c
t
so
nt
hehe
a
pa
l
o
ngwi
t
hr
e
f
e
r
e
nc
e
sbe
t
we
e
no
bj
e
c
t
s
.I
ti
s
us
edt
odet
er
mi
nememo
r
yus
a
gepat
t
er
nsandmemo
r
yl
e
a
ks
us
pe
c
t
s
.
I
ti
sus
e
f
ul
t
oa
na
l
ys
eOOM(
Out
Of
Me
mo
r
y)s
i
t
ua
t
i
o
ns
.
To take Heap dump:
Ec
l
i
ps
eMemor
yAnanl
ys
e
ri
save
r
yus
e
f
ult
o
olt
oa
na
l
yz
ehe
a
pdumps
.I
tha
sal
o
to
ff
e
a
t
ur
e
ss
uc
ha
sMe
mo
r
yLe
a
kde
t
ec
t
i
o
nwhe
r
ei
t
r
unsanaut
omat
e
dt
es
tt
ode
t
er
mi
net
hes
us
pec
t
edl
ea
ks
.
St
ep1)St
ar
tt
heWe
bLog
i
cSer
ver
,wi
t
ht
hea
ppl
i
c
a
t
i
o
ni
na
c
t
i
ves
t
a
t
ewhi
c
hc
a
us
e
sme
mo
r
yl
e
a
k.
St
ep2)Gett
hepr
oc
es
si
doft
hes
e
r
verus
i
ngj
ps
St
ep3)Ac
c
es
st
hea
ppl
i
c
a
t
i
o
nt
hatc
a
us
e
smemo
r
yl
ea
k
St
ep4)Takehea
pdumpatr
egul
a
ri
nt
er
va
lus
i
ngj
map.
j
mapdump:
f
or
ma
t
=b,
f
i
l
e=dump1.
bi
n[
pr
oc
es
s
I
d]
Analyzer HeapDump by using Eclipse MAT: Ana
l
yz
e
r Ope
nt
heHe
a
p Dump i
n Ec
l
i
ps
eMe
mo
r
y Ana
l
yz
e
r(
Uc
a
n do
wnl
o
a
di
t
f
r
omhttp://www.eclipse.org/mat/downloads.php)Appr
oxi
ma
t
es
i
z
ei
s42MB.J
us
tune
e
dt
oe
xt
r
a
c
tt
hi
sZi
pt
he
nuc
a
ndi
r
e
c
t
l
ys
t
a
r
t(
noI
ns
t
a
l
l
a
t
i
o
n
neede
d)
Step1:
Step2: Obs
er
vet
heheapus
a
geofObj
ec
t
si
nt
hehe
apdumps
.I
ft
heo
bj
e
c
ti
ns
t
a
nc
eke
e
pso
ni
nc
r
e
a
s
i
ngi
nt
hes
ube
que
nthe
a
pdumps
,f
o
r
c
ea
g
ar
bagec
ol
l
ec
t
i
onf
r
om t
heWebLo
gi
cSe
r
verc
ons
o
l
e.
Step3: Takehea
pdumpsa
ga
i
nandopeni
nt
heEc
l
i
ps
eMe
mo
r
yAna
l
yz
e
r
.I
ft
henumbe
ro
fi
ns
t
a
nc
e
ss
t
i
l
l
do
n
tg
odo
wnf
o
rt
ho
s
eo
bj
e
c
t
s
,yo
u
c
a
nexpe
c
tt
os
eet
hi
s
<Jul 16, 2010 10:49:15 AM IST> <Critical> <Health> <BEA-310003> <Free memory in
the server is 47,856 bytes. There is danger of OutOfMemoryError>
Exception in thread Thread-12 java.lang.OutOfMemoryError: Java heap space
at demo.MemoryLeakTest.runTest(MemoryLeakTest.java:14)
at jsp_servlet.__memoryleak$1.run(__memoryleak.java:86)
at java.lang.Thread.run(Thread.java:619)
I
ft
hel
e
aki
sha
ppeni
ngduet
oaWe
bLog
i
cCl
as
s
,i
tc
a
nbeakno
wni
s
s
ueo
ra
nundi
s
c
o
ve
r
e
dBUG.
Yo
une
e
dt
og
e
ti
nt
o
uc
hwi
t
hOr
a
c
l
e
Suppor
t
.I
fi
t

sa
nAppl
i
c
at
i
onCl
as
s
,youne
edt
oc
o
nt
a
c
tt
hede
ve
l
o
pe
r
s
.Outo
fMe
mo
r
yc
a
na
l
s
oha
ppe
ndudet
ot
hi
r
dpa
r
t
yc
ode
ss
uc
ha
s
dat
abas
edr
i
ve
r
s
.
How to install Eclips MAT? How to Analyze Heapdump using Eclips MAT and Jhat tools:
Step1: do
wnl
oa
dt
heEc
l
i
psMAT
Step2: Ext
r
ac
tMemor
yAnal
ys
e
rz
i
pf
i
l
eando
pe
nMe
mo
r
yAna
l
yz
e
r
.
i
ni
Step3: Doubl
e
c
l
i
c
konMe
mo
r
yAnal
yz
e
r
.
exet
os
t
a
r
tMe
mo
r
yAna
l
ys
e
rTo
o
l
Step4: Se
l
ec
tSea
r
c
hf
orne
wf
ea
t
ur
est
oi
ns
t
al
landc
l
i
c
kNe
xt
Step5: Ac
c
e
ptt
hel
i
c
ens
ea
gr
eeme
nt
sandc
l
i
c
kNe
xt
Step6: Cl
i
c
kFi
ni
s
ht
oi
ns
t
a
l
lt
heext
ens
i
o
ns
Step7: Cl
i
c
kI
ns
t
a
l
lAl
lt
oi
g
no
r
et
hewar
ni
ng
Step8: Re
s
t
ar
tMemor
yAnal
ys
e
rt
or
ef
l
e
c
tc
ha
ng
e
s
.
JPROFILE
Introduction: JPr
of
i
l
erea
s
e
sdevel
o
pe
r
si
nc
r
ea
t
i
ngmo
r
eef
f
i
c
i
e
nta
ppl
i
c
a
t
i
o
nsbyi
mpr
o
vi
ngt
he
i
rpe
r
f
o
r
ma
nc
e
.
I
ti
so
r
i
e
nt
e
dt
o
wa
r
dst
e
s
t
i
nga
nd
e
xpl
or
i
ngdi
f
f
e
r
e
ntas
pec
t
soft
heper
f
or
ma
nc
eo
faJ
avapr
o
g
r
a
m,c
o
nc
e
r
ni
ngt
heo
pe
r
a
t
i
o
no
ft
heJ
VM ma
ki
ngus
eo
fa
va
i
l
abl
epl
a
t
f
o
r
m
r
e
s
our
c
e
s
.JPr
of
i
l
ei
smai
nl
yus
i
ngt
of
i
ndo
utt
hememor
yl
e
a
kso
fJ
VM.
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

25/29

6/9/15

Middleware Administration : Weblogic material

J
Pr
of
i
l
erpr
ovi
de
st
hef
ol
l
owi
ngf
unc
t
i
onal
i
t
y:
1.
Me
mo
r
yc
o
ns
umpt
i
o
nmea
s
ur
eme
nt
2.
Me
mo
r
ys
t
a
c
kf
r
a
me
st
r
ac
i
ng
3.
CPUl
o
adspr
o
f
i
l
i
ng
4.
Mo
me
nt
ar
yhe
apal
l
o
c
a
t
i
o
ni
nf
or
mat
i
o
n
5.
Thr
ea
ds
t
at
epr
og
r
es
ss
t
at
i
s
t
i
c
s
6.
Vi
s
ual
r
e
pr
e
s
e
nt
a
t
i
onofJVM wo
r
kl
o
adsbydi
f
f
e
r
e
ntpa
r
a
me
t
e
r
s
7.
Sour
c
ec
o
der
e
f
er
e
nc
e
8.
Gar
ba
gec
ol
l
ec
t
i
ondur
i
ngpr
o
f
i
l
i
ng
9.
Remo
t
epr
o
f
i
l
i
ng
10.
Pr
o
f
i
l
i
ngonl
yo
fapar
t
i
c
ul
a
rs
t
ag
eo
rac
o
mbi
na
t
i
o
no
fs
e
ve
r
a
l
s
t
a
g
e
so
ft
hepr
o
g
r
a
ml
i
f
ec
yc
l
e
11.
Us
i
ngdi
f
f
er
entt
ar
ge
te
nvi
r
onment
s
12.
Savi
ngpr
of
i
l
eri
nf
or
mat
i
onf
o
rf
ur
t
herexami
na
t
i
o
n
13.
Expor
t
i
ngpr
of
i
l
eri
nf
or
ma
t
i
o
ni
nt
e
xtf
or
ma
t
1.
2.
3.
4.

JProfiler i
sac
omme
r
c
i
al
l
yl
i
c
ens
edJava profiling t
ool
de
ve
l
o
pe
dbye
j
t
e
c
hno
l
o
g
i
e
sGmbH,
t
a
r
g
e
t
e
da
tJava EE a
ndJava SEa
ppl
i
c
a
t
i
o
ns
.
JPr
o
f
i
l
e
rwor
ksbo
t
hasas
t
anda
l
onea
ppl
i
c
a
t
i
o
na
nda
sapl
ug
i
nf
o
rt
heEc
l
i
ps
es
o
f
t
wa
r
ede
ve
l
o
pme
nte
nvi
r
o
nme
nt
.
JPr
of
i
l
ers
uppor
t
sl
oc
a
lpr
of
i
l
i
ng(
a
na
l
ys
i
sofa
ppl
i
c
a
t
i
o
nsr
unni
ngo
nt
hes
a
mema
c
hi
nea
st
heJ
Pr
o
f
i
l
e
rs
o
f
t
wa
r
e
)a
ndr
e
mo
t
epr
o
f
i
l
i
ng
(
a
nal
ys
i
so
fJ
avaa
ppl
i
c
at
i
onsr
unni
ngo
nr
emot
ema
c
hi
ne
s
)
Enabl
esbo
t
hmemor
ypr
of
i
l
et
oa
s
s
e
s
sme
mor
yus
a
g
ea
nddyna
mi
ca
l
l
o
c
a
t
i
o
nl
e
a
ksa
ndCPUpr
o
f
i
l
i
ngt
oa
s
s
e
s
st
hr
e
a
dc
o
nf
l
i
c
t
s
.
Pr
o
vi
desvi
s
ua
lr
e
pr
e
s
e
nt
a
t
i
o
nf
ort
hevi
r
t
ualma
c
hi
nel
o
a
di
nt
e
r
mso
fa
c
t
i
vea
ndt
o
t
a
lbyt
e
s
,i
ns
t
a
nc
e
s
,t
hr
e
a
ds
,c
l
a
s
s
e
s
,Ga
r
ba
g
e
Col
l
e
c
t
o
ra
c
t
i
vi
t
y.

Downl
oa
dJ
pr
of
i
l
er
(
ht
t
p:
/
/www.
ej
t
e
c
hnol
ogi
es
.
c
om/downl
o
a
d/
j
pr
o
f
i
l
e
r
/
f
i
l
e
s
.
ht
ml
)
Youwi
l
l
beas
kedt
opr
ovi
deyournameande
mai
l
i
d.
AnEva
l
ua
t
i
o
nKe
ywi
l
l
bema
i
l
e
dt
oyo
u.
Att
het
i
meo
fi
ns
t
a
l
l
a
t
i
on,youwi
l
lbepr
ompt
edf
o
rt
hei
ns
t
a
l
l
a
t
i
o
nke
y,
c
o
pyi
tf
r
o
m yo
urma
i
l
a
ndpa
s
t
ei
ta
ss
ho
wni
nt
hes
c
r
e
e
ns
ho
t
s
.

NOTE:I
ti
snotr
e
c
ommende
dt
ous
eJ
Pr
of
i
l
eri
nPr
oduc
t
i
o
nEnvi
r
o
nme
nt
s.
a
si
tc
o
ns
ume
smo
r
er
e
s
o
ur
c
e
s
.
whi
c
hma
yno
tbede
s
i
r
e
di
n
Pr
oduc
t
i
onEnvs
.

[
1]wi
Patch: A patch i
sapi
ec
eofs
of
t
war
edes
i
gne
dt
of
i
xpr
o
bl
e
ms
t
h,o
rupda
t
eacomputer program o
ri
t
ss
uppo
r
t
i
ngda
t
a
.Thi
si
nc
l
ude
s
f
i
xi
ngsecurity vulnerabilities[1] andot
he
rbugs,a
ndi
mpr
o
vi
ngt
heusability o
rperformance.Tho
ug
hme
a
ntt
of
i
xpr
o
bl
e
ms
,po
o
r
l
yde
s
i
g
ne
dpa
t
c
he
s

c
a
ns
omet
i
me
si
nt
r
oduc
ene
w pr
o
bl
e
ms(
s
eesoftware regressions)
.I
ns
o
mes
pe
c
i
a
lc
a
s
e
supda
t
e
sma
ykno
wi
ng
l
ybr
e
a
kt
hef
unc
t
i
o
na
l
i
t
y,f
o
r
i
ns
t
anc
e,byr
e
movi
ngc
ompone
nt
sf
o
rwhi
c
ht
heupda
t
epr
o
vi
de
ri
snol
o
ng
e
rl
i
c
e
ns
e
do
rdi
s
a
bl
i
ngade
vi
c
e
.
Pat
c
hmanag
ementi
st
hepr
oc
es
sofus
i
ngas
t
r
a
t
e
g
ya
ndpl
a
no
fwha
tpa
t
c
he
ss
ho
ul
dbea
ppl
i
e
dt
owhi
c
hs
ys
t
e
msa
tas
pe
c
i
f
i
e
dt
i
me
.
Patch installation steps:
Step1: Ta
ket
hebac
kupofbe
ahomedi
r
ec
t
or
yandc
o
nf
i
g
.
xml
f
i
l
e
Step2: Co
pyal
lpa
t
c
hesal
o
ngwi
t
ht
hepa
t
c
hc
at
a
l
o
g
.
xml
f
i
l
et
ot
heLi
nuxbo
x.
a
t
Step3: St
opal
l
t
hes
e
r
ve
r
si
nc
l
udi
nga
dmi
n.
Step4: Ont
heLi
nuxma
c
hi
negot
ot
hebs
uf
ol
der
.
(*
/
o
r
a
c
l
e
/
ut
i
l
s
/
bs
u/
)a
ndr
unt
he
Ex: .
/bs
u.
s
hpr
od_di
r
=<WebLog
i
chome
>pa
t
c
hl
i
s
t
=<pa
t
c
hna
me
>ve
r
bo
s
ei
ns
t
a
l
l
Step5: Us
et
hebe
l
owc
o
mmandt
oc
he
c
kt
heo
ut
put
*
\o
r
ac
l
e\
ut
i
l
s
\
bs
u>.
/bs
u.
s
hvi
e
wpr
od_di
r
=/
us
r
/
l
o
c
a
l
/
o
r
a
c
l
e
/
wl
s
1
033/
wl
s
e
r
ve
r
_1
0.
3
s
t
a
t
us
=a
ppl
i
ed
Step6: St
ar
tt
hea
l
ls
er
ver
s
.
Step7: Chec
kt
heappl
i
c
at
i
o
nhea
l
t
h.
Commands:
Patch installation: .
/
bs
u.
s
hpr
od_di
r
=/us
r
/
l
oc
al
/
o
r
a
c
l
e
/
wl
s
1
033/
wl
s
e
r
ve
r
_1
0.
3ver
bos
ei
ns
t
al
l
Patch Uninstallation: .
/bs
u.
s
hr
e
mo
vepat
c
hl
i
s
t
=1
FKM pr
od_di
r
=/
us
r
/l
o
c
a
l
/o
r
ac
l
e/
wl
s
1033/wl
s
e
r
ve
r
_10.
3ve
r
bo
s
e
Check for what are all patches installed: .
/bs
u.
s
hvi
e
wpr
od_di
r
=/
us
r
/l
o
c
a
l
/o
r
ac
l
e/
wl
s
1033/wl
s
e
r
ve
r
_10.
3s
t
a
t
us
=a
ppl
i
e
d
Creating patch logs: .
/bs
u.
s
hr
epor
tl
og=t
e
s
t
.
l
ogl
o
g
_pr
i
o
r
i
t
y=t
r
a
c
e
Sc
r
eens
hot
s

*
/
o
r
a
c
l
e
/
ut
i
l
s
/
bs
u/
c
a
c
he
_di
r
f
o
l
l
o
wi
ngc
o
mma
nd
-

pa
t
c
hl
i
s
t
=4EWM

Applying patches on WebLogic Server using Oracle Smart Update(BSU): Or


a
c
l
epr
o
vi
de
st
heSma
r
tUpda
t
eut
i
l
i
t
yt
oa
ppl
ypa
t
c
he
sa
ndupg
r
a
det
heWe
bLo
g
i
c
Ser
ve
ri
ns
t
al
l
at
i
o
ns
.Or
a
c
l
e

sWebLo
gi
cSer
veri
sno
w ac
r
i
t
i
c
a
lc
o
mpo
ne
nt o
fFus
i
o
nMi
ddl
e
wa
r
ea
nde
ve
r
yo
t
he
rc
o
mpo
ne
nto
fFus
i
o
n
Mi
ddl
ewar
er
e
qui
r
e
sWe
bLog
i
cSer
ve
rt
obei
ns
t
al
l
e
das apr
e
r
e
qui
s
i
t
e
.Appl
yi
ngpa
t
c
he
sa
ndupg
r
a
di
ngWe
bLo
g
i
cSe
r
ve
ri
squi
t
es
t
r
ai
g
ht
f
or
war
dus
i
ngt
heOr
ac
l
e
sSma
r
tUpdat
eut
i
l
i
t
y,
t
hedo
c
ume
nt
a
t
i
o
nf
o
rOr
a
c
l
eSma
r
tUpda
t
eUt
i
l
i
t
yc
a
nbef
o
undhere.
St
ep1:Shut
do
wnandt
akeac
ompl
et
eba
c
kupoft
heWLSe
nvi
r
o
nme
nt
.
TheSt
a
r
t
up/
Shut
downs
c
r
i
pt
sar
epl
ac
edi
n $WLS_HOME/user_projects/domains/<domain_name>/bin
Step2: TheOr
a
c
l
eSma
r
tUpdat
eTool
i
sl
oc
a
t
e
da
t
$WLS_HOME/utils/bsu
Step3: Launc
ht
het
heOr
ac
l
eSmar
tUpda
t
eTo
ol:
middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

26/29

6/9/15

Middleware Administration : Weblogic material

Step4: Onc
el
og
gedi
n,youwi
l
l
bepr
es
e
nt
edwi
t
hOr
a
c
l
eSma
r
tUpda
t
eDi
a
l
o
g
.
Step5: Youc
anc
ho
os
et
o
Re
gi
s
t
erf
o
rs
ec
ur
i
t
yupdat
es

,t
hi
si
sus
ua
l
l
yhe
l
pf
ul
t
oke
e
pyo
ur
s
e
l
fupda
t
e
dwi
t
ht
hel
a
t
e
s
ts
e
c
ur
i
t
yupda
t
e
sa
nd
pr
oduc
texpi
r
a
t
i
o
n.
Step7: Ont
hel
e
f
tpaneyouwoul
ds
e
e We
bLog
i
cSer
ve
r
si
ns
t
a
l
l
e
da
ndo
nt
her
i
g
htpa
neyo
uwi
l
l
s
e
et
wot
a
bs
.
Ge
tPa
t
c
he
s
and
Ma
na
g
e
Pat
c
hes
andas
e
c
t
i
ont
os
ho
wt
hedo
wnl
oa
de
dpat
c
he
s
.
Step8: Nows
el
e
c
tt
hepa
t
c
hesandhi
tt
he
Downl
o
adSe
l
e
c
t
e
dbut
t
o
n,
yo
uwi
l
l
bepr
o
mpt
e
di
fyo
uwi
s
ht
ot
ova
l
i
da
t
ea
ndr
e
s
o
l
vec
o
nf
l
i
c
t
s
.
Step9: TheVal
i
dat
i
onc
o
mpl
et
eswi
t
ht
hef
ol
l
owi
ngmes
s
a
g
e
:
Step10: Cl
i
c
k
OKt
opr
oc
e
eddo
wnl
oa
di
ngt
hepa
t
c
hes
.
Step11: Onc
et
hepa
t
c
hesar
edownl
oadedandc
l
i
c
kt
he
Ma
na
g
ePa
t
c
he
s
t
a
bt
opr
o
c
e
e
dwi
t
ht
hepa
t
c
ha
ppl
i
c
a
t
i
o
n.I
nt
he
Do
wnl
o
a
de
d
Pat
c
hes
s
e
c
t
i
onyouwi
l
l
not
i
c
et
hepa
t
c
hesdo
wnl
o
ade
d,
c
l
i
c
kt
he
upa
r
r
o
wt
oa
ppl
yt
hepa
t
c
h
Step12: Youwi
l
lbepr
ompt
edwi
t
hc
oupl
eofpr
ompt
sf
o
ryo
ut
ot
a
kea
c
t
i
o
n:
Cl
i
c
k
OKt
opr
o
c
ee
d
Step13: Onc
emor
et
heval
i
dat
i
oni
sdo
ne,
c
l
i
c
k
OKt
opr
o
c
e
e
d
Step14: Onemo
r
e
Ar
eyo
us
ur
e
?
pr
o
mpt
,
a
nno
yi
ngI
know.Cl
i
c
k
Pr
oc
ee
dt
oappl
yt
hepa
t
c
h
Step15: Onc
et
hepat
c
hi
sa
ppl
i
edyo
u
ds
eet
hepa
t
c
hi
nt
heAppl
i
e
dPa
t
c
he
s
De
f
a
ul
t
t
a
b
Thatt
hepat
c
hi
sno
wappl
i
e
d.I
fyouf
ac
ea
nyi
s
s
ue
si
t
swo
r
t
hi
nve
s
t
i
g
a
t
i
ngt
hes
e
r
ve
rl
o
g
s
.
Log File Location: Thel
o
gf
i
l
el
o
c
a
t
i
o
ni
s
:
C:
/bea/
us
er
_pr
oj
e
c
t
s
/do
mai
ns
/r
am_domai
n/s
er
ve
r
s
/
a
dmi
ns
e
r
ve
r
/
l
o
g
1) Access log:
2) Serveer log: Thes
e
r
verl
ogr
e
c
or
dsi
nf
or
ma
t
i
o
na
bo
ute
ve
nt
ss
uc
ha
st
hes
t
a
r
t
upa
nds
hut
do
wno
fs
e
r
ve
r
s
,t
hede
pl
o
yme
nto
fne
w
a
ppl
i
c
at
i
ons
,o
rt
hef
ai
l
ur
eo
fo
neormo
r
es
ubs
ys
t
ems
.Theme
s
s
a
g
e
si
nc
l
udei
nf
o
r
ma
t
i
o
na
bo
utt
het
i
mea
ndda
t
eo
ft
hee
ve
nta
swe
l
l
a
st
heI
D
o
ft
heus
erwhoi
ni
t
i
at
e
dt
heeve
nt
.
3) Domain log: Thi
swi
l
lhaveaboutdomai
ni
nf
or
ma
t
i
o
n.
(
do
ma
i
nna
me
.
l
o
g
)
4) AdminServer log: Thi
swi
l
lhavea
boutt
heAdmi
nSe
r
ve
ri
nf
o
r
ma
t
i
o
n.
(
Admi
nSe
r
ve
r
.
l
o
g
)
5) Out logs: Thi
swi
l
l
ha
veabo
utt
heJ
VM out
put
.
(
Admi
ns
e
r
ve
r
.
o
ut
)
6) Application logs: Thi
swi
l
lhavei
nf
or
ma
t
i
o
na
bo
ute
a
c
ha
nde
ve
r
ya
ppl
i
c
a
t
i
o
nwhi
c
hwede
pl
o
ye
di
ns
e
r
ve
r
.
7) Node Manager logs: Thi
swi
l
lhavei
nf
or
ma
t
i
o
na
bo
utNo
deMa
na
g
e
r
.
(
no
dema
na
g
e
r
.
l
o
g
)
(
C:
/bea
/WebLo
gi
c
91
/c
ommon/node
mana
ge
r
/node
ma
na
g
e
r
.
l
o
g
)
Diff b/w WebLogic 8,9,10 & 11 versions:
Fe
at
ur
es
WLS8.
1
WLS9x
WLS1
0.
3a
nd1
1
G
JDBCConnec
t
i
o
nPoo
l
MaxPMPM andDM1
5
PM a
ndDM1
5
Ca
pac
i
t
y
25(
Admi
nSer
ver
)(
Admi
nSe
r
ve
r a
nd(
Admi
nSe
r
ve
ra
nd
DMManag
edSe
r
ve
r
) Ma
na
g
e
dSe
r
ve
r
)
15(
Admi
nSer
ver
)
PM1
5(
ma
nag
ed
Ser
ve
r
)
Exec
ut
e
PMPM andDM1
5
PM a
ndDM1
5
Thr
eadDef
aul
t
Thr
e
adCo
unt
25(
Admi
nSer
ver
)(
Admi
nSe
r
ve
r a
nd(
Admi
nSe
r
ve
ra
nd
DMManag
edSe
r
ve
r
) Ma
na
g
e
dSe
r
ve
r
)
15(
Admi
nSer
ver
)
PM1
5(
ma
nag
ed
Ser
ve
r
)
JMSSer
vi
c
es
Queuea
ndTo
pi
c
sQue
ue a
nd To
pi
cQue
ue a
nd To
pi
c
c
an
beCr
e
at
e
dSer
vi
c
e
s Ca
n beSe
r
vi
c
e
s
under
JMSCr
eat
edo
nl
ybyJ
MSCa
n be Cr
e
a
t
e
d
Ser
ve
r
Modul
e
o
nl
y by J
MS
Mo
dul
e
JMS Ser
ver St
ar
t
i
ng a
ndNo
tAva
i
l
abl
e
NotAvai
l
a
bl
e
Pa
r
t
i
c
ul
a
r
J
MS
St
oppi
ng
I
ns
t
a
nc
e
s Ca
n be
St
o
ppe
d
JMSAdvanc
e
df
eat
ur
es Quot
a
,
SAF(
St
or
e Quo
t
a,
SAF(
St
o
r
e Quo
t
a
,
SAF
and
For
war
da
nd
Fo
r
wa
r
d(
St
o
r
ea
ndFo
r
wa
r
d
Ag
ent
s
) i
s no
tAge
nt
s
)
i
sAva
i
l
a
bl
e Ag
e
nt
s
)
Avai
l
a
bl
e
i
sAva
i
l
a
bl
e
JMS Conf
i
gur
at
i
onNOConf
i
gf
i
l
ef
orJMS
r
epos
i
t
o
r
y
JMSt
r
a
ns
ac
t
i
on NoJ
MSt
r
a
ns
ac
t
i
onLo
gs
Cl
us
t
er
Uni
c
as
t NoUni
c
as
tAddr
es
s
Addr
es
s
JMS De
s
t
i
nat
i
onNoCus
t
om Ke
yType
Ke
yCus
t
om
Key
TypeFac
i
l
i
t
y
Gar
bage Co
l
l
ec
t
orNoGC
Pr
oc
e
s
s Sc
he
dul
ed
GC
XMLXpa
t
h a
ndNotSuppor
t
ed
XLang
WebSer
vi
c
e
EJ
B3.
0
NotSuppor
t
ed
Advanc
ed
NotSuppor
t
ed
WEbs
er
vi
c
e
Suppor
tbySOA
Or
ac
l
e Fus
i
o
na
ndNotSuppor
t
ed
Ebus
i
nes
s
Sui
t
e
I
nt
eg
r
at
i
on

Se
pa
r
a
t
eCo
nf
i
g
ur
a
t
i
o
nFi
l
ef
o
rSe
pa
r
a
t
eCo
nf
i
g
ur
a
t
i
o
nFi
l
ef
o
rJ
MSi
ns
i
det
he We
bLo
g
i
c
JMS i
ns
i
de t
he We
bLo
g
i
cDo
ma
i
n
Doma
i
n
NoJ
MSt
r
a
ns
a
c
t
i
o
nLo
g
s
J
MSt
r
a
ns
a
c
t
i
o
nLo
g
s
NoUni
c
a
s
ta
ddr
e
s
s
Uni
c
a
s
tAddr
e
s
si
sa
va
i
l
a
bl
e
NoCus
t
o
m Ke
yType

NoCus
t
o
m Ke
yType

NOGC

Sc
he
dul
e
dGa
r
ba
g
eCo
l
l
e
c
t
i
o
n

Suppo
r
t
e
d

Suppo
r
t
e
d

Suppo
r
t
e
d
NOTSuppo
r
t
e
d

Suppo
r
t
e
d
Suppo
r
t
e
d

NotSuppo
r
t
e
d

Suppo
r
t
e
d

middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

27/29

6/9/15

Middleware Administration : Weblogic material

Lo
g Fi
l
e(
Def
a
ul
t
Avai
l
abl
e
NotAva
i
l
a
bl
e
No
tAva
i
l
a
bl
e
Tr
ans
ac
t
i
onLog
)
JDBCl
og
Avai
l
abl
e
NotAva
i
l
a
bl
e
No
tAva
i
l
a
bl
e
Jol
t
Co
nnec
t
i
onNotAva
i
l
abl
e
Avai
l
a
bl
e
No
tAva
i
l
a
bl
e
Po
ol
s
Co
nf
i
gf
ol
der
NotAva
i
l
abl
e
Avai
l
a
bl
e
Ava
i
l
a
bl
e
Pr
epar
e
, Ac
t
i
veNo Pr
epar
e s
t
a
t
e f
o
rPr
epa
r
es
t
a
t
ef
o
ra
ppl
i
c
a
t
i
o
n,
Pr
e
pa
r
es
t
a
t
ef
o
ra
ppl
i
c
a
t
i
o
n,Thi
so
pt
i
mi
s
e
s me
mo
r
y
s
t
at
es
appl
i
c
at
i
on.Onl
yac
t
i
ves
t
at
e Thi
s o
pt
i
mi
s
e
s me
mo
r
yut
i
l
i
z
a
t
i
o
n.
ut
i
l
i
z
a
t
i
o
n.
De
pl
o
ymentf
ai
l
s Se
r
ver do
s
e
nt c
o
me up i
f
Se
r
ve
rbo
o
t
si
nADMI
N mo
deSe
r
ve
rbo
o
t
si
nADMI
Nmo
dei
fde
pl
o
yme
ntf
a
i
l
e
s
de
pl
o
ymentf
a
i
l
s
i
fdepl
o
yme
ntf
a
i
l
e
s
c
onf
i
gur
at
i
on
Al
lc
onf
i
gur
at
i
oni
nf
or
ma
t
i
o
ni
sSe
pe
r
a
t
exmlf
i
l
e
sf
o
rdo
ma
i
nSe
pe
r
a
t
exmlf
i
l
e
sf
o
rdo
ma
i
nc
o
nf
i
ga
ndj
msmo
dul
e
sa
r
e
i
nf
or
mat
i
on
i
nonec
onf
i
g.
xml
c
o
nf
i
ga
nd j
ms mo
dul
e
sa
r
ea
dde
d
adde
d
Si
de
by
s
i
deSi
debys
i
dede
pl
o
ymenti
snotSi
de by s
i
de de
pl
o
yme
nt i
sSi
debys
i
dede
pl
o
yme
nti
spo
s
s
i
bl
e
depl
o
yment
po
s
s
i
bl
e
po
s
s
i
bl
e
Lo
c
kandEdi
t
NotAva
i
l
abl
e
Avai
l
a
bl
e
Ava
i
l
a
bl
e
Co
nnec
t
i
onpo
ol
s Wehavec
onnec
t
i
o
npoo
l
sandWe ha
ve da
t
a
s
o
ur
c
e
s a
ndWe ha
ve da
t
a
s
o
ur
c
e
sa
nd c
o
nne
c
t
i
o
n po
o
l
sa
r
ei
ns
i
de
da
t
as
our
c
e
s
c
o
nne
c
t
i
o
n po
o
l
sa
r
e i
ns
i
deda
t
a
s
o
ur
c
e
s
.
da
t
a
s
o
ur
c
e
s
.
app i
nf l
i
b a
ndNotAva
i
l
abl
e
Avai
l
a
bl
e
Ava
i
l
a
bl
e
c
l
a
s
s
es
De
pl
o
yment
We need t
o del
e
t
e andWec
a
nupda
t
et
hea
ppl
i
c
a
t
i
o
nWec
a
nupda
t
et
hea
ppl
i
c
a
t
i
o
nus
i
nga
dmi
nc
o
ns
o
l
e
updat
es
r
e
de
pl
o
yf
r
om admi
nc
ons
ol
e us
i
nga
dmi
nc
o
ns
o
l
e
Queues
Wehaveexc
l
udequeues
.
Weha
vewo
r
kma
na
g
e
r
s
Weha
vewo
r
kma
na
g
e
r
s
WebLog
i
cSc
r
i
pt
i
ng
NotAva
i
l
abl
e
Avai
l
a
bl
e
Ava
i
l
a
bl
e
To
ol
(
WLST)
ge
ne
r
i
c
l
i
c
ens
e
.
be
af
i
l
ef
o
re
ac
hg
ene
r
i
c
l
i
c
e
ns
e
.
be
af
i
l
ef
o
re
a
c
hI
n WLS 1
0 MP2 a
nd a
bo
ve
,t
he do
wnl
o
a
de
ds
o
f
t
wa
r
e
l
i
c
ens
e.
bea
ve
r
s
i
on t
ha
tyou c
andownl
oadve
r
s
i
o
nt
ha
tyo
uc
a
ndo
wnl
o
a
dc
o
me
s wi
t
h a f
ul
l
y bl
o
wn l
i
c
e
ns
e s
o no ne
e
d t
o
f
r
om Or
ac
l
e.
f
r
om Or
a
c
l
e
.
e
ve
ndo
wnl
o
a
dane
wo
nef
r
o
m Or
a
c
l
e
.
Ticketing Tools
1) BMC Remedy ticketing tool:
IITL(Information Technology Infrastructure Library)Process:
1.
Cha
ng
eManag
ement
.
2.
I
nc
i
de
ntMa
na
gement
.
3.
Pr
o
bl
e
m Ma
na
gement
.
4.
Rel
eas
eMa
nag
ement
.
Different Types of Tickets:
1) Incident ticket which identity by INC: Somet
hi
ngha
ppe
na
c
c
i
de
nt
l
yt
het
i
c
ke
twhi
c
hr
a
i
s
e
sma
nua
l
l
yo
ra
ut
o
ma
t
i
c
a
l
l
y.
Ex: WebLo
gi
cs
e
r
ve
rf
ai
l
e
dt
os
t
ar
t
up t
i
c
ketwi
l
lber
a
i
s
e
da
ut
o
ma
t
i
c
a
l
l
y.
2) Change ticket by CRQ: I
fs
ome
bodywa
nt
st
odoc
ha
ng
eo
rc
r
e
a
t
i
ngane
wdur
i
ngt
ha
tt
i
met
hec
ha
ng
ema
na
g
e
me
ntt
i
c
ke
tus
e
s
.
3) Problem ticket which identified by PBC: I
ti
sus
e
dt
oma
na
g
e
dpr
o
bl
e
mi
nve
s
t
i
g
a
t
i
o
nskno
wne
r
r
o
r
sa
nds
o
l
ut
i
o
nsDB(
Da
t
a
Bas
e)
ent
r
i
e
s
.Pr
o
bl
e
m ma
na
gementc
anpr
ac
t
i
c
a
l
l
ypr
e
ve
ntt
heo
c
c
ur
e
nc
yo
fi
nc
i
de
nt
se
r
r
o
r
sa
nda
ddi
t
i
o
nma
na
g
e
me
nt
.
States of Tickets:
1) New: Di
s
pl
ayswhe
nc
r
ea
t
i
ngane
wr
ec
or
dort
i
c
ke
t
.
2) Assigned: Aut
os
e
tt
oas
s
i
g
nedwhe
nyouc
r
e
at
eane
wi
nc
i
de
nta
s
s
i
g
ne
dt
os
o
meo
ne
.
3) In progress: Ac
t
i
vel
ywor
ki
ngont
hati
nc
i
de
ntal
s
omus
ts
e
l
e
c
ta
ta
s
s
i
g
ni
ngar
e
c
o
r
dt
oyo
ur
s
e
l
f
.
4) Pending: c
an
two
r
kont
ha
ti
nc
i
dentmus
tf
i
l
li
nt
her
e
a
s
o
nf
a
i
l
e
do
rpe
ndi
ng
.
I
tme
a
nske
e
pi
ngt
het
i
c
ke
to
nho
l
df
o
rs
o
met
i
me
.
5) Resolved: As
ol
ut
i
onorwor
ka
r
o
undhasbe
enf
ound,
mus
tf
i
l
l
i
nt
hes
t
a
t
usr
e
a
s
o
nf
a
i
l
e
d.
6) Closed: Thes
ys
t
e
m wi
l
l
aut
oc
l
os
ei
nfive bus
i
nes
sda
yso
ri
fus
e
rwa
nt
sc
l
o
s
et
het
i
c
ke
twec
a
nc
l
o
s
ei
mme
di
a
t
e
l
yo
rma
nua
l
l
y.
7) Canceled: I
fr
e
c
or
dwasanac
c
i
dentort
hei
s
s
uedoe
s
n
tne
e
dr
e
s
o
l
ut
i
o
nc
us
t
o
me
ro
rs
uppo
r
ts
t
a
f
fma
yt
a
s
ki
nc
i
de
nta
sc
a
nc
e
l
l
e
d.
Urgency or priority:
1) Critical: I
twi
l
l
i
mpac
tbus
i
nes
s
.
2) High: I
twi
l
l
i
mpor
to
nl
yf
ort
hats
er
ve
roronl
yf
ort
ha
tpa
r
t
i
c
ul
a
rba
t
c
hs
ys
t
e
ms
.
3) Medium: I
ti
snott
ha
tmuc
hc
r
i
t
i
c
al
buts
t
i
l
l
wene
edt
a
ket
a
s
ko
nt
ha
tj
o
b.
4) Low: I
tdo
esnotr
e
qui
r
et
oc
ons
i
dert
hi
spoi
nt
.
Bas
e
do
nhowmanys
ys
t
ems
,pr
o
c
es
sa
ndbus
i
nes
suni
t
sa
r
ea
f
f
o
r
de
da
swe
l
l
a
si
ft
hewo
r
ka
r
o
undi
spo
s
s
i
bl
eo
rno
t
.
2) Amdocs clarify CRM Support:
Handling Change Request: I
fa
nyc
o
nf
i
gc
ha
ng
eshavebe
e
ndo
ne
.
Thec
ha
ng
er
e
que
s
twi
l
l
ber
a
i
s
e
d.
Status of Tickets:
1) Requested: Thet
i
c
ke
ti
si
nr
e
que
s
t
eds
t
a
t
e.
Thes
ea
r
edi
f
f
e
r
e
ntl
e
ve
l
so
fa
ppr
o
va
l
sne
e
de
df
o
ri
mpl
e
me
nt
i
nga
nyc
ha
ng
er
e
que
s
t
.
Level
1:Li
nemana
ge
rr
e
ady.
Level
2:Pr
oduc
t
i
o
nc
oo
r
di
nat
err
ea
dy.
Level
3:Changec
o
or
di
nat
e
rr
ea
dy.
Level
4:Ski
l
l
gr
oupi
mpl
e
ment
at
i
on(
Re
ques
ti
mpl
e
me
nt
e
r
)r
e
a
dy.
2) Ready: Whi
l
ege
t
t
i
ngt
heappr
ova
l
st
het
i
c
ke
twi
l
l
bei
nr
e
a
dys
t
a
t
e
.
3) Scheduled: Af
t
erge
t
t
i
ngt
heappr
o
val
st
het
i
c
ketwi
l
l
c
o
mei
nt
os
c
he
dul
e
ds
t
a
t
e
.
4) Accepted: Fori
mpl
e
me
nt
i
nga
nyc
hanger
eque
s
tt
i
c
ke
ts
ho
ul
dbei
ns
c
he
dul
e
ds
t
a
t
e
.
Ther
e
que
s
tha
st
obea
c
c
e
pt
e
d.
5) Resoled:
6) Failed
7) Rejected
Pos
t
edbyPa
vankuma
rBandar
uat08:
42

+4 Recommend this on Google

middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

28/29

6/9/15

Middleware Administration : Weblogic material

Noc
omment
s
:
Pos
taComment

Ne
we
rPos
t

Home

Ol
de
rPos
t

Subs
cr
i
bet
o:
Pos
tComme
nt
s(
At
om)

Wa
t
e
r
ma
r
kt
e
mpl
a
t
e
.
Powe
r
e
dbyBl
og
g
e
r
.

middlewareadmin-pavan.blogspot.in/2013/06/weblogic-material.html?utm_source=BP_recent

29/29

You might also like