OSB Deployment scripts
- 30
- December
- 2013
UPDATE: For 11.1.1.7 deployment scripts …. see my new post http://nitinaggarwal.wordpress.com/2014/04/04/osb-deployment-scripts-11-1-1-7-using-configtool/
There are several OSB posts regarding the OSB Deployment Scripts available on the internet.
For Oracle Service Bus 10.3 & 11g you can use the ANT / WLST deployment scripts provided by Oracle.
I went through the post by Edwin
http://biemond.blogspot.nl/2010/07/osb-11g-ant-deployment-scripts.html
This is the most straight forward to use and works without making much changes.
It is all self explanatory and you can read the post + the read me file for the details
Very important! Do this on a copy of your workspace or use subversion because maybe you need to delete the .metadata folder for a successful export. ( you will loose all your workspace settings )
Step by step instructions
Ant OSB deployment scripts for OSB PS5 patch set 5
deploy 1 or more OSB project from a OEPE workspace to a jar with the exportFromWorkspace ant target
deploy an OSB to an OSB server with the importToOSB ant target
export a project from an OSB server with a deployment plan with the exportToOSB ant target
Requirements
A weblogic middleware home
matching OEPE
matching OSB install
How to run
change osb.bat or osb.sh depending on whether you are running on windows or shell with you own settings.
set FMW_HOME=C:OracleOSB11116 set ANT_HOME=%FMW_HOME%modulesorg.apache.ant_1. 7.1 set PATH=%ANT_HOME%bin;%PATH% set JAVA_HOME=%FMW_HOME%jdk160_29 |
export FMW_HOME=/opt/oracle/wls/wls11g export ANT_HOME=/opt/apache/apache-ant- 1.8 . 4 export PATH=$ANT_HOME/bin:$PATH export JAVA_HOME=/usr/java/jdk1. 7 .0_07 |
change the build.properties file with your setting and what you want to deploy
I made the following changes to make it work for My Project
fmw.home=C:/Oracle/OSB11116 #fmw.home=/opt/oracle/wls/wls11g eclipse.home=${fmw.home}/oepe_11. 1.1 . 8.0 #eclipse.home=${fmw.home}/oepe_11. 1.1 . 8.0 weblogic.home=${fmw.home}/wlserver_10. 3 osb.home=${fmw.home}/Oracle_OSB1 wls.username = weblogic wls.password = welcome1 wls.server = t3: //localhost:7001 # properties for workspace export #config.project= "OSB Configuration" config.project= "NYS-Conf" config.jar=${basedir}/export/NYS_GP.jar config.subprojects= "GenericProxyService" config.includeDependencies= true workspace.dir=${basedir}/source #workspace.dir=C:/projecten/osb/osb11g_ps5 # export properties # specify a project or use None #export.project = None #export.customFile = None export.project = GenericProxyService export.jar = ${basedir}/export/NYS_GP.jar export.customFile = ${basedir}/plans/GP_CustomisationFile.xml # import properties # specify a project or use None # import .project = None # import .jar = ${basedir}/export/NYS_ALL.jar # import .customFile = None import .project = None import .jar = ${basedir}/export/NYS_ALL.jar import .customFile = ${basedir}/plans/GP_CustomisationFile.xml |
run osb.bat or osb.sh to set the environment
Then chose which target you need to run out of the following.
ant -f build.xml exportFromWorkspace
ant -f build.xml importToOSB
ant -f build.xml exportToOSB
Related
Recent Posts
- 12.1.0.2 RAC Installation – Step by Step installation on VMware
- OSB FTP Poller continuously throwing exception – while no file pending on FTP Location
- Using JMS Transport with OSB
- Installing Spring Tool Suite and configuring Spring for a development PC
- Rest Enabling SOA using OSB in Oracle 12c
Recent Comments
- Nits on Installing Oracle SOA Suite 12c
- Rajesh Krishna on Installing Oracle SOA Suite 12c
- Nits on Installing Oracle SOA Suite 12c
- Rohinii on Installing Oracle SOA Suite 12c
- Mahitha on Oracle Service Bus (OSB) Development Best Practices.
Archives
- December 2015
- May 2015
- November 2014
- September 2014
- August 2014
- July 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- July 2013
- June 2013
- May 2013
- March 2013
- February 2013
- November 2012
- October 2012
- September 2012
- May 2012
- March 2012
- February 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- July 2010
- June 2010
- March 2010
- February 2010
- December 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- November 2008
- October 2008
- August 2008
- June 2008
- May 2008
Categories
- AIA
- AXIS2
- Best Practices
- BPEL
- BPM
- Budget
- Build
- Design Patterns
- ESB
- Hermes
- Hibernate
- Home Owners
- Java
- JMS
- JSR 168
- Maven
- Mediator
- Messaging
- Nitin
- OER
- OESB
- Oracle
- OSB
- OWSM
- Portlets
- SDLC
- Sequencing
- Singleton
- SOA
- SOAP
- Spring
- Struts
- UK
- Uncategorized
- Web Services
- WLST
Meta
To find out more, including how to control cookies, see here: Cookie Policy
Recent Posts
- 12.1.0.2 RAC Installation – Step by Step installation on VMware
- OSB FTP Poller continuously throwing exception – while no file pending on FTP Location
- Using JMS Transport with OSB
- Installing Spring Tool Suite and configuring Spring for a development PC
- Rest Enabling SOA using OSB in Oracle 12c
Recent Comments
- Nits on Installing Oracle SOA Suite 12c
- Rajesh Krishna on Installing Oracle SOA Suite 12c
- Nits on Installing Oracle SOA Suite 12c
- Rohinii on Installing Oracle SOA Suite 12c
- Mahitha on Oracle Service Bus (OSB) Development Best Practices.
Archives
- December 2015
- May 2015
- November 2014
- September 2014
- August 2014
- July 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- July 2013
- June 2013
- May 2013
- March 2013
- February 2013
- November 2012
- October 2012
- September 2012
- May 2012
- March 2012
- February 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- July 2010
- June 2010
- March 2010
- February 2010
- December 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- November 2008
- October 2008
- August 2008
- June 2008
- May 2008
Categories
- AIA
- AXIS2
- Best Practices
- BPEL
- BPM
- Budget
- Build
- Design Patterns
- ESB
- Hermes
- Hibernate
- Home Owners
- Java
- JMS
- JSR 168
- Maven
- Mediator
- Messaging
- Nitin
- OER
- OESB
- Oracle
- OSB
- OWSM
- Portlets
- SDLC
- Sequencing
- Singleton
- SOA
- SOAP
- Spring
- Struts
- UK
- Uncategorized
- Web Services
- WLST