+

Search Tips   |   Advanced Search

Unlock a library

Long running tasks can lock libraries. To unlock a library...

  1. Enable the UnlockLibrary tool by adding the following parameters to the WCM WCMConfigService service...

    • connect.businesslogic.module.unlocklibrary.class=com.aptrix.pluto.security.UnlockLibraryModule
    • connect.businesslogic.module.unlocklibrary.remoteaccess=true
    • connect.businesslogic.module.unlocklibrary.autoload=false

    UnlockLibrary only unlocks a web content library, not the items stored in the web content library.

  2. Restart portal server

  3. Log in to the portal as an administrator.

  4. Go to...

      http://hostname.myco.com:port/wps/wcm/connect?MOD=UnlockLibrary&library=libraryname


Example: Locked WCM Libraries

We can unlock a library, but it does not stay unlocked after restart. To debug...

  1. Unlock library...

    http://host1:10040/wps/wcm/connect?MOD=UnlockLibrary&library=MyCo_Content_Library

  2. Use IBM Support Tools to review node information...

  3. In dmgr for host1, set trace...

    com.ibm.workplace.wcm.services.library.*=finest

  4. Restart portal server.

  5. Check log files for...

    s_log.log(Level.FINER, "Entering deleteLibrary() for library: " + p_library.getName()); 11:14:37 AM

    Alternate trace string...

    com.aptrix.*=finest:com.ibm.workplace.wcm.*=finest:com.presence.*=finest

  6. Display node information...

    Example output for locked library...

    Current path: [Root]/contentRoot/icm:libraries[8] [PAC]
    Properties Children
    icm:capabilities[library.enabled=true, security.inheritance=TRUE, admin.deletable=false, admin.live.item.gatherer=7c9649004d50079a99a49b86d280d817, admin.all.item.gatherer=7c9649004d50079a99a39b86d280d817, LANGUAGE=en]
    icm:categories->[_6QR_003C7EBR5B0S1M9U_2R3]
    icm:created[2009-03-13T19:11:46.333Z - 1236971506333]
    icm:creator[]
    icm:description[]
    icm:effectiveDate[ - 0]
    icm:expirationDate[ - 0]
    icm:hidden[]
    icm:isdoc[true]
    icm:label[myco_content_library]
    icm:language[]
    icm:lastModified[2009-03-20T22:55:12.460Z - 1237589712460]
    icm:lastModifier[]
    icm:searchable[true]
    icm:title[MyCo_Content_Library]
    jcr:baseVersion[]
    jcr:created[2009-03-13T19:11:46.333Z - 1236971506333]
    jcr:isCheckedOut[false]
    jcr:lastModified[2009-03-20T22:55:12.460Z - 1237589712460]
    jcr:nodeType[icm:documentLibrary]
    jcr:uuid[7c9649004d50079a99a29b86d280d817]
    jcr:versionHistory[]

  7. Another alternative is to stop portal, then delete contents of PROFILE_HOME/tranlog.


Parent Web content library management