Skip to Content
1
Aug 13, 2007 at 02:04 PM

Implementing a reosurcelistfilter

33 Views

Hi,

We are on Portal 7.0 (SPS12).

I implemented a resourcelistfilter like the example implementation in SDN article (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/Implementing%20Resource%20List%20Filters%20for%20Flexible%20UI%20Navigation/flexui_list_filters.article).

When I upload the parfile, the new service could not be instantiated.

Default.trc looks like that:

#1.5 #0008C786DAC4006600000005000016A400043707059AD87E#1186403205296#com.sap.portal.prt.runtime.broker#sap.com/irj#com.sap.portal.prt.runtime.broker#stuehrmann.h@uhlmann.de#1688##sap58.de_PRT_3466250#stuehrmann.h@uhlmann.de#53102ad0441611dca16b0008c786dac4#Thread[PRT-Async 3,5,PRT-Async]##0#0#Error#1#/System/Server#Java###[PortalServiceItem.startServices] service initialisation failed:com.uhlmann.km.resourcelistfilter.emptyfolders|RFServiceWrapper

[EXCEPTION]

#1#com.sapportals.portal.prt.core.broker.PortalServiceInstantiationException: Could not instantiate implementation class com.sap.netweaver.rf.wrapper.RFServiceWrapper of Portal Service com.uhlmann.km.resourcelistfilter.emptyfolders|RFServiceWrapper because: could not load the service

at com.sapportals.portal.prt.core.broker.PortalServiceItem.__createServiceInstance(PortalServiceItem.java:743)

at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:616)

at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1056)

at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1707)

at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1662)

at com.sapportals.portal.prt.core.broker.PortalAppBroker.restartQueuedApplication(PortalAppBroker.java:2010)

at com.sapportals.portal.prt.core.broker.PortalAppBroker.updateApplications(PortalAppBroker.java:1846)

at com.sapportals.portal.prt.deployment.DeploymentManager.updateApplications(DeploymentManager.java:1754)

at com.sap.ip.portal.admin.portalanywhere.QueryHandler.handleTopic(QueryHandler.java:152)

at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.executeActionHandleTopic(NotificationSAPJ2EE630.java:1141)

at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.notifyActionSubscribers(NotificationSAPJ2EE630.java:1089)

at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.receiveWait(NotificationSAPJ2EE630.java:386)

at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.broadcastAndWait(NotificationSAPJ2EE630.java:553)

at com.sapportals.portal.prt.service.notification.NotificationServiceDispatcher.broadcastAndWait(NotificationServiceDispatcher.java:192)

at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryAndGetResults(EventForwarder.java:122)

at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryToAllServers(EventForwarder.java:144)

at com.sap.ip.portal.admin.portalanywhere.EventForwarder.forwardEventToAllServers(EventForwarder.java:135)

at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.forwardUpdateToAllServers(ArchiveUploader.java:253)

at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doContent(ArchiveUploader.java:235)

at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)

at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)

at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)

at com.sap.ip.portal.admin.portalanywhere.ClusterAdminConsole.doContent(ClusterAdminConsole.java:192)

at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)

at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)

at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)

at com.sapportals.portal.navigation.workAreaiView.doContent(workAreaiView.java:265)

at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)

at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)

at java.security.AccessController.doPrivileged(Native Method)

at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)

at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)

at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)

at java.lang.Thread.run(Thread.java:534)

Caused by: com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application layout

at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:415)

at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:387)

at com.sapportals.portal.prt.core.broker.PortalApplicationItem._refresh(PortalApplicationItem.java:507)

at com.sapportals.portal.prt.core.broker.PortalApplicationItem.getCoreLoader(PortalApplicationItem.java:1360)

at com.sapportals.portal.prt.core.broker.PortalServiceItem.getClassLoader(PortalServiceItem.java:917)

at com.sapportals.portal.prt.core.broker.PortalServiceItem.__createServiceInstance(PortalServiceItem.java:730)

... 44 more

#

#1.5 #0008C786DAC4006700000000000016A4000437076A35EBA4#1186404893296#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(118)#Guest#0####39c07700441c11dcb4910008c786dac4#Thread[ConfigurationEventDispatcher,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###com.uhlmann.km.resourcelistfilter.EmplyFoldersListFilter java.lang.ClassNotFoundException: com.uhlmann.km.resourcelistfilter.EmplyFoldersListFilter

at com.sapportals.wcm.crt.CrtClassLoaderRegistry.findClass(CrtClassLoaderRegistry.java:176)

at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:219)

at com.sapportals.wcm.crt.CrtClassLoaderRegistry.forName(CrtClassLoaderRegistry.java:349)

at com.sapportals.wcm.service.resourcelistfilter.cm.ResourceListFilterService.createFilter(ResourceListFilterService.java:344)

at com.sapportals.wcm.service.resourcelistfilter.cm.ResourceListFilterService.readConfigEntries(ResourceListFilterService.java:272)

at com.sapportals.wcm.service.resourcelistfilter.cm.ResourceListFilterService.configEvent(ResourceListFilterService.java:120)

at com.sapportals.config.event.ConfigEventService.dispatchEvent(ConfigEventService.java:227)

at com.sapportals.config.event.ConfigEventService.configEvent(ConfigEventService.java:112)

at com.sapportals.config.event.ConfigEventDispatcher.callConfigListeners(ConfigEventDispatcher.java:308)

at com.sapportals.config.event.ConfigEventDispatcher.flushEvents(ConfigEventDispatcher.java:251)

at com.sapportals.config.event.ConfigEventDispatcher.run(ConfigEventDispatcher.java:110)SDN" target="_blank">https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/Implementing%20Resource%20List%20Filters%20for%20Flexible%20UI%20Navigation/flexui_list_filters.article">SDN articleSDN" target="_blank">https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/Implementing%20Resource%20List%20Filters%20for%20Flexible%20UI%20Navigation/flexui_list_filters.article">SDN articleSDNhttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/Implementing%20Resource%20List%20Filters%20for%20Flexible%20UI%20Navigation/flexui_list_filters.article">SDN>

Any ideas?

Helge