If you are using Oracle AIA Foundation your are able to undeploy these services. This van be done via ANT extension, which are developed along with AIA.
To undeploy a BPEL process you use the following task:
<undeployBPELProcessTo undeploy a ESB service you use the following task:
User="${deploy.user}"
Password="${deploy.password}"
Domain="${bpel.domain.name}"
Process="${bpel.process.name}"
Rev="${bpel.deploy.local.version}"
Opmnrequestport="${deploy.opmnport}"
Oc4jinstancename="${deploy.oc4jname}"
hostname="${deploy.hostname}"/>
Note the the GUID for the ESB service is the unique identifier of the service in the ESB system. This can be viewed in the database (wf_event).<undeployESBEntities
esbMetadataServerHostname="${deploy.hostname}"
esbMetadataServerPort="${deploy.httpport}"
userName="${deploy.user}"
password="${deploy.password}">
<service guid="${guid}"/>
</undeployESBEntities>
15 comments:
Thanks, this is useful! Is there any way to retire a process through ANT?
Yes off course. The examples in the articles are based on ant.
Next month I will publish my article on my build system, that is using these tasks.
Hey Marc,
I read your blog posts and they are very helpful. I am in middle of a demo and out of nowhere I am getting an error in bpel console. I have posted it on Oracle Forum.
http://forums.oracle.com/forums/thread.jspa?threadID=672692&tstart=0
If you have nay idea about this issue can you please let me know. Your help will be greatly appreciated.
Thanks
Rajesh
Hi,
i read your blog and found some very usefull information.
can you please tell me where i need to put this code or how to execute. i am new in this SOA field...so now able to get properly.
This mechanism is based on the ANT. You could use this in the ant build.xml file to do your un-deployment.
Hi Marc,
Can you post the link or website from where I can download the jar libraries for undeployBPELProcess task, as I am using only SOA and not integrated with AIA.
Thanks!
Regards,
Sathya
You can download the complete code here:
http://www.namredlek.nl/orasoa/osbs_2.1.3.zip
Marc ,the link is broken.it would be great if you tell the procedure/steps to undeploy a bpel process.
it is updated
http://www.namredlek.nl/orasoa/osbs_2.1.3.zip
Hi, I'm using your script to deploy to ESB and it works. Thank you very much.
Recently I made a mistake, I deployed a ESB project from one workspace, check in the code to CVS.
Then i checked out to another workspace n deploy it to the same server. Since then, I can no longer delete the project from ESB server. I used the script to undeploy but it still doesn;t work. I still see the project exists in the ESB console, the weird thing is I can see the project exists twice in the console. It looks like some sort of caching of previous project which deployed from different workspace.
Any idea how to fix this problem ?
Hi Marc,
This tool is the best.
Can you post the link or website from where I can download the libraries, as I am using only SOA.
Thanks!
Regards,
Edwin
Hi Marc,
The link is again broken :-
http://www.namredlek.nl/orasoa/osbs_2.1.3.zip
can you please repost the link where we can download it ?
Hi,
When i undeploy the ESB as you mentioned using ANT task, it is giving the error "oracle.tip.esb.client.ClientException: 404 : Not Found".
But i am able to deploy the ESB service by using above credentials.
Could you please though some light?
Regards,
SAM
Hi All,
I have used the same script for ANT and able to deploy in QA environment but if i use the same script in integration i am unable to deploy.
Could some body help on this...
Thanks,
Sri
http://forums.oracle.com/forums/thread.jspa?threadID=1098149&tstart=0
Hi can u help me on this thread
Post a Comment