Friday, 4 July 2014

SOA Composite Deployments using ANT commands


In General we all Deploy SOA Composites using J Developer. Jdeveloper uses ant scripts to deploy the composites. These scripts will added when you update the J Developer with SOA plugin. These scripts are located at  %Jdeveloper Home% / bin folder.

Here I will show you deployment of SAR file into SOA server using simple ant commands.

Step1: Open Command Prompt.
Stpe2: Navigate to the Jdeveloper installed folder and in Jdeveloper go to ant folder.
Step3: type the below command in the command prompt.
   ant -f ant-sca-deploy.xml
-DserverURL=http://localhost:8001   -> SOA server url and portnumber
-DsarLocation=C:\deploy\sca_POProcessing_rev6.jar->Jar file with location
-Doverwrite=true   >it will overwrite if already composite exists in server
-Duser=weblogic   >server user name and it will ask for password at runtime
-DforceDefault=true   > Making this composite as default
-Dconfigplan=C:\POProcessing\demed_cfgplan.xml  -> apply configurationPlan
 -Dpartition=partitionname   > Partition name to deploy, if not it will deploy into default partition

No comments:

Post a Comment

Featured post

SOA 12c- Runtime faults project error ( "faultMessageType" is set to "bpel:RuntimeFaultMessage" on this <bpel:catch> activity but it cannot be resolved)

I have used catch for runtime fault and I created the variable for the fault type invalidVariables. While compiling the ...

Popular Posts