on 08-01-2006 2:52 PM
Hello,
I have successfully created and deployed a portal application project (par file) that required adding as an external jar the file com.sap.portal.usermanagementapi.jar. Now I am re-doing the project as a development component in NWDI and I can add the external jar file fine and the source code shows no errors. However as soon as I build the DC I get a source error that says the import to com.sap.ip.portal.service.ume.IUserManagementEngine can not be resolved. If I go back to the java build path the usermanagementapi.jar is no longer there.
Do I have to handle the adding of external jar files in a different way for a DC as opposed to a par project?
Thanks,
Bert
Hi Bert,
yes, you must do this differently for DCs. What you need to do is create an external library DC, load the com.sap.portal.usermanagementapi.jar into the libraries directory of this DC, then right click on it and select Development Component > Add to Public Part - add it as an API type public part (first radio button). Now, form the your Portal App DC, make a usage dependency to this external library DC. This should solve your problem.
Hope this helps!
Cheers,
Jeff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bert,
see http://help.sap.com/saphelp_nw2004s/helpdata/en/da/92036e9dcb164c8cf1fba50a0cfbf5/frameset.htm
It's the same for 04 and 04s, just use one of the Inactive/Active/Local DCs views in the developer studio.
Regards,
Marc
Hello-
This guide outlines what others have said and walks you through the steps exactly.
Hope it helps,
Marty
Hi,
I have the similar problem, adding external jar to the web module DC. I understand i need to create External DC and proceed from there. I have netweaver dev studio 2.0.9. This doesn't have the External DC option when creating the DC. Is there something i am missing? What dev studio version i need to create this external DC? Please help. Thanks - sowmiya r
thanks for you help sidharth.
i have now jar files in the server and the application referring to the jar files. everything is deployed fine. however, when i start the application..i get the error -"package jcifs.smb does not exist". the jar i am using is jcifs-1.2.7.jar. in my web module when i expand the jar i see the package and the .class files inside. what am i missing?
Also, i din't define a SharingReference to usermanagement in portalapp.xml as i am working towards a pure j2ee enterprise application. the web module (DC) referes to the jar files. is there any step similar to defining the sharing reference for the web module DC?
please help. thanks - sowmiyar
User | Count |
---|---|
61 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.