Thursday, September 18, 2008

SOA FAQ: Compare Weblogic and Oracle Application Server

Migrating from Oracle Application Server to WebLogic for the Oracle SOA Suite is not rather complicated, the concept is still the same. The major difference is the look and feel of the WebLogic Administration console and all the option you can choose. Furthermore the whole directory structre and filenames are different. This article gives you a quick reference on the difference

How to install Oracle SOA Suite on WebLogic?

Currently Oracle SOA Suite 10.1.3.3 is certified against Weblogic 9.2. The near future Oracle SOA Suite 10.1.3.4 will be certified against 9.2.
  • Install Oracle SOA Suite 10.1.3.x in seperate home.
  • Install Oracle SOASuite 10.1.3.4 patch.
  • Upgrade SOA Schemas
  • Apply Opatch for Bug 7337034
  • Download SOA Suite for WebLogic 10.1.3.4 via OTN (WL_SOA10134_Installables).
  • Install Weblogic 9.2
  • Unzip WL_SOA10134_Installables
  • Apply changes in SOADomain.properties (create new domain)
  • Install SOA Suite for WebLogic 10.1.3.4

How to start WebLogic with Oracle SOA Suite installed?

WebLogic is using a node manger to control the environment. This can be compared with the Oracle process manager (OPMN). Start the node manager as follows:

$WEBLOGIC_HOME/server/bin/startNodeManager.sh

WebLogic has the concepts of domains. This is NOT the sames as the domains in the the SOA Suite. In a Domain one or more application servers are running. At least one is configured, this is the mananged server, it is comparable with the OC4J instance 'home'. You can start this server as follows:

$WEBLOGIC_DOMAINHOME/<yourSOADomain>/bin/startWebLogic.sh

Within the installtion of Oracle SOA Suite on top of Weblogic, a addtional server is created. This can be compared with the 'oc4j_soa' container .

Where is the data-sources.xml file located?

Each connection is has his own config file instead of one single file.
$WEBLOGIC_DOMAINHOME/<yourSOADomain>/config/jdbc

Where are the adapter config files, such as oc4j-ra.xml?

$WEBLOGIC_HOME/apps/soaApps/<adapter>/META-INF/ra.xml
$WEBLOGIC_HOME/apps/soaApps/<adapter>/META-INF/weblogic-ra.xml

Every change made in the Weblogic Admin Console comes in to a deployment plan file (Plan.xml).

Where can I find my log files, the standard out for example?

$WEBLOGIC_DOMAINHOME/<yourSOADomain>/servers/<yourSOAServer>/logs
OracleSOAServer.log
OracleSOAServer.out

How do I edit the adapter config files?

Just edit the weblogic-ra.xml file. From the console you can not edit empty properties (wls 9.2)

$WEBLOGIC_HOME/apps/soaApps/<adapter>/META-INF/weblogic-ra.xml

Post a Comment