Thursday 11 July 2013

Error ]: deployHellowordESB:, ServiceOperation doesn't exist



Issue: Error <error code="1047" severity="5">]: deployHellowordESB:, ServiceOperation  doesn't exist



deployHellowordESB:
[deployESBProjects] Deployment Attempt Response :
[deployESBProjects] <deploymentSummary>
[deployESBProjects]    <message>Entity Deployment Failed</message>
[deployESBProjects]    <errors>
[deployESBProjects]       <error code="1047" severity="5">
[deployESBProjects]          <description>Target of service "HelloworldServices.Helloword.HellowordRS" ServiceOperation "" doesn't exist </descrip
tion>
[deployESBProjects]          <fix>Use existing service or service operation as t
arget.Contact Oracle Support if error not fixable.</fix>
[deployESBProjects]       </error>
[deployESBProjects]    </errors>
[deployESBProjects] </deploymentSummary>




BUILD FAILED
C:\Deployment\Services 1.0.1\DeploymentScriptFiles\deployservices.xml:84: The following error occurred while executing this line:
C:\Deployment\Services 1.0.1\DeploymentScriptFiles\deployservices.xml:377: The following error occurred while executing this line:
C:\Deployment\Services 1.0.1\DeploymentScriptFiles\deploym
entscripts\Helloword\deployHellowordService.xml:161: java.lang.Excepti
on: Deployment attempt failed, please review deployment attempt response above

Total time: 5 minutes 4 seconds


Resolution:


We have faced this issue couple of times. There are couple of options to resolve this issue

Approach 1:

1. Check the Current location of the deployment script in deployHelloword.xml and move the dependent operation to upwards or downwards in the same script.
2. Comment the rest and try to deploy only dependent service.
3. If get successfully deployed then deploy the remaining services.


Approach 2:

 Some times Deployment fails or some times deployment success but their will be no change from previous code to latest one.

Solution:

Delete the tmp of respective service(s) and deploy once again.

Approach 3:

I have  compared  the current and previous code and  noticed that temp is added in schema location in all esbsvc files. Below highlighted one should not be there in schema location. Removed  the "temp_ESB" & "vinodfusion.com" and tried for build and deployment, deployment went successfully.


IN current code,  
schemaLocation="esb:///ESB_Projects/temp_ESB_Helloworld_vinodfusion.com/PKG_ HRMGR _F_HRMGR.xsd"/>

In previous code,( Correct code)

schemaLocation="esb:///ESB_Projects/Helloworld_Helloworld/PKG_HRMGR _F_HRMGR.xsd"/>


No comments:

Post a Comment