on 09-26-2011 4:44 PM
Hi Gurus,
I'm trying to read a file stored in KM in a WebDynpro Java deployed on a EP 7.3.
My question is: do I have to create and deploy a Library DC with the KM and security API or a DC already exists? I have no KMC DC in my local NWDS, tried to import the SCA but i cannot use it as a dependecy.
I've also tried with a library DC but I don't realy know wich jar goes there... I think I'm going in the wrong direction since I have a runtime exception:
ClassNotFoundException: com.sapportals.wcm.util.map.WeakValueConcurrentReaderHashMap
and this class is in a CORE jar...
So far I have added to the library DC:
bc.rf.framework_api.jar
bc.rf.global.service.urlgenerator_api.jar
bc.sf.framework_api.jar
bc.util.public_api.jar
com.sap.security.api.ep5.jar
prtapi.jar
Also, I've found a lot of tutorials that solve the problem by adding sharingreferences but in my version of NWDS (7.3 SP00) the feture is deprecated and disabled.
Thank you very much!
Hi Francesco,
Download KMCCM SC corresponding to your EP version (including SP version) from Service Marketplace. For example, if your EP is on 7.3 SP02, download KMCCM 7.3 SP02.
Add this SC as dependent SC in your track. Now add "tc/km/frwk" available under KMC-CM as used DC to your Web Dynpro DC with "Design Time" and "Run Time" dependency.
You can refer to this helplink for more details:
[http://help.sap.com/saphelp_nw73/helpdata/en/45/12830f76a341e1e10000000a1553f6/frameset.htm]
Regards,
Pavithra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavithra,
first of all thank you for your quick reply.
I've already tried your solution but I'm unable to add the DC as a dependency. Maybe I forgot to mention that i'm not using NWDI, I'm working on NWDS LocalDevelopment.
I'm able to import the SC and I can see all the contained DCs (with a little grey circle near the DC icon) but the SC is not available (not even listed) in the add dependency wizard.
Thanks,
Hi Francesca,
Please let me know which version of KMCCM are you using? The version of KMCCM should correspond to your portal version.
Once you have imported KMCCM into NWDS, do as follows:
1. Right click on My Components and select Show In ->Component Properties. Now go to tab Dependies and click on 'Add' button to add KMC-CM as a dependent SC to My Components SC
2. Now right click on your Web Dynpro DC and select Development Component -> Show In -> Component Properties. Navigate to 'Dependices' tab and click on 'Add' button
3. Expand 'KMC-CM' and select 'tc/wd/frwk' and add it as "Design Time" and "Run Time" dependency.
4. Build the Web Dynpro DC. Navigate to Java perspective and expand 'Required Development Components' under Web Dynpto DC. Here you'll find a JAR called "tckmfrwk.jar"
Let me know if you still face the issue.
Regards,
Pavithra
Hi,
in the meanwhile I solved the problem, I was skipping a crucial point in the import process:
1. Right click on My Components and select Show In ->Component Properties. Now go to tab Dependies and click on 'Add' button to add KMC-CM as a dependent SC to My Components SC
So the KMC-CM SC was not available in the DC's dependencies.
Now it works fine.
Thanks again!
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.