1. Through JDEV
Generate Configuration Plan
* From Projects Explorer, right click composite.xml file.
* Select Generate Config Plan.
* On Composite Configuration Plan Generator dialog, enter
- Name: service_dev_cfgplan.xml
- Click OK.
* Select Generate Config Plan.
* On Composite Configuration Plan Generator dialog, enter
- Name: service_dev_cfgplan.xml
- Click OK.
Deploy New Configuration Plan using JDev
* Right click Service.
* Select Deploy -> service...
* Select Deploy to Application Server.
- Click Next.
* On Deploy Configuration dialog, enter
- New Revision ID: 1.1
- Expand SOA Configuration Plan and Select
service_dev_cfgplan.xml
- Click Next buttons until Finish button is active.
- Click Finish.
* Select Deploy -> service...
* Select Deploy to Application Server.
- Click Next.
* On Deploy Configuration dialog, enter
- New Revision ID: 1.1
- Expand SOA Configuration Plan and Select
service_dev_cfgplan.xml
- Click Next buttons until Finish button is active.
- Click Finish.
2. ANT Scripts:
Set Path
set JDEV_HOME=C:\Oracle\Middleware\jdeveloper set PATH=%JDEV_HOME%\ant\bin;%PATH%
COMPILE: ant -f ant-sca-package.xml(OSB)
DEPLOY: ant -f ant-sca-deploy.xml(OSB)
- set ORACLE_HOME=C:\oracle\MiddlewareJdev11gR1PS3
- set ANT_HOME=%ORACLE_HOME%\jdeveloper\ant
- set PATH=%ANT_HOME%\bin;%PATH%
- set JAVA_HOME=%ORACLE_HOME%\jdk1.6.0_23
- set CURRENT_FOLDER=%CD%
- ant -f build.xml deployAll
Deploy Configuration Plan with EM Console
* Login to EM. * Click Farm_soa_domain -> SOA -> soa-infra (soa_server1) -> default * On right side panel, - Click Deployment drop down box. - Select Deploy to this partition. * In Select Archive page, - Select Archive is on the machine where this web browser is running. - Browse to C:\XXX\Service1\deploy\sca_service_rev1.1.jar. - Select Configuration plan is on the machine where this web browser is running. - Browse to C:\XXX\Service1\service_dev_cfgplan.xml. * In Confirmation page, - Select Deploy as default revision. - Click Deploy.https://docs.oracle.com/cd/E29597_01/dev.1111/e10224/sca_lifecycle.htm
No comments:
Post a Comment