This post covers how to create a SOA development environement using the Weblogic server that is installed along with JDeveloper 11GR1. JDeveloper 11 includes an embedded Weblogic 10.3 installation, however that install is not setup for SOA suite. While many development setups will involve deploying from a local JDev to a standalone Weblogic server somewhere else, sometimes you want to develop and test all on the same machine and you won't need to install Weblogic seperatly to do this.
Pre-reqs: You'll need JDeveloper installed already and a database. Ideally you've already deployed something to JDev to make sure its all working.
1. First you need to install the JDeveloper SOA Suite extension. Goto Help/Check for Updates/ and pick the "Oracle SOA ..." choice. Restart JDev after this.
2. You'll need to download Oracle SOA Suite (http://www.oracle.com/technologies/soa/soa-suite.html), unzip and run setup. When prompted for a FMW home directory, select the directory created when you installed JDeveloper.
3. Setup database schemas using the RCU tool. Certain schemas (such as MDS) are required before installing SOA suite. You'll need to use the FMW RCU tool to create them. For more information consult: http://download.oracle.com/docs/cd/E12839_01/doc.1111/e14259/overview.htm.
4. Run the domain configuration wizard which will be installed at fmw/Oracle_SOA1/common/bin/config.cmd . You will prompted for a domain and you should select the DefaultDomain already created when you setup JDeveloper. It will be a path like jdeveloper/systemxxxxx/DefaultDomain .
Next select "Oracle SOA Suite 11.1.1.0" when prompted on which components to add to the domain. You should also select Oracle Enterprise Manager and Business Activity Monitoring. EM and BAM will be very helpful in developing SOA apps.
You will then be prompted for a data source (you may have already created a datasource in your Weblogic server to reuse). After that you'll be asked for the schema information for the schemas created previously using the RCU tool.
5. Start your servers! You're domain now has 3 servers: an admin server, soa server and bam server. You can start your default server and soa server using these commands:
DefaultDomain\startWebLogic
DefaultDomain\startManagedWebLogic soa_server1
Your domain's config.xml will have been modified with the new server settings including the port numbers if you forget them or need to change them.
Tuesday, October 6, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment