Ridc chickin_universal issue

Dears,
i'm trying to check in new xml file using ridc it throws the following error
oracle.stellent.ridc.protocol.ServiceException: Content item 'test16' was not successfully checked in. The primary file does not exist.
     at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:116)
     at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:92)
     at com.vodafone.portal.ridc.UCMRidcService.checkInNew(UCMRidcService.java:290)
code
client = clientManager.createClient(idcConnectionURL);
               IdcContext userContext = new IdcContext(username, password);
               DataBinder dataBinder = client.createBinder();
               dataBinder.putLocal("IdcService", "CHECKIN_UNIVERSAL");
               dataBinder.putLocal("dDocName", "test16");
               dataBinder.putLocal("dDocTitle", "test information");
               dataBinder.putLocal("dSecurityGroup", "VFE_Marketing");
               dataBinder.putLocal("dDocType", "vfe_dataFile");
               dataBinder.putLocal("dFormat", "Application/xml");
               dataBinder.putLocal("IsOverrideFormat", "1");
          File f = new File("c:/bea/blank.xml");
               if(f.exists()){
               dataBinder.addFile("blank.xml", f);
                    dataBinder.putLocal("primaryFile","c:/bea/blank.xml");
                    dataBinder.putLocal("doFileCopy", "1");
               ServiceResponse response = client.sendRequest(userContext,
                         dataBinder);
               DataBinder responseData = response.getResponseAsBinder();
please help

Folloiwng error getting while check-in the file using RIDC API (ridc-client 10g) ,Kindly let help to fix
oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line.
     at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:120)
     at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:92)
     at RIDCCheckIn.main(RIDCCheckIn.java:36)
Caused by: java.io.IOException: Input terminated before being able to read line.
     at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readLine(HdaBinderSerializer.java:356)
     at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readToEnd(HdaBinderSerializer.java:320)
     at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:150)
     at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:57)
     at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:109)
     ... 2 more
My standalone program code is below (using elipse to run the program in windows operating system)
import java.io.File;
import java.io.IOException;
import oracle.stellent.ridc.IdcClient;
import oracle.stellent.ridc.IdcClientException;
import oracle.stellent.ridc.IdcClientManager;
import oracle.stellent.ridc.IdcContext;
import oracle.stellent.ridc.model.DataBinder;
import oracle.stellent.ridc.protocol.ServiceResponse;
public class RIDCCheckIn {
     * @param args
     public static void main(String[] args) {
          // TODO Auto-generated method stub
try{
     IdcClientManager manager = new IdcClientManager();
     IdcClient client = manager.createClient("http://localhost:16200/cs/login/login.htm");
     IdcContext userContext = new IdcContext("weblogic", "weblogic1");
     DataBinder dataBinder = client.createBinder();
     dataBinder.putLocal("IdcService", "CHECKIN_UNIVERSAL");
     dataBinder.putLocal("IsAutoNumber", "1");
     //dataBinder.putLocal("dDocName","TestRIDCCheck");
     dataBinder.putLocal("dDocTitle", "d");
     dataBinder.putLocal("dDocType", "ADACCT");
     dataBinder.putLocal("dDocAccount", "");
     dataBinder.putLocal("dSecurityGroup", "Public");
     dataBinder.putLocal("doFileCopy","FALSE");
     dataBinder.addFile("primaryFile", new File("D:\\Test01.txt"));
     System.out.println("****addfile******"+dataBinder.getFileNames());
     ServiceResponse response = client.sendRequest(userContext,
               dataBinder);
               DataBinder responseData = response.getResponseAsBinder();
catch(IdcClientException e)
     System.out.println("&&&&&we are in exception block IdcClientException&&&&&&");
     e.printStackTrace();
     System.out.println("over");
catch(IOException e1)
     System.out.println("&&&&&we are in exception block IOException&&&&&&");
     e1.printStackTrace();
     System.out.println("over");
Thank you in advance
Regards
Varaprasad

Similar Messages

  • OAF-UCM integration - Issue in deploying RIDC.jar to EBS server

    Hi ,
    We are doing OAF-UCM integration with followng business scenario and need your help urgently.
    Business Scenario :
    We have custom OAF pages with OA train and and in one train link we have added 'managed attachment' button to open UCM page to add documents to DM server .
    We are successfully able to do integration of OAF to UCM , that is we are able to open UCM page on clicking Managed attachment button.Business agreed that OAF and UCM are two different applications so after transaction is completed in  UCM, at OAF we have refresh button which user has to clicked explicitly to pull document metadata ( lilke PDF URL etc) to OAF pages.
    This is data needs to stored in EBS tables as well , to achive the same we are using RIDC mechanism to PULL the data stored corresponding on 1 unique metadata.
    I m successfully able to integrate the PULL( Sychnonizaton) of data on click on refersh button of OAF page. RIDC ( UCM version 11g) is correctly configured in Jdev10g and working fine on local oc4j server,
    Problem :
    When this RIDC is jar is deployed in EBS server  I m getting following error -
    Request URI:/OA_HTML/OA.jsp
    Exception:
    java.lang.NoClassDefFoundError: oracle/stellent/ridc/IdcClientException
    We have added RIDC jar(actual physical path is =/APPS/XXXXXXX/common/java/)   file name in jserv.properties and also added in CLASS PATH
    # Custom classpath
    wrapper.classpath=/APPS/XXXXXXX/common/java/oracle.ucm.ridc-11.1.1.jar
    Appreciate if some can provide pointers how to deploy this external jar file (RIDC.jar) and avoid this error.
    Many Thanks ,
    Ashish

    Ok, Figured out the issue,
    Values in the OAF_AXF_CMD_PARAMS table was not matching with the actual attributes on the OAF pages. The four values
    Entity Name, Primary Key, View Object and Attributes are to be entered for each page where we are intending to have the MA button.
    Thanks,
    Rajiv.

  • RIDC metadata update issue!!

    Hi,
    The content metadata is updated using the RIDC API from the program. I am passing DID,DDOCNAME as variables for the UPDATE_DOCINFO service. In the content server log the following error is thrown for most of the contents.
    Error:
    The revision with internal ID 1234 of content item Test123 is supposedly the latest revision but is marked as an old revision. This error is a report only and will not modify behavior. An inconsistency was discovered while looking at the possibility of doing workflow action META_UPDATE performed by user sysadmin. Exception type is 'java.lang.Throwable'.
    Could you please help me to resolve this issue.

    Hi Jonathan,
    Please find the error trace below.
    Log Trace:
    The revision with internal ID 1234 of content item Test123 is supposedly the latest revision but is marked as an old revision. This error is a report only and will not modify behavior. An inconsistency was discovered while looking at the possibility of doing workflow action META_UPDATE performed by user sysadmin. Exception type is 'java.lang.Throwable'.
    An error has occurred. The stack trace below shows more information.
    !$linux123: !csWorkflowLatestRevMarkedAsOldRev,Test123,1234!csWorkflowConsistencyIssueWhenDoingActionByUser,META_UPDATE,sysadmin!syExceptionType,java.lang.Throwable
    java.lang.Throwable
         at intradoc.common.IdcLogWriter.doMessageAppend(IdcLogWriter.java:80)
         at intradoc.common.Log.addMessage(Log.java:270)
         at intradoc.common.Log.errorEx2(Log.java:218)
         at intradoc.common.LoggingUtils.logMessage(LoggingUtils.java:99)
         at intradoc.common.SystemUtils.reportErrorEx(SystemUtils.java:555)
         at intradoc.common.SystemUtils.errEx(SystemUtils.java:640)
         at intradoc.common.SystemUtils.err(SystemUtils.java:631)
         at intradoc.server.workflow.WorkflowStates.handleSpecialOldRevisionState(WorkflowStates.java:812)
         at intradoc.server.workflow.WorkflowStates.advanceDocumentStateImplement(WorkflowStates.java:577)
         at intradoc.server.workflow.WorkflowStates.advanceDocumentState(WorkflowStates.java:518)
         at intradoc.server.DocStateTransition.advanceDocumentState(DocStateTransition.java:74)
         at intradoc.server.DocServiceHandler.advanceDocumentStateSimple(DocServiceHandler.java:4234)
         at intradoc.server.DocServiceHandler.advanceDocumentState(DocServiceHandler.java:4209)
         at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
         at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
         at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
         at intradoc.server.Service.doCodeEx(Service.java:490)
         at intradoc.server.Service.doCode(Service.java:472)
         at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
         at intradoc.server.Service.doAction(Service.java:452)
         at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
         at intradoc.server.Service.doActions(Service.java:447)
         at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1071)
         at intradoc.server.Service.executeSubServiceCode(Service.java:3497)
         at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:942)
         at intradoc.server.Service.executeServiceEx(Service.java:3492)
         at intradoc.server.Service.executeService(Service.java:3476)
         at intradoc.server.DocServiceHandler.doSubserviceIfMetafile(DocServiceHandler.java:4614)
         at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
         at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
         at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
         at intradoc.server.Service.doCodeEx(Service.java:490)
         at intradoc.server.Service.doCode(Service.java:472)
         at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
         at intradoc.server.Service.doAction(Service.java:452)
         at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
         at intradoc.server.Service.doActions(Service.java:447)
         at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1071)
         at intradoc.server.Service.executeSubServiceCode(Service.java:3497)
         at helper.HelperService.executeSubServiceCode(HelperService.java:1812)
         at helper.HelperService.executeSubservice(HelperService.java:1648)
         at helper.HelperService.superService(HelperService.java:1553)
         at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
         at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:279)
         at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:264)
         at intradoc.server.Service.doCodeEx(Service.java:507)
         at intradoc.server.Service.doCode(Service.java:472)
         at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
         at intradoc.server.Service.doAction(Service.java:452)
         at helper.HelperService.doAction(HelperService.java:757)
         at helper.HelperService.doActions10g(HelperService.java:383)
         at helper.HelperService.doActions(HelperService.java:119)
         at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1071)
         at intradoc.server.Service.executeSubServiceCode(Service.java:3497)
         at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:942)
         at intradoc.server.Service.executeServiceEx(Service.java:3492)
         at intradoc.server.Service.executeService(Service.java:3476)
         at intradoc.server.Service.doSubService(Service.java:3465)
         at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
         at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:279)
         at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:264)
         at intradoc.server.Service.doCodeEx(Service.java:507)
         at intradoc.server.Service.doCode(Service.java:472)
         at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
         at intradoc.server.Service.doAction(Service.java:452)
         at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
         at intradoc.server.Service.doActions(Service.java:447)
         at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1121)
         at intradoc.server.Service.executeActions(Service.java:433)
         at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:635)
         at intradoc.server.Service.doRequest(Service.java:1707)
         at intradoc.server.ServiceManager.processCommand(ServiceManager.java:359)
         at intradoc.server.IdcServerThread.run(IdcServerThread.java:197)
    Please help me to resolve this issue.

  • RIDC check in the file name encoding issue

    Hi,
    When I use the RIDC to upload the chinese file name, the native file field become ??.pdf.
    TransferFile tf = new TransferFile(new File("c:/中文.pdf"), "application/pdf");
    dataBinder.addFile("primaryFile", tf);
    Thanks!

    This is rather a Java than RIDC question.
    Check these links, maybe you will find something useful:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4185525
    http://stackoverflow.com/questions/3610013/file-listfiles-mangles-unicode-names-with-jdk-6-unicode-normalization-issues

  • Content retrieved through RIDC after add/edit/delete is not updated

    Hi
    There is a functionality such that a user is shown the content details like folder name and content under the folder name to be displayed on the portal.
    Basically, the metadata of the folder and content need to be displayed and add/edit/delete operations need to be available for the user.
    So any updates performed on the UCM content from the portal need to be updated on the UCM.
    To enable this functionality made use of the RIDC API. Everything as to content display, add/edit/delete operations are all working fine and getting updated on the UCM front also.
    But the issue is that after these operations being performed the user needs to be displayed updated content information on the portal. But while trying to retrieve the results using SEARCH RIDC Service, results are fetching the old data and hence the content information displayed on the page is also stale.
    While trying to hit the URL again i.e. a new request then the updated contents get dispalyed.
    Can anybody tell me what could be the issue? I am unable to understand the issue.
    All this has been done using taskflows.
    Thanks

    Hi ,
    Most probably the content is not indexed in the interval when it is updated and then retrieved with search call . As a test , recreate the issue and then open UCM Web UI - Content Information (of the content updated / searched ) - check the Status value for the latest revision .
    Most likely it will be in Done status (if no conversion is being used) .
    Second time when you the actual correct data shows up then check the Status and there it would be in Released status .
    I believe that you are trying to search / display the content even before the new version is indexed and made available for search .
    Thanks
    Srinath

  • Error while CHECK IN oracle.stellent.ridc.protocol.ServiceException:

    When I try to check-in using IDC Service CHECKIN_UNIVERSAL, I get the foll. error :
    oracle.stellent.ridc.protocol.ServiceException: Unable to execute service CHECKIN_UNIVERSAL and function Imeta. The error was caused by an internally generated issue. The error has been logged.
    at oracle.stellent.ridc.protocol.ServiceException:getResponseAsBinder (ServiceResponse.java:116)
    at oracle.stellent.ridc.protocol.ServiceException:getResponseAsBinder (ServiceResponse.java:92)

    Hi Srinath,
    I have RIDC calls from a Java file. I'm passing parameters from JSP to Java File.
    Below are two methods ( initFromArgs, checkinUCM ) I use in my Java File - UCMCall.java :
    public void initFromArgs(String[] args) throws IdcClientException {
    String idcConURL = args[0];
    setClientManager(new IdcClientManager());
    setClient(getClientManager().createClient(idcConURL));
    if (args.length > 2) {
    String username = args[1];
    String password = args[2];
    setUserContext(new IdcContext(username,password));
    } else if (args.length > 1) {
    String username = args[1];
    setUserContext(new IdcContext(username));
    } else {
    setUserContext(new IdcContext());
    public DataBinder checkinUCM (String sInputParams[]) throws IdcClientException {
    IdcClient Client = getClient();
    DataBinder dataBinder = client.createBinder();
    dataBinder.putLocal("IdcService","CHECKIN_UNIVERSAL");
    dataBinder.putLocal("dDocTitle",sInputParams[0]);
    dataBinder.putLocal("dSecurityGroup",sInputParams[1]);
    dataBinder.putLocal("dDocAccount",sInputParams[2]);
    dataBinder.putLocal("dDocType",sInputParams[3]);
    dataBinder.putLocal("dDocName",sInputParams[4]);
    dataBinder.putLocal("xProfileTrigger",sInputParams[5]);
    try {
    dataBinder.addFile("primaryFile",new File("E:/abc.txt"));
    dataBinder.putLocal("doFileCopy","1");
    ServiceResponse response = client.sendRequest(getUserContext(),dataBinder);
    responseData = response.getResponseAsBinder();
    catch (Exception e)
    e.printStackTrace();
    return responseData;
    From my JSP, I'm calling as :
    <jsp:useBean id="UCMCall" class="com.company.UCMCall"/>
    argument[0]="http://sweshv.company.com:81/intranet_contrib/idcplg";
    argument[1]="username";
    argument[0]="password";
    UCMCall.initFromArgs(argument);
    String sInputParam[]={"","","","","","",""};
    String sAssetDet[]={"","",""};
    String sLocalFile = "d:/FileInput.txt";
    BufferedReader br = new BufferedReader ( new FileReader(sLocalFile));
    StringTokenizer st = null;
    int tokenNumber = 0;
    DataBinder binder;
    while ( (sLocalFile = br.readLine()) !=null )
    st = new StringTokenizer(sLocalFile, ",");
    while (st.hasMoreTokens())
    sAssetDet[tokenNumber]=st.nextToken();
    tokenNumber++;
    tokenNumber = 0;
    sInputParam[0]=sAssetDet[0];
    sInputParam[1]="SecurityGroup";
    sInputParam[2]="DocAccount";
    sInputParam[3]="DocType";
    sInputParam[4]=sAssetDet[1];
    sInputParam[5]=sAssetDet[2];
    binder = UCMCall.checkinUCM(sInputParam);
    out.println("Status : "+binder.getLocal("StatusMessage"));
    Please let me know your comments
    Regards,
    Hari
    Edited by: CoolHari on Jun 11, 2011 10:25 PM
    Edited by: CoolHari on Jun 13, 2011 3:45 AM

  • IPM server Repository error issue..

    Hi All,
    We are using Invoice gateway for one opf our projects.
    I could able to scan the hard copy and cretae a bacth.
    OFR is creting the pdf, xml and txt file out of the scanned copy and keep it in a folder, so that IPM process them from then on.
    Once IPM processes it and invoke BPEL for further action.
    But IPM is throwig me the below error:
    [2012-05-09T15:32:49.785+05:30] [IPM_server1] [ERROR] [TCM-00162] [oracle.imaging.agents] [tid: [ACTIVE].ExecuteThread: '2' f
    or queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JSkzo^l5Ifs6wjZf6G1FeZj900000E,0] [APP: i
    maging] [dcid: f05c270b0bae50db:-392a3bea:13730f9cd54:-7ff2-0000000000000d86] Failed to load Batch for new filing.
    [2012-05-09T15:32:49.793+05:30] [IPM_server1] [ERROR] [TCM-00157] [oracle.imaging.agents] [tid: [ACTIVE].ExecuteThread: '2' f
    or queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JSkzo^l5Ifs6wjZf6G1FeZj900000E,0] [APP: i
    maging] [dcid: f05c270b0bae50db:-392a3bea:13730f9cd54:-7ff2-0000000000000d86] [arg: /u03/oracle/Middleware/user_projects/doma
    ins/BBECM_DOMAIN/IPM/InputAgent/Input/Stage/TestCase_Invoice_316_204_09052012.txt] An error occurred filing file /u03/oracle/
    Middleware/user_projects/domains/BBECM_DOMAIN/IPM/InputAgent/Input/Stage/TestCase_Invoice_316_204_09052012.txt.[[
    oracle.imaging.ImagingException: TCM-00787: A repository error occurred.
    faultType: SYSTEM
    faultDetails:
    ErrorCode = oracle.stellent.ridc.protocol.ServiceException, ErrorMessage = Unable to execute service IPM_LIST_IMAGI
    NG_AGENTS and function QuserSecurityAttributeByType.
    The error was caused by an internally generated issue. The error has been logged.
    at oracle.imaging.repository.ucm.UcmErrors.convertRepositoryError(UcmErrors.java:128)
    at oracle.imaging.repository.ucm.UcmAgentUserManager.getAgents(UcmAgentUserManager.java:77)
    at oracle.imaging.repository.ucm.UcmAgentUserManager.ensureAgentUserPermissions(UcmAgentUserManager.java:29)
    at oracle.imaging.repository.ucm.UcmRepositoryManager.connect(UcmRepositoryManager.java:411)
    at oracle.imaging.repository.RepositoryManagerFactory.getInstance(RepositoryManagerFactory.java:172)
    at oracle.imaging.repository.RepositoryManagerFactory.getInstance(RepositoryManagerFactory.java:57)
    at oracle.imaging.repository.RepositoryManagerFactory.getInstance(RepositoryManagerFactory.java:91)
    at oracle.imaging.application.ApplicationServiceImpl.getSingleApplication(ApplicationServiceImpl.java:516)
    at oracle.imaging.application.ApplicationServiceImpl.getSingleApplication(ApplicationServiceImpl.java:467)
    at oracle.imaging.application.ApplicationServiceImpl.getApplication(ApplicationServiceImpl.java:348)
    at oracle.imaging.batch.BatchServiceImpl.loadApplication(BatchServiceImpl.java:348)
    at oracle.imaging.batch.BatchServiceImpl.createBatch(BatchServiceImpl.java:70)
    at oracle.imaging.inputagent.InputFilingMDB.loadBatch(InputFilingMDB.java:404)
    at oracle.imaging.inputagent.InputFilingMDB.initializeFiling(InputFilingMDB.java:371)
    at oracle.imaging.inputagent.InputFilingMDB.onMessage(InputFilingMDB.java:166)
    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:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    nvocation.java:182)
    n.java:149)
    tionInterceptor.java:131)
    nInterceptor.java:119)
    n.java:171)
    ptor.java:89)
    n.java:171)
    tionInterceptor.java:131)
    nInterceptor.java:119)
    n.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy242.onMessage(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    erSecurityAttributeByType.
    The error was caused by an internally generated issue. The error has been logged.
    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:125)
    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:101)
    at oracle.imaging.repository.ucm.UcmResponse.<init>(UcmResponse.java:66)
    at oracle.imaging.repository.ucm.UcmRequest.makeOneServiceCall(UcmRequest.java:397)
    at oracle.imaging.repository.ucm.UcmRequest.makeServiceCall(UcmRequest.java:219)
    at oracle.imaging.repository.ucm.UcmAgentUserManager.getAgents(UcmAgentUserManager.java:65)
    ... 41 more
    Can anyone please let me know the solution for the this repository error issue.
    I bounsed the IPM server, but it didnt resolve the problem.
    Thanks in advance
    Chandru

    This seems to be an error due to mapping from IPM. It can be more clear if the text file and screen shot of work flow mapping is uploaded.
    Regards,
    Vikrant Korde

  • After running ridc to checkin file into Oracle Content Center Server there is error: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line

    Hi,
       I use ridc to check in file into Oracle Center Content server. There is no problem at the beginning. But after running for several days, there is following error.
    I must restart my program to solve this issue.
       Can anyone help me solve this problem?
    Thanks,
    Tony
    2013-07-11 12:24:31,189 ERROR [BatchEventHandler] com.edocs.common.api.integration.contmgmt.ContentException: oracle.stellent.ridc.protocol.ProtocolEx
    ception: java.io.IOException: Input terminated before being able to read line
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:95)
            at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:284)
            at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:138)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:156)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:68)
            at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
            at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:149)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:81)
            ... 17 more
    Caused by: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readLine(HdaBinderSerializer.java:371)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readToEnd(HdaBinderSerializer.java:335)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:165)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:71)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:126)
            ... 19 more
    2013-07-11 12:24:33,005 ERROR [BatchEventHandler] com.edocs.common.api.integration.contmgmt.ContentException: oracle.stellent.ridc.protocol.ProtocolEx
    ception: java.io.IOException: Input terminated before being able to read line
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:95)
            at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:284)
            at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:138)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:156)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:68)
            at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
            at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:149)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:81)
            ... 17 more
    Caused by: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readLine(HdaBinderSerializer.java:371)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readToEnd(HdaBinderSerializer.java:335)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:165)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:71)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:126)
            ... 19 more
    2013-07-11 12:24:37,870 ERROR [BatchEventHandler] com.edocs.common.api.integration.contmgmt.ContentException: oracle.stellent.ridc.protocol.ProtocolEx
    ception: java.io.IOException: Input terminated before being able to read line
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:95)
            at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:284)
            at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:138)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:156)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:68)
            at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
            at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:149)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:81)
            ... 17 more
    Caused by: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readLine(HdaBinderSerializer.java:371)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readToEnd(HdaBinderSerializer.java:335)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:165)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:71)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:126)
            ... 19 more
    2013-07-11 12:24:39,722 ERROR [BatchEventHandler] com.edocs.common.api.integration.contmgmt.ContentException: oracle.stellent.ridc.protocol.ProtocolEx
    ception: java.io.IOException: Input terminated before being able to read line
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:95)
            at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:284)
            at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:138)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:156)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:68)
            at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
            at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:149)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:81)
            ... 17 more
    Caused by: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readLine(HdaBinderSerializer.java:371)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readToEnd(HdaBinderSerializer.java:335)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:165)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:71)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:126)
            ... 19 more

    The following is my testing code.
    package ebilling;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.security.SecureRandom;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Calendar;
    import java.util.List;
    import java.util.Properties;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.ThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    import oracle.stellent.ridc.IdcClient;
    import oracle.stellent.ridc.IdcClientManager;
    import oracle.stellent.ridc.IdcContext;
    import oracle.stellent.ridc.model.DataBinder;
    import oracle.stellent.ridc.model.DataObject;
    import oracle.stellent.ridc.model.DataResultSet;
    import oracle.stellent.ridc.model.TransferFile;
    import oracle.stellent.ridc.protocol.ServiceResponse;
    import org.apache.commons.lang.StringUtils;
    public class UCMContentManager {
         * Check in a file into a Oracle WebCenter Content Server and return content id of uploaded content item in Oracle WebCenter Content Server.    
         * @param properties        The Oracle WebCenter Content Server connection properties.
         * @param contentFile       This file will be checked in a Oracle WebCenter Content Server.
         * @param path              The location path of checked in file in Oracle WebCenter Content Server. This path includes the file name.<br>
         *                             For example, "/folder1/folder2/file1.txt". The "file1.txt" is the file name part. <br>
         *                             The file name will be used as dDocName in Oracle WebCenter Server. It must be unique.<br>
         * @throws ContentException The exception when uploading file into Oracle WebCenter Content Server.
         * @return                  The content id of uploaded content item in Oracle WebCenter Content Server.
        public String saveContent(Properties properties, File contentFile, String path) throws ContentException{
            if(path.endsWith(SLASH)) {
                throw new ContentException("Require file name in Content Management Server");
            if(!path.startsWith(SLASH)) {
                throw new ContentException("The file store path in Content Management Server should be absolute.");
            if (path.indexOf("//") != -1) {
                path = path.replace("//", SLASH);
            String[] paths = path.split(SLASH);       
            String[] parents = new String[paths.length - 1];
            String itemName = paths[paths.length-1];
            System.arraycopy(paths, 0, parents, 0, paths.length-1);
            ServiceResponse response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                //create the parent folders if they don't exist
                String folderGUID = makeFolders(properties, parents);
                //check in the file
                DataBinder requestData = client.createBinder();
                requestData.putLocal("IdcService", "CHECKIN_UNIVERSAL");
                requestData.putLocal("IsJava", "1");
                requestData.putLocal("dDocName", itemName);           
                requestData.putLocal("dDocTitle", itemName);           
                requestData.putLocal("dDocType", "Binary");
                requestData.putLocal("dSecurityGroup", "Public");
                requestData.addFile("primaryFile", new TransferFile(contentFile));
                response = client.sendRequest(connectionContext, requestData);           
                DataBinder responseData = response.getResponseAsBinder();
                //String did = responseData.getLocal("dID");           
                String dDocname = responseData.getLocal("dDocName");
                closeResponse(response);
                //link the file in a folder
                requestData = client.createBinder();
                requestData.putLocal("IdcService", "FLD_CREATE_FILE");
                requestData.putLocal("fParentGUID", folderGUID);
                String fileType = "owner";
                requestData.putLocal("fFileType", fileType);           
                requestData.putLocal("dDocName", dDocname);           
                response = client.sendRequest(connectionContext, requestData);
                return dDocname;
            } catch (Throwable e) {
                throw new ContentException(e);
            } finally{
                closeResponse(response);
        public void deleteContent(Properties properties, String contentId) throws ContentException{
            List<String> didList = getDIds(properties, contentId);
            contentId = contentId.toUpperCase();
            ServiceResponse    response = null;
            try {           
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                DataBinder requestData = null;
                for(int i=0; i<didList.size(); i++) {
                    String did = didList.get(i);
                    requestData = client.createBinder();
                    requestData.putLocal("IdcService", "DELETE_DOC");
                    requestData.putLocal("dDocName", contentId);               
                    requestData.putLocal("dID", did);   
                    response = client.sendRequest(connectionContext, requestData);
                    closeResponse(response);
                    //delete parent folder
    //                try {
    //                    requestData = client.createBinder();           
    //                    requestData.putLocal("IdcService", "FLD_DELETE");       
    //                    requestData.putLocal("item1", "path:" + parentPath);
    //                    requestData.putLocal("constructDialog", "1");
    //                    response = client.sendRequest(connectionContext, requestData);
    //                } catch (Exception e) {
    //                    // TODO: handle exception
            } catch (Exception e) {
                throw new ContentException(e);
            } finally {
                closeResponse(response);
        public int getFileCountInFolder(Properties properties, String path) throws ContentException{
            ServiceResponse    response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                DataBinder binder = client.createBinder();
                binder.putLocal("IdcService", "FLD_BROWSE");
                binder.putLocal("path", path);
                response = client.sendRequest(connectionContext, binder);
                DataBinder result = response.getResponseAsBinder();
                String num = result.getLocal("numFiles");
                return Integer.parseInt(num);
            catch (Exception e) {
                throw new ContentException(e);
            } finally {
                closeResponse(response);
        private String getFolderGUID(Properties properties, String path) throws ContentException {
            ServiceResponse    response = null;       
            String tmpFolderGUID = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;   
                DataBinder requestData = client.createBinder();
                requestData.putLocal("IdcService", "FLD_INFO");
                requestData.putLocal("path", path);       
                response = client.sendRequest(connectionContext,
                        requestData);
                DataResultSet result = response.getResponseAsBinder().getResultSet("FolderInfo");
                tmpFolderGUID = result.getRows().get(0).get("fFolderGUID")
                    .toString();
                if(StringUtils.isBlank(tmpFolderGUID))
                    tmpFolderGUID = null;           
            } catch (Exception e) {               
            } finally {
                closeResponse(response);
            return tmpFolderGUID;
        public boolean deleteFolder(Properties properties, String path) throws ContentException {
            if(getFolderGUID(properties, path)==null)       
                return false;
            int fileCount = getFileCountInFolder(properties, path);
            ServiceResponse    response = null;
            if(fileCount==0) {
                try {
                    IdcClientManager manager = new IdcClientManager();
                    IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                    client.getConfig().setProperty ("http.library", "apache4");
                    String user = properties.getProperty(USERNAME_PROPERTY);
                    String pwd = properties.getProperty(PASSWORD_PROPERTY);
                    IdcContext connectionContext = new IdcContext(user, pwd);
                    pwd = null;               
                    DataBinder binder = client.createBinder();   
                    binder.putLocal("IdcService", "FLD_DELETE");       
                    binder.putLocal("item1", "path:" + path);
                    binder.putLocal("constructDialog", "1");
                    response = client.sendRequest(connectionContext, binder);
                    return true;
                catch (Exception e) {
                    throw new ContentException(e);
                } finally {
                    closeResponse(response);
            } else {
                return false;
        private String buildPath(String[] arr, int i) {
            StringBuilder buf = new StringBuilder();
            for(int j=0; j<=i; j++) {
                buf.append(arr[j]);
                buf.append(SLASH);
            return buf.toString();
        private String makeFolders(Properties properties, String[] paths) throws ContentException{
            String folderGUID = "";
            ServiceResponse response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                String parentFolderGUID = null;
                for(int i=0; i<paths.length; i++) {
                    String fullPath = buildPath(paths, i);
                    DataBinder requestData = null;                   
                    parentFolderGUID = folderGUID;
                    folderGUID = getFolderGUID(properties, fullPath);
                    boolean exists = folderGUID!=null;
                    DataResultSet result = null;               
                    if(!exists) {
                        //create new folder
                        try {
                            requestData = client.createBinder();                   
                            requestData.putLocal("IdcService", "FLD_CREATE_FOLDER");
                            requestData.putLocal("fParentGUID", parentFolderGUID);
                            requestData.putLocal("fFolderName", paths[i]);
                            response = client.sendRequest(connectionContext, requestData);
                        } finally {
                            closeResponse(response);
                        //retrieve folderGUID of new folder
                        folderGUID = getFolderGUID(properties, fullPath);                   
            } catch (Throwable e) {
                throw new ContentException(e);
            } finally{
                closeResponse(response);
            return folderGUID;
        public List<String> getDIds(Properties properties, String contentId) throws ContentException{
            contentId = contentId.toUpperCase();
            List<String> didList = new ArrayList<String>();
            ServiceResponse    response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                DataBinder requestData = null;
                requestData = client.createBinder();
                requestData.putLocal("IdcService", "GET_SEARCH_RESULTS");
                requestData.putLocal("SortField", "dInDate");
                requestData.putLocal("SortType", "DESC");
                requestData.putLocal("QueryText", "dDocName <matches> `" + contentId +"`");
                response = client.sendRequest(connectionContext, requestData);
                DataBinder result = response.getResponseAsBinder();
                DataResultSet resultSet = result.getResultSet("SearchResults");
                for (DataObject dataObject : resultSet.getRows()) {
    //                System.out.println("ID : " + dataObject.get("dID")+" dDocName : "
    //                        + dataObject.get("dDocName") + " Title : " + dataObject.get("dDocTitle")
    //                        + " Author : " + dataObject.get("dDocAuthor") + " Security Group : "
    //                        + dataObject.get("dSecurityGroup"));
                    String did = dataObject.get("dID");
                    didList.add(did);
                    //break;
            } catch (Exception e) {
                throw new ContentException(e);
            } finally{
                closeResponse(response);
            return didList;
         * Get the file content represented by contentId from a Oracle WebCenter Content Server.
         * The return value is the input stream of retrieved file content.
         * @param properties        The Oracle WebCenter Content Server connection properties.
         * @param contentId         The Content ID for the content item in Oracle WebCenter Content Server.
         * @throws ContentException The exception when retrieving content from Oracle WebCenter Content Server.
         * @return                  The input stream of retrieved file content.
        public InputStream retrieveContent(Properties properties, String contentId) throws ContentException{
            try {
                return new FileInputStream(retrieveContentFile(properties, contentId));
            } catch (Throwable e) {
                throw new ContentException(e);
        public File retrieveContentFile(Properties properties, String contentId) throws ContentException {
            contentId = contentId.toUpperCase();
            ServiceResponse response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                DataBinder binder = client.createBinder();
                binder.putLocal("IdcService", "GET_FILE");
                //binder.putLocal("dID", dID);
                binder.putLocal("dDocName", contentId);
                binder.putLocal("RevisionSelectionMethod", "Latest");
                response = client.sendRequest(connectionContext, binder);
                InputStream in = null;
                OutputStream out = null;
                String edxhome = System.getProperty("edx.home");
                File tmpParent = new File(edxhome);
                tmpParent = new File(tmpParent, "Output");
                tmpParent = new File(tmpParent, "tmp");
                tmpParent.mkdirs();
                File tmpFile = File.createTempFile("down_", "_ucm", tmpParent);
                tmpFile.deleteOnExit();
                try {
                    in = response.getResponseStream();
                    out = new FileOutputStream(tmpFile);
                    byte[] buf = new byte[1024];
                    int read = -1;
                    while((read = in.read(buf))!=-1) {
                        out.write(buf, 0, read);
                } finally{
                    try {
                        if(in!=null)
                            in.close();
                    } catch (Exception e2) {
                    try {
                        if(out!=null)
                            out.close();
                    } catch (Exception e2) {
                return tmpFile;
            } catch (Throwable e) {
                throw new ContentException(e);
            } finally{
                closeResponse(response);
        private void closeResponse(ServiceResponse response) {
            if(response!=null) {
                try {
                    response.close();
                } catch (Exception e) {
        private static final String SLASH = "/";   
        private static final String URL_PROPERTY = "contentServerURL";
        private static final String USERNAME_PROPERTY = "contentServerUser";
        private static final String PASSWORD_PROPERTY = "contentServerPassword";
        static volatile boolean flag = false;
        static class UploadTask implements Runnable{
            public void run() {           
                try {
                    while(!flag) {
                        UCMContentManager manager = new UCMContentManager();
                        Properties properties = new Properties();
                        properties.put(URL_PROPERTY, "https://slc402124:16201/cs/idcplg");
                        properties.put(USERNAME_PROPERTY, "weblogic");
                        properties.put(PASSWORD_PROPERTY, "weblogic1");
                        File contentFile = new File("C:/toding/mypro/UCM/test.txt");
                        String parentPath = "/new/test/multiThreadUpload/";
                        String location = makePath(parentPath);
                        manager.saveContent(properties, contentFile, location);
                        System.out.println(location);
                        Thread.sleep(5000);
                } catch (Exception e) {
                    e.printStackTrace();
                    flag = true;
        public static void main(String[] args) throws Exception{
            ThreadPoolExecutor executor = new ThreadPoolExecutor(10, 10, 60, TimeUnit.SECONDS,
                     new LinkedBlockingQueue<Runnable>());
            for(int i=0; i<10; i++) {
                 UploadTask uploadTask = new UploadTask();
                 executor.execute(uploadTask);
            while(!flag) {
                Thread.sleep(5000);
            executor.shutdown();
        public static String makePath(String parentPath) {
            StringBuilder buf = new StringBuilder();
            buf.append(parentPath);
            if(!parentPath.endsWith("/")) {
                buf.append("/");
            Calendar rightNow = Calendar.getInstance();
            String pattern = "yyyyMMdd";
            SimpleDateFormat simDateForm = new SimpleDateFormat(pattern);
            String dateStr = simDateForm.format((rightNow).getTime());       
            pattern = "HHmmssSSS";
            simDateForm = new SimpleDateFormat(pattern);
            String timeStr = simDateForm.format((rightNow).getTime());
            buf.append(dateStr);
            buf.append("/");
            buf.append(timeStr);
            buf.append("_");
            buf.append(random.nextInt(10000));
            String finalLocation = buf.toString();
            return finalLocation;
        private static SecureRandom random = new SecureRandom();

  • Performance improvement using RIDC

    Hi all,
    which one is faster to get the images??
    Actually i am using RIDC to get the folder information ,once i got it i m passing docId to the GetFileById webservice to get the image/File object..THis is bit slow...can give any other suggestions to improve my performance.
    below is my code for ur reference..
    //To get the folder information
    IdcClientManager manager = new IdcClientManager();
    IdcClient idcClient = manager
    .createClient(ucmUrl);
    IdcContext userContext = new IdcContext(ucmUserName,ucmPassword);
    DataBinder dataBinder = idcClient.createBinder();
    dataBinder.putLocal("IdcService", "COLLECTION_GET_CONTENTS");
    dataBinder.putLocal("hasCollectionPath", "true");
    dataBinder.putLocal("dCollectionPath", folderPath);
    ServiceResponse response = idcClient.sendRequest(userContext,
    dataBinder);
    DataBinder serverBinder = response.getResponseAsBinder();
    DataResultSet resultSet = serverBinder.getResultSet("CONTENTS");
    if (resultSet != null) {
    for (DataObject dataObject1 : resultSet.getRows()) {
    String fileId = dataObject1.get("dID");
    //Calling web service to get the blob data etc..
    GetFileByID request = objFactory.createGetFileByID();
    request.setDID(new Integer(fileId));
    request.setRendition("Primary");
    soapAct = new SoapActionCallback(soapAction);
    //call the
    resp = (GetFileByIDResponse) webServiceTemplate
    .marshalSendAndReceive(request, soapAct);
    //Response
    fileResponse = resp.getGetFileByIDResult();
    //Once got the file data,displaying blob data in the web page etc...
    }

    Why not do a search:
    public String getURL(String docName)
            DataBinder binder = idcClient.createBinder();
            binder.putLocal("IdcService", "GET_SEARCH_RESULTS");
            binder.putLocal("QueryText", "dDocName <matches> `" + docName + "`");
            binder.putLocal("ResultCount", "1");
            ServiceResponse response =
                idcClient.sendRequest(new IdcContext(ucmContext.getUsername(),
                                                     ucmContext.getPassword()),
                                      binder);
            DataBinder serverBinder = response.getResponseAsBinder();
            binder = response.getResponseAsBinder();
            DataResultSet resultSet = binder.getResultSet("SearchResults");
           for (DataObject dataObject : resultSet.getRows()) {
                 return dataObject.get("WebfilePath");
            } You can use the return value in an <img> tag. This is the fastest way to do and does not give any performance issues. I also use a similiar technique in one of my projects and it works great.

  • WebCenter Spaces UCM configuration - GET_ENVIRONMENT service call issue

    After installing and configuring UCM, then WebCenter Spaces, the startup of WebCenter should create a content folder in UCM. However the connectivity between WebCenter and UCM causes an error in the log files:
    On the UCM-side:
    <Nov 9, 2011 2:35:11 PM HKT> <Error> <oracle.ucm.idcibr> <UCM-CS-000001> <general exception
    intradoc.common.ServiceException: !csUnableToLoadEnvironment2!csUnableToExecMethod,loadEnvironmentVars
         at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    Caused By: java.lang.NullPointerException
         at intradoc.common.TableUtils.getIndexList(TableUtils.java:34)
    On the WebCenter-side:
    <Nov 9, 2011 2:35:11 PM HKT> <Warning> <oracle.webcenter.content.integration.spi.ucm.UCMBridge> <WCS-55028> <Error calling UCM server associated with repository UCMConnection. The service GET_ENVIRONMENT was called with user weblogic at time 11/9/11 2:35 PM, and returned statuscode -32.
    oracle.stellent.ridc.protocol.ServiceException: Unable to load environment. Unable to execute service method 'loadEnvironmentVars'. The error was caused by an internally generated issue. The error has been logged.
         at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:135)
    I did some 'sniffing' of the socket requests between the two and here they are:
    WebCenter sends:
    REMOTE_USER=weblogic
    USER-AGENT=Java; Stellent CIS 11g; Oracle WebCenter 11g
    CONTENT_TYPE=text/html
    HEADER_ENCODING=UTF-8
    REQUEST_METHOD=POST
    CONTENT_LENGTH=204
    HTTP_HOST=CIS
    $$$$
    NoHttpHeaders=0&IsJava=1&IdcService=GET_ENVIRONMENT
    <?hda jcharset=UTF-8?>
    @Properties LocalData
    ClientEncoding=UTF-8
    IdcService=GET_ENVIRONMENT
    UserTimeZone=UTC
    UserDateFormat=iso8601
    ThreadID=15
    @end
    UCM replies with:
    Content-type: text/plain; charset=utf-8
    Content-Length: 531
    <?hda version="11gR1-11.1.1.5.0-idcprod1-110413T184243" jcharset=UTF8 encoding=utf-8?>
    @Properties LocalData
    StatusCode=-32
    blFieldTypes=StatusMessage message
    IdcService=GET_ENVIRONMENT
    ClientEncoding=UTF-8
    UserTimeZone=UTC
    UserDateFormat=iso8601
    NoHttpHeaders=0
    ThreadID=15
    StatusMessage=Unable to load environment. Unable to execute service method 'loadEnvironmentVars'. The error was caused by an internally generated issue. The error has been logged.
    dUser=weblogic
    blDateFormat=yyyy-MM-dd HH:mm:ssZ!tUTC!mAM,PM
    IsJava=1
    @end
    Thanks in advance for any insight into this issue.
    Edited by: Snowy on Nov 9, 2011 12:45 AM

    It turns out, the "Intradoc ServerPort" was not set in UCM. In Enterprise Manager: Content Server: Oracle Universal Content Management: Configuration, it was blank. As soon as I set this to "4444" and restarted it fixed this error.
    I'd like to thank all who contributed.

  • RIDC over SSL | Unable to initialize SSL incoming socket provider.

    I'm trying to enable SSL for RIDC. But I'm facing issues in configuring a sslincoming provider.
    I followed the steps mentioned here http://download.oracle.com/docs/cd/E21764_01/doc.1111/e10807/c09_ridc.htm#CIHBGHEG .
    Used the below commands to create the keystores:
    Create Keystore--
    keytool -genkey -alias SecureClient -keyalg RSA -keystore keys/clientkeystore.jks -dname "cn=au.com.XXXXXX" -keypass idcidc -storepass idcidc
    keytool -genkey -alias SecureServer -keyalg RSA -keystore keys/serverkeystore.jks -dname "cn=au.com.XXXXXX" -keypass idcidc -storepass idcidc
    Self sign--
    keytool -selfcert -alias SecureClient -keystore keys/clientkeystore.jks -keypass idcidc -storepass idcidc
    keytool -selfcert -alias SecureServer -keystore keys/serverkeystore.jks -keypass idcidc -storepass idcidc
    Export --
    keytool -export -alias SecureClient -file keys/client_cert.cer -keystore keys/clientkeystore.jks -storepass idcidc
    keytool -export -alias SecureServer -file keys/server_cert.cer -keystore keys/serverkeystore.jks -storepass idcidc
    Import --
    keytool -import -alias SecureClient -file keys/client_cert.cer -keystore keys/serverkeystore.jks -storepass idcidc
    keytool -import -alias SecureServer -file keys/server_cert.cer -keystore keys/clientkeystore.jks -storepass idcidc
    When I start the UCM server I see the following error:
    javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.
         at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.checkEnabledSuites(SSLServerSocketImpl.java:310)
         at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:255)
         at intradoc.provider.SocketIncomingProvider.accept(SocketIncomingProvider.java:390)
         at intradoc.provider.SocketIncomingProvider$1.run(SocketIncomingProvider.java:283)
         at java.lang.Thread.run(Thread.java:662)
    Please could you tell me what is wrong or let me know the correct steps. I am trying to setup a test connection between my RIDC client and the content server.
    Thanks.

    This is related network issue.
    Did you do telnet in pi server with target system ip and port?
    If you use https then you need to install certificates.
    Check below threads
    http://scn.sap.com/thread/190299
    Unable to create socket error

  • Creation of folder structure using RIDC code

    Hi,
    Can anyone help me out in creating a folder structure in UCM using RIDC code by using IDC services.
    When i am trying to create folder in UCM i am getting this error :oracle.stellent.ridc.protocol.ServiceException: Unable to display virtual folder information. Unable to open folder.
    my snippet is given below:
    public boolean createSubmission(String journalName,
    String submissionID) throws Exception {
    IdcClientManager manager = new IdcClientManager();
    IdcClient idcClient;
    try {
    idcClient = manager.createClient("idc://localhost:4444");
    IdcContext userContext = new IdcContext("weblogic", "welcome1");
    String PATH="/Contribution Folders";
    DataBinder dataBinder = idcClient.createBinder();
    dataBinder.putLocal("IdcService", "COLLECTION_NEW");
    dataBinder.putLocal("hasParentCollectionID", "true");
    dataBinder.putLocal("dCollectionName", submissionID);
    dataBinder.putLocal("dParentCollectionID",this.getFolderIdFromPath(idcClient,userContext,PATH +"/"+journalName));
    dataBinder.putLocal("dCollectionOwner", "sysadmin");
    ServiceResponse response =idcClient.sendRequest(userContext, dataBinder);
    DataBinder serverBinder = response.getResponseAsBinder();
    System.out.println("dCollectionID.... "+serverBinder.getLocal("dCollectionID"));
    } catch (IdcClientException e) {
    e.printStackTrace();
    return false;
    private String getFolderIdFromPath(IdcClient idcClient,
    IdcContext userContext, String path) {
    String folderId = null;
    // Long folderId =0L;
    try {
    DataBinder dataBinder = idcClient.createBinder();
    dataBinder.putLocal("IdcService", "COLLECTION_INFO");
    dataBinder.putLocal("hasCollectionPath", "true");
    dataBinder.putLocal("dCollectionPath", path);
    ServiceResponse response =
    idcClient.sendRequest(userContext, dataBinder);
    DataBinder serverBinder = response.getResponseAsBinder();
    DataResultSet resultSet = serverBinder.getResultSet("PATH");
    DataObject dataObject =
    resultSet.getRows().get(resultSet.getRows().size() - 1);
    folderId = dataObject.get("dCollectionID");
    System.out.println("folderId... "+folderId);
    } catch (IdcClientException e) {
    e.printStackTrace();
    return folderId;
    Thanks in advance.

    Hi,
    Is your problem solved??
    please share solution..
    I am facing same issue..
    While running custom code for creating virtual folder.
    public class createFolders
        public createFolders ()
            super();
        storedValue obj=new storedValue();
        public String name=null;
      private String getFolderIdFromPath(IdcClient idcClient,
       IdcContext userContext, String path) {
       String folderId = null;
       // Long folderId =0L;
       try {
       DataBinder dataBinder = idcClient.createBinder();
       dataBinder.putLocal("IdcService", "COLLECTION_INFO");
       dataBinder.putLocal("hasCollectionPath", "true");
       dataBinder.putLocal("dCollectionPath", path);
       ServiceResponse response =
       idcClient.sendRequest(userContext, dataBinder);
       DataBinder serverBinder = response.getResponseAsBinder();
       DataResultSet resultSet = serverBinder.getResultSet("PATH");
       DataObject dataObject =
       resultSet.getRows().get(resultSet.getRows().size() - 1);
       folderId = dataObject.get("dCollectionID");
       System.out.println("folderId... "+folderId);
       } catch (IdcClientException e) {
       e.printStackTrace();
      return folderId;
      public void createchild1(String folderName)
           try
               if(!(obj.getProject()==null))
               IdcClientManager clientManager1 = new IdcClientManager();
               IdcClient client1 =clientManager1.createClient("idc://localhost:4444");
               IdcContext userContext1 = new IdcContext("weblogic", "welcome1");
               if (!(userContext1 == null))
                   DataBinder binder1 = client1.createBinder();
                   client1.sendRequest(userContext1 , binder1);
              String PATH;
              PATH = "/Contribution Folders/IDFC" +"/"+folderName;
              System.out.println(PATH);
                   binder1.putLocal("dSecurityGroup", "Public");
                   binder1.putLocal("dOwner", "weblogic");
                   binder1.putLocal("IdcService", "COLLECTION_ADD");
                 binder1.putLocal("HAS_COLLECTION_PATH", "true");
                 binder1.putLocal("hasParentCollectionID", "true");
                 //binder.putLocal("dCollectionInherit","0");
                 String id = this.getFolderIdFromPath(client1,userContext1,PATH);
                 System.out.println("ID: " + id);
                 binder1.putLocal("dParentCollectionID", this.getFolderIdFromPath(client1,userContext1,PATH)); 
                   binder1.putLocal("DCOLLECTIONNAME", obj.getProject());
                   System.out.println("FolderName" + obj.getProject());
                   System.out.println("userContext is:" + userContext1);
                   System.out.println("dataBinder is:" + binder1);
                   ServiceResponse resp1 = client1.sendRequest(userContext1, binder1);
                   System.out.println("response is:" + resp1);
                   DataBinder serverBinder = resp1.getResponseAsBinder();
               catch (Exception ex)
               ex.printStackTrace();
    I am getting following error..
    !csUserEventMessage,weblogic,CIS!$!csCollectionUnableToCreateCollection!csCollectionFolderHasNoName
    intradoc.common.ServiceException: !csCollectionUnableToCreateCollection!csCollectionFolderHasNoName
    *ScriptStack COLLECTION_ADD
    3:addCollectionInCollection,**no captured values**
            at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
            at intradoc.server.Service.buildServiceException(Service.java:2326)
            at intradoc.server.Service.createServiceExceptionEx(Service.java:2320)
            at collections.CollectionUserHandler.addCollectionInCollection(CollectionUserHandler.java:638)
            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:597)
            at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
            at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
            at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
            at intradoc.server.Service.doCodeEx(Service.java:603)
            at intradoc.server.Service.doCode(Service.java:575)
            at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
            at intradoc.server.Service.doAction(Service.java:547)
            at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
            at intradoc.server.Service.doActions(Service.java:542)
            at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
            at intradoc.server.Service.executeActions(Service.java:528)
            at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
            at intradoc.server.Service.doRequest(Service.java:1956)
            at intradoc.server.ServiceManager.processCommand(ServiceManager.java:437)
            at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
            at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Any help is appreciated...
    Thanks in advance

  • How to convert localization strings returned from RIDC calls?

    I'm using the RIDC API to extract some data from UCM, but I'm running into issues where some values returned from service calls are the actual localization strings ("wwDocTypeDesc_Application" for example), not their translated values.
    Is there a service or method I can use to translate the strings? Something that evaluates IdocScript perhaps?

    Hey Mike,
    Please refer the following link.
    http://www.corecontentonly.com/index.php/2008/09/16/executing-idocscript-from-java-page-merger/
    looks like customization is the way forward from here. Just create a custom service, call your default ucm service from withing and before you pass on results fetch the required variable and send back.
    I know this is something that should have been taken care be them.
    cheers,
    swapnil

  • Issue with UCM connection

    Hi All,
    I have a portal application developed in ADF 11g R1.
    Webcenter updates and UCM connection already existed in my application earlier.
    But, suddenly, webcenter updates and UCM connection are not seen. Through "Check for updates" option, I have upgraded the webcenter updates back and in my Resource pallete I am able to see Webcenter Portal - Framework Catalog and Webcenter Portal - Servces Catalog.
    Now, the issue is, when I tried to create the UCM connection under "Application resources" by right clicking Connection->New Connection, I am not able to see "Content Repository" item, hence I clicked "RIDC" and tried to create the connection with the same name "UCM". When I click "Test Connection", it was success. But, when I click "OK", i got a message that "Connection with UCM already exists". But I am not able to see under "Connections".
    Please let me know how can I get back the "UCM" connection under "Connections".
    Please help me out :(
    Thanks, & Regards
    Sneha

    If old version (6.40)
    SSO ticket expired, Cannot create ClientWindow, JS error
    SAP Note Number: 825149
    Newer:
    JCO Pool Viewer Tool for SSO Expiration Problem
    SAP Note Number: 1130191
    Look for "System received an expired SSO ticket":
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/ep/pointers%252bfor%252btroubleshooting%252bportal%252bruntime%252berrors
    Also here:
    /message/2113929#2113929 [original link is broken]
    Regards,
    Slava

  • New DVR Issues (First Run, Channel Switching, etc.)

    I've spent the last 30 minutes trying to find answers through the search with no luck, so sorry if I missed something.
    I recently switched to FIOS from RCN cable in New York.  I've gone through trying to setup my DVR and am running into issues and was hoping for some answers.
    1.  I setup two programs to record at 8PM, I was watching another channel at the time and only half paying attention.  Around 8:02 I noticed a message had popped up asking if I would like to switch channels to start recording.  I was expecting it to force it to switch like my old DVR, but in this case it didn't switch and I missed the first two minutes of one of the shows.  I typically leave my DVR on all day and just turn off the TV, this dual show handling will cause issues with that if I forget to turn off the DVR.  Is there a setting I can change that will force the DVR to choose one of the recording channels?
    2.  I setup all my recordings for "First Run" because I only want to see the new episodes.  One show I setup was The Daily Show on comedy central, which is shown weeknights at 11pm and repeated 3-4 times throughout the day.  My scheduled recordings is showing all these as planned recordings even though only the 11pm show is really "new".  Most of the shows I've setup are once a week so they aren't a problem, but this seems like it will quickly fill my DVR.  Any fixes?
    Thanks for the help.
    Solved!
    Go to Solution.

    I came from RCN about a year ago.  Fios is different in several ways, not all of them desirable.  Here are several ways to get--and fix--unwanted recordings from a series recording setup.
    Some general principles. 
    Saving changes.  When you originally create a series with options, or if you go back to edit the options for an existing series, You MUST save the Series Options changes.  Pretty much everywhere else in the user interface, when you change an option, the change takes effect immediately--but not in Series Options.  Look at the Series Options window.  Look at the far right side.  There is a vertical "Save" bar, which you must navigate to and click OK on to actually save your changes.  Exiting the Series Options window without having first saved your changes loses all your attempted changes--immediately.
    Default Series Options.  This is accessed  from [Menu]--DVR--Settings--Default Series Options.  This will bring up the series options that will automatically be applied to the creation of a NEW series. The options for every previously created series will not be affected by a subsequent modification of the Default Series Options.  You should set these options to the way you would like them to be for the majority of series recordings that you are likely to create.  Be sure to SAVE your changes.  This is what you will get when you select "Create Series Recording" from the Guide.  When creating a new series recording where you think that you may want options different from the default, select "Create Series with Options" instead.  Series Options can always be changed for any individual series set up later--but not for all series at once.
    Non-series recordings.  With Fios you have no directly available options for these.  With RCN and most other DVRs, you can change the start and end times for individual episodes, including individual episodes that are also in a series.  With Fios, your workarounds are to create a series with options for a single program, then delete the series later;  change the series options if the program is already in a series, then undo the changes you made to the series options later; or schedule recordings of the preceding and/or following shows as needed.
    And now, to the unwanted repeats. 
    First, make sure your series options for the specific series in question--and not just the series default options--include "First Run Only".  If not, fix that and SAVE.  Then check you results by viewing the current options using the Series Manager app under the DVR menu.
    Second, and most annoying, the Guide can have repeat programs on your channel tagged as "New".  It happens.  Set the series option "Air Time" to "Selected Time".  To make this work correctly, you must have set up the original series recording after selecting the program in the Guide at the exact time of a first run showing (11pm, in your case), and not on a repeat entry in the Guide.  Then, even it The Daily Show is tagged as New for repeat showings, these will be ignored. 
    Third, another channel may air reruns of the program in your series recording, and the first showing of a rerun episode on the other channel may be tagged as "New".  These can be ignored in your series if you set the series option "Channel" to "Selected Channel".  Related to this, if there is both an SD and HD channel broadcasting you series program, you will record them both if the series option "Duplicates" is set to "Yes".  However, when the Channel option is set to "Selected Channel", the Duplicates Option is always effectively "No", regardless of what shows up on the options screen.  
    As for you missing two minutes,  I have sereral instances in which two programs start recording at the same time.  To the best of my recollection, whenever the warning message has appeared, ignoring it has not caused a loss of recording time.  You might have an older software version.  Newest is v.1.8.  Look at Menu--Settings--System Info.  Or, I might not have noticed the loss of minutes.  I regularly see up to a minute of previous programming at the start of a recording, or a few missing seconds at the beginning or end of a recording.  There are a lot of possibilities for that, but the DVR clock being incorrect is not one of them.  With RCN, the DVR clocks occasionally drifted off by as much as a minute and a half.

Maybe you are looking for

  • Accounts Payables Question

    Hi SAP Gurus, Can anyone brief me one real time business scenerio in AP/AR. Thanks

  • Change table header in adobe form

    Hi experts, I have to print a table in a printable form. for that i have defined the table structure in the element on both, the interface and the form context. the thing is that the form shows the field value in the HEADING property of the data type

  • InDesign for student

    I'm a University student looking to purchase InDesign at an Educational price. Where/how can I do this? I'm searched the webiste, but with no luck. Any ideas? Thanks, Pete

  • MS-SQL Template is getting assigned automatically after System Reboot.

    Greetings, We have currently unassigned templates for MS-SQL Servers in Solution Manager Technical Monitoring for all technical systems as we don't want to monitor the DB Alerts. However, What we see is that after every OS reboot or DB Connectivity f

  • Mobile Me Sync freezing Photoshop CS3

    I had to turn off Mobile Me Sync. Three times now, Photoshop froze when Mobile Me Sync kicked in. I had multiple documents open, and was using selection tools, brush, etc. One time it froze when I was doing nothing, and Mobile Me Sync came on. I wond