cancel
Showing results for 
Search instead for 
Did you mean: 

NWDI-Used DC(External Library DC) problem

Former Member
0 Kudos

Hi,

I'm having an webdynpro DC test777.

I need a jar file for this, so i have added the jar files by creating an external library DC and added to it.

have created public part and added the jar file to that publicpart.

I have build the DC and checked -in and activated the activity for the same.

then, i have added that external library DC as the used DC in test777 DC.

there were no errors while building and when i deploy it,

it says that, deployment completed with warnings

the log file states...

(com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:

[001]Deployment finished with warning

Settings

SDM host : den2

SDM port : 50118

URL to deploy : file:/C:/DOCUME1/sa45572/Local Settings/Temp/temp14165sap.comtest777.ear

Result

=> deployment not executed : file:/C:/DOCUME1/sa45572/Local Settings/Temp/temp14165sap.comtest777.ear

Unresolved dependencies found for the following SDAs:

1.: development component 'test777'/'sap.com'/'EPD_ARG_D'/'20090720181051'/'0'

dependency:

name: 'ExternalLibrary'

vendor: 'sap.com'

There is no component either in SDM repository or in Deployment batch that resolves the dependency.

Deployment will be aborted.

Deployment exception : Got problems during deployment

How to solve this issue??

Thanks

Suresh

Accepted Solutions (0)

Answers (4)

Answers (4)

Amey-Mogare
Contributor
0 Kudos

Hi Suresh,

It is not required to create 'Assembly Type public part' for external library DC. So if you have created it then remove it and just keep Build-Time public part.

Create a single public part with build time dependency and add all JARs to this public part.

Add it as a Used DC in your test777 DC then do build + deploy.

Hope it helps.

Let me know if this resolves your problem.

Thanks n regards,

Amey Mogare

Former Member
0 Kudos

HI, if you are using

NW2004 SP16 or SP17 or NW2004s SP8 you can try applying the SAP note 991238

Regards,

Satya.

Former Member
0 Kudos

Hi,

Did you create both (api & sda) public parts in your external library dc?

Go through the below documents and check your process:

/people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components

/people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas

Regards,

Charan

Former Member
0 Kudos

Hi,

Have you created two Public parts Compilation and Assembly one for external library DC.

Add both Compilation PP and Assembly PP to your test DC.

Give the dependency as build time while adding the public parts and no run-time dependencies are required.

Build the DC and deploy it..

If this doesnt work create a J2EE library Dc and try

Created a External Library DC and add the jars in its libraries folder.

Created two public parts api and sda .

Exposed the jars to the public part.

Created a J2EE Server Component Library DC and added the sda of external library Dc to its used DC.

Deployed the Library.

use the library in your test Dc ,

Add the api pp to your test DC

Add the run-time reference of the library in your test EAR

please go through this links as well

/people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas

/people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components

Hope this helps you..

Regards,

Saleem

Former Member
0 Kudos

Hi,

Check in dependency whether deploy time check box is also checked.If so uncheck that and try once.Hope it works

Regards

Sharanya.R