In one case, a customer attempted to delete a library using the WCM Library Administration Portlet but was unsuccessful. The library was then deleted with the API process mentioned in the WebSphere Portal 6.1 Information Center. After re-syndicating the library in question to the subscriber machine, the library remained locked and the icons to administer the library were greyed out.
Using an unlock.jsp file worked to unlock the library until Portal was restarted but at this point, the library was locked again.
The Library is currently locked by a previous failed library delete operation. The previous delete operation created an EJBTimer that starts up during the Portal restart that in turn restarts the library deletion process.
Use the following procedure to find and delete the EJBTimer:
1. Run the following command: findEJBTimers.bat WebSphere_Portal -all
2. Remove the timer related to the library delete with the following command:
cancelEJBTimers.bat WebSphere_Portal -timer <timerid>
Sample use of commands and partial output:
[root@myserver bin]# ./findEJBTimers.sh WebSphere_Portal -all
ADMU0116I: Tool information is being logged in file
ADMU0128I: Starting tool with the wp_profile profile
ADMU3100I: Reading configuration for server: WebSphere_Portal
Realm/Cell Name: <default>
EJB Timer : 12301 Expiration: 4/27/09 11:11 AM
EJB : wcm, WCM_EJBs.jar, EJBScheduler
EJB Key: Not Available
To delete the timer using the timer ID 12301:
cancelEJBTimers.bat WebSphere_Portal -timer 12301