on 09-15-2008 10:06 AM
Hi,
I have created an EJB that has a method that uses classes like IWDClientUser and IUser.
To use these at buildtime I have added an entry in the Used DC section (tc/wd/dynpro). Also I have added the mail, security and other required dependancies here.
Although, there is no error at buid time- the project give me the following error during deployment ...
Caused by: java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/services/sal/um/api/IWDClientUser
I get the same error after adding the same entried to the EAP's Used DC section as well.
Please let me know if there is any solution.
Thanks.
p256960
Hi p256960,
nice name
to use WD interfaces, you have to use Web Dynpro!
kind regards
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can deploy Webdynpro and Ejb Application on same server(J2EE) engine.
But you have used IWDClient user Aplis in your EJB project which is part of the Webdynpro runtime frame work and should be used in Webdynpro Project.
You can include com.sap.security.api.sda lib dc in your EJB layer which provide UME Apis ,
you can get the IUser object like this.
IUser user = UMFactory.getUserFactory().getUserByLogonID("Administrator");
in that case you have to pass the user id form your Wd application to the EJB layer using IWDClientUser api.
Siddharth
Edited by: Siddharth Jain on Sep 15, 2008 2:14 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.