cancel
Showing results for 
Search instead for 
Did you mean: 

Deplyment error while using service reference

Former Member
0 Kudos

Hi All,

I'm facing similar error where I get the following error when i try to run the application.

Following error i get when i try to deploy

Failed to prepare application ''sap.com/asp_all_sites'' for startup. Reason= Clusterwide exception: Failed to start dependent service ''PORTAL:sap.com/com.sap.compatibility50.cache.cache'' of application ''sap.com/asp_all_sites''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine?

I have added this in Sharing references but yet it doesn't help me. I'm using ICacheService in my code.

This i was following but could not arrive at any result

Please advise

Thanks

Srikant

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Application no more required and performed new development to build this application.

Former Member
0 Kudos

Hi Srikant,

Before deploying original application,first deploy referenced applications.

Regards

Praveen

Former Member
0 Kudos

Hi

I've deployed the reference DCs. Also I created a local project with same source code; adding the relevant references in the Web Dynpro References. Even there it doesn't allow me proper deployment.

I'm certain that the its problem with the way I'm referencing the external jar files in my source code and using them as Service references. Any pointers in this direction

Thanks

Srikant

Former Member
0 Kudos

Hi Srikant,

Go to visual admin, remove ur previously deployed dc from there & redeploy.

regards

Sumit

Former Member
0 Kudos

Hi Sumit,

It didn't help. I had redeployed the application. One observation is:

If i remove the Service references in the DC; it gets deployed fine. But after adding it; direct deployment fails. I chk the web dynpro application web dynpro administrator it shows me application being in red status. And under references section "PORTAL:sap.com/com.sap.compatibility50.cache" status is not green.

Any pointers now in this direction. How to fix this error?

Thanks

Srikant

Former Member
0 Kudos

Hi,

have you checked if the requiered DC is deployed to your engine and also if that one is running?

Regards,

Dennis

Former Member
0 Kudos

Hi All

I'm getting following error whenever I deploy:

11-dec-2007 18:03:17 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:

[009]Deployment finished with warning

Settings

SDM host : aixlp203

SDM port : 52618

URL to deploy : file:/C:/DOCUME1/sdurgama/LOCALS1/Temp/temp24205sap.com~zsp_all_sites.ear

Result

=> deployed with warning : file:/C:/DOCUME1/sdurgama/LOCALS1/Temp/temp24205sap.com~zsp_all_sites.ear

Finished with warnings: development component 'zsp_all_sites'/'nl.essent'/'local'/'20071211180226'/'0':Caught exception during application startup from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Error occurred while starting application nl.essent/zsp_all_sites and wait. Reason: Clusterwide exception: server ID 263194450:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/zsp_all_sites cannot be started. Reason: it has hard reference to resource com.sap.portal.compatibility50.cache with type application, which is not active on the server. at com.sap.engine.services.deploy.server.ReferenceResolver.processReferenceToApplication(ReferenceResolver.java:580) at com.sap.engine.services.deploy.server.ReferenceResolver.processMakeReference(ReferenceResolver.java:399) at com.sap.engine.services.deploy.server.ReferenceResolver.beforeStartingApplication(ReferenceResolver.java:328) at com.sap.engine.services.deploy.server.application.StartTransaction.beginCommon(StartTransaction.java:162) at com.sap.engine.services.deploy.server.application.StartTransaction.begin(StartTransaction.java:136) at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292) at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:342) at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:126) at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:245) at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4707) at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4612) at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4585) at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:215) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

The things I have done so far:

1. Deployed the custom library and refered in library references. Its the same name as it is Visual Admin

2. Added Cache API Jar file as external Jar file; added the Sharing reference and also all the steps mentioned in the following link:

3. The DC builds properly but fails at deployment

My question is there any way that I can manually start the service.

I find the application in Server >> Services >> Deploy is with invalid kind of symbol (neither blue checked symbol / red cross symbol). How do I restore the application

I using ICacheServices in my code using Sharing references

like (ICacheService)WDPortalUtils.getServiceReferences("com.sap.compatibility50.cache.cache"). is this right

Please let me know

Thanks in advance

Srikant