Stellent / Content Server

Hi,
I'm an application developer that is new to content server. I'm trying to figure out a way to pull a transformed pdf by contentID into a web page. I'm having trouble decyphering where the physical doc is stored and how to download it to the users.
Web Location:      http://tkmscm99.domain.com/intranet/groups/public/@_public_intranet/documents/webcontent/p_165852.pdf
Sorry if this is already posted, I did multiple searches to no avail. Thanks in advance for your responses.

Are you using OCS WS API ? If so, you could do something like that:
It will find your file content based on its file name and location on the content server.
ManagersFactory lSession = etablirSession();
FileManager fileM = lSession.getFileManager();
Item workspace = fileM.resolvePath(emplacementDuFichierSurOCS, null);
Item file =
fileM.resolveRelativePath(workspace.getId(), nomDuFichierSurOCS, null);
FileContentManager fileContentM = lSession.getFileContentManager();
InputStream inStream = fileContentM.getContent(file.getId());
alternatively, if you only had the doc id (internal ocs id) you could use something such as:
FileContentManager fileContentM = lSession.getFileContentManager();
InputStream inStream = null;
try{               
inStream = fileContentM.getContent(identifiantDuFichier );
Hope this help!

Similar Messages

  • How to restrict read access to certain document in stellent content server

    Hi,
    We are using stellent content server to store project documents. We would like to restrict access to certain confidential documents.
    Users with Read / Write permission should not be able to access but admins with RWDA permission should be able to access these confidential documents.
    Appreciate your inputs on this.
    Thanks,
    Nayana

    Without seeing your setup and environment its a bit hard..
    But...
    Make sure that user has read only access to public security group.
    You could setup an addition role with readOnly access and apply it those users.
    Or restrict there account to have Read only access.
    Remember if the user has Admin access on the Account but only readonly access on the security group then they will only have read only access on the files and visa versa.. :)
    J.
    Message was edited by:
    JRS

  • How to install new instance on Stellent Content Server

    Hi All,
    I have installed Stellent Admin Server and Content Server with the instance name "idc".
    Now I want to install one more content server "idc1" on same Admin server.
    So is there any appropriate way to do this?
    Please let me know.
    Thanks & Regards,
    Vishal Shah

    Hi
    You can do it but there is one very critical exception to do it depending on the Webserver that you are using :
    1. Is you are using Sunone Webserver then you cannot install multiple instances of CS on the same webserver instance.
    And if using IIS then the only thing that you need to do on the webserver front is to restart the Webserver after the second instance is installed so that the webserver picks up the config entries made for the second instance's install.
    With Apache webserver you will have make the entry in the httpd.conf for the second instance as you had done for the first instance
    Eg for this is :
    This is my first instance:
    LoadModule IdcApacheAuth "D:/oracle/ucm/cs2/shared/os/win32/lib/IdcApache22Auth.dll"
    IdcUserDB cs2 "D:/oracle/ucm/cs2/data/users/userdb.txt"
    Alias /cs2 "D:/oracle/ucm/cs2/weblayout"
    <Location /cs2>
         Allow from all
         Order allow,deny
         DirectoryIndex portal.htm
         IdcSecurity cs2
    </Location>
    This is my second instance:
    LoadModule IdcApacheAuth D:/oracle/ucm/idc1/shared/os/win32/lib/IdcApache22Auth.dll
    IdcUserDB idc1 "D:/oracle/ucm/idc1/data/users/userdb.txt"
    Alias /idc1 "D:/oracle/ucm/idc1/weblayout"
    <Location /idc1>
    Order allow,deny
    Allow from all
    DirectoryIndex portal.htm
    IdcSecurity idc1
    </Location>
    Hope this helps
    Thanks
    Srinath

  • How to create custom java class in Content Server

    Hi All,
    I want to develop a custom java class (.class) file and upload in the UCM(Stellent Content Server). The problem is that I have to use some objects like DataResultSet, SharedObjects etc in my java class file. Since these class files resides in the Content Server I am not able to create a custom java class with these objects.
    Can any one help me to solve the above issue
    With thanks and regards
    Mohan

    Hey there,
    All of the core content server class files are included in a single jar file. This jar is in one of 2 places in the 10gr3 version of UCM:
    1. If you have an unpatched content server include $IntradocDir/shared/classes/server.zip in your classpath
    2. If you have a patched content server include $IntradocDir/custom/CS10gR35CoreUpdate/classes.jar in your classpath.
    In UCM 11g the jar file is located in %MIDDLEWARE_HOME%/Oracle_ECM1/ucm/idc/jlib/idcserver.jar
    P.S. Venkat is correct, post UCM specific questions in the ECM forum.
    Hope that helps,
    Andy Weaver - Senior Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw_OTN_WCS >

  • Creating custom Content Server Skin

    I have installed Oracle Content Server on my machine in order to create a demo. I would like to customise the skin of Content Server, in order to follow our company's style.
    I am following Brian Huff's book
    (The Definitive Guide to Stellent Content Server Development:
    http://books.google.com.au/books?id=TiUzMYbpg2MC&printsec=frontcover&dq=brian+huff+stellent#PPA144,M1 ),
    and to create a custom skin as a copy of an existing, have copied the folder:
    /weblayout/resources/layouts/Top Menus/Oracle
    renaming it to something like:
    /weblayout/resources/layouts/Top Menus/Amanda
    I then restart my content server, but this skin option does not seem to appear after choosing "Top Menus" for the layout, under the My Profile tab.
    Is there something I am missing out?
    Amanda.

    The process has changed somewhat for 10gr3. Check out the free "Create and Modify Layout" sample component for more help:
    http://www.oracle.com/technology/products/content-management/ucm/samples/index.html

  • Customize the appearance of Content Server pages with hcsf and idoc?

    I've read through the documentation here:
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e10807/c04_look_nav002.htm
    and can create a simple form using hcsf and idoc.
    Here's what I would really like to do:
    I would like to create very streamlined forms that support the following Content Server functions:
    1. Document Search
    2. Document Checkout
    3. New Document Add
    4. Display of Search results
    What I mean by streamlined is this: no tool bars of any kind, no decorations, just the bare minimum to support the above mentioned functions.
    My questions:
    Is this even possible?
    Are there examples of this anywhere?
    Is there further documentation about using hcsf and idoc to integrate with Content Server functions?
    Thanks in advance for your help,
    Dave

    Dave,
    try adding &coreContentOnly=1 to the end of the URL and see if that does the trick for you.
    This prevents the std_page_begin and std_page_end includes from being executed/displayed which removes the toolbars etc.
    Using profiles and rules you can control the rest of the search and checkin form layout and look/feel.
    If you really want to reproduce standard behavior with forms (e.g. for other specialized purposes) then take a look at Bex's book (http://www.amazon.com/Definitive-Stellent-Content-Server-Development/dp/1590596846)
    or talk to us at Fishbowl as forms and workflows are a specialty of ours - http://bit.ly/b2Ydv6
    we do special forms for business process centric work like BOMs, ECOs, CERs, Contract Management, CapEx etc...
    Warmly,
    Billy Cripe
    Fishbowl Solutions

  • Difference Between "Content Server" and "Content Services"

    Can someone tell me the difference between "Oracle Content Server" and "Oracle Content Services"? From my research, I get the sense that
    these are different products (and Oracle Content Services seems like it's an obsolete one), but I would like some confirmation.
    My apologies for the uber-newbie question :)

    Content Services is what you had with Content DB, Oracles old product.
    Content Server is the core engine of the UCM product, formerly Stellent Content Server.

  • Issues in connecting to Content Server through Stellent CIS

    Hi,
    I have installed CIS on Content Server 7.5. I have also installed the CIS adapaters on Weblogic Server. I am trying to connect to Stellent to search for content through these adapters from Weblogic server. I am able to connect to the sevrer, but getting the below error after connecting. Could any one please help?
    Event generated by user 'guest' at host 'CIS'. Unable to retrieve search results. Permission denied. Host '(null)' is not an allowable remote socket host. [ Details ]
    An error has occurred. The stack trace below shows more information. !csUserEventMessage,guest,CIS!$!csUnableToRetrieveSearchResults!csIncomingHostNotAllowed,(null) intradoc.common.ServiceException: !csUnableToRetrieveSearchResults!csIncomingHostNotAllowed,(null)
    at intradoc.server.Service.buildServiceException(Unknown Source)
    at intradoc.server.Service.createServiceExceptionEx(Unknown Source)
    at intradoc.server.Service.createServiceException(Unknown Source)
    at intradoc.server.ServiceSecurityImplementor.validateRemoteClientConnectionPrivilege(Unknown Source)
    at intradoc.server.ServiceSecurityImplementor.globalSecurityCheck(Unknown Source)
    at intradoc.upload.UploadSecurityImplementor.globalSecurityCheck(Unknown Source)
    at intradoc.server.Service.globalSecurityCheck(Unknown Source)
    at intradoc.server.Service.doRequest(Unknown Source)
    at intradoc.server.ServiceManager.processCommand(Unknown Source)
    at intradoc.server.IdcServerThread.run(Unknown Source)
    Caused by: intradoc.common.ServiceException: !csIncomingHostNotAllowed,(null)
    at intradoc.provider.SocketIncomingConnection.checkEnvironmentValueFilter(Unknown Source)
    at intradoc.provider.SocketIncomingConnection.checkRequestAllowed(Unknown Source)
    ... 7 more

    same issue as here:
    Re: Permission denied. Host '(null)' is not an allowable remote socket host.

  • API for interacting with the Content Server (formerly Stellent) repository.

    Is there any API out there that can be used to interact with the Content Server (formerly Stellent) repository? Where can I find the documentation?

    Hi Chris,
    I have downloaded CIS v8.0 to communicate with the UCM 10gR3 installed on a remote machine. I am able to search but whenever I try to checkin / checkout it throws a ClassCastException.
    I would like to know if you have any info on this. and I am working with Java.
    regards
    Ravi.

  • Unable to send email from content server

    Hi,
    I have a requirement of sending the notification email to user from the stellent when he subscribe to it.To test it i logged in to content server as sysadmin.
    Administration->Actions->Send test email.
    I had filled some dummy data and when i click on send it gives me a error
    Content Server Request Failed
    Unable to send email. Could not send mail message from [email protected] with subject line: Test email from Content Server.
    intradoc.common.ServiceException: !csMailCouldNotSend,[email protected],Test email from Content Server
         at intradoc.server.InternetFunctions.sendMailToEx(Unknown Source)
         at intradoc.server.SystemAuditHandler.sendEmail(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at intradoc.common.IdcMethodHolder.invokeMethod(Unknown Source)
         at intradoc.common.ClassHelperUtils.executeMethodReportStatus(Unknown Source)
         at intradoc.server.ServiceHandler.executeAction(Unknown Source)
         at intradoc.server.Service.doCodeEx(Unknown Source)
         at intradoc.server.Service.doCode(Unknown Source)
         at intradoc.server.ServiceRequestImplementor.doAction(Unknown Source)
         at intradoc.server.Service.doAction(Unknown Source)
         at intradoc.server.ServiceRequestImplementor.doActions(Unknown Source)
         at intradoc.server.Service.doActions(Unknown Source)
         at intradoc.server.ServiceRequestImplementor.executeActions(Unknown Source)
         at intradoc.server.Service.executeActions(Unknown Source)
         at intradoc.server.ServiceRequestImplementor.doRequest(Unknown Source)
         at intradoc.server.Service.doRequest(Unknown Source)
         at intradoc.server.ServiceManager.processCommand(Unknown Source)
         at intradoc.server.IdcServerThread.run(Unknown Source)
    Caused by: intradoc.common.ServiceException:
         at intradoc.common.SmtpClient.sendMail(Unknown Source)
         at intradoc.server.InternetFunctions.sendMail(Unknown Source)
         ... 21 more
    Caused by: java.lang.Exception: !csSMTPInvalidMessage,"System Administrator" <[email protected]>!csSMTPUnableToFindRecipients,1
         at intradoc.common.SmtpClient.writeMultiMsg(Unknown Source)
         ... 23 more
    Caused by: java.lang.Exception: !csSMTPResponseIndicatesFailure,550 5.7.1 Unable to relay for [email protected]
         at intradoc.common.SmtpClient.writeMsg(Unknown Source)
         ... 24 more
    I had set the internet configration in admin server to this values..
    HttpServerAddress=blrdxp-rchithul.corp.capgemini.com
    MailServer=BLREX002.corp.capgemini.com
    [email protected]
    SmtpPort=25
    HttpRelativeWebRoot=/idc/
    CgiFileName=idcplg
    UseSSL=No
    WebProxyAdminServer=true
    But i am still getting the error.kindly help me...
    Thanks in Advance
    Regards
    Rakesh

    Hi Rakesh,
    You have to request you Network team to add the ip address of the machine where you have installed content server to your Exchange Server.
    Let me know if it works.
    Deepak

  • Getting error in JDeveloper 11.1.1.6 after Connecting to Content server

    Hi,
    We are getting below error in JDeveloper 11.1.1.6 after getting "success" to connect content server. We are able to connect to content server but repository is not being loaded into JDeveloper and it gives below error.
    Please guide.
    Performing action Properties...[ from oracle.jdeveloper.appresources.ApplicationResourcesWindow ]
    oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic:May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic getItem
    WARNING: An error occurred while accessing the content repository.
    javax.naming.NamingException: May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
    ALL: An error occurred while accessing the content repository.
    [Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
         at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
         at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:145)
         at oracle.webcenter.content.internal.model.rc.ContentResource.init(ContentResource.java:219)
         at oracle.webcenter.content.internal.model.rc.ContentResource.getContentID(ContentResource.java:327)
         at oracle.webcenter.content.internal.model.rc.ContentResource.getResourceId(ContentResource.java:313)
         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.RepositoryException: Error communicating with Content Server.
         at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
         at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
         at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
         at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
         at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
         at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
         at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
         at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:125)
         ... 9 more
    oracle.webcenter.content.internal.model.rc.ContentResource:May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.ContentResource getContentID
    WARNING: An error occurred while accessing the content repository.
    javax.naming.NamingException: May 10, 2012 6:57:31 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
    ALL: An error occurred while accessing the content repository.
    [Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
         at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
         at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:145)
         at oracle.webcenter.content.internal.model.rc.ContentResource.init(ContentResource.java:219)
         at oracle.webcenter.content.internal.model.rc.ContentResource.getContentID(ContentResource.java:327)
         at oracle.webcenter.content.internal.model.rc.ContentResource.getResourceId(ContentResource.java:313)
         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.RepositoryException: Error communicating with Content Server.
         at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
         at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
         at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
         at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
         at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
         at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
         at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
         at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:125)
         ... 9 more
    oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic:May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic listFolder
    WARNING: An error occurred while accessing the content repository.
    javax.naming.NamingException: May 10, 2012 6:57:32 PM oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic throwGeneric
    ALL: An error occurred while accessing the content repository.
    [Root exception is javax.jcr.RepositoryException: Error communicating with Content Server.]
         at oracle.webcenter.content.internal.model.rc.AbstractRepositoryLogic.throwGeneric(AbstractRepositoryLogic.java:35)
         at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:249)
         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.RepositoryException: Error communicating with Content Server.
         at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:122)
         at oracle.stellent.jcr.IdcPersistenceManager.getRootNode(IdcPersistenceManager.java:971)
         at oracle.stellent.jcr.IdcPersistenceManager.getResourceByAbsolutePath(IdcPersistenceManager.java:529)
         at oracle.jcr.impl.TransientLayer.getResourceByRelativePath(TransientLayer.java:455)
         at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:1108)
         at oracle.jcr.impl.OracleSessionImpl.getItem(OracleSessionImpl.java:302)
         at oracle.webcenter.doclib.internal.model.JCRUtils.getNode(JCRUtils.java:55)
         at oracle.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:227)
         ... 6 more
    Performing action Refresh[ from oracle.jdeveloper.appresources.ApplicationResourcesWindow ]
    May 10, 2012 7:12:30 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)
    oracle.stellent.ridc.protocol.ServiceException: No service defined for COLLECTION_DISPLAY.
    o.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
    o.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
    o.stellent.jcr.IdcPersistenceManager.listFolder(IdcPersistenceManager.java:690)
    o.stellent.jcr.IdcPersistenceManager.getChildResources(IdcPersistenceManager.java:648)
    o.jcr.impl.TransientLayer.getChildResources(TransientLayer.java:534)
    o.jcr.impl.FolderNode.getNodes(FolderNode.java:116)
    o.webcenter.content.internal.model.rc.JCRRepositoryLogic.listFolder(JCRRepositoryLogic.java:233)
    o.webcenter.content.internal.model.rc.ContentDirContext.listInternal(ContentDirContext.java:326)
    o.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:303)
    o.webcenter.content.internal.model.rc.ContentDirContext.listBindings(ContentDirContext.java:297)
    o.j.rescat2.nodes.RepositoryRootNode.loadCache(RepositoryRootNode.java:147)
    o.j.rescat2.nodes.ExtendedGenericNode$1.run(ExtendedGenericNode.java:296)
    j.lang.Thread.run(Thread.java:662)
    Regards,
    Bhavesh

    Thanks Srinath.
    We have resolved the issue but we had to follow below steps as we were not able to see Folder_g in componet list.
    1. After login to content server, navigated to Admin Server.
    2. In Advanced component manager, we have updated component configuration with selecting Folder_g and press Update
    3. After that we followed the steps 2 and 3 as you mentioned.
    Regards,
    Bhavesh

  • Content Server can't find my native document

    I have inserted the default Dyanmic Conversion element into a Secondary Page Region in Site Studio. When I preview the page and try to Check out and Open the page I get this error message from MS Word.
    Could not open "http://[server name]/idc/idcplg/webdav/core/tip/TESTSTYLES/teststyles
    Where TESTSTYLES is the content ID and teststyles is the name of the native docuument.
    Can someone please tell me what I've set up wrong and how to fix this?

    So basically the checkoutandopen component needs to be loaded after folders and webdav?
    I am having the same problem and have tried to uninstall (gave error message but still removed it) and then reinstalling.
    I'm also seeing this error message in the content server log -
    Event generated by user 'higginj_a' at host 'stellent'. Unable to execute service GET_ENVIRONMENT and function loadEnvironment.
    (System Error: The column 'key' does not exist in this table.) [ Details ]
    An error has occurred. The stack trace below shows more information. !csUserEventMessage,higginj_a,stellent!$!csServiceDataException,GET_ENVIRONMENT,loadEnvironment!$!csSystemError,\!syColumnDoesNotExist\,key intradoc.common.ServiceException: !csServiceDataException,GET_ENVIRONMENT,loadEnvironment!$!csSystemError,\!syColumnDoesNotExist\,key
    at intradoc.server.Service.buildServiceException(Service.java:2312)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2228)
    at intradoc.server.Service.createServiceException(Service.java:2223)
    at intradoc.server.Service.doAction(Service.java:646)
    at intradoc.server.Service.doActions(Service.java:425)
    at intradoc.server.Service.doRequest(Service.java:1860)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:350)
    at intradoc.server.IdcServerThread.run(Unknown Source)
    Caused by: intradoc.data.DataException: !syColumnDoesNotExist,key
    at intradoc.data.ResultSetUtils.createInfoList(ResultSetUtils.java:230)
    at intradoc.data.ResultSetUtils.createFilteredStringTableEx(ResultSetUtils.java:111)
    at intradoc.data.ResultSetUtils.createFilteredStringTable(ResultSetUtils.java:54)
    at intradoc.data.ResultSetUtils.findValueEx(ResultSetUtils.java:351)
    at intradoc.data.ResultSetUtils.findValue(ResultSetUtils.java:310)
    at collections.HelperHandler.loadEnvironment(HelperHandler.java:876)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(Unknown Source)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(Unknown Source)
    at intradoc.server.ServiceHandler.executeAction(Unknown Source)
    at intradoc.server.Service.doCodeEx(Service.java:674)
    at intradoc.server.Service.doCode(Service.java:656)
    at intradoc.server.Service.doAction(Service.java:580)
    ... 4 more

  • Oracle Content Server Security with Web Center Suite

    Hi all
    I've configured Oracle Content Server (UCM) to integrate with WebCenter Spaces (WCS). The document service works on a user's personal page but fails on group spaces and when I troll the logs I find the following error:
    <WCS-07006> <run-time error obtaining content repository oracle.webcenter.doclib.internal.view.DoclibJCRException: repository error
    Caused By: javax.jcr.ItemNotFoundException: Unable to get folder info for dCollectionID = 288463355527000401
    Caused By: oracle.stellent.ridc.protocol.ServiceException: Unable to display virtual folder information. Cannot read folder.
    I am using a socket connection, not web or SSL.
    UCM is on an external server and not on the same machine as WCS.
    UCM is 11g and WCS 11g patchset 2. Yes I know UCM 11g is not "officially" supported to integrate with WCS until patchset 3, but others have gotten it to work, so I'd like to do the same.
    On UCM machine OHS (from web tier utilities) is installed and comfigured.
    httpd.conf edited as per requirement.
    config.cfg and intradoc.cfg edited as per requirement.
    Admin user on UCM has admin and sysmanager rights.
    I think this may be because the UCM uses the internal default LDAP first (i.e. it is first on the list of providers) because it does not have an admin user in the external LDAP. So even though in the service connection I specify the UCM admin i think it must also be able to find this user in the external LDAP on the WCS side.
    I am currently having trouble figuring out how to give an external LDAP user the same permissions on UCM as that which the default internal LDAP admin user has, so that I can use that external LDAP user in the services connection setup instead.
    With WCS under the Fusionware EM is simply added an external LDAP user to the domain for the webcenter section, but for UCM I'm not sure where the appropriate place is to add such a user.
    I am also not 100% sure if this is actually the issue.
    Any advice will be greatly appreciated!
    Thanks!
    If it helps:
    run-time error obtaining content repository[[
    oracle.webcenter.doclib.internal.view.DoclibJCRException: Repository error
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:106)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.processFilters(WebCenterLocaleWrapperFilter.java:288)
    at oracle.webcenter.webcenterapp.internal.view.webapp.WebCenterLocaleWrapperFilter.doFilter(WebCenterLocaleWrapperFilter.java:177)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.jcr.ItemNotFoundException: Unable to get folder info for dCollectionID = 288463355527000403
    at oracle.jcr.impl.ExceptionFactory.itemNotFound(ExceptionFactory.java:587)
    at oracle.stellent.jcr.IdcPersistenceManager.getResourceByUUID(IdcPersistenceManager.java:433)
    at oracle.jcr.impl.TransientLayer.getResourceByUUID(TransientLayer.java:323)
    at oracle.jcr.impl.OracleSessionImpl.getNodeByUUID(OracleSessionImpl.java:279)
    at oracle.webcenter.doclib.internal.view.JCRRepositoryLogic.getNode(JCRRepositoryLogic.java:178)
    at oracle.webcenter.doclib.internal.view.JCRRepositoryLogic.getItem(JCRRepositoryLogic.java:849)
    ... 90 more
    Caused by: oracle.stellent.ridc.protocol.ServiceException: Unable to display virtual folder information. Cannot read folder.
    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:116)
    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:92)
    at oracle.stellent.jcr.IdcPersistenceManager.getResourceByUUID(IdcPersistenceManager.java:421)
    ... 94 more

    Hi, Thanks for response.
    1. I have created default webcenter project application.
    2. Created content repository connection using File System..
    3. Created new page using default Template.
    4. Drag drop Document List Viewer TaskFlow and setup the content server connection.
    5. After running the application , i can see list of documents link in page..
    6. But When I click on any link ..browser automaically close..
    7.On server console I am getting above mentioned error..
    I am using jdev 11.1.1.5 and running on internal weblogic server...
    Thanks
    Naresh

  • Error executing CIS APIs on content server

    Hi I am trying to execute the client samples that came with the CIS jarfiles. All the files are getting terminated with this error..
    oracle.stellent.ridc.protocol.ProtocolException:java.io.IOException: Input terminated before being able to read line
    the error is in the getResponseAsBinder method call.
    I am using eclipse to execute these class files...
    Plz let me know if I am missing some imp configurations etc.
    Regards
    Jo

    Hey jogeo,
    Are you getting any errors in your content server logs? Or in the Server System Output?
    I've seen a similarly vague error from the CIS api's when either my content server wasn't running, the conneciton to the content server db had timed out, or I didn't have my SocketHostAddressSecurityFilter set correctly in config.cfg.
    If you could post any errors from the two places I mentioned above we could probably narrow down the issue.
    Andy Weaver - Senior Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw >

  • How to check file is exists  in specified path in content server or not

    i m using JDevloper 11.1.1.6.0
    I want to upload file using RIDC functions,but before uploading it i have to check wheather it is already present on specified path in content server or not.
    How i check it.

    I tried to write a (simpler) version of my own code:
        public static Results CheckInToFolder(File f) {
            // create the binder
            DataBinder checkinDoc = idcClient.createBinder();
            // populate the binder with the parameters
            checkinDoc.putLocal("IdcService", "CHECKIN_UNIVERSAL");
            checkinDoc.putLocal("dDocTitle",
                                "Document checked in through RIDC at " +
                                new Date());
            checkinDoc.putLocal("dDocType", "Document");
            checkinDoc.putLocal("dDocAccount", "");
            checkinDoc.putLocal("dSecurityGroup", "Public");
            checkinDoc.putLocal("dCollectionID", "909964822906001607");
            // add a file
            // execute the request
            try {
                checkinDoc.addFile("primaryFile", f);
            } catch (IOException e) {
                myExecutable.logEvent("File" + f.getName() + " not found.");
                return null;
            ServiceResponse checkinResponse;
            try {
                checkinResponse = idcClient.sendRequest(userContext, checkinDoc);
                myExecutable.logEvent("Check-in successful. Size:" + f.length() + " bytes");
            catch (oracle.stellent.ridc.protocol.ServiceException e) {
                            myExecutable.logEvent("ServiceException");
                            e.printStackTrace();
                            return null;   
            catch (IdcClientException e) {
                myExecutable.logEvent("Check-in failed.");
                e.printStackTrace();
                return null;
            DataBinder checkinData;
            try {
                checkinData = checkinResponse.getResponseAsBinder();
                Results res =
                    new Results(checkinData.getLocal("dID"), checkinData.getLocal("dDocName"));
                myExecutable.logEvent("Successfully got response - dID is " +
                                      res.getDID() + ", dDocName is " +
                                      res.getDDocName());
                return res;
            catch (oracle.stellent.ridc.protocol.ServiceException e) {
                            myExecutable.logEvent("ServiceException2");
                            //e.printStackTrace();
                            return null;   
            catch (IdcClientException e) {
                myExecutable.logEvent("Unable to get response.");
                e.printStackTrace();
            return null;
        }What I'm getting is this:
    Mon Aug 13 14:51:29 CEST 2012 0ms: Started
    Mon Aug 13 14:51:29 CEST 2012 57ms: Connection to idc://192.168.44.129:4444 successfully established.
    Mon Aug 13 14:51:29 CEST 2012 102ms: Check-in successful. Size:702 bytes
    Mon Aug 13 14:51:29 CEST 2012 5ms: ServiceException2
    Mon Aug 13 14:51:29 CEST 2012 0ms: Finished
    This means:
    a) it does, indeed, return the exception (oracle.stellent.ridc.protocol.ServiceException)
    b) you could use this mechanism for your code
    c) it is, indeed, primaryFile.name what's being checked
    I will also take a look at the other service to perform the check prior to check-in service call.

Maybe you are looking for