on 02-16-2015 5:31 AM
Hi,
I have built DC of External Library in NWDS to include all the jar, required for WebDynpro Java Project in another DC.
As I need to make enable External Library type DC available to WD DC, looking for option to set Public Parts.
However, with NWDS 7.02, I am not seeing an option to set the public parts for External Library type DC.
Please let me know, how can I set the Public Parts for an External Library DC in NWDS.
This DC created, gets visible in Navigation Perspective only on NWDS, where I don't see DC Meta Data like section, as we see for WD DC type in Webdynpro Perspective of NWDS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi RAVI,
open development configuration pesrspective , there you can open or expand the configuration in which this external lib exists, i,e Local Development etc.. and there you can find the DC meta data , and you can define your public part viz compilationPP and assemblyPP here .
Regards
Govardan Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the Development Configuration perspective, I am not able to see the Component Properties view to set the Dependencies on selecting the DC.
However, I have added the Public parts of the Depended DC in the Used DC section.
But on Build, getting compile time exceptions as the class files of jar in the Dependency DC is not referenced.
hi ravi ,
after creating public parts assemblyPP and CompilationPP , what you have to do is open wd perspective and go to navigator , right click the jar file , and go development component -> add to public part --> here select assembly pp in the pop up wizard , and again do the same and select compilationPP , after this build the extlib dc , and now you can add this ext lib as used dc in another dc where you are in need of this jar .
go thru this link it is explained clearly how to use external jar file in webdynpro java.
Hope this should solve your problem
Regards
Govardan raj
Hi,
I had gone through this link. I am trying to create Standalone library into AS Java Server. So, I can use it from other applications.
I have followed the same steps, created library with public parts and ear file.
I assume setting is same for using this in WD Java and Web Application.
However while deploying the Ear file, I am getting the error as below..
"None of the available containers recognized the components of the application.
Additional Info: The achieve contains files normally handled by containers that are not currently operational on the server."
I am not able to deploy and consume it from required application to test if it references correctly or not.
hi ravi ,
can you please post the complete error stack... what i can suggest is you need not create a EE dc for deploying this jar file , instead use the extlib dc as used dc in your wdc , i.e you have a webdynpro dc named as testdc , in which you have to use this jar file , then directly add the extlib dc as used dc here in the used dc part of the dc metadata .
and build and deploy the wdd testdc , you wil not face any errors but make sure every time you deploy the testdc you have to build and deploy the whole dc.
Regards
Govardan
I tested the same way, just add ext kibrary dc public parts as used dc reference of wd dc.
But when I build and deploy the wd dc, i get build with errors.
With errors , if try to run, I get the below run time error.
WDRunTimeException: Failed to create delegate for component <xy>. (Hint: Is the corresponding DC deployed correctly? Does the DC contains the component.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.