Sunteți pe pagina 1din 24

Getting Started with Oracle SoA Oracle SOA Configuring DbAdapter Lab#14

Description: BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Beginners G ide !or "racle So#. The doc ment !oc ses on $b#dapter thro gh #dministration %onsole. &oin o r pro!essional training program and learn !rom e'perts.

Histor() *ersion +., +.,

$escription %hange Initial $ra!t /eview0,

# thor Shiva -ant Pande( #mit Sharma

P blish $ate .,st # g .+,. .1th # g .+,.

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page ,

Configuration of DbAdapter Through Ad


Step 1: %lic2 on 3ire!o' web Browser to open it

inistration Console
inistration console:

Stepwise procedure to Configure DbAdapter Through Ad

Step !: 4rite either 5/6 7 http:""localhost:#$$1"console 7 on web browser or simpl( clic2 on 4eblogic console to open 4eblogic #dministration console.

Step 8) 6og in to wor2 with the 4eblogic Server domain , se the !ollowing credential to login into #dministration console ) %serna e 9 weblogic &assword 9 welcome, %lic2 on login

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page .

Step 4: :ow we have s ccess! ll( entered into administration console now clic2 deplo' ents nder $omain Str ct re.

Step () It will prompt to c stomi;e $eplo(ments table , now in this table all deplo(ed adapters can be visible < so $b#dapter is one o! them to which we are going to con!ig re .#lso note that this $b#dapter !ile is a =ar !ile whose state is #ctive, Health is "- , it is /eso rce #dapter T(pe < deplo(ment "rder is 8...

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page 8

Step ): %lic2 on Service nder $omain Str ct re < e'pand it :ow %lic2 on $ata So rces to create to con!ig re . Data Sources : It is a name given to the connection set p to a database !rom a server. The name is commonl( sed when creating a > er( to the database. The database so rce name ?$S:@ does not have to be the same as the !ilename !or the database. Sun*s +ersion of DataSource ) # !actor( !or connections to the ph(sical data so rce that this $ataSo rce ob=ect represents. #n alternative to the $riverAanager !acilit(, a $ataSo rce ob=ect is the pre!erred means o! getting a connection. #n ob=ect that implements the $ataSo rce inter!ace will t(picall( be registered with a naming service based on the &ava :aming and $irector( Inter!ace ?&:$I@ #PI. The $ataSo rce inter!ace is implemented b( a driver vendor. There are three t(pes o! implementations)
Basic implementation B prod ces a standard %onnection ob=ect %onnection pooling implementation B prod ces a %onnection ob=ect that will

a tomaticall( participate in connection pooling. This implementation wor2s with a middle-tier connection pooling manager.
$istrib ted transaction implementation B prod ces a %onnection ob=ect that ma( be

sed !or

distrib ted transactions and almost alwa(s participates in connection pooling. www.bispsol tions.com www.bisptrainigs.com www.h(periong r .com Page C

This implementation wor2s with a middle-tier transaction manager and almost alwa(s with a connection pooling manager. # $ata So rce ob=ect has properties that can be modi!ied when necessar(. 3or e'ample, i! the data so rce is moved to a di!!erent server, the propert( !or the server can be changed. The bene!it is that beca se the data so rceDs properties can be changed, an( code accessing that data so rce does not need to be changed.

Step 7:

%lic2 :ew to create new data so rce

Step ,) %hoose Generic $ata So rce < clic2 it .

Step -: 3ill all the entries to create new &$B% data so rce :ame 9 demods &:$I :ame 9 =dbcEdemods $atabase t(pe 9 "racle %lic2 :e't

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page F

Step 1$: Select $atabase driver "racle $river?Thin G# @ !or Instance connectionsH *ersions)1.+., and later %lic2 :e't

Step 11: %lic2 :e't

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page I

Step 1!) $e!ine connection Properties database :ame 9 GE Host :ame 9 localhost Port 9,F., $atabase 5ser :ame 9hr Password 9 hr %on!irm Password 9 hr %lic2 :e't

Step 1.: %hec2 all details < write again !ollowing) $atabase 5ser :ame 9hr Password 9hr %on!irm Password 9 hr %lic2 on Test Configuration at the bottom.

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page J

Step 14: There is possibilit( to come error, :ow this error comes when the $atabase ser is loc2ed so !irst nloc2 ser hr then again clic2 to Test %on!ig ration .

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page K

Step 1(: %lic2 on "racle $B Env Terminal in 6in ' operating s(stem or open %A$ in windows

Step 1): Start s>l b( writing s>lpl s now Enter ser :ame as 9s(s as s(sdba ,press enter 2e( when password prompts , now connected to database , write !ollowing > er( to nloc2 hr acco nt alter ser hr identi!ied b( hr acco nt nloc2 H bash/.0!1 s>lpl s S2L3&lus: 4elease 110!0$0!0$ &roduction on Tue 5o+ 1- $!:1!:14 !$1. Cop'right 6c7 1-,!8 !$118 Oracle0 All rights reser+ed0 9nter user/na e: s(s as s(sdba

9nter password: Connected to: Oracle Database 11g 9:press 9dition 4elease 110!0$0!0$ / )4bit &roduction S2L; alter ser hr identi!ied b( hr acco nt nloc2 H www.bispsol tions.com www.bisptrainigs.com www.h(periong r .com Page 1

%ser altered0 S2L;

Step 1#: :ow come bac2 to dataso rce con!ig ration page < !ill all data again < clic2 Test Configuration0

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page ,+

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page ,,

Connection Test Succeeded

Step 1,: Select #dmin Server < clic2 3inish

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page ,.

Step 1-: Aessage $ispa(s that 7#ll changes have been activated no starts are necessar( 7 :ow see data so rce table < observe demods is visible inside table .:ow come bac2 again into deplo(ments table .

Step !$: Aar2 on $b#dapter =ar !ile < clic2 on Stop tab

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page ,8

5OT9: Be!ore pdating an( adapter =ar !ile stop it then ma2e changes on it . Step !1: %lic2 on 3orce Stop :ow

Aessage displa(ed 7selected $eplo(ments have been re> ested to stop 7

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page ,C

Step !!: %lic2 on $b#dapter =ar !ile to open it

Step !.: %lic2 on %on!ig ration

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page ,F

Step !4: %lic2 Outbound Connection &ools nder %on!ig ration < then E'plore =ava'.reso rce.cci.%onnection3actor( b( clic2ing L sign

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page ,I

Step !(: %lic2 on 5ew to create new connection !actor(

Step !)) Aar2 =ava.reso rce.cci.%onnection3actor( < %lic2 5e:t

Step !#: Give &:$I :ame 9 eisEdbEdemoc! then clic2 3inish here c! stands !or connection !actor(

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page ,J

Aessage $ispla(ed 7#ll changes have been activated. :o start are necessar( 7

Step !,::ow we have s ccess! ll( created eisdEdb Edemoc! connection < clic2 on it twice to con!ig re it .

Step !-: write =dbcEdemods inside Proper( *al e o! '#$ataSo rce:ame < press Enter -e( :ow clic2 Sa+e b tton

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page ,K

Aessage $ispla(ed 7#ll changes have been activated. :o start are necessar( 7 7$eplo(ment plan has been s ccess! ll( pdated 7

Step .$: #gain %ome bac2 to $eplo(ment Table B( clic2ing deplo(ment on le!t pane < mar2 $b#dapter =ar !ile < clic2 to Stop then 3orce Stop :ow

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page ,1

Aessage $ispla(ed 7Selected $eplo(ments have been re> ested to stop 7

Step .1: %lic2 on 5pdate

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page .+

Step .!: "pen $eplo(ment plan path to chec2 the con!ig ration done EoracleE!mwhomeE"racleMS"#,EsoaE$B#dapterEPlan.'ml

Step ..: "pen des2top < clic2 to %omp ter

Step .4: %lic2 to 3iles(stem to open it

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page .,

Step .(: "pen !olders according to : mbers !rom , to F

Step .): "pen !older soa < then open Plan.'ml !ile with Te't Editor

Step .#: %hec2 that whatever con!ig ration we have done is present inside variables or no e'ample %onnection Inastance M&:$Iname 9 eisEdbEdemoc! < %on!ig propert(M'#$ataSo rce <=dbcEdemods www.bispsol tions.com www.bisptrainigs.com www.h(periong r .com Page ..

NvariableO NnameO%onnectionInstanceMeisEdbEdemoc!M&:$I:ameM,8KCJJ8J+.C8I+NEnameO Nval eOeisEdbEdemoc!NEval eO NEvariableO NvariableO NnameO%on!igPropert(M'#$ataSo rce:ameM*al eM,8KCJJ8K+1I11+NEnameO Nval eO=dbcEdemodsNEval eO NEvariableO Aessage $ispla(ed 7#ll changes have been activated. :o start are necessar( 7 7$eplo(ment plan has been s ccess! ll( pdated 7

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page .8

Step .,: State o! $b#dapter is now #ctive < Health "-

:ow we have completed conig ration o! $atabase adapter

www.bispsol tions.com

www.bisptrainigs.com

www.h(periong r .com

Page .C

S-ar putea să vă placă și