cancel
Showing results for 
Search instead for 
Did you mean: 

WARNING: No component dependency exists for reference <EJB DC>

Former Member
0 Kudos

Hi all,

I have created an EJB DC and an EAR DC. When I build the EJB DC and EAR DC,its successful without any warnings.

But when I tyr to deploy the EAR DC,its giving me the following error :

java.rmi.RemoteException: Cannot deploy application vendor.com/First_JDBCEar.. Reason: Exception during generation of components of application vendor.com/First_JDBCEar in container EJBContainer.; nested exception is: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application vendor.com/First_JDBCEar in container EJBContainer.

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

So , I created a new reference in application-j2ee-engine.xml of the EAR DC.

Reference target : First_EJBService

reference type: weak

reference target type: service

provider name : vendor.com

Now when I try to build the EAR DC,its giving me the following warning:

WARNING: No component dependency exists for reference to "First_EJBService" (vendor "vendor.com", type "service").

and also, the deployment getting aborted again.

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

java.rmi.RemoteException: Cannot deploy application lionsgate.com/First_JDBCEar.. Reason: Exception during generation of components of application vendor.com/First_JDBCEar in container EJBContainer.; nested exception is: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application vendor.com/First_JDBCEar in container EJBContainer.

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

Deployment exception : The deployment of at least one item aborted

Please help me in finding out where I am going wrong.Is it while creating the new reference?

Do I have to create it?

Thanks

Kukku

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi kukku,

Your exception shows that there is some problem with dependency.

1.Is your dc dependent on some other dc. If so give permission from that dc to allow this dc to access.

2. Otherwise try "sync used dcs" that is synchronise this dc with all others used

Regards,

Srinivasan Subbiah

snehal_kendre
Active Contributor
0 Kudos

HI Kukku,

Remove that refrence from application-j2ee-engine.xml .

1. open your application.xml and say add module.

2. here you can add your EJB module into your EAR project.

3. If your EJB project is dependent on other project then mention it in propertied of EAR project.

4. just build it and deploy