3 Replies Latest reply: Nov 14, 2012 2:27 AM by 961127 RSS

    Unable to get individual static rendition

    724967
      Hi All,

      I have set up oracle ucm 11g in my system,I am using oracle xe 11g db and I have successfully been able to configure DAM in my system.I am able to get all the renditions when I check in an image .

      My requirement is to get individual rendition i.e. a thumbnail,web,preview file.

      I have followed this article from Kyle.

      http://blogs.oracle.com/kyle/entry/enabling_access_to_static_rend.

      I have pasted 'RenditionListExportedForStaticAccess=Preview' in the config.cfg file of oracle content server.

      But When hitting the URL - http://localhost:16200/cs/idcplg?IdcService=CREATE_STATIC_RENDITION&dDocName=ANANDA000204&Rendition=Preview

      I am getting the error - Configuration error for request 'CREATE_STATIC_RENDITION'.No dynamic HTML page.The Full error trace is in the following.

      !csUserEventMessage,weblogic,localhost:16200!$!csNoDynamicPage,CREATE_STATIC_RENDITION
      intradoc.common.ServiceException: !csNoDynamicPage,CREATE_STATIC_RENDITION
      at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2071)
      at intradoc.server.Service.buildServiceException(Service.java:2207)
      at intradoc.server.Service.createServiceExceptionEx(Service.java:2201)
      at intradoc.server.Service.createServiceException(Service.java:2196)
      at intradoc.server.Service.determineResponsePage(Service.java:1391)
      at intradoc.server.Service.buildResponsePage(Service.java:1197)
      at intradoc.server.Service.doResponse(Service.java:2051)
      at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:788)
      at intradoc.server.Service.doRequest(Service.java:1865)
      at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
      at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
      at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1332)
      at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1678)
      at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:221)
      at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
      at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
      at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
      at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1592)
      at idcservlet.IdcFilter.doFilter(IdcFilter.java:330)
      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.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
      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)

      Also I need to generate rendition dynamically.Is it possible for an user to specify the renditions(i.e. thumbnail,preview) when checkin in a content?

      I have not found reference to any services which can cater the rendition from oracle content server.I need to get those renditions via service only so that I can invoke these services from my application.

      Need your help to proceed further.

      Regards,
      royinkol