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

Wednesday, July 4, 2012

Configuring Installer DisableNtfs8dot3 in window 7

"The weblayout directory is on a filesystem with 8dot3 semantics. Legacy 16-bit 8dot3 filenames conflict with revision labels and will cause file loss. Disable 8dot3 semantics by running "Installer DisableNtfs8dot3" and then restarting Windows.":--

 After installing  UCM 11 g when i opened the UCM admin login url which is http://localhost:16200/cs i saw above alert in each individual page.


For removing above alert i have done changes on the Registry value of window 7.The problem occurred because of window 7.We need to modify value of  NtfsDisable8dot3NameCreation .This alert message problem will come if you install UCM on window 7.

I did following step to remove above alert message.

Step1:open run and type regedit and open it will open the Registry editor.


Step2:Click on HKEY_LOCAL_MACHINE -->Then System --->then CurrentControlSet-->Then Control --->Then File System

Step3:It will open all the value of file system on right hand side .

Step4:Double Click on NtfsDisable8dot3NameCreation
By default the value date contain 2 make it 1.

Step 5:Do not forget to restart the system.


Thanks
Prateek