Thursday, July 5, 2012

Solving No service define for COLLECTION_DISPLAY Exception :

Caused by: oracle.stellent.ridc.protocol.ServiceException: No service defined for COLLECTION_DISPLAY.

After installing UCM server  when i tried to create the content repository  connection in jdeveloper 11.1.1.6 i got following exception.

Jul 4, 2012 12:38:56 PM oracle.stellent.jcr.IdcPersistenceManager listFolder
SEVERE: Could not list contents of folder with ID = dCollectionID:-1
oracle.stellent.ridc.protocol.ServiceException: No service defined for COLLECTION_DISPLAY.
    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
    at oracle.stellent.jcr.IdcPersistenceManager.listFolder(IdcPersistenceManager.java:690)
    at oracle.stellent.jcr.IdcPersistenceManager.getChildResources(IdcPersistenceManager.java:648)
    at oracle.jcr.impl.TransientLayer.getChildResources(TransientLayer.java:534)
    at oracle.jcr.impl.FolderNode.getNodes(FolderNode.java:116)
    at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:233)
    at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
    at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
    at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
    at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
    at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
    at java.lang.Thread.run(Thread.java:662)
Jul 4, 2012 12:38:56 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic listFolder
WARNING: Item Test#dCollectionID:-1 does not exist.
javax.naming.NameNotFoundException: Jul 4, 2012 12:38:56 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwNotFound
ALL: Item Test#dCollectionID:-1 does not exist.
 [Root exception is javax.jcr.PathNotFoundException: Could not list contents of folder with ID = dCollectionID:-1]
    at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwNotFound(AbstractRepositoryLogic.java:26)
    at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:241)
    at oracle.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
    at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
    at oracle.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
    at oracle.jdeveloper.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
    at oracle.jdeveloper.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
    at java.lang.Thread.run(Thread.java:662)
Caused by: javax.jcr.PathNotFoundException: Could not list contents of folder with ID = dCollectionID:-1
    at oracle.jcr.impl.ExceptionFactory.pathNotFound(ExceptionFactory.java:1016)
    at oracle.stellent.jcr.IdcPersistenceManager.listFolder(IdcPersistenceManager.java:704)
    at oracle.stellent.jcr.IdcPersistenceManager.getChildResources(IdcPersistenceManager.java:648)
    at oracle.jcr.impl.TransientLayer.getChildResources(TransientLayer.java:534)
    at oracle.jcr.impl.FolderNode.getNodes(FolderNode.java:116)
    at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:233)
    ... 6 more
Caused by: oracle.stellent.ridc.protocol.ServiceException: No service defined for COLLECTION_DISPLAY.
    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
    at oracle.stellent.jcr.IdcPersistenceManager.listFolder(IdcPersistenceManager.java:690)
    ... 10 more

It came because folder_g is disable on UCM server.Which should be enable if you are  creating the connection on jdeveloper.Moreover the folder_g is work as contribution folder where we can access the newly  checked in  file in UCM.

For making enable this folder i did following step

Step1:First login in UCM server



Step 2:Then click on Administrator tag

Step3:It will expends Administrator tag.Under Administrator tag click on Admin Server link.It will new page in new tag .




Step4:Click on advanced component manager click which is present under component manager headline

Step 5:It will show enable and disable component .First we need to disable FreamworkFolders 
 

So click on the FreamworkFolders  option which is coming in the Enabled Components list and then click on the disable button.

Step6:Then go to the Disable Component list and select the folder_g and click on the Enable button to make it Enable.

Step 7:After doing this you need to restart the server .
 After enable the folder_g i can see my checked in images under contribution folder of the my content connection.


Thanks,
Prateek

1 comment:

  1. Hi Prateek,

    can you please suggest us.
    we have a requirement not to use folder_g.
    what are the impact on our webcenter application.
    or is there is workaround for that.

    Thanks in advance,
    Sandy

    ReplyDelete