APAR status
Closed as program error.
Error description
When deleting an empty virtual portal (i.e. created using configuration task "create-virtual-portal"), the cleanup mechanism expects application folders to exist, which have not been created initially. This results in an IllegalStateException and prevents further cleanup. The following exception can be found in "SystemErr.log" after an obviously successful removal of the virtual portal: SystemErr R java.lang.IllegalStateException: Could not determine root OID. Expected one result from DB query, but received [[]]. SystemErr R at com.ibm.wps.datastore.ai.impl .ApplicationFolderPersister.getRoot(ApplicationFolderPersister .java:208) SystemErr R at com.ibm.wps.datastore.ai.impl .ApplicationFolderHomeImpl.getRoot(ApplicationFolderHomeImpl .java:125) SystemErr R at com.ibm.wps.ai.rt.impl.service .FolderServiceImpl.getRootFolder(FolderServiceImpl.java:200) SystemErr R at com.ibm.wps.ai.rt.impl.service .ApplicationCatalogServiceImpl.getRootFolder(ApplicationCatalogS erviceImpl.java:481) SystemErr R at com.ibm.wps.ai.rt.impl.service .ApplicationCatalogServiceImpl.getRootFolder(ApplicationCatalogS erviceImpl.java:92) SystemErr R at com.ibm.wps.ai.scheduler.VPEventListener .deleting(VPEventListener.java:184) SystemErr R at sun.reflect.NativeMethodAccessorImpl .invoke0(Native Method) SystemErr R at sun.reflect.NativeMethodAccessorImpl .invoke(NativeMethodAccessorImpl.java:79) SystemErr R at sun.reflect.DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:43) SystemErr R at java.lang.reflect.Method.invoke(Method .java:618) SystemErr R at com.ibm.wps.cei .ControllerImpl$Group$Handler .invoke(ControllerImpl.java:471) SystemErr R at $Proxy121.deleting(Unknown Source) SystemErr R at com.ibm.wps.command.vp.DeleteVPCommand .execute(DeleteVPCommand.java:162)
Local fix
n/a
Problem summary
When deleting an empty virtual portal (i.e. created using configuration task "create-virtual-portal"), the cleanup mechanism expects application folders to exist, which have not been created initially. This results in an IllegalStateException and prevents further cleanup. The following exception can be found in "SystemErr.log" after an obviously successful removal of the virtual portal: SystemErr R java.lang.IllegalStateException: Could not determine root OID. Expected one result from DB query, but received [[]]. SystemErr R at com.ibm.wps.datastore.ai.impl.ApplicationFolderPersister.getRoot (ApplicationFolderPersister.java:208) SystemErr R at com.ibm.wps.datastore.ai.impl.ApplicationFolderHomeImpl.getRoot( ApplicationFolderHomeImpl.java:125) SystemErr R at com.ibm.wps.ai.rt.impl.service.FolderServiceImpl.getRootFolder(F olderServiceImpl.java:200) SystemErr R at com.ibm.wps.ai.rt.impl.service.ApplicationCatalogServiceImpl.get RootFolder(ApplicationCatalogServiceImpl.java:481) SystemErr R at com.ibm.wps.ai.rt.impl.service.ApplicationCatalogServiceImpl.get RootFolder(ApplicationCatalogServiceImpl.java:92) SystemErr R at com.ibm.wps.ai.scheduler.VPEventListener.deleting(VPEventListene r.java:184) SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor Impl.java:79) SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:43) SystemErr R at java.lang.reflect.Method.invoke(Method.java:618) SystemErr R at com.ibm.wps.cei.ControllerImpl$Group$Handler.invoke(ControllerIm pl.java:471) SystemErr R at $Proxy121.deleting(Unknown Source) SystemErr R at com.ibm.wps.command.vp.DeleteVPCommand.execute(DeleteVPCommand.j ava:162)
Problem conclusion
ApplicationFolderPersister.getRoot() and TemplateFolderPersister.getRoot() need to accept empty result sets, since they are valid in the context of a virtual portal that has been created using the configuration task "create-virtual-portal". Manual Steps: None Failing Module(s): Database Affected Users: Administrative users Version Information: Portal Version(s): 6.1.0.2 Pre-Requisite(s): Co-Requisite(s): --- Platform Specific: This fix applies to all platforms. A fix is available from Fix Central: http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde r?apar=PM17906&productid=WebSphere%20Portal&brandid=5 You may need to type or paste the complete address into your Web browser.
Temporary fix
Comments
APAR Information
APAR number
PM17906
Reported component name
WEBSPHERE PORTA
Reported component ID
5724E7600
Reported release
61B
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-07-07
Closed date
2010-07-22
Last modified date
2010-08-30
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBSPHERE PORTA
Fixed component ID
5724E7600
Applicable component levels
R61B PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.0.2","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]
Document Information
Modified date:
20 December 2021