Repository manager mass lookup calls

Does anyone know of any documentation on what is expected from the repository manager mass lookup calls? These have to be implemented for searching with TREX to work.
I think the first method is fairly simple:
public List lookup(
     List ridList,
     boolean contentToBeFetched,
     List propertyNamesToBeFetched)
     throws ResourceException,      OperationNotCompletedException
For the given list if RIDs, it should return a single ArrayList containing:
1) a handle for each rid
2) an InputStream for each rid if contentToBeFetched == true
3) an IProperty for each RID and each IPropertyName specified in propertyNamesToBeFetched
This means that the return list will contain objects of three types: IResource, InputStream and IProperty.
Frankly, I have no idea of what to return for the second method:
public List lookup(
     List ridList,
     Map content,
     Map properties,
     String[] permissionNames)
     throws ResourceException, OperationNotCompletedException
Is there any documentation for these what these methods should return? What do the Maps content and properties contain? What do I do with permission names?
Many thanks!
-Alex

Hi Alex,
unfortunately the documentation of RM developemnt is not yet finished, but I'd like to clearify some of your issues:
1) The java.util.List objects returned by teh lookup() methods should contain IResourceHandle objects from the RMs implementation
2) The java.util.Map objects in the public List lookup( List ridList,Map content,Map properties,String[] permissionNames) method can optionally be pre-filled with content references and properties. The map has to be filled with IResourceHandle object as keys and a reference to its IContent object or IPropertyMap object as the value of the map.
If the maps are not filled the RF will call the getContent() and getProperties() methods from the ContentManager and PropertyManager aspects.
Regards,
Thilo

Similar Messages

  • Problem in copyResource()-Repository Manager,ClassCastException

    Hi,
    I have written a read-write custom repository manager from the sample downloaded from sdn(A kind of extension of SimpleRepositoryManager).
    I tried to implement the ImutableNamespace opertion copyResource(IResourceHandle handle, ICopyDescriptor copy) with supported option COPY_DEEP and COPY.
    It really does a copy to the destination directory but after that it throws a ClassCastException
    for com.sap.netweaver.bc.rf.common.Rid;some how my feeling is its failing either in findResource or lookup after copy.
    For detail exception pls see below(from EP KM Iview-call stack)
    System Error
    An exception occurred during the program execution. Below you will find technical information pertaining to this exception that you might want to forward to your system administrator.
    Exception Class 
    Exception Message 
    Call Stack java.lang.ClassCastException: com.sap.netweaver.bc.rf.common.Rid
            at com.sapportals.wcm.repository.GeneralImpl2.internalCopyManager(GeneralImpl2.java:705)
            at com.sapportals.wcm.repository.ResourceImpl2.internalCopyManager(ResourceImpl2.java:246)
            at com.sapportals.wcm.repository.ResourceImpl.internalCopy(ResourceImpl.java:2130)
            at com.sapportals.wcm.repository.ResourceImpl.copy(ResourceImpl.java:1393)
            at com.sapportals.wcm.repository.ResourceImpl.copy(ResourceImpl.java:1376)
            at com.sapportals.wcm.rfadapter.CopyUtility.copy(CopyUtility.java:112)
            at com.sapportals.wcm.rendering.uicommand.cm.CopyUtil.massCopy(CopyUtil.java:65)
            at com.sapportals.wcm.rendering.uicommand.cm.CopyUtil.copy(CopyUtil.java:51)
            at com.sapportals.wcm.rendering.uicommand.cm.UIMassCopyCommand.execute(UIMassCopyCommand.java:105)
            at com.sapportals.wcm.rendering.uicommand.cm.UIMassEmbeddedSelectCommand.execute(UIMassEmbeddedSelectCommand.java:85)
            at com.sapportals.wcm.rendering.uicommand.cm.UIMassEmbeddedSelectCommand.execute(UIMassEmbeddedSelectCommand.java:64)
            at com.sapportals.wcm.rendering.control.cm.CommandDispatcher.onMassExecute(CommandDispatcher.java:45)
            at com.sapportals.wcm.rendering.control.cm.WdfProxy.onMassExecute(WdfProxy.java:2002)
            at java.lang.reflect.Method.invoke(Native Method)
            at com.sapportals.wdf.stack.Control.dispatchHtmlbEvent(Control.java:389)
            at com.sapportals.wdf.WdfEventDispatcher.dispatch(WdfEventDispatcher.java:175)
            at com.sapportals.wdf.WdfCompositeController.onWdfEvent(WdfCompositeController.java:549)
            at java.lang.reflect.Method.invoke(Native Method)
            at com.sapportals.htmlb.page.DynPage.doProcessCompositeEvent(DynPage.java:204)
            at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:142)
            at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:101)
            at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:62)
            at com.sapportals.htmlb.page.PageProcessorServlet.doPost(PageProcessorServlet.java:23)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sapportals.wcm.app.servlet.WcmHtmlbBaseServlet.service(WcmHtmlbBaseServlet.java:81)
            at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:313)
            at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
            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:301)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
            at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:217)
            at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:580)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
            at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:670)
            at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:229)
            at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
            at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
            at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)
            at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)
            at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
            at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
            at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
            at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
            at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
             Report Error
    I am using my own xercesImpl.jar ,xalan.jar api's.which exactly didn't cause me any problem for the delete,rename opertaions.
    Is it any thing to do with configuration ,which i am missing.Pls help
    rgds
    Shovan

    You might have a look at
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/92322ab24e11d5993800508b6b8b11/frameset.htm">this documentation</a>.
    The CM repository in mode FSDB keeps the namespace structure of the repository in the database just as it does in the other modes. Any change is done parallel in the file system and in the internal database.
    Since we have mode FSDB and the file system might change at any time by external processes, there is a component called synchronizer that checks with every lookup if the file system and the internal structure are still in sync. To determine this it looks at the modification date for folders and at modification date and size for plain files.
    If any of these do not match then the synchronizer overwrites and modifies the internal data to reflect again the status of the external file system.
    Now in your portal the synchronizer itself is working OK. That's because your repositories run fine locally.
    With your remote file systems I can think of some possible explanations.
    The caches might deliver responses after immediate file system changes. We ruled out this one already.
    The synchronizer might not recognize the changes in the file system's meta data. This is why I'd like you to try and compare the behaviour of the file system repository, see above.
    The synchonizer might run into some error when it tries to access the remote file system. This should be visible in the logs.
    Michael

  • CM Repository manager in FSDB mode

    Hi ,
    I am creating a CM repository manager with persistent mode as FSDB.I have created a network path and given a username which is having full control in the remote machine.
                                 But when I am checking in component monitor it is giving the folowing error and the repository manager fails to start.
    Startup Error:  Error occured while retrieving canonical name for folder '
    172.17.1.249\Portal_KM_Store\Data' (java.io.IOException: Logon failure: unknown user name or bad password
    Please help
    Regards
    Nayeem

    You might have a look at
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/92322ab24e11d5993800508b6b8b11/frameset.htm">this documentation</a>.
    The CM repository in mode FSDB keeps the namespace structure of the repository in the database just as it does in the other modes. Any change is done parallel in the file system and in the internal database.
    Since we have mode FSDB and the file system might change at any time by external processes, there is a component called synchronizer that checks with every lookup if the file system and the internal structure are still in sync. To determine this it looks at the modification date for folders and at modification date and size for plain files.
    If any of these do not match then the synchronizer overwrites and modifies the internal data to reflect again the status of the external file system.
    Now in your portal the synchronizer itself is working OK. That's because your repositories run fine locally.
    With your remote file systems I can think of some possible explanations.
    The caches might deliver responses after immediate file system changes. We ruled out this one already.
    The synchronizer might not recognize the changes in the file system's meta data. This is why I'd like you to try and compare the behaviour of the file system repository, see above.
    The synchonizer might run into some error when it tries to access the remote file system. This should be visible in the logs.
    Michael

  • CM Repository manager in FSDB mode failed to start

    Hi ,
    I am creating a CM repository manager with persistent mode as FSDB.I have created a network path to access a remote server which will act as the file system repository.I am giving a user which has full control in that machine.
    When I am checking in the component monitor the repository manager is failing to start and gives the following error message.
    Startup Error:  Error occured while retrieving canonical name for folder '(java.io.IOException: Logon failure: unknown user name or bad password
    Please help.
    Regards
    Nayeem

    You might have a look at
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/92322ab24e11d5993800508b6b8b11/frameset.htm">this documentation</a>.
    The CM repository in mode FSDB keeps the namespace structure of the repository in the database just as it does in the other modes. Any change is done parallel in the file system and in the internal database.
    Since we have mode FSDB and the file system might change at any time by external processes, there is a component called synchronizer that checks with every lookup if the file system and the internal structure are still in sync. To determine this it looks at the modification date for folders and at modification date and size for plain files.
    If any of these do not match then the synchronizer overwrites and modifies the internal data to reflect again the status of the external file system.
    Now in your portal the synchronizer itself is working OK. That's because your repositories run fine locally.
    With your remote file systems I can think of some possible explanations.
    The caches might deliver responses after immediate file system changes. We ruled out this one already.
    The synchronizer might not recognize the changes in the file system's meta data. This is why I'd like you to try and compare the behaviour of the file system repository, see above.
    The synchonizer might run into some error when it tries to access the remote file system. This should be visible in the logs.
    Michael

  • Problem with CM repository manager in FSDB mode

    Hi all,
    I have configured a CM repository in FSDB mode.The file system which is configured in the CM repository manager is on a network and not on the Portal Server. The problem that I am facing is as follows -
    1. When i create the file manually in the file system , the file does not appear in the KM Content.
    2. When i create the file from KM, it's created in the file server and now the previously create files in 1, are also visible.
    3. When I delete the file from the fle server , I am still able to see the file name in KM content, but when I click on it it says resource not found.
    I tried everying from clearing the cache to having no cache entries, but nothing seems to work.
    Please help, I am really stuck with this.
    Will definitely reward points for helpfull answers.
    Thanks in advance,
    Vivek

    You might have a look at
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/92322ab24e11d5993800508b6b8b11/frameset.htm">this documentation</a>.
    The CM repository in mode FSDB keeps the namespace structure of the repository in the database just as it does in the other modes. Any change is done parallel in the file system and in the internal database.
    Since we have mode FSDB and the file system might change at any time by external processes, there is a component called synchronizer that checks with every lookup if the file system and the internal structure are still in sync. To determine this it looks at the modification date for folders and at modification date and size for plain files.
    If any of these do not match then the synchronizer overwrites and modifies the internal data to reflect again the status of the external file system.
    Now in your portal the synchronizer itself is working OK. That's because your repositories run fine locally.
    With your remote file systems I can think of some possible explanations.
    The caches might deliver responses after immediate file system changes. We ruled out this one already.
    The synchronizer might not recognize the changes in the file system's meta data. This is why I'd like you to try and compare the behaviour of the file system repository, see above.
    The synchonizer might run into some error when it tries to access the remote file system. This should be visible in the logs.
    Michael

  • Problem with CM repository manager

    Hi
    I am trying to access the documents of file server with CM Repository manger(FSDB).The Current portal version is EP6 SP15.I did configuration for production,Development system.i did exactly same.but it is not working in Development system.i created Network path,cache,CM Repository Manger.where should i see the log file to check the error?
    While Configure CM repository manager,there is no property to specify DB Connectionpool parameter?
    but it is working fine in production system,but not in Development System.
    i selected Auto Checkin/checkout parameter while creating CM repository manager.where should i need to check weather this is working or not?
    i am not able to see the /etc folder in case of development system ,but able to see in production system?
    can anybody helpme out in this regard?
    Prasad

    Hi Julian
    thanks for your quick response.i checked the commponent Monitor.it is giving an error called:"Startup Error:  parameter context is null ".do you have any idea?
    Please help
    Prasad

  • File Repository Manager

    Hi all,
    I have created a file repository manager.
    I have done the following settings for creating a file repository manager:
    Active   :checked
    Hide in Root Folder: not checked
    Send Events :checked
    Property Search Manager  : not set
    Repository Services   : not set
    ACL Manager Cache   : ca_rsrc_acl
    Security Manager   : W2kSecurityManager
    Description  
    Prefix (must start with /) : /demo
    Windows Landscape System   : Microsoft_Windows_KM
    Read-only   : not checked
    Lookup mode : caseless
    Read-only Content Expiry Delay:
    Root Directory:
    132.186.124.207\calender
    Even after restarting the server, a folder by name calender is not being created in the root in KM content.
    What could be the reason?
    thanx and regards,
    anuradha.

    Hi Anuradha,
    The root in KM Content will have a folder by the name <i>demo</i>(value of property <i>Prefix</i>), not <i>calendar</i>.
    BTW I recommend you don't change the prefix to <i>/calendar</i>... as the CalendarRM uses that prefix and so a clash could occur!
    Regards,
    Ashish.

  • A parameter of CM repository manager

    In CM repository manager,there is a parameter called "Compress content greater than".I don't know wether it will compress content when the all documents of it greater than the parameter or it will compress the document when the uploaded document greater than the parameter. And how larger should I set it?
    Can you tell me?
    Tks

    You mean when the size of contents in my CM repository manager is greater than that configured value,it will compress the new uploaded documents.But I don't know wether it will influence the performance of my repository manager and is there a standard formula to compute the best value?
    Best regards!

  • Help needed: Search function for custom Repository Manager

    Hi there,
    i'm writing my own Repository Manager for EP 6.0 SP2 PL4.
    I've serious problems getting the search function running. I'm using the 'new', Netweaver-based API.
    I think, there are some general questions to answer:
    - My Repository Manager exposes lots of custom 
       properties to the system. I create the properties
       for example using following code:
       IProperty newProp = new StringSingleValueProperty(
         PropertyName.getPropertyName(
                  "{}" + myAttName),
         myAttVal,                         PropertyFlags.constructFlags(
                  true, false, true, false)
        Is there any convention for the propertie's name?
        I think it has to be written in lowercase only?
        Can I use ANY namespace I want instead of the
        empty default namespace? (For example:
    - After indexing my resources (of course, containing my
       custom properties), the TREX-Monitoring screen for my
       index shows all my custom properties in the 'Document
       Properties' area, but all uppercase chars are escaped
       somewhat. Is this OK?
    - Trying to use the index above to search for particular
       resources in my repository by my custom properties
       fails all the time ('no docs found...'); searching for
       any system property works fine. What's the reason?
    - How can I force the (Property-) search uses my
       custom namespace-manager's methods
       isQueryPropertyNameUnderstood() and
       getQueryBuilder()
       to perform a 'pure' property search by the repository
       manager? It seems that the TREX always handles the
       queries by itself, because my methods are never called.
    Thanx for you help,
    Daniel

    I created a new manager and copied the classes exactly from the "simple" example and I see similar behavior. Actually, when I do this, folders are recursively copied, but not files. Again, browsing and viewing of files work fine. Again, I am not seeing any unexpected exceptions.
    The only thing that changed were the names and namespaces. Nothing else at all was changed.
    This makes me think I am missing some configuration somewhere or there is something special about the example project that the wizards are not creating. The only difference I see in the project file is an additional nature (com.tssap.selena.cmf.PatternNature), but I am not sure that is relevant.
    Wow, I am really stumped.
    -Alex

  • How to develop repository manager with initial folder structure

    Hi 2 all!
    I wonder if it is possible to create new repository programmatically with defined folder structure. I'm interested in solutions when repository manager is works with db or file system. Can you provide any example or tell me where can I define my structure?
    thnx

    Hi Nata!
    Basicly this task consists of two steps:
    1. Deploy a new configuration object for the repository manager
    2. Create the intial folder structure
    Step one is simple. Here is the configuration object of the repository manager for /documents. It's been exported from the KM configuration by using the standard export mechanisms. This can be included into a portal application project in Netweaver Studio.
    documents.co.xml
    <?xml version="1.0"  encoding="UTF-8" ?>
    <!-- file generated by configuration framework Jun 27, 2008 9:16:36 AM -->
    <Configurable configclass="CmRepositoryManager" owner="km.appl.rep.mgr.prjconfig">
    <property name="ro-expiry-time" value="0"></property>
    <property name="fsconttrack" value="true"></property>
    <property name="poolid" value="dbcon_wcmdb_cm"></property>
    <property name="securitymgr.aclcacheid" value="ca_rsrc_acl"></property>
    <property name="localroot"></property>
    <property name="serverfarm" value="false"></property>
    <property name="propertysearchmgr.class" value="com.sapportals.wcm.repository.manager.cm.CmPropertySearchManager"></property>
    <property name="keepVersionHistory" value="false"></property>
    <property name="securitymgr.aclcfg" value="acl_jdbc_rep"></property>
    <property name="versioning.localroot"></property>
    <property name="persistence.mode" value="db"></property>
    <property name="hidden" value="false"></property>
    <property name="fsnosync" value="false"></property>
    <property name="cacheid.versionhistory"></property>
    <property name="prefix" value="/documents"></property>
    <property name="fsContentCacheMaxEntries" value="-1"></property>
    <property name="fsContentCache"></property>
    <property name="name" value="documents"></property>
    <property name="cacheid.content"></property>
    <property name="compressLimit" value="-1"></property>
    <property name="cacheid.foldercontent"></property>
    <property name="cacheid.properties"></property>
    <property name="active" value="true"></property>
    <property name="cacheid.rid"></property>
    <property name="ignorerootdisplayname" value="false"></property>
    <property name="class" value="com.sapportals.wcm.repository.manager.cm.CmRepositoryManager"></property>
    <property name="cclist"></property>
    <property name="intLinksDefaultDynamic" value="true"></property>
    <property name="contentmgr.class" value="com.sapportals.wcm.repository.manager.cm.CmNamespaceAndContentManager"></property>
    <property name="cacheid.documents"></property>
    <property name="versioningmgr.class" value="com.sapportals.wcm.repository.manager.cm.CmVersioningManager"></property>
    <property name="securitymgr.w2kcfg.systemid"></property>
    <property name="lockmgr.class" value="com.sapportals.wcm.repository.manager.cm.CmLockManager"></property>
    <property name="cacheid.locks"></property>
    <property name="securitymgr.class"></property>
    <property name="persistence.db.instance-id" value="documents"></property>
    <property name="cacheid" value="ca_cm"></property>
    <property name="namespacemgr.class" value="com.sapportals.wcm.repository.manager.cm.CmNamespaceAndContentManager"></property>
    <property name="autoversioning" value="false"></property>
    <property name="description"></property>
    <property name="securitymgr.ref" value="AclSecurityManager"></property>
    <property name="fsContentCacheLimit" value="100"></property>
    <property name="propertymgr.class" value="com.sapportals.wcm.repository.manager.cm.CmPropertyManager"></property>
    <property name="services" value="accessstatistic, com.dkv.DKVApprovalAndTranslation, com.dkv.jobtool.repository.JobToolCreationService, comment, discussion, feedback, layout, personalnote, properties, rating, statemngt, subscription, svc_acl, tbp"></property>
    <property name="sendevents" value="true"></property>
    </Configurable>
    This is a DB repository. The config object for a filesystem repository might differ.
    Step 2, the creation of the initial file structure may be done with in two different ways:
    a) Include a Repository Service with your repository, which creates the folder structure on the first access of your repository.
    b) Include a Portal app which has to be called once to create the folder structure.
    For more info about using the API to create km folders take at look at this:
    https://www.sdn.sap.com/irj/sdn/thread?threadID=933638&messageID=5663711#5663711
    Cheers,
      Jürgen

  • SOAP/Web service based repository manager

    Hi,
    We would like to implement a repository manager using SOAP/Web service messages to connect to the document store.  The solution will have to support most opperations as the WebDAV repository manager supports.  TREX has to be able to crawl for indexing/classification, but I guess that is not a problem.
    Is the some information out there on creating repository managers like this, and how they tie in with ACL managers, cahces etc?
    Message was edited by: Bjorn Bjornstad

    Not relevant any more

  • My iPod and iPhone are not recognized in Windows 7 iTunes. I've reinstalled iTunes and restarted windows. Now iPod briefly displays, then device manager mass storage shows a yellow exclamation point. iPhone doesn't display in iTunes at all. Please ad

    My iPod and iPhone are not recognized in Windows 7 iTunes. I've reinstalled iTunes and restarted windows. Now iPod briefly displays, then device manager mass storage shows a yellow exclamation point. iPhone doesn't display in iTunes at all. Please advise

    Try Andrei Cerbu's post here, JF Fourie's post here, or see TS1538: iOS: Device not recognized in iTunes for Windows, in particular section 5, forcing a driver update. See also TS1363: iPod: Appears in Windows but not in iTunes.
    tt2

  • Error when displaying thumbnails in new repository manager

    Hi KM Experts,
    I created a new Repository Manager as a copy of /documents.
    When I upload Images (jpegs, gifs) in this repository and try to display them using a ConsumterThumbnailExplorer I don't get the thumbnails displayed but the X-symbol that the browser displays when a image was not found. In the /documents repository the thumbnails are getting displayed.
    Here is the exception from the trace file:
    java.lang.NoClassDefFoundError: sun.awt.motif.MToolkit (initialization failure)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:119)
    at java.awt.Toolkit$2.run(Toolkit.java:796)
    at java.security.AccessController.doPrivileged(AccessController.java:197)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:787)
    at com.sapportals.wcm.repository.manager.thumbnail.ResourceImageThumbnailPlugIn.getThumbnail(ResourceImageThumbnailPlugIn.java:96)
    at com.sapportals.wcm.repository.manager.thumbnail.ResourceImageThumbnailPlugIn.getContentThumbnail(ResourceImageThumbnailPlugIn.java:45)
    at com.sapportals.wcm.repository.manager.thumbnail.ThumbnailNamespaceManager.getImage(ThumbnailNamespaceManager.java:539)
    at com.sapportals.wcm.repository.manager.thumbnail.ThumbnailNamespaceManager.getCreatedResource(ThumbnailNamespaceManager.java:459)
    at com.sapportals.wcm.repository.manager.thumbnail.ThumbnailNamespaceManager.getContent(ThumbnailNamespaceManager.java:335)
    at com.sapportals.wcm.repository.ContentImpl.internalGetContent(ContentImpl.java:328)
    at com.sapportals.wcm.repository.ContentImpl.<init>(ContentImpl.java:84)
    at com.sapportals.wcm.repository.ResourceImpl.internalGetContent(ResourceImpl.java:3203)
    at com.sapportals.wcm.repository.ResourceImpl.getContent(ResourceImpl.java:1183)
    at com.sapportals.wcm.repository.ResourceImpl.getContent(ResourceImpl.java:1147)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:319)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:282)
    at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:791)
    at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:483)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:333)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
    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.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    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.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.wcm.portal.connection.KmConnection.handleRequest(KmConnection.java:52)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:219)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172).
    Any help is appreciated !
    Regards, Andreas
    Edited by: Andreas Wachendorfer on Oct 29, 2009 7:05 PM

    Problem solved: JVM Parameter -Djava.awt.headless=true had to be set....

  • WebDav Repository Manager Disappears???

    Hello,
    I am seeing some strange behavior with an IIS WebDAV based KM WebDAV repository manager I created. I used the following as a basis for my setup.
    http://help.sap.com/saphelp_nw04/helpdata/en/4a/217fb6c33c6748a1715a161ac942cd/frameset.htm
    I created the memory cache, CM HTTP System, a portal system aliased with the same ID as the CM system, and finally the WebDAV Repository manager. If further setting detail is needed I can send that. The repository worked on Friday. It is not there today. This has happened twice. When I drill down into Content Administration > KM Content>root > runtime > Repository Managers... > IISWD > servers I am presented with "hostname". When I select Details>Properties>Miscellaneous tab I see failures.
    Example:
    last-failure-1:   2007-07-16T20:12:14Z: PROPFIND /ExternalPortal: com.sapportals.wcm.WcmException: sending request to: http://hostname/ request uri: /ExternalPortal unable to connect to hostname: unknown host: hostname (java.net.UnknownHostException: hostname)
    All of the required KM objects mentioned before are still present and configured as they were a few days ago. Is my repository loosing it's reference to the CM HTTP System.? Has anyone seen this before?
    Thanks,
    Doug

    Hi Doug
    I believe the problem is that your HTTP System in the portal cannot see the share you are trying to integrate into the potal. Is it a webdav-share set up using an IIS?
    I have tried to implement the WebDAV/SSO solution where we got the same error for no reason. But after installing some different hotfixes (http://support.microsoft.com/default.aspx?scid=kb;en-us;893246, eg) and changing server to a standalone IIS, the error didn't occur any more.
    Hope that can give you some ideas.
    Kind regards,
    Martin

  • Searching problems when implementing my own repository manager

    Hi there,
    i've serious problems to get the search fuctionality for my own repository manager running. I'm using the 'new', Netweaver-based api.
    Always if I'm launching a search I receive a ClassNotFoundException in the follwing context:
    #1.5#172.16.17.102:7CF6B6:FF73BDDB07:-36E7#1097161124650#com.sapportals.wcm.WcmException#irj#com.sapportals.wcm.WcmException.WcmException(118)#System#0#####System_Thread_37##0#0#Error##Plain###invalid manager class: com.sapportals.wcm.repository.runtime.ManagerAdapter java.lang.ClassCastException: invalid manager class: com.sapportals.wcm.repository.runtime.ManagerAdapter
         at com.sapportals.wcm.repository.RMAdapter.<init>(RMAdapter.java:48)
         at com.sapportals.wcm.repository.runtime.CmSystem.getResourcesImpl(CmSystem.java:1134)
         at com.sapportals.wcm.repository.runtime.CmSystem.getResources(CmSystem.java:356)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResources(CmAdapter.java:153)
         at com.sapportals.wcm.service.indexmanagement.retrieval.trex.TrexSearchIndexCollection.getSearchResults(TrexSearchIndexCollection.java:1126)
         at com.sapportals.wcm.service.indexmanagement.retrieval.search.SearchSession.getSearchResults(SearchSession.java:293)
         at com.sapportals.wcm.service.indexmanagement.retrieval.search.FederatedSearchSession.getSearchResults(FederatedSearchSession.java:111)
         at com.sapportals.wcm.rendering.collection.SearchRendererStatus.refresh(SearchRendererStatus.java:180)
         at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.createStatus(LightCollectionRenderer.java:718)
         at com.sapportals.wcm.rendering.collection.LightCollectionRenderer.renderAll(LightCollectionRenderer.java:498)
         at com.sapportals.wcm.rendering.control.cm.NeutralControl.render(NeutralControl.java:141)
         at com.sapportals.wcm.rendering.layout.cm.SimpleLayoutController.render(SimpleLayoutController.java:39)
         at com.sapportals.wcm.rendering.control.cm.WdfProxy.render(WdfProxy.java:1229)
         at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:41)
         at com.sapportals.wdf.stack.Pane.render(Pane.java:153)
         at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
         at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:64)
         at com.sapportals.wdf.stack.Pane.render(Pane.java:156)
         at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
         at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:64)
         at com.sapportals.wdf.stack.Pane.render(Pane.java:156)
         at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
         at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:64)
         at com.sapportals.wdf.stack.Pane.render(Pane.java:156)
         at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)
         at com.sapportals.wdf.ControllerDynPage.executeEvent(ControllerDynPage.java:338)
         at com.sapportals.wdf.BaseDynPage.onWdfEvent(BaseDynPage.java:132)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:172)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:101)
         at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:64)
         at com.sapportals.htmlb.page.PageProcessorServlet.doPost(PageProcessorServlet.java:25)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sapportals.wcm.app.servlet.WcmHtmlbBaseServlet.service(WcmHtmlbBaseServlet.java:81)
         at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:280)
         at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
         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:301)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:143)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:195)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:589)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:143)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:195)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:636)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:209)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:147)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:789)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:644)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:305)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:165)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1133)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl0.ParserRunner.run(ParserRunner.java:35)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:132)
    I'm using EP 6.0 SP2 directly installed from the CD
    #51 020 549 without explicit installation of any patch or hotfix; the portal itself shows the version number 6.0.2.0.0 (implementation version 6.2.0.0.200310100950).
    I switched on logging but I never reached the INamespaceManager's methods isQueryPropertyNameUnderstood() or getQueryBuilder().
    So I figure that this might a problem of my (too old?) unpatched version of EP6????
    What can I do to get the serach func running?
    Thanks for your support,
    Daniel

    Hi Karsten,
    thanks for your annotation.
    Does it mean that I <b>HAVE TO</b> apply at least Patch 4
    to get the search working or <b>SHOULD</b> I apply the patch to be up-to-date and look for an error in my code???
    Thanx a lot,
    best regards,
    Daniel

Maybe you are looking for