Loading

Thursday, August 7, 2008

Oracle WebLogic Server 10g Release 3 released

After BEA's acquisition by Oracle, the first release of Weblogic server now known as "Oracle Weblogic Server" has been released as Oracle Weblogic Server 10.3. More information including download link is available here.

Monday, August 4, 2008

OWSM 10.1.3.4 Patchset released

OWSM 10.1.3.4 Patchset (as part of SOA Suite patchset) has been released.
  • Download 10.1.3.4 Patchset
  • Documentation (incl. release notes and updated OWSM admin and deployment guides)
In summary, this patchset for OWSM includes
  1. Horizontal migration/SDLC (Test -> Stage -> Prod) tool
  2. Cloning tool
  3. AXIS 1.4 agent
  4. Command line tool for purging old policy versions
  5. Critical bug fixes

Monday, July 28, 2008

Book on Oracle Web Services Manager


A book on Oracle Web Services Manager has just been published written by Sitaraman Lakshminarayanan and reviewed by Marc Chanliau(Oracle). It should complement the official product documentation by providing examples of real life use cases and how to solve them using Oracle Web Services Manager(OWSM).

Monday, June 9, 2008

How To - 10.1.3 OWSM: Changing database location for monitoring data

To change the database where OWSM monitoring metrics are stored, follow these steps.
  1. Load OWSM schema in the target database by running irca script.
  2. Go to ORACLE_HOME/owsm/config/coreman directory, and put new database details in the following properties
    • monitor.repository.* in monitor-config-installer.properties
    • monitor.repository.* in collector-config-installer.properties
  3. Obfuscate the passwords in the above mentioned files using wsmadmin tool
    ORACLE_HOME/owsm/bin/wsmadmin encodePasswords ORACLE_HOME/owsm/config/coreman/monitor-config-installer.properties monitor.repository.password
  4. Redeploy the monitor application by running
    ORACLE_HOME/owsm/bin/wsmadmin deploy monitor
Monitoring metrics will be sent to the newly configured database.

How To - 10.1.3 OWSM: Changing database location for Log policy step

When you configure Log policy step in the policy pipeline to log the SOAP message, the message is stored in OWSM database. You may want to log the message for audit, non-repudiation or debugging.
Anyways, if you want to relocate your SOAP message logging to another database, then follow these steps.
  1. Load OWSM schema in the target database by running irca script.
  2. Login to OWSM Control, go to Policy Management, and click on Edit button for the gateway or agent where you have the Log policy step.
  3. Modify cfluent.messagelog.db.* properties, click the save button, and finally click the commit link.
With the next request received by the gateway/agent message logs will be stored in the new database.

Tuesday, June 3, 2008

FAQ - OWSM 10.1.3 : Does OWSM support FCF with Oracle RAC database?

OWSM supports connections to Oracle RAC database (which is typically used in HA situations) using the multi node syntax for entering jdbc url viz. host1:port^host2:port. But, it doesn't support fast connection failover (FCF) yet.
Note: OWSM uses its own connection pooling mechanism to connect to the database instead of using the application server connection pool.

Wednesday, May 14, 2008

How To - 10.1.3 OWSM: Pass SAML token to the service after verification

The "Verify SAML token" policy step when executed removes the SAML token xml from the request message. This is inline with ws-security processing.

But, sometimes you may require the SAML token to be passed to the web service after it's verified by OWSM. This can be achieved by
Writing a custom policy step, and placing it immediately after the "Verify SAML token" step in the policy request pipeline. The custom step needs to extract the SAML token xml from message context and put it back into the request payload.

public IResult execute(IMessageContext ctx) throws Fault {
...
MessageContext context = (MessageContext) ctx;
ArrayList samlTokensList = context.getProperty("SAML_ASSERTIONS");
String samlToken = samlTokensList.get(0);
// now you can add this xml to either the SOAP body or a header element.
...
}