Wednesday, April 25, 2012

WebCenter Content 11g - Manually Enabling/Disabling Components


It was always helpful in 10g to be able to manually enable or disable a component by using the components.hda file, but things have changed in 11g which makes it much more helpful.

The component wizard can always be used to do this, but sometimes the easiest way is to hit the configurations directly. NOTE: this is only a trick for people that know the implications of these changes. Randomly changing hda files will have negative consequences!

One of the key changes is that the WCContent Admin Server & Content Server both run within the same managed server. In 10g, there were two separate jvms that were controlled separately. Meaning,  the content server might not have started correctly, but the admin server never was down. That means that the component control was never out of reach.

But, as of 11g, the Admin Server & Content Server both run together within the same Managed Server. That is, they are closely coupled and therefore more reliant on the stability of each other.

If a sketchy component is installed and botches the startup, you might not have the ease of access to flip off the component in order to restart the Managed Server.

Here's where and how that's done in 11g:

Find the following file:

<domain>/ucm/cs/data/components/idccs_components.hda

Note the definition is as follows:

16
name
location
status
classpath
libpath
installID
featureExtensions
classpathorder
libpathorder
Launchers
LaunchersOrder
componentsToDisable
componentTags
componentType
useType
version

The "status" is what we're after. It's values are "Enabled" and "Disabled"

example of a disabled component:

BrowserUrlPath
components/BrowserUrlPath/BrowserUrlPath.hda
Disabled
$COMPONENT_DIR/classes.jar



1




idc,integration,system,home
home

2010_03_19 (build 16)


You can see that a number of values are empty, which is fine. Make sure you don't alter any other values!

After disabling your custom component, you will be able to re-start your content server without any related complications!

Hope this helps out!
-ryan

6 comments:

  1. Insecticide Spraying Company in Dammam Some may risk using conventional pesticides to eliminate insects that attack their homes, but it is unfortunate that serious pesticides may cause respiratory diseases
    شركة مكافحة النمل الابيض بالدمام
    شركة مكافحة حشرات بالدمام
    شركة رش مبيدات بالدمام
    افضل شركة مكافحة حشرات

    ReplyDelete


  2. الرائد افضل شركة تنظيف و غسيل خزانات بالمدينة المنورة تنظيف خزانات بالمدينة المنورة وتقوم اياب تقيمها بالاشعه الفوق البنفسجية

    تنظيف خزانات

    ReplyDelete



  3. Also known to come with crucial offerings for its sensible, down-to-earth and important clients,Russian Call Girls in Mahipalpur really means in fulfilling their lives with cheerful moments to make love in concern to ensure them live their lives in abetter way. Check our other Services...
    Russian Call Girls in Mahipalpur
    Russian Call Girls in Mahipalpur
    Russian Call Girls in Mahipalpur
    Russian Call Girls in Mahipalpur
    Russian Call Girls in Mahipalpur


    ReplyDelete
  4. Genuine Vasant Kunj Escorts For Authenticated Moments Of Love
    Our Independent Vasant Kunj Escorts Are Very Gentle And Girls. They All Belong To Different Cities In India. We Provide Following Services To Our Vip Kind Clients.get The Ultimate Satiation With The Gorgeous And Sensuous Escorts Of Our Agency. Call Us For Book Our Sexual Vasant Kunj Call girls.
    Vasant Kunj Escorts
    Vasant Kunj Escorts

    ReplyDelete
  5. Express Your Desire to take up a memorable moment with our Mount-Abu Call Girls. The pleasure with stunning Escorts in Mount Abu. Most people at our agency have frolicked with these beauties and feel that it freshens them up and rejuvenates them. Now, you can also ask for the services of females in step with your preferences.

    ReplyDelete