Sunday, December 28, 2014

Uninstalling SOA 12c from Mac

Introduction:
I had written a post earlier on how to install SOA 12c on a Mac.  For trying my hands on uninstalling the same, I followed below steps.

Steps:
1. Open Terminal and Navigate to MW_Home/oui/bin



 2. Open you are on that location, give this command - sh deinstall.sh -deinstall


 3. This will open the Deinstaller


4. On Opening screen, Click Next


5. Next page will give the Summary of products which will be Deinstalled. Click on Deinstall


6. Next screen will show the progress on Deinstall. Once it shows 100% click on Finish


7. Last screen will be displayed showing Deinstall summary.

This is all about Deinstalling SOA 12c.

Wednesday, December 24, 2014

WLST for MFT

Introduction:
I have been using WLST (WebLogic Scripting Tool) for MFT a lot, so wanted to dedicate some of the post specifically for that. These are pretty simple ones but can help many.

Steps:
If I talk specifically about WLST for MFT,  to connect to the server you need to follow below steps.

1. Open WLS_Home\mft\common\bin (Below screen shot is my system location)


2. Open command prompt (Run as administrator), navigate till the WLS_Home\mft\common\bin

3. Once you are on that location, type - wlst.cmd (for Linux it is ./wlst.sh)

4. You will be on wlst prompt

WLST commonly used Commands:

1. For connecting to the server
connect("username","password","t3://hostname:port")

Example: connect("weblogic","welcome1","t3://localhost:7101")

2. For disconnecting from WLST
You can either use - disconnect () or exit ()

Some of WLST Commands for MFT:

Coming soon...

Undeploy SOA Composite : Workaround

Introduction:
Recently I was trying to undeploy a BPEL process from EM console, by following normal process i.e. Right clicking on Process name -- SOA Deployment -- Undeploy, but it was throwing error and not allowing me to do so.

I did a workaround and got ride of the composite. Below steps will show how to achieve the same.

Note: This was done on Oracle 12c

Undeploy Steps:
1. Login to EM console and click on soa-infra, below screen shot shows BPEL processes.


2. On Right pane window, click on SOA Infrastructure -- Administration -- MDS Configuration


3. You will see MDS configuration page, just click on Export. This will download soa-infra_metadata.zip file


4. Unzip the file, you will see a folder deployed-composites, and under that a file deployed-composites.xml as shown in below screen shot


5. Open the file, select the composite which you want to delete (every composite entry it starts with composite-series). Remove composite-series entry for that composite and Save the file.


6. Once the file is saved, Zip the file again. Keep the Zip file name same as before (soa-infra_metadata.zip)

7. Go back to EM Console and to the Same MDS Configuration window (SOA Infrastructure -- Administration -- MDS Configuration). You will see an Import option.

Choose the location and Import the file.


8. Restart Server and check EM. The project which you Deleted will disappear.