Sie sind auf Seite 1von 13

6/16/2015

NWDSstepbystep(InthelovingmemoryofSDM)|SCN

GettingStarted Newsletters

Hi,Guest

LogOn

JoinUs

Store

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

Communications

Actions

SAPNetWeaverAdministrator

NWDSstepbystep(InthelovingmemoryofSDM)
PostedbyIshteyaqueAhmadinSAPNetWeaverAdministratoronJan28,20141:31:21PM

Asusual,thisblogisnotforgeniusesorBasisgurus!MostofthetimeIliketowriteforpeoplelikemewholearnsby
doingandsometimelookingatothersworks.

Inthisblog,myfocuswillbeontwothings:
1. HowtoworkwiththeNetWeaverDeveloperStudio7.31(NWDS)fordeployingandundeployinganySAPor
thirdpartyjavacomponent.
2. HowtoplaywithSCA,SDA&jarfileswheretolookfortherequiredclass.

...ofcoursewithhelpoflotsofscreenshots,funstartsnow!

IthinkIamnotretellingwhatispresentatthelinkbelow

SAPNetWeaverDeveloperStudio7.1Overview

SAPhasthishabbittotakeoutpeoplefromtheircomfortzone,sometimeforgoodandsometimefor.......anyway.
ItwillnotbefairtocompareSDMandNWDS.Laterismuchversatiletool,IhaveseenPIguysworkingwithNWDS
insteadoftheiroldwaysfromSXMB_IFRthenESRorIB.

Thisisjustanexample,thatNWDSisnotjustforus(Basis).Letsseehowwecanusethistool:

NWDScanbedownloadedfromservicemarketplace,unzipitanditsreadytowork.Doubleclickonexecutable,itwill
firstaskforadirectorylocation,youcanprovidethelocationorletitselectthedefaultone,itsuptoyou.

<<Ifyouwanttoviewscreenshotclearlythenyouneedtoclickoneachofthescreenshotsothattheycan
openinactualsize,otherwisesomeofthemarenotclearlyreadable.>>

Hereisthefirstscreen.ClickonWindowsthepreferences.

YouwillgetscreenlikebelowselectSAPASJava,ifyouhaveolderversion,findsomethingsimilartothat.

http://scn.sap.com/community/netweaveradministrator/blog/2014/01/28/nwdsstepbystepinthelovingmemoryofsdm

1/13

6/16/2015

NWDSstepbystep(InthelovingmemoryofSDM)|SCN

OnrightsideyoucanfindAddbutton.Clickonit,youwillgetanotherpopupwindowseeking
a. yourjavahostname,
b. JavasysteminstancenumberlikeyougiveinyourURL(http://<hostnameorIP>:5NN00)hereNNisinstance
number.
c. AddtoDomain:Iselectfromdropdownvalue"Default"

WhenyouclickonOKyoumaybeabletoviewoneentrylikebelowforyourJavasystemID.Ifyouarenotabletosee
anyentry,don'tworryclickOKbecausesometimeIgettheentryandsometimeIdon'tseeanyentry,butinbothcases
itworksasexpected.
NowagainclickonWindow>ShowView>Other

Youwillgetbelowscreen,Select"DeployView"andclickonOK.

http://scn.sap.com/community/netweaveradministrator/blog/2014/01/28/nwdsstepbystepinthelovingmemoryofsdm

2/13

6/16/2015

NWDSstepbystep(InthelovingmemoryofSDM)|SCN

NowclickonExternalDeployableArchives,youwillseeoptionswithradiobuttononrightside.

http://scn.sap.com/community/netweaveradministrator/blog/2014/01/28/nwdsstepbystepinthelovingmemoryofsdm

3/13

6/16/2015

NWDSstepbystep(InthelovingmemoryofSDM)|SCN

Selectingtheoption"Updatedeployedarchiveswithanyversion"
Bythisoptionyoucanoverwritethejavacomponentofpresentversionwithanyversionyouwant.
(ForexamplewithSAPorsomeoneelsesuggestionyouupgradedcertaincomponentsbutitdidn'tworkedas
expectedsoyouwanttorevertitback.AdditionallyIhaveusedthisoptionstodeploycom.sap.aii.af.axisprovider
componentseveraltimes)

Rightclickon"ExternalDeployableArchives"andclickonAdd

youcanbrowsetotheSCAorSDAfileswhereyouhavestoredthemontoyoursystemfromwhereyouhavestarted
NWDS.Youcanselectmorethanonecomponentatatime.

http://scn.sap.com/community/netweaveradministrator/blog/2014/01/28/nwdsstepbystepinthelovingmemoryofsdm

4/13

6/16/2015

NWDSstepbystep(InthelovingmemoryofSDM)|SCN

AfterselectingandclickingonOpenbuttonwecanseethoseentriesbelow"ExternalDeployableArchives"

Againyoucanrightclickon"ExternalDeployableArchives".Nowyoucanseethedeployoption,clickontheDeploy.

http://scn.sap.com/community/netweaveradministrator/blog/2014/01/28/nwdsstepbystepinthelovingmemoryofsdm

5/13

6/16/2015

NWDSstepbystep(InthelovingmemoryofSDM)|SCN

ItwillpromptforyourJavasystemadminandpassword,unlessyouhavenotselectedtheoption"Storeusernameand
passwordinsecurestorage"
(Basedonthetypeofyoursystemitcouldbej2ee_adminoradministratororanyotheruserwithsimilarauthorization.)

PersonallyIprefertogivepasswordmanuallyeverytime,soIunchecktheticklikebelowscreenshot.Itsyourchoice.

Ifeverythingisfinethedeploymentwillstartandyoucanclickonrightbottomtoviewdetailsofdeployment.

including"progressview"frommyanotherdeploymentjusttoshow.

Thetimetakenvariesbasedonthenumberofcomponentsandtheirtype.Whenitisfinishedyoucanseethedetails.

http://scn.sap.com/community/netweaveradministrator/blog/2014/01/28/nwdsstepbystepinthelovingmemoryofsdm

6/13

6/16/2015

NWDSstepbystep(InthelovingmemoryofSDM)|SCN

1. File:C:\Users\ahmadi\Desktop\AS1\AJAXRUNTIME07P_710008281.SCA
Name:AJAXRUNTIME
Vendor:sap.com
Location:SAPAG
Version:1000.7.30.7.7.20130709001200
Deploystatus:Success
Version:LOWER

1. File:C:\Users\ahmadi\Desktop\AS1\ENGINEAPI07P_2110007921.SCA
Name:ENGINEAPI
Vendor:sap.com
Location:SAPAG
Version:1000.7.30.7.21.20130620213900
Deploystatus:Success
Version:SAME

1. File:C:\Users\ahmadi\Desktop\AS1\FRAMEWORK07P_510007877.SCA
Name:FRAMEWORK
Vendor:sap.com
Location:SAPAG
Version:1000.7.30.7.5.20120702074800
Deploystatus:Success
Version:SAME

1. File:C:\Users\ahmadi\Desktop\AS1\WDRUNTIME07P_1810007825.SCA
Name:WDRUNTIME
Vendor:sap.com
Location:SAPAG
Version:1000.7.30.7.18.20130715190900
Deploystatus:Success
Version:LOWER

1. File:C:\Users\ahmadi\Desktop\AS1\SERVERCORE07P_6610007988.SCA
Name:SERVERCORE
Vendor:sap.com
Location:SAPAG
Version:1000.7.30.7.66.20130705014900
Deploystatus:Success
Version:SAME

Result
Status:Success

Nowletsgiveaquickglanceathowtoundeployanycomponent,thoughIhavenotdoneitmyselfyet!becausethere
wasnorequirement,andIneedtokeepmyjobgoingtoo
LetsgettheundeployView.
ClickonWindow>ShowView>Other
Youwillgetbelowscreen,Select"UndeployView"andclickonOK.

http://scn.sap.com/community/netweaveradministrator/blog/2014/01/28/nwdsstepbystepinthelovingmemoryofsdm

7/13

6/16/2015

NWDSstepbystep(InthelovingmemoryofSDM)|SCN

Aswehaveseeninearlierdiscussionweneedtoputthehostname,instanceanddomain.

Wegetaviewlikebelow.Checkthosetwogroupsofradiobutton.Youneedtobeverysurewhatyouaredoing.IfI
needtoundeployanycomponentandIamnotsureifthatcomponenthasdependency,Iwillselect"Ifdependingstop"

Wecanclickonrefresh.

ItwillpromptforJavaAdminUserIDandpassword

http://scn.sap.com/community/netweaveradministrator/blog/2014/01/28/nwdsstepbystepinthelovingmemoryofsdm

8/13

6/16/2015

NWDSstepbystep(InthelovingmemoryofSDM)|SCN

basedonthetypeofyoursystemitcouldbej2ee_adminoradministratororanyotheruserwithsimilarauthorization.
NowyouwillbeabletoseealltheinstalledcomponentsinlefthandsideofUndeployView.

Selectthecomponentorsubcomponentandrightclickonthat.Select"AddtoUndeployList"bydoingthatyou'llsee
thecomponentnamewillgetaddedtorighthandsidepanelalongwithitsdetail.

Youcanaddmorethanonecomponentsinthe"UndeployListPanel".
Nowyoucanseethebutton("Undeployallitemsinthelist")aspointedinbelowscreenshot.
Whenallset,clickonthebuttontoundeploythecomponent.

http://scn.sap.com/community/netweaveradministrator/blog/2014/01/28/nwdsstepbystepinthelovingmemoryofsdm

9/13

6/16/2015

NWDSstepbystep(InthelovingmemoryofSDM)|SCN

Inthislastsection,letsdiscussthestructureofSCA,SDAandjarfile.

RecentlyIwasworkingwithcom.sap.aii.af.axisproviderlib.sdafile,becausetherewasrequirementtodeploysome
missingcomponentsinPIrelatedtoAxisprovider.Belowisthescreenshot.

InyourPISystemyoucangetthisscreenbythisURL
http://<PIHostname>:5<NN>00/XIAxisAdapter/MessageServlet
Thiswillalsogiveyousuggestionfromwheretodownloadmissingjarfile.Sometimeyouwillnotbeabletoget
compatiablejarfiles,youdon'thavetofindthejarfilewithexactsamename.Whatismoreimportantisgettingthe
classfileinexactlysamelocationasitisbeingsearchedbytheSystem.

Letsverifyifthejarfileiscorrectfileornot.Firstyouwillgetazipfile,youneedtounzipittogetjarfile.Ifyouare
downloadingfromnetyoucandirectlygetjarfile.Whenyoufindthejarfile,youcanmakeacopyofjarfileand
renameitto.zipfile.Nowuseyourinstalledzipprogramlikewinziporanyotherprogramtoseewhereisthedesired
.classfileislocated.

http://scn.sap.com/community/netweaveradministrator/blog/2014/01/28/nwdsstepbystepinthelovingmemoryofsdm

10/13

6/16/2015

NWDSstepbystep(InthelovingmemoryofSDM)|SCN

Incaseifyouaregetting.classfilewithexactlysamenamebutitisplacedindifferentpaththendeployingthatjarfile
isnotgoingtohelpyou.
Nowevenifpathandclassnamematchesitdoesnotensuresthatafterdeployingitwillresolveissue,compatibility
withrestofthedependentcomponentcanonlybefoundoutafterdeployingthem.
SoitisVeryStronglysuggestedthatyoushouldhaveabackupof.sdafilewhichyoudeployedearlier,sothatincase
afterdeployingtheserviceswillnotcomeupyoucanredeploytheoldfileandgetbacktheservices.Foranyofthese
actionyoudon'thavetorestartjava.

Nextquestionishowtopackthisjarfileinexistingsda/sca/earfile?
Secretisallsda,sca,ear,jarfilesareactuallyatypeofzipfile,youcanalwaysrenamethemtozipanduseyour
localzipprogramonyourPC.Locatethedirectoryinsidetheunzippeddirectorieswhereyouseeotherjarfiles,place
yournewjarfilethere...andlookforprovider.xmlfileinotherdirectory
forexampleinourcasethejarnameiscommonsnet1.4.1.jarsowewilladdoneextralineinbetweenofothers.
<jarname>lib/commonsnet1.4.1.jar</jarname>
Intheend,zipeverythingbackandrenameitfrom.zipto.sda,nowyouarereadytodeploywithNWDS.

Iamnotgoinginmuchdetailsbecausetherearealreadymaterialoutthereonnetandsdnaboutit.Forexampleread
thisnotetogetsomeideaaboutit
1028961Howtoprepareaxisproviderlib.sdaforAdapterFramework
youcanalsoreadblogDeployingJDBCdriversinPI7.1xSystems

AfterdeploymentyoucanactuallygoandcheckatOSlevel.Likeinourcasethisfileisexternalfile,soyoucangoto
/usr/sap/<SID>/DVEBMGS<NN>/j2ee/cluster/bin/ext(extmeansexternal)
oursdafilenameiscom.sap.aii.af.axisproviderlib.sda
sowewillfindadirectorynamedcom.sap.aii.af.axisproviderlib
insideitasweputallourjarsinsidelibdirectorybeforezippingitback,wecanfindonelibdirectoryandtherewewill
seeallthejarssuccessfullydeployedthere.Ifyouwillredeploythesame.sdafileafterremovingparticularjars,then
thatparticularjarwillgetdeletedfromOSlevelaswell.

Nowinsomeofyour"quests"ifyouarelookingforanyclassfile,youknownowthattheywillbeinsidesomejarfiles,
simplegotothemostprobablelocationandgivethiscommand,likeIamsearchingforHttpClient.classIwillgoto
/usr/sap/<SID>/DVEBMGS<NN>/j2ee/cluster/bin/extandexecutebelowcommand

find.name"*.jar"execgrepHsliHttpClient.class{}\

.....BythisIamsigningoff,yourcommentsandsuggestionsaremostappreciated

MyotherBlogs,ifyouhavetime...
What'snewinSAPNetWeaver7.3ABasisperspectivePartI
What'snewinSAPNetWeaver7.3ABasisperspectivePartII

ByebyeSTRUSTSSO2:NewCentralCertificateAdministrationNW7.3
EscapingtoughmomentsofSPAMorSAINT
SAPSoftwareProvisioningManager:withscreenshots
Multiple/BulktransportswithtpscriptforUnix(AIX,Solaris,HPUX,Linux)
Scriptfordeletingfileswithinadirectorystructurewithdifferentretentiondays
HolisticBasisView:BusinessObjectsBI4.0SP2Installation&Configuration
HowtoRenametheOracleListener&ChangeListenerportforSAP

http://scn.sap.com/community/netweaveradministrator/blog/2014/01/28/nwdsstepbystepinthelovingmemoryofsdm

11/13

6/16/2015

NWDSstepbystep(InthelovingmemoryofSDM)|SCN

OSS1&RFCconnectionsSAPOSS,SAPNET_RFC,SDCC_OSS
Start/StopSAPalongwithyourUnixServerStart/Stop
Interrelation:SAPworkprocess,OPS$mechanism,oracleclient&oracleshadowprocess
InstallandconfigureNetWeaverPI7.3DecentralizeAdapterpart1
InstallandconfigureNetWeaverPI7.3DecentralizeAdapterpart2
ListofNewlyadded/convertedDynamicparameterinNetWeaver7.3
Sunsetforops$mechanism:NomoresupportedbyOracle&NotUsedbySAP

EssentialBasisforSAP(ABAP,BW,Functional)ConsultantsPartI
EssentialBasisforSAP(ABAP,BW,Functional)ConsultantsPartII
EssentialBasisforSAP(ABAP,BW,Functional)ConsultantsPartIII

6596Views
Tags:sap,overview,netweaver,refresh,administrator,file,developer,nwds,studio,store,help,add,username,class,list,
number,tool,progress,external,instance,component,esr,password,find,admin,fun,deployment,compare,name,screenshot,
sca,deploy,secure,third,party,sdm,storage,stop,sda,sxmb_ifr,731,jar,undeploy,unzip,archives,exec,deployable,hostname,
depending,urlhttphostname,ip5nn00,comsapaiiafaxisprovider,j2ee_admin,ajaxruntime,vendorsapcom,locationsap,
version10007307720130709001200,engineapi07p_2110007921sca,framework07p_510007877sca,nameframework,
wdruntime07p_1810007825sca,namewdruntime,servercore07p_6610007988sca,nameservercore,grep,hsli,httpclientclass

AverageUserRating
(10ratings)

13Comments
AndySilveyJan28,20144:13PM

HiIshteyaque,

thisisaverynicedetailedblogandforsure,forworkingwithNWDSthisisveryusefulinformation
andguidance.

Theexamplesyou'vegiven,theSCA'sarecorejavacomponents,andtheexampleofdeploying
componentsinPI,likeJMSlibrariesetcusinganSDA,theseareBasistasks,fromapracticalpointof
viewitwouldbemuchfastertouseeitherthecommandlineTelnetAdministratorinNW7.0xorthe
commandlineTextConsoleinNW7.1xonwards.

ThecommandlinetoolsareextremelyfastandeasytoworkwithfordeployingandundeployingJava
components.

Bestregards,

Andy.
Like(1)

JuanReyesJan28,20144:18PM

Nicelywritteneasytofollowblog.

Regards,Juan
Like(1)

EduardoRezendeJan28,20145:12PM

Verydetailedsteps!
Keepupthegoodwork.
Like(1)

NaineshnagarkarJan28,20146:19PM

NiceOneIsh..Keepupthegoodwork.
Like(1)

ShantanuBansalJan30,20149:14PM

Quiteuseful.Thanksforsharing!
Like(1)

http://scn.sap.com/community/netweaveradministrator/blog/2014/01/28/nwdsstepbystepinthelovingmemoryofsdm

12/13

6/16/2015

NWDSstepbystep(InthelovingmemoryofSDM)|SCN
AshutoshChaturvediJan30,20149:55PM

greataonedude!!!
Like(1)

MaruthichandrasekharJan31,20142:29AM(inresponsetoAshutoshChaturvedi)

.
Danke,gut

Regards
Maruthi.
Like(1)

DeerajShettyFeb1,20148:08AM

Nicelywirtten.Thanksforsharing

Regards,
DeerajShetty
Like(1)

KiranKumarFeb4,201412:09PM

ExcellentJob.Moreuseful.Thankyou.
Like(1)

HemanthKumarFeb19,20145:07PM

HiIshteyaque,

Greatworkasusual.Justatip,thebelowtwolinkswillhelpaswellwithvariousothermechanisms
withdeployment/undeployment:

sapnote1715441Howtodeploy.SDAfilesonJ2EEserversonNetweaverrelease7.1andhigher
and
undeploymentin7.1:

http://scn.sap.com/docs/DOC30858

Kindregards,
hemanth
Like(1)

balaramreddyFeb21,201412:16PM

Niceandusefuldoccument.
Like(0)

ErvinSzolkeMar23,20159:39AM

Niceblog,perhapsit'tbealsousefultomakeitalittlemoreabstractlikeexcludingXIrelatedthings
(orputitintoaseparateblog)onlyfocusingonhowtousethedeploy/undeployviewofNWDS.It'd
makeiteasierreusablebynonXIfolks.

Ilikethestyleoftheblog:"funstartsnow!"
Like(0)

RajarshiChatterjeeMar25,20151:53PM

Anothercracker!Surprisinglyawesome.
Like(0)

SiteIndex
Privacy

ContactUs
TermsofUse

SAPHelpPortal
LegalDisclosure

Copyright

http://scn.sap.com/community/netweaveradministrator/blog/2014/01/28/nwdsstepbystepinthelovingmemoryofsdm

FollowSCN

13/13

Das könnte Ihnen auch gefallen