Content Server Check-in

Dear All,
Good day, I need help regarding content profiles for content server, I want to know if I can create a specific metadata filed related to specific area such as HR (empno, emp name, department, job title....etc), I don't want to make all the required fileds available (content id, type, security group,..etc
How can I manipulate fields in the Rules? and then attached these rules to profiles? and what is the use of the trigger field within the profiles?where will it be important?
can I customize the check-in page adding fonts, colors, whatever fields, images as well as metadata fields? if there is a document for this I will be grateful.
Thanks in Advance
Adham Hattab

Lot many things in a single thread
I can create a specific metadata filed related to specific area such as HR <I did not get this question clearly but You can create all you want to>
I don't want to make all the required fileds available (content id, type, security group,..etc <You first need to assigne them some default value and make them hidden>
How can I manipulate fields in the Rules? By selecting a metadata filed you may assign some dynamic value, hide them or make then read only.
and then attached these rules to profiles? <yes this will invoke the rule, when the Contributor selects a particular profile.>
and what is the use of the trigger field within the profiles?where will it be important?<trigger field is the thing that binds together a profile and a rule. So even if you try check in something from standard checkin page. But if for the value of trigger filed there exist a profile. Then rules associated with that profile would run>
can I customize the check-in page adding fonts, colors, whatever fields, images as well as metadata fields? if there is a document for this I will be grateful. <two ways to do this either create custom checkin pages or create a new skin all together>
cheers,
sapan

Similar Messages

  • Content server log showing exception in stream

    Hi all,
    I am connecting to ecm with the follwoing cod eand error
    on transfere stream is ocurring
    after connection was paralyesd for about 4 minutes then
    ecxeption occure then server log shows
    a service exception
    the follwoing is the used code
    PLZ HELP ME
    * Copyright (c) 1997-2001 IntraNet Solutions, Incorporated. All rights reserved.
    * Copyright (c) 2001-2007 Stellent, Incorporated. All rights reserved.
    package com.stellent.cis.sdk.samples.checkin;
    import java.net.MalformedURLException;
    import java.rmi.RemoteException;
    import java.util.Date;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import com.stellent.cis.client.command.CommandException;
    import com.stellent.cis.client.io.ICISTransferStream;
    import com.stellent.cis.client.api.scs.ISCSContent;
    import com.stellent.cis.client.api.scs.ISCSContentID;
    import com.stellent.cis.client.api.scs.document.checkin.ISCSDocumentCheckinAPI;
    import com.stellent.cis.client.api.scs.document.checkin.ISCSCheckinFlags;
    import com.stellent.cis.client.api.scs.document.checkin.ISCSDocumentCheckinResponse;
    import com.twainconnect.sample.UCPMClient1;
    import java.io.FileInputStream;
    import java.io.InputStream;
    * This class shows how to check in a file into the content server. This takes a bunch of command line switches most of which is
    * optional. If some required values are not given, it creates random values for them.
    * -file : the absolute path to the file which is to be checked in (required)
    * -contentid : the content id of the document (auto generated)
    * -title : the title of the document (auto generated)
    * -type : the type of the document (defaults to ADACCT)
    * -securitygroup : the security group (defaults to Public)
    public class CheckinFile extends UCPMClient1 {
    // The path to the primary file of the document
    private String primaryFile = null;
    // The content id of the document
    private String contentId = null;
    // The title of the document
    private String title = null;
    // the type of the document
    private String type = null;
    // the security group of the document
    private String securityGroup = null;
    // The check in api from the cis
    private ISCSDocumentCheckinAPI api = null;
    public static void main(String[] args) {
    CheckinFile checkin = new CheckinFile();
    checkin.initialize(args);
    try {
    checkin.connect();
    checkin.execute();
    } catch (CommandException e) {
    e.printStackTrace();
    } catch (MalformedURLException e) {
    e.printStackTrace();
    } catch (RemoteException e) {
    e.printStackTrace();
    System.exit(0);
    * Executes the services to perform a content server check in.
    protected void execute() throws RemoteException, CommandException {
    // Get the Document check in api from the active api.
    api = getClient().getUCPMAPI().getActiveAPI().getDocumentCheckinAPI();
    // Perform a check in of the file with the values provided. The check in flags is generated in the method
    // getCheckinFlags(). Also see getActiveContent(), getActiveContentId()
    try {
    ICISTransferStream transferStream = getClient().getUCPMAPI().createTransferStream();
    transferStream.setFile(new File("D:\\ddd.doc"));
    System.out.println("read b4 get === "+transferStream.getInputStream().read());
    // InputStream inputStreamxx = new FileInputStream( );//transferStream.getInputStream();
    // FileInputStream inputStreamxx = new FileInputStream(new File("D:\\ddd.doc"));
    // transferStream.setInputStream(inputStreamxx);
    // System.out.println("after setting "+transferStream.getInputStream().read());
    // byte[] input = new byte[25];
    // for (int i = 0; i < input.length; i++) {
    // int b = transferStream.getInputStream().read(input);
    // if (b == -1)
    // break;
    // input[i] = (byte)b;
    // System.out.println("\n---------\n"+input.length);
    // System.out.println("Whole legnth= "+transferStream.getInputStream().read(input));
    // System.out.println(inputStream .read());
    // System.out.println(getPrimaryFile());
    // transferStream.setFileName("mmm");
    // transferStream.setContentType("text/plain");
    // transferStream.setContentLength(5);
    ISCSDocumentCheckinResponse result =
    api.checkinFileStream(getSCSContext(), getActiveContent(),
    transferStream);
    //getSCSContext().setCrendentials();
    // The message from the content server , if any
    String message = result.getMessage();
    // Print a status message to the console
    print("Checked in the file [" + getPrimaryFile() +
    "] with content id " + getContentId() + ". Message:" +
    message);
    } catch (FileNotFoundException exp) {
    throw new CommandException(exp);
    } catch (IOException exp) {
    throw new CommandException(exp);
    } catch (Exception exp) {
    exp.printStackTrace();
    * This creates a new SCSCheckinFlags object which can be used to define the check-in properties.
    * @return new SCSCheckinFlags object
    * @throws RemoteException
    * @throws com.stellent.cis.client.command.CommandException
    protected ISCSCheckinFlags getCheckinFlags() throws RemoteException,
    CommandException {
    log.fine("Entering getCheckinFlags");
    ISCSCheckinFlags checkinFlags =
    (ISCSCheckinFlags)getClient().getUCPMAPI().createObject(ISCSCheckinFlags.class);
    // Specify that the file should be copied, and not be deleted after the check in.
    checkinFlags.setFileCopy(true);
    // Specify this to true if this is a workflow step checkin.
    checkinFlags.setFinished(false);
    return checkinFlags;
    * Creates a new SCSContent object where all the document specific properties and meta-data values can be set for the
    * check-in process.
    * @return new SCSContent object with the properties set
    * @throws RemoteException
    * @throws com.stellent.cis.client.command.CommandException
    protected ISCSContent getActiveContent() throws RemoteException,
    CommandException {
    // Create a new content object for the executing context
    ISCSContent activeContent =
    (ISCSContent)getClient().getUCPMAPI().createObject(ISCSContent.class);
    ISCSContentID contentID =
    (ISCSContentID)getClient().getUCPMAPI().createObject(ISCSContentID.class);
    contentID.setContentID(getContentId());
    activeContent.setContentID(contentID);
    // Set the Title of the document
    activeContent.setTitle(getTitle());
    // set the type of the document
    activeContent.setType(getType());
    // set the security group of the document
    activeContent.setSecurityGroup(getSecurityGroup());
    return activeContent;
    * Override the initialize method to read in more document specific values from the command line.
    protected void initialize(String[] args) {
    log.fine("Entering initialize");
    super.initialize(args);
    // Provide a default value for the fields so that we don't have to enter it always. ;-)
    // Date is random enough for us.
    Date now = new Date();
    setPrimaryFile(readArgsAsString("-file", args, null));
    setTitle(readArgsAsString("-title", args,
    "Title By SDK " + now.getTime()));
    setContentId(readArgsAsString("-contentid", args,
    now.getTime() + "Content-Id-SDK"));
    setType(readArgsAsString("-type", args, "ADACCT"));
    setSecurityGroup(readArgsAsString("-securitygroup", args, "Public"));
    // Getters and setters for the variables
    public String getPrimaryFile() {
    primaryFile = "D:\\w.txt";
    return primaryFile;
    public void setPrimaryFile(String primaryFile) {
    this.primaryFile = primaryFile;
    public String getContentId() {
    return contentId;
    public void setContentId(String contentId) {
    this.contentId = contentId;
    public String getTitle() {
    return title;
    public void setTitle(String title) {
    this.title = title;
    public String getSecurityGroup() {
    return securityGroup;
    public void setSecurityGroup(String securityGroup) {
    this.securityGroup = securityGroup;
    public String getType() {
    return type;
    public void setType(String type) {
    this.type = type;
    Edited by: user7326470 on Oct 17, 2009 2:52 AM

    <?xml version="1.0" encoding="windows-1256" ?>
    <config>
    <adapter default="true" name="myadapter" type="scs">
    <config>
    <property name="type">web</property>
    <property name="vaultType">web</property>
    <property
    name="host">http://192.168.0.104/MIC_ECM/idcplg</propert
    y>
    <property name="port">4444</property>
    <property
    name="contentServerAdminID">sysadmin</property>
    <property
    name="contentServerAdminPassword">idc</property>
    <property
    name="eventPollingEnabled">true</property>
    <property
    name="persistentConnection">true</property>
    <property name="cacheEnabled">true</property>
    <property
    name="connectionTimeout">9999999999999999999999999999999
    9999999999999999999999999999999999999999999999999999</pr
    operty>
    <property
    name="contentServerMappedVault"></property>
    <property name="appserverMappedVault"></property>
    </config>
    <beans template="classpath:/META-
    INF/resources/adapter/adapter-services-scs.jxml"/>
    </adapter>
    <adapter name="checkin" type="scs">
    <config>
    <property name="type">web</property>
    <property
    name="host">http://192.168.0.104/MIC_ECM/idcplg</propert
    y>
    <property name="port">4444</property>
    <property
    name="contentServerAdminID">sysadmin</property>
    <property
    name="contentServerAdminPassword">idc</property>
    <property
    name="eventPollingEnabled">true</property>
    <property
    name="persistentConnection">false</property>
    <property name="cacheEnabled">true</property>
    <property
    name="connectionTimeout">9999999999999999999999999999</p
    roperty>
    <property
    name="contentServerMappedVault"></property>
    <property name="appserverMappedVault"></property>
    </config>
    <beans template="classpath:/META-
    INF/resources/adapter/adapter-services-scs.jxml"/>
    </adapter>
    </config>
    the JDeveloper exception is as foolows
    [2009-10-17 11:24:10,749] [SCS EventPoller [myadapter]]
    WARN
    (com.stellent.cis.server.api.scs.event.impl.SCSEventPoll
    er) - No password credentials supplied for background
    polling thread but adapter config 'myadapter' is set to
    type web which requires authentication will attempt to
    poll with no credentials
    [2009-10-17 11:24:10,811] [SCS EventPoller [myadapter]]
    WARN
    (com.stellent.cis.server.api.scs.event.impl.SCSEventPoll
    er) - Error in content server event poller
    com.stellent.cis.client.command.CommandException: Error
    reading the response from the Content Server: 401
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
    equest(SCSCommand.java:338)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.execute
    (SCSCommand.java:222)
         at
    com.stellent.cis.client.command.impl.services.CommandExe
    cutorService.executeCommand
    (CommandExecutorService.java:57)
         at
    com.stellent.cis.client.command.impl.CommandFacade.execu
    teCommand(CommandFacade.java:158)
         at
    com.stellent.cis.client.command.impl.BaseCommandAPI.invo
    keCommand(BaseCommandAPI.java:84)
         at
    com.stellent.cis.client.api.scs.administrative.query.imp
    l.SCSAdministrativeQueryAPI.queryDocumentHistory
    (SCSAdministrativeQueryAPI.java:76)
         at
    com.stellent.cis.server.api.scs.event.impl.SCSEventPolle
    r$SCSFileCachePollingThread.run(SCSEventPoller.java:275)
    Caused by:
    com.stellent.cis.server.api.scs.request.SCSRequestExcept
    ion: Error reading the response from the Content Server:
    401
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.sendRequest(SCSRequestProcessor.java:156)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.processRequest(SCSRequestProcessor.java:112)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:61)
         at
    com.stellent.cis.server.api.scs.request.stream.SCSOptimi
    zedPublishFilter.handleRequest
    (SCSOptimizedPublishFilter.java:128)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.stream.SCSOptimi
    zedRetrieveFilter.handleRequest
    (SCSOptimizedRetrieveFilter.java:250)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.rewrite.SCSRewri
    teURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.cache.impl.SCSSe
    rviceCacheFilter.handleRequest
    (SCSServiceCacheFilter.java:112)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestE
    xecutorProxy.execute(SCSRequestExecutorProxy.java:105)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeV
    iaProxy(SCSCommand.java:353)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
    equest(SCSCommand.java:335)
         ... 6 more
    Caused by:
    com.stellent.cis.common.exception.HttpException: 401
         at
    com.stellent.cis.server.api.scs.protocol.impl.httpclient
    .HdaViaHttpProtocol.writeMessage
    (HdaViaHttpProtocol.java:171)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.sendRequest(SCSRequestProcessor.java:148)
         ... 19 more
    [2009-10-17 11:29:10,847] [SCS EventPoller [myadapter]]
    WARN
    (com.stellent.cis.server.api.scs.event.impl.SCSEventPoll
    er) - Error in content server event poller
    com.stellent.cis.client.command.CommandException: Error
    reading the response from the Content Server: 401
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
    equest(SCSCommand.java:338)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.execute
    (SCSCommand.java:222)
         at
    com.stellent.cis.client.command.impl.services.CommandExe
    cutorService.executeCommand
    (CommandExecutorService.java:57)
         at
    com.stellent.cis.client.command.impl.CommandFacade.execu
    teCommand(CommandFacade.java:158)
         at
    com.stellent.cis.client.command.impl.BaseCommandAPI.invo
    keCommand(BaseCommandAPI.java:84)
         at
    com.stellent.cis.client.api.scs.administrative.query.imp
    l.SCSAdministrativeQueryAPI.queryDocumentHistory
    (SCSAdministrativeQueryAPI.java:76)
         at
    com.stellent.cis.server.api.scs.event.impl.SCSEventPolle
    r$SCSFileCachePollingThread.run(SCSEventPoller.java:275)
    Caused by:
    com.stellent.cis.server.api.scs.request.SCSRequestExcept
    ion: Error reading the response from the Content Server:
    401
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.sendRequest(SCSRequestProcessor.java:156)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.processRequest(SCSRequestProcessor.java:112)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:61)
         at
    com.stellent.cis.server.api.scs.request.stream.SCSOptimi
    zedPublishFilter.handleRequest
    (SCSOptimizedPublishFilter.java:128)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.stream.SCSOptimi
    zedRetrieveFilter.handleRequest
    (SCSOptimizedRetrieveFilter.java:250)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.rewrite.SCSRewri
    teURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.cache.impl.SCSSe
    rviceCacheFilter.handleRequest
    (SCSServiceCacheFilter.java:112)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestE
    xecutorProxy.execute(SCSRequestExecutorProxy.java:105)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeV
    iaProxy(SCSCommand.java:353)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
    equest(SCSCommand.java:335)
         ... 6 more
    Caused by:
    com.stellent.cis.common.exception.HttpException: 401
         at
    com.stellent.cis.server.api.scs.protocol.impl.httpclient
    .HdaViaHttpProtocol.writeMessage
    (HdaViaHttpProtocol.java:171)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.sendRequest(SCSRequestProcessor.java:148)
         ... 19 more
    com.stellent.cis.client.command.CommandException: Error
    reading the response from the Content Server: 500
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
    equest(SCSCommand.java:338)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.execute
    (SCSCommand.java:222)
         at
    com.stellent.cis.client.command.impl.services.CommandExe
    cutorService.executeCommand
    (CommandExecutorService.java:57)
         at
    com.stellent.cis.client.command.impl.CommandFacade.execu
    teCommand(CommandFacade.java:158)
         at
    com.stellent.cis.client.command.impl.BaseCommandAPI.invo
    keCommand(BaseCommandAPI.java:84)
         at
    com.stellent.cis.client.api.scs.document.checkin.impl.SC
    SDocumentCheckinAPI.checkinFileStream
    (SCSDocumentCheckinAPI.java:663)
         at
    com.stellent.cis.sdk.samples.checkin.CheckinFile.execute
    (CheckinFile.java:118)
         at
    com.stellent.cis.sdk.samples.checkin.CheckinFile.main
    (CheckinFile.java:71)
    Caused by:
    com.stellent.cis.server.api.scs.request.SCSRequestExcept
    ion: Error reading the response from the Content Server:
    500
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.sendRequest(SCSRequestProcessor.java:156)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.processRequest(SCSRequestProcessor.java:112)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:61)
         at
    com.stellent.cis.server.api.scs.request.stream.SCSOptimi
    zedPublishFilter.handleRequest
    (SCSOptimizedPublishFilter.java:128)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.stream.SCSOptimi
    zedRetrieveFilter.handleRequest
    (SCSOptimizedRetrieveFilter.java:250)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.rewrite.SCSRewri
    teURLFilter.handleRequest(SCSRewriteURLFilter.java:140)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.cache.impl.SCSSe
    rviceCacheFilter.handleRequest
    (SCSServiceCacheFilter.java:112)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestF
    ilterChain.doRequestFilter
    (SCSRequestFilterChain.java:58)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestE
    xecutorProxy.execute(SCSRequestExecutorProxy.java:105)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeV
    iaProxy(SCSCommand.java:353)
         at
    com.stellent.cis.server.api.scs.impl.SCSCommand.executeR
    equest(SCSCommand.java:335)
         ... 7 more
    Caused by:
    com.stellent.cis.common.exception.HttpException: 500
         at
    com.stellent.cis.server.api.scs.protocol.impl.httpclient
    .HdaViaHttpProtocol.writeMessage
    (HdaViaHttpProtocol.java:171)
         at
    com.stellent.cis.server.api.scs.request.impl.SCSRequestP
    rocessor.sendRequest(SCSRequestProcessor.java:148)
         ... 20 more
    Process exited with exit code 0.
    the server exception in log of content server is as
    follows
    Event generated by user 'anonymous' at host
    '192.168.0.104'. Stream terminated before being able to
    read HTTP protocol line. Stream terminated before being
    able to read HTTP protocol line. [ Details ]
    An error has occurred. The stack trace below shows more
    information.
    !csUserEventMessage,anonymous,192.168.0.104!$!
    syStreamTerminatedBeforeProtocol!
    syStreamTerminatedBeforeProtocol
    intradoc.common.ServiceException: !
    syStreamTerminatedBeforeProtocol
         at
    intradoc.server.ServiceRequestImplementor.doRequest
    (ServiceRequestImplementor.java:628)
         at intradoc.server.Service.doRequest
    (Service.java:1709)
         at
    intradoc.server.ServiceManager.processCommand
    (ServiceManager.java:357)
         at intradoc.server.IdcServerThread.run
    (IdcServerThread.java:195)
    Caused by: java.io.IOException: !
    syStreamTerminatedBeforeProtocol
         at
    intradoc.serialize.DataBinderSerializer.readStreamLineBy
    teEx(DataBinderSerializer.java:1588)
         at
    intradoc.serialize.DataBinderSerializer.readStreamLineEx
    (DataBinderSerializer.java:1556)
         at
    intradoc.serialize.DataBinderSerializer.readLineEx
    (DataBinderSerializer.java:1528)
         at
    intradoc.serialize.DataBinderSerializer.parseForData
    (DataBinderSerializer.java:1336)
         at
    intradoc.serialize.DataBinderSerializer.parseMultiConten
    t(DataBinderSerializer.java:1283)
         at
    intradoc.serialize.DataBinderSerializer.continueParse
    (DataBinderSerializer.java:1244)
         at
    intradoc.data.DataSerializeUtils.continueParse
    (DataSerializeUtils.java:138)
         at intradoc.server.Service.continueParse
    (Service.java:415)
         at
    intradoc.server.ServiceRequestImplementor.doRequest
    (ServiceRequestImplementor.java:620)
         ... 3 more

  • Error checking in document to content server

    Hi,
    While storing the document to content server we are getting "Error while checking in and storing " error. We use ECC 6.0 Request any inputs where to trace this error.
    Thx.
    Anirudh,

    Hello Anirudh,
    i assume that you get this error only after you click on the save button.Before clicking on the save button i assume you had checked in the original.
    Suggest you to put start the debugger using "/h" and then click on the the Save button. Once the debugger opens, put a break point on the "Message" using the debugger. And start debugging using F8 key. When the control stops at any message statement , just have a look at the content of the internal table filled before the Message stmt. It would help you to figure out the exact cause of the error message.
    Seeing the error message , i think that in your case it might be that signature are not sent from your system to the content server.
    You can see the details about the signature associated to he content repository from the "csadmin" transaction. if you have any problem with regarding to signatures, just check if you have any active signature. I think there is not active signature, just select one signature and activate the signature.
    If the problem still exists and it maps to the content server, contact your content server admin.
    Hope this helps you out, Best of luck.
    Regards,
    Om

  • Content Server URL Check is getting failed.

    Hi,
    We have Installed Content Server 6.4 on Windows Server 2008 (64 Bit OS) and IIS 7.0 with all the latest patches.
    The sapinst log file shows that the Installation was successfull with no errors.
    But, still URL check for Content server is getting failed.
    URL which is used : http://<HOSTNAME>:<Port>/ContentServer/ContentServer.dll?serverInfo
    Please Help.
    Thanks,
    Deepak

    Hi,
    Did you configure the following steps for the content server on the windows server for the IIS
    Created one local user u201Cxxxxxxxu201D on the windows system.
    Check that the password of the user on the windows should never expire.
    In the authentication method select the options.
    Integrated windows authentatication
    Basis authentication.
    Configure IIS for ContentServer & CacheServer and adjust Folder security options
    Did you create any content reprosetry in OAC0 Transaction in the system which you want to link the Content server.
    Thanks
    Rishi Abrol

  • Content Server - get content of document being checked in

    Hi,
    Is is possible to get the content of the document being checked-in via Java? Assuming I want to have a component which performs some action on the document being checked in, before this document is checked in. Is there some way to read the content of the document?

    Hi Jiri,
    Thanks again for pointing me in the right direction. From what I understand I just need to get the path to the document and then open it via Java. I believe sth like this does the trick:
    String docPath = binder.get("primaryFile:path");
    From my understanding there is this "vault" folder which holds the content server's files, revisions, temp files etc... Using the above code should work ok, but I understood that the CS can be told to save its files into some data base instead of the "vault" folder, in which case the above code won't be useful...
    I assume in this case reading the document is done in some other way...
    So, should I conclude that there is no general/abstract way of reading the document being checked-in which doesn't take into consideration the underlying structure which keeps the CS's files(vault or DB)?
    Thanks,
    V

  • Check-out originals from Content Server to File server?

    Hello Experts,
    We have urgent requirement to check-out huge number of originals from the Content server and send to an application server (ftp server).
    The input data that we can use to fetch the originals are  PHOIO nunber or LOIO or Original File name.
    I tested below function module but they does not seem to meet our requirements.
    BAPI_DOCUMENT_CHECKOUTVIEW2  - Originals are checked-out to C:\Temp\
    CV120_KPRO_CHECKOUT_TO_SERVER
    CV120_KPRO_CHECKOUT_TO_TABLE
    SDOK_PHIO_LOAD_CONTENT - here the content is written to table in binary mode.
    CV120_DOC_GET_FILE
    Also i tested program - DMS_KPRO_READ. In this case, manual action is required to select the path in front end where the originals needs to be checked-out.
    Please help if you have suitable solutions.
    Thanks!
    sandeep

    Hello Sandeep,
    You can use "DMS_KPRO_READ" report to achive your purpose. In this report you will get PHIO ID & LOIO ID. with these ID's you will get originals path to download the files uploaded on content server to application server or FTP server.
    Use F_BROWSE function to select all files in foreground/background to downlaod it on desktop. I have implement in my project & it is working fine till date.
    Thanks
    Pravin

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

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

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

  • Error while checking content server installation

    hai all,
    I had installed content server 6.30.And installation is successful.I restarted the server also.when i am testing the connection to the content server by using the url-http://hostname:portnumber/ContentServer/ContentServer.dll?serverInfo.
    I am geeting the error ,the page cannot be dusplayed.
    While installing the content server,i used the default port-1090.With the same i am trying to check it.
    Please help me out.
    Thanking you,
    Regards,
    venkat.

    Venkat,
    Did you get this working?
    If so, could you provide your httpd.conf and cs.conf files for comparison
    Thanks in advance for your response.
    Jeff

  • Content Server 6.1: How to disable check-in/out opertation?

    Hello,
    We have developed a custom application that would process the content items through a workflow. Our business users are frustrated with the content items being accidentally locked out. They would edit a content item and would approve it to the next stage without checking in the content item. As such the items remains locked by them and the portal administrator has to manually unlock the item through content server explorer.
    Is there a way to disable the entire check-in/out operation? Or as alternative is there a way to automatically check-in the content item when the user approves the content item?
    Thanks
    Jignesh

    Hi Jignesh, I apologize, I thought I was on 6.1 but in fact I'm on 6.2:(
    I assume they are fairly similar though.
    The solution I was talking about is to go into your publisher explorer and set the folder security in such a way that the checkin/checkout buttons don't appear.
    I dont know which setting that is off the tob of my head but I believe its Submitter. They will only see one button called "Submit for Approval". So that could be for your workflow initiator. Then the remainder of your workflow people can have the same security option, except the final publisher who will need Editor permission to see the Publish button, which will also allow them to checkin.
    Let me know if that helps!

  • How to see documents checked-in to SAP Content Server ?

    Hi ,
      I'm not sure if this is the right forum for this question but I did not find anything more pertinent.
    We have a scenario in ECC 5.0 which we are attaching PDF/etc document to SAP DMS Document records in Tcode CV01N/CV02N . Subsequently we check-in those originals to the SAP Content Server. All this is working just fine as the underlying settings for the content repository in Tcode CSADMIN is appropriately set.
    Is there a way to monitor how many and which documents have been checked in to the SAP COntent server. In the 46C/47 days, we used to go to Tcode OAAD and get a count & list of all documents that have been shipped to a content repository. In the scenario for SAP Content server, I'm unable to use this tcode to get the information.
    Is there another tcode that will give me the information on the documents linked to the Content Server ?
    Your help is greatly appreciated.
    Thanks,
    Vipin

    Hi to add more...
    On service Market Place....
    Go with the below path
    Installations and Upgrades --> " SAP Application Components" --> SAP EASY DOCUMENT MANAGEMENT" ---> SAP EASY DOCUMENT MGMT 6.00.
    Thanks,
    Tanuj

  • Error While defining the content server

    Dear Folks,
    We are trying to define the content sever in our sever. It is required for integration of SAP with documentum. We are trying to define in below path.
    Cross-Application Components - Document Management - General data - Settings for storage systems - Maintain storage system -
    It already have DMS_C1 content repository with storage type R/3 database. We are creating a new content repository with storage type HTTP Content Server. We are giving below inputs.
    Vesion No. 0045, HTTP Server - (My machine's FQDN and port is 8080), HTTP script as - sap/bc/contentsever/300.
    After giving above inputs, if I click on test connection, I m getting error as Error in HTTP Access:IF_HTTP_CLIENT -> RECIEVE1 ICM_HTTP_CONNECTION_FAILED.
    If I define the HTTP content sever as sap-qas.vsnl.co.in (i.e. My quality servers host name) it works fine i.e. connection test goes OK. Does any one know how we can define the content server and what all steps required for the same?
    Thanks and Regards,
    Kedar

    Hi Kedar,
    YOu have to provide the details as fallows
    Storage type : HTTP content server
    Version no. : 45 (based on the content server version)
    HTTP server : <content server IP>
    Port Number of content server : 1090 (default port)
    HTTP Scrip : ContentServer/ContentServer.dll
    Once after these details you can check
    Also install the DBM gui in your local PC and add this content servers database (if the content server is on MAX DB) then you need to star it from the console or else use the command to start it once after the installation.
    /sapdb/programs/bin/dbmcli -d <SID> -u control,plmcont db_state - to check the database status
    /sapdb/programs/bin/dbmcli -d <SID> -u control,plmcont db_online - to start the database
    Thanks,
    Chaitanya

  • Content Server 6.40 Presents a Save As dialog for ContentServer.dll file

    hi All
    we have installed successfully the content server 6.40 on a windows 2008 with iis 7 environment. The installation wen successfully with no errors. however when we run a test by calling the URL http://<server>:<port>/ContentServer/ContentServer.dll?serverInfo URL, instead of getting a response, we are getting a save as file dialog to save the dll file.   Also, after the installation, even with the install website tick checked, the website was not installed. we had to do the installation of the website manually for the port.
    With content server 620 on windows 2000 this was never the case
    if anywone has an idea on how to resolve the issue, please advice
    Regards
    Ronny

    GOT the Solution
    to anyone else who could be going through the same issue, see if the solution below solves your issue
    The website should get created if all the roles in IIS 7.0 are installed. Therefore, please try to install the IIS 7.0 by selecting
    all the roles followed by installation of the SAP Content Server. By doing so, websites should be created automatically.
    In the IIS 7.0, all the roles are not selected during the installation by default. Please make sure all the below roles are included and IIS 7.0 is installed, as per the installation manual for the Content Server on Windows 2008:
    Roles needed in IIS 7.0.
    Common HTTP Features
    Static Content
    Default Document
    Directory Browsing
    HTTP Errors
    HTTP Redirection
    Application Development
    ISAPI Extensions
    ISAPI Filters
    Health and Diagnostics
    HTTP Logging
    Logging Tools
    Request Monitor
    Tracing
    Custom Logging
    ODBC Logging
    Security
    Basic Authentication
    Windows Authentication
    Request Filtering
    Note : Anonymous Authentication should be enabled which is done by
    default.
    Performance
    Static content Compression
    Dynamic Content Compression
    Management Tools
    IIS Management Console
    IIS Management Scripts and Tools
    Management Service
    IIS 6 Management Compatibility
    IIS 6 Metabase compatibility
    IIS 6 WMI Compatibility
    IIS 6 Scripting Tools
    IIS 6 Management Console
    I hope it helps someone!

  • Error on update of document stored in content server

    Error on update of document stored in content server
    On a regular basis (but not reproducible) we find that after updating a document, it is deleted from content server (or at least it cannot be retrieved).  These problems have only been experienced since we switched to using content server as our storage repository, as opposed to R/3.
    We create and maintain documents through a bespoke transaction, which calls standard SAP functions BDS_BUSINESSDOCUMENT_CREA_TAB and cl_bds_document_set=>update_with_table.
    Whilst the errored documents are listed in the BDS via transaction OAOR (business document navigator), an error is received when you try to display it (in our case an MS-Word error indicating file/pathname invalid). 
    We are satisfied that file/pathname are valid and find that this occurs occasionally when a document has been updated.  It appears that the document has been deleted. 
    This bespoke transaction has been running successfully for almost two years, and these problems have only been experienced after switching to content server as a storage repository (as opposed to R3 previously).  Has anyone else experienced these problems? 
    We are running :
    R/3 Enterprise 620,
    SAP HTTP Content Server Version 6.30 Patch 13
    SAPDB version 7.3.0.54

    Hi Sonny,
    To check the connectivity between your content server and Workstation and SAP Server.
    Pls goto the command prompt of your workstation
    give the command like this example.
    C:\>Ping 117.123.45.201
    you will get the reply from the server. here 117.123.45.201 is your content server IP.
    If you are getting the reply then it means that your contentserver and workstation are connected propely.
    Like that pls check the connectivity between your systems.
    Pls check the hosts file of your systems also.
    If the hosts file entry is not maintained, you can check-out file from content server but you cannot check-in the original.
    Pls let me know what kind of error Message you are getting?
    From where you are trying to check-in the Original? From the DIR screen or from CAD Desktop screen?
    Regards,
    MRK
    (reward points if useful)

  • Problem with Content Server 4 keystore access on Ubuntu 8.04

    Hello,
    Setting up the Content Server I encounter this problem with the fulfillment server Status check-up:
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
    root cause
    java.lang.Error: Problem reading key and certificate from keystore
         com.adobe.adept.fulfillment.security.ServerConfig.init(ServerConfig.java:201)
         com.adobe.adept.fulfillment.security.ServerConfig.getSigningURL(ServerConfig.java:48)
         com.adobe.adept.fulfillment.servlet.FulfillmentServerStatus.getServers(FulfillmentServerStatus.java:34)
         com.adobe.adept.common.servlet.Status.checkUp(Status.java:355)
         com.adobe.adept.common.servlet.Status.doGet(Status.java:421)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    I've created operator.p12 according to the instructions in the Quickstart guide
    and placed it in /etc where it is accessible by the server. I used OpenSSL 0.9.8k
    for this.
    I can use "openssl pkcs12 -in operator.p12 -out file.pem" to view the contents of
    the file.
    My Content Server fulfillment configuration is as follows:
    com.adobe.adept.init1=com.adobe.adept.shared.util.SharedInitialization
    com.adobe.adept.log.level=trace
    com.adobe.adept.log.file=/var/log/fulfillment.log
    com.adobe.adept.persist.sql.driverClass=com.mysql.jdbc.Driver
    com.adobe.adept.persist.sql.connection=jdbc:mysql://127.0.0.1:3306/adept
    com.adobe.adept.persist.sql.dialect=mysql
    com.adobe.adept.persist.sql.user=ereading
    com.adobe.adept.persist.sql.password=********
    com.adobe.adept.fulfillment.security.licensesignURL=https://eusigningservice.adobe.com/licensesign
    com.adobe.adept.fulfillment.security.keystore.user=operator
    com.adobe.adept.fulfillment.security.keystore.password=********
    com.adobe.adept.fulfillment.security.pkcs12.file=file:///etc/operator.p12
    com.adobe.adept.serviceURL=http://******.dmz.******.org/fulfillment
    Any ideas?
    Best regards,
    Teemu

    for solve this, change  this
    com.adobe.adept.fulfillment.security.pkcs12.file=file:///etc/operator.p12
    for this
    com.adobe.adept.fulfillment.security.pkcs12.file=/etc/operator.p12

  • Content Server problem after 5.0.2 upgrade

    Hi,
    We've just upgraded our staging environment from 5.0.1 to 5.0.2 and have lost all branding. The diagnostic script reports the following error:
    ==========
    Community Branding Image Publishing Target : FAIL Settings
    Community Branding Image Publish File Location: file://localhost/C:/ProgramFiles/plumtree/ptimages/imageserver/plumtree/portal/templates
    Community Branding Image Publish Browser Location: http://<SERVERNAME>/imageserver/plumtree/portal/templates
    Community Image FTP User Name:
    Community Image FTP Password:
    Possible Resolution
    The file could not be found at the browser locationEnsure the community branding settings in content.properties are correct. The file location and browser location must be valid paths.
    Error Details
    Exception Message: Connect Failed. HTTP response code: 404
    ======================
    I tried resolving both the file location and the http address from within the Content Server box and was able to without problem so I know it's not these it can't see.
    I checked the pcs.log and the following error is reported:
    ======================
    com.plumtree.openfoundation.io.XPFileNotFoundException: jscomponent file for jscontrols not found or failed to load.Exceptions encountered: - com.plumtree.openfoundation.io.XPFileNotFoundException: Failed to receive response from http://<PUBLICURL>/imageserver/plumtree/common/private/js/jscontrols/jscomponent.xmlin the alloted time (10000ms).======================
    It appears that the Content Server is trying to access this xml file via the public url for the image server which, due to firewall configurations in this environment, it won't be able to do. I'd like to be able to change how it looks for this file to be http://<SERVERNAME>/imageserver rather than http://<PUBLICURL>/imageserver
    Where is it getting this from for me to change it?
    Thanks in advance for your advice, hope my problem description makes sense :-)
    Anita

    Hi Diane,
    No, we haven't fully resolved this yet. In addition to the issue listed we've come across a number of others that look like problems from install. We've reached the point where it's looking more effective to try and uninstall Content Server and do a clean install from scratch rather than debug every little thing.
    As part of the new install we're changing the architecture to create an internal ImageServer on the CS server and then use a scheduled task to push everything out to the external ImageServer on the portal box overnight. This should get around a number of the firewall and dns issues currently making communication between the two quite difficult.
    We recently installed another 5.0.2 portal in a different environment and have had none of the same issues with it so we're a little perplexed. When we get this resolved I'll be happy to write a note about what it was. In the meantime if you get anywhere with yours please let us know.
    cheers
    Anita

Maybe you are looking for