May 23, 2019
Hot Topics:

Propagating Weblogic 8.x Portals

  • September 28, 2006
  • By Scott Nelson
  • Send Email »
  • More Articles »

Before Service Pack 5 (SP5), the most dreaded day of some portal projects was the push to production. If you have a fairly decent deployment plan, getting the portal EAR into production was a snap. What profited the pizza industry with the late-night dinner orders was moving all of the settings that are stored in the database from Staging to Production. Entitlement roles, groups, and the association of entitlements to portlets had to be re-created by hand. Because these deployments often take place after hours, the person with the pleasure of creating them will almost always make some mistake that takes hours to trace down. The mistakes aren't because it is terribly difficult, but because even if you get to come in late for these deployments, you still probably woke up at your usual hour and are starting to fade a bit. That, and few deployment documents are perfect. The propagation tool is here to rescue you.

The propagation tool is built into SP5 and SP6, and is available as a patch upgrade to SP4.

Note: There are other patches included in this download, so this may entail risk depending on what APIs you are using. For earlier versions, you need to contact your BEA representative.

There is an official manual for the propagation tool on the BEA site, which I recommend if you want every nuance. What I will cover here is a typical, simple, straightforward approach that will save you some time. I also deviate a bit here for the sake of doing the process faster, knowing that time is often a factor when you get to your deployment phase. As with any process, I highly recommend doing a dry run in a test environment first (mostly because I own no stock in pizza companies). The steps described here are for SP5. They should be the same for SP6. If you wish to attempt this on an earlier version, I suggest going to the link mentioned earlier.

First, you need to put the tool where you can use it. Copy propagation.war from <WEBLOGIC_HOME>weblogic81portallib to the root of your Staging domain (or Integration, if you are moving to Staging). To make sure you put it in the right place, make sure that adminPortal.war is already in the same path you are copying to.

Start your server through Workshop and then go to <DOMAIN_ROOT>META-INF and open application.xml in your favorite XML editor. After the last <module> entry, add the following:


When you save the file, Workshop should detect the update and automatically deploy it to the server for you. If for some reason it doesn't, you will need to stop your server, open config.xml, and manually add the following to the end of your <Application> node:

<WebAppComponent Name="propagation"

Once your server has started up again, check your installation by going to http://<SERVER>:<PORT>/propagation (example: http://localhost:7001/propagation). You should see the following screen:

Click here for a larger image.

From the screen, the next step should be obvious: Click Export an Inventory. The application will walk you through the steps with fairly clear instructions (you're welcome to read them all, based on your paranoia level or the fragility of your application). The steps are as follows, with only minor comments where necessary:

  1. Enter the user name and password for the uber admin account.
  2. Click Continue.
  3. Click Export XML.
  4. Click Export Locally and save to someplace convenient (unless you are propagating to an domain on the same machine with read-write privileges).

Export complete! That was easy, wasn't it? Now, you need to import it. Again, I'm going to pare things down for the simple, straightforward process here. If your application is really, really complicated, fragile, or you just have a lot of time on your hands, you can read the full documentation.

First, you need to install the propagation application on the target server. Copy the same WAR file to the same place in your new domain. Then deploy your portal EAR to the new domain. So long as you create the EAR after installing the propagation application on the original server, you shouldn't have to do anything else. If for some reason it doesn't work for you, follow the same installation instructions given above for the original server.

Page 1 of 2

Comment and Contribute


(Maximum characters: 1200). You have characters left.



Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date