Skip to Content
Former Member
Oct 19, 2006 at 10:58 AM

Deployment with Warning: it has hard reference to resource


Hi experts,

In my Web Dynpro i use IUserMappingService such as

IWDClientUser wdUser = WDClientUser.getCurrentUser();

IUser user = wdUser.getSAPUser();

IUserMappingService iums = (IUserMappingService) PortalRun-time.getRuntimeResources().getService(IUserMappingService.KEY);

IUserMappingData iumd = iums.getMappingData ("GI3CLNT001", user);

Map map = new HashMap ();

try {

iumd.enrich (map);

userid = (String)map.get( "user" );


catch (NoLogonDataAvailableException nldae) {


I added the following sharing references to my WD project:

When I deply my WD project. I get the following Warning


=> deployed with warning : file:/C:/DOKUME1/g526466/LOKALE1/Temp/temp31253GisaGeburtstagsListe.ear

Finished with warnings: development component 'GisaGeburtstagsListe'/'local'/'LOKAL'/'0.2006.':

Caught exception during application startup from SAP J2EE Engine's deploy service:

java.rmi.RemoteException: Error occurred while starting application local/GisaGeburtstagsListe and wait. Reason: Clusterwide exception: server ID Application local/GisaGeburtstagsListe cannot be started. Reason: it has hard reference to resource with type application, which is not active on the server.


Can anyone help ?

Thank you