Uploading a content in content repository

i have craeted a content repository in weblogic 8.1 with library service enabled . But while uploading a document whatever content is there in that file if i see from repository itself i found the conent is missing in that file.... can anybody help me out in this regard...
The code is as follows : -
NodeOps nodeOps = repM.getNodeOps();
uploadFileName=form.content.getFileName();
System.out.println("Name of the Uploaded File:"+uploadFileName);
Property[] defaultProperties = loadInitialProperties(newOc,uploadFileName);
//Get the Parent Node
Node parentNode = repM.getNodeOps().getNode(parentNodeId);
Node newNode = repM.getNodeOps().createContentNode(parentNodeId, nodeName,newOc.getId(),defaultProperties);
if(newNode!=null){
WorkspaceOps workSpaceOps = repM.getWorkspaceOps();
ContentContext ctx = new ContentContext(getRequest());
VersionableContent versionableContent = new VersionableContent(LifeCycle.DRAFT,comment,defaultProperties);
newNode.setCreatedBy("weblogic");
newNode.setModifiedBy("weblogic");
//Get the Real Path of the Node
String nodePath = newNode.getPath();
StringTokenizer strTokens = new StringTokenizer(nodePath,"/");
int countToken=0;
String reEvaluatePath = "";
while(strTokens.hasMoreTokens()){
String token = strTokens.nextToken();
if(countToken!=0){
reEvaluatePath = reEvaluatePath + "/"+token;
countToken++;
System.out.println("SAVING THE NODE");
workSpaceOps.checkIn(ctx,newNode.getId(),versionableContent);
System.out.println("checked in content");
getSession().setAttribute("contentContext",ctx);
getSession().setAttribute("nodeId",newNode.getId());
getSession().setAttribute("nodePath",reEvaluatePath);
getSession().setAttribute("node",newNode);
public Property[] loadInitialProperties(ObjectClass objectClass,String uploadFileName)
ArrayList nodeProperties = new ArrayList(1);
try
PropertyDefinition[] defs = objectClass.getPropertyDefinitions();
for (int i = 0; i < defs.length; i++)
PropertyDefinition def = defs;
ID propertyId = new ID(objectClass.getId().getRepositoryName(), null);
Property property = new Property(def.getName());
property.setId(propertyId);
property = setPropertyDefaults(property, def);
if (def.getName().equalsIgnoreCase("content"))
// default to empty file
try{
byte[] byteArr = newuploaddocform.getContent().getFileData();
InputStream inputStream = new ByteArrayInputStream(byteArr);
BinaryValue binaryValue= new BinaryValue();
binaryValue.setContentType(newuploaddocform.getContent().getContentType());
binaryValue.setName(newuploaddocform.getContent().getFileName());
binaryValue.setSize(byteArr.length);
binaryValue.setValue(inputStream);
while (inputStream.available() > 0) {
int numBytes = inputStream.read(readBuffer);
// Right now just prints output to screen
property.setValue(new Value(binaryValue));
}catch(Exception e){
System.out.println("Exception while uploading content"+e.getMessage());
e.printStackTrace();
}else if(def.getType() == Property.STRING && def.getName().equalsIgnoreCase("name")){
property.setValue(new Value(newuploaddocform.getName()));
}else if(def.getName().equalsIgnoreCase("deptId")){
property.setValue(new Value(new Long(newuploaddocform.getDeptId())));
nodeProperties.add(property);
Property[] nodePropertiesArray = new Property[nodeProperties.size()];
Iterator iter = nodeProperties.iterator();
for (int i = 0; i < nodePropertiesArray.length; i++)
nodePropertiesArray[i] = (Property) iter.next();
return nodePropertiesArray;
catch (Exception e)
e.printStackTrace();
Property[] nodePropertiesArray = new Property[0];
return nodePropertiesArray;
Edited by supratim_ch at 02/12/2007 1:24 AM

Hi,
I was able to find a white paper which discusses this topic.
http://edocs.bea.com/wlp/docs81/whitepapers/vcr/index.html
If this isn't helpful, please post this question to the portal newsgroup at http://newsgroups.bea.com/bea/forum.jspa?forumID=2044
cheers
Raj

Similar Messages

  • Employee Photo upload vs Content Repository

    Hi Guys,
    Can anyone explain me
    1. What are the different circumstances we use different Document Area and Storage Type for Uploading Photos in SAP?
    2. Is ther any space constraint and performance issues in storing Photos in R/3 database?
    3. What is the recommended document Area and Storage Type if I need to upload more than 50,000 photos?
    Thanks in Advance,
    Regards,
    Nithya.

    Hi Dude,
    1. Create a number range for SAP Archive Link : 
    IMG->Basis Components->Basis Services->SAP Archive Link->Basic Settings->Maintain number ranges. 
    Tcode OANR. Create range 01 from 0000000001 to 9999999999 without the external number flag. 
    2. Document type HRICOLFOTO must exist with document class JPG. 
    IMG->Basis Components->Basis Services->SAP Archive Link->System Settings->Maintain document types. 
    Table TOAVE, Tcode OAC2. 
    3. Document type HRICOLFOTO must be linked to object type PREL and IT0002. 
    IMG->Personnel Management->Personnel Administration->Tools->Optical Archiving->Set up Optical Archiving in HR. 
    View V_T585O, no Tcode. In all three columns there ara minuses, donu2019t put a flag in the check box. 
    4. Check which content repository (Archive) is linked to document type HRICOLFOTO and object type PREL. 
    IMG->Basis Components->Basis Services->SAP Archive Link->Basic Settings->Maintain Links. 
    Table TOAOM_C, Tcode OAC3 
    5. Create this content repository with storage type FILE archive. 
    IMG->Basis Components->Basis Services->SAP Archive Link->Basic Settings->Maintain content repositories. 
    Tcode OAC0 
    Storage type FILE archive can be attained by clicking on the field Storage type and clicking somewhere else in the screen with the right mouse button. Choose Possible entries and only then you get a list of all values. FILE Archive is entry number 08. Choose Version no. 0031 and Archive path something (e.g. C:\). 
    6. Link photo to personnel number. 
    Menu->Tools->Business Documents->Miscellaneous->Stored Documents. Tcode OAAD. 
    Click on the Create button. Business object PREL and Docyment type HRICOLFOTO. Click on create (fill in the right personnel number in the pop up and click Continue). Choose the photo (as a JPG file) from the place where it is saved (e.g. hard disk). SAP will notify that the Stored Document was created succesfully. Photo is visible via PA10, PA20, PA30, PA40. Double-click to magnify photo. 
    To delete archived document : 
    Tcode OAAD, click Find. In docyment type field select HRICOLFOTO and after execute you get a list of all documents. Select appropriate document and click on delete icon. 
    Don't forget to adjust IT0002 header!!!!
    Please also see SAP Note 488281.   Here's some of what it says: 
    1. The pictures (.jpg or .bmp) must be available on your PC. 
    2. Start transaction OAAD. 
    3. Choose function 'documents -> create' 
    4. Choose as business object 'PREL' and as document type 'HRICOLFOTO' 
    5. Push the create button 
    6. Fill in the appropriate personnel number 
    This solution requires SAP Archivelink to be installed.
    Use SICF tcode that displays lot of services. Under sap --> bc there is a service called content server interface. Activate this service. 
    Now Create the A2 repository with TCode OAC0. 
    While creating the repository, keep the Document Area blank, Storage type as R/3 database, Rep. Sub-type will appear as Normal by default, Version No. as 0046 and in Contents table put 'SDOKCONT1' as the table name. 
    This will set the config part. Now upload the picture using tcode OAAD.

  • Docx file upload to content repository on MS Sharepoint

    I have installed Primavera P6 EPPM version 8.2 in use with content repository on MS Sharepoint 2010 SP1.
    When I an trying to upload files with extensions "docx", "xlsx" ... system message "uknown error, please contact
    your System Administrator" pop ups.
    Plus to it, all uploaded documents dissapears from list in "Projects" menu "Documents" . In "Dashbords" portlet
    I can see all earlier uploaded documents.
    May be somebody had similar problems and found solution for it? Advice would be very valuable.
    Juozas

    I'm not sure about that code for the file upload part. You should really go find the File upload stuff from Jakarta Commons or UploadBean from whoever wrote it. That will handle the file upload. The database part, there are tutorials in Java's site ... try searching for "store image database"

  • How to Upload Mutilple Images in content repository?

    Hi
    How to Upload Mutilple Images in content repository?
    I have a html which shd be displayed and it has 3 images which shd be displayed
    in the same page
    Here i am able to display the HTML uploaded in content repository
    but the images are not displayed,since the path is not valid for the images.
    Can any one hint me in this,
    wating for the reply
    Thanks in Adv
    Regards
    Suresh

    Suresh, your html specifies an image at resources/images/privacy.gif - is that
    image in your repository at the correct relative position to where yout html is?
    Your html and repository structure must match. So if the html you posted is at
    /BEA Repository/foo.html
    then privacy.gif must be at /BEA Repository/resources/images/privacy.gif
    James
    "Suresh" <[email protected]> wrote:
    >
    >
    >
    Hi James
    Here i have attached my sample html and image
    My Repository Structure is as follows :
    Virtual Content Repository
    BEA Repository
    MainImage type image
    Privacy type i created
    ----StartDate
    ----EndDate
    ----File Upload
    My HTML
    <HTML>
    <HEAD>
    <TITLE> New Document </title>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </head>
    <BODY>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="norBold"><img src="resources/images/privacy.gif"
    width="123"
    height="73">Privacy
    Policy</td>
    </tr>
    <tr>
    <td class="formHeadBack" height="19"><b> Privacy Policy</b></td>
    </tr>
    </body>
    </html>
    and
    one image
    Thanks in Adv
    Suresh
    "James Owen" <reply.to@newsgroup> wrote:
    Suresh, how is your content structured and what does your html looklike?
    If you
    could post examples, that would be helpful.
    thanks,
    James
    "suresh" <[email protected]> wrote:
    Hi
    How to Upload Mutilple Images in content repository?
    I have a html which shd be displayed and it has 3 images which shd
    be
    displayed
    in the same page
    Here i am able to display the HTML uploaded in content repository
    but the images are not displayed,since the path is not valid for the
    images.
    Can any one hint me in this,
    wating for the reply
    Thanks in Adv
    Regards
    Suresh

  • How to Upload a file to KM Content repository from a Portal Application

    Hello All
    I have a urgent requirement where i have to upload a file to a KM Content Repository from my Portal Application which is a JSP DynPage Component..
    I am new to the area of Knowledge Management...Can anyone guide me of how to achieve this functionality from my component..
    I will be highly obliged..
    Thanks
    Sundeep

    Hello Sundeep,
    Check this:
    https://www.sdn.sap.com/irj/sdn/thread?threadID=241883
    One more important doc:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f7ced90-0201-0010-589f-8eff15a14072
    Sample coding for content creating and retrieval
    String out = new String(“my content”);
    ByteArrayInputStream data = new
    ByteArrayInputStream(out.getBytes());
    IContent newContent =
    new Content(data, “text/plain”,
    data.available());
    resource.updateContent(newContent);
    IContent oldContent = resource.getContent();
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers
    Message was edited by:
            Praveen Gudapati

  • How can we upload file into to OCS Content repository when we are in Apex

    We have installed the Oracle Application Express 2.2.1 into the OCS 10.1.2 database.
    The Apex authentication is set to operate with OCS SSO.
    We have made a form. There is a browse button on the form. We would like if the uploaded file appeared in the OCS content database repository as
    opposed to Apex document repository.
    To put it into another word, how can we upload the file into to OCS Content repository when we are in Apex.
    Generally speaking, how can we reach content from Apex?
    We have found many java based examples to use content sdk, but how can we use them with Apex? We believe that
    content hasn't got plsql interface.
    i would highly appreciate it if you sent me a full example program.

    Hi Ram,
    Thanks for the reply
    We have a requirement to device a solution to upload the policy documents related to iProcurement
    I am planning to create an OA page to upload the content and planning to use the AOL function security to restrict the users those who can access this page .
    Is there any better way to implement the security?
    Is this approach feasible or is there any better way to approach this requirement?
    Thanks

  • IStore Uploading source files to content repository

    I follow iStore Quick reference guide and try to add file to content repository. I use a user with iStore Administrator responsibility however from the content page I see the links/tabs to Usage Summary/Media Objects/My content/Library/Pending Approvals/Trash but not Content repository where it is supposed to be possible to add files/images etc to oracle content repository. Any hulp would be appreciated.

    The "report abuse" link for the original post in a thread is in the Actions box to the right of the post.
    I seem to spend more time reporting posts to be moved than answering questions.

  • How to configure SAP ECC DMS content repository with CRM Services Object

    hi,
    we have SAP Document management system which is currently integrated with SAP R/3 Ecc system .
    with ref. to sap standard functionality i am able to upload the document in DMS content repository through SAP R/3 Ecc System as below.
    step-1 ,T.code:CV01n
    a.     create - DMS Documents
    b.     Oupload Scanned documents in DMS system
    c.     select content repository
    d.     Save Document
    now, in same manner i want to store business documents in SAP ECC R/3 DMS content repository using CRM services trnsaction"CRMD_ORDER". kindly guide me suitably.
    regards,
    sunil

    i am explaining your proble
    a.    create - DMS Documents
    b.     Oupload Scanned documents in DMS system
    c.     select content repository
    d.     Save Document
    after saving open to document in cv02n and track status of doc i.e. AR CR & RE
    if RE status is there the it will repositor at server
    Regards,
    Sanjeev

  • No content Repository Found in OAOR

    Hello Gurus,
    I am using OAOR transaction for uploading documents in Content Server.
    After I upload the documents, In my program when I try to read the corresponding URL of the document, It could retreive it in my development system.
    But I am having a strange error in my Test system saying that " No Content Found" and its throwing an exception.
    When I tried to debug that  method, I founf that the actual error is " No Content Repository Found".
    Further in my investigation, I found the following:
    In Dev System: When i goto tcode CSADMIN and give the repository abject as "BDS_DB" it is found and i could login in to the server and check the settings.
    In Test System: When i goto tcode CSADMIN and give the repository abject as "BDS_DB" it says that there is no repository object found.
    And while debugging the method, I found that the respository being used is BDS_DB.
    Could you please do tell me where to maintain this Repository Object and how to correct this error as this is working fine in my dev sys and not working in any other system.
    Thanks,
    Naveen

    Hello Ravindra,
    Thanks for the reply and it solved a bit.
    As I see that those two configs are already maintained in my test system as it is in DHM but still I am facing the error.
    To be more precise, I am facing the issue while using the method,
    cl_sdc_bsp_utilities=>phio_get_url_for_get
    Its throwing the error, "No Storage Repository".
    Is there anything else that I need to maintain for this?
    Thanks,
    Naveen

  • Content repository

    Hi all,
         I am new to DMS.Please explain to me in detail about "content repository".
    Also let me know about Knowlege Provider.
    Regards
    Shynu John

    Hi,
    Content Repository is the space that you define in the databse where you can upload your Attachments to the DIR.
    Now in content repository you define something called as Storage Category. This is nothing but an instance under which you store your originals.
    So it is possible to have number of Storage Catogories under one Content Repository depending on you requirements.
    You deceide under which storage category your original is to be stored at the time of Checking In your originals.
    Hope this helps.
    Regards,
    Siddhesh S.Tawate

  • How to fetch mpg file from content repository

    Hi All,
    I have uploaded a mpg(video) file in content repositoy. But I am not able to fetch
    it and display it using embed tag.
    is anybody aware of a right method to do the same?
    Thanks in advance.

    I was thinking there might be a difference in how the browser handles a
    path with a space when typed into the address bar vs. how the browser
    plugin/activex-object handles a path with a space when it gets it from
    the <param> or <embed> tag.
    Otherwise, I'm not sure what's going on. How content displays on
    someone's computer mostly depends on the persons's computer, how it's
    configured, what's installed, etc. If you can get the Node's BinaryValue
    from the WLP server and it has the correct ContentType and the correct
    bytes, then, at that point, WLP is no longer really involved.
    Do PDFs, word docs, audio, shockwave, and other binary media types
    stored in a WLP content repository display correctly with
    <object><embed> tags in your browser?
    Vijay wrote:
    Hi Gregory Smith,
    There is no problem with path at all. The same path if I write in address bar
    of browser it opens a widows media player and plays the video file.
    Pls suggest.
    Vijay B.
    Gregory Smith <[email protected]> wrote:
    See if using a path of
    http://etgjw4:7001/JWWebApp/ShowBinary/BEA+Repository/Ads/AdsPopup/ad1//image
    (note the + between BEA and Repository) changes anything. If so, you
    can
    use the com.bea.content.manager.ContentHelper.pathInfoEncode() method
    to
    URLEncode the node path, e.g.
    http://etgjw4:7001<%=request.getContextPath()%>/ShowBinary<%=ContentHelper.pathInfoEncode(node.getPath())%>//image
    or, the <cm:getProperty> tag supports this automatically, e.g:
    http://etgjw4:7001<%=request.getContextPath()%>/ShowBinary<cm:getProperty
    name="cm_path" node=<%=node%> conversionType="url"/>//image
    (You might need to double check that code in workshop to make sure it
    compiles).
    Greg
    Vijay wrote:
    Hi Gregory,
    When I type the repository path //property name in the browser's addressbook,
    It opens a windows media player and plays the video file.
    But when I copy the same path and paste it in embed/object tag it justloads up
    a windows media player. When I see the error details it says "Cannotopen. Please
    verify that the path and filename are correct and try again." Thereis a advanced
    button on error window clicking on that it shows "The specified streamtype is
    not recognized. (Error=C00D07E2)
    Cannot open. Please verify that the path and filename are correctand try again.
    (Error=C00D07E2)".
    can you give me a solution on this?
    The HTML code that I have written is attached to this query.
    Thanks alot,
    Vijay
    Gregory Smith <[email protected]> wrote:
    First, make sure the BinaryValue of the property of the Node has the
    correct content-type (should be video/mpeg, or similar). This can be
    in
    1 of the following ways:
    1. Look in the BLOB_CONTENT_TYPE column of the CM_PROPERTY table.
    2. Get the Node (e.g. with <cm:getNode>), then get the BinaryValue
    (with
    <cm:getProperty>), and call the getContentType() method of the BinaryValue.
    3. Show the ShowBinaryServlet on the Node in the browser and see what
    your browser does. The URL would probably be something like
    http://<server>:<port>/<webapp>/ShowBinary/<path to node>, e.g.
    http://localhost:7001/sampleportal/ShowBinary/BEA+Repository/mynode.
    You
    can bring up the properties for that in IE, or Page Info (Ctrl-I) in
    Mozilla; that should tell you the content type the browser received.
    If it's not something like video/mpeg, then that's why it's not working.
    Make sure you browser has support of mpegs in <embed> by creating a
    simple html file with an <embed> to an mpeg file (don't use the server
    at all). If that works and the content-type of the node is correct,you
    should be to create an html file with an <embed> to the URL in #3 above,
    e.g.
    <embed
    src="http://localhost:7001/sampleportal/ShowBinary/BEA+Repository/mynmode">
    </embed>
    If that works, make sure your jsp is generating the correct HTML.
    Greg
    Vijay wrote:
    I am using weblogic 8.1.
    Gregory Smith <[email protected]> wrote:
    What version of WLP are you using?
    Vijay wrote:
    Hi All,
    I have uploaded a mpg(video) file in content repositoy. But I am
    not
    able to fetch
    it and display it using embed tag.
    is anybody aware of a right method to do the same?
    Thanks in advance.
    New Web Application Page

  • How does the content repository differ from the ECM plugin capability

    How does the content repository differ from the ECM plugin capability suh as Documentum. What are the different use cases. Which is the best to use for managing document uploads by user for association with user's personal products/services ?

    Content Repository is a standards-based, fully featured repository, included in all the editions of the Adobe Digital Enterprise Platform and Solutions. You can use it to store and access content, execute rich set of content services like search, authorization, etc. As such, it's ideally suited for all the content/document/asset-related needs of your applications. It offers the JCR API, plus access through RESTful interface and WebDAV network drive (among others). Additionally, managing content in the Content Repository makes it immediately availble for all the solutions that run of the platform.
    In essence, Content Repository is your go-to place to store and manage content in the Digital Enterprise Platform/Solutions. It is well suited to cater to your use case.
    The ECM Plugins (Connectors) are used if you have existing LiveCycle document services, and you have one of the ECM systems in your infrastructure used as archive. It allows you then to connect to such a 3rd-party system, and retrieve document for processing, as well as store them back for archiving.

  • Installing XI sp14, unable to upload XI CONTENT SAP_BASIS file

    Installing XI sp14, as part of upload XI CONTENT SAP_BASIS file (XI3_0_SAP_BASIS_6.40_14_00.tpz),
    1. copied this tpz file to directory E:\usr\sap\<SID>\SYS\global\xi\repository_server\import
    2. Choose Integration Repository (Design).
    3. Choose u00A8 Tools u00A8 Import Design Objects
    But this does not show any files to import.
    we follwed the same process with SP13 and it used to work.
    Your help is appreciated

    Hi,
    when you installed the SAP Integration Kit did you select the portal integration features ? Could you check that by using add / remove features ?
    Ingo

  • Read the content repository images

    Dear All,
    How can i read the content repository images. I have uploaded the image and assigned the image for the employee.I have used the Web dynpro ABAP for attaching the interactive form. Now my request is to download the images from the content server to the interactive form i.e. when the manager is trying to look his page, he needs to see his image in the Interactive form when others their corresponding image is need to be shown. how can i do that?
    Thanks
    Yogesh

    There is a particular case with sugested function, if content is generated on the fly by the server -php, cgi, etc.-
    In this case, http server doesn´t knows total size of response data, so response shows a chunked transfer-encoding header and data is parted in chunks, each one starting with it´s size, and following the data.
    HTTP/1.1 200 OK
    Date: Tue, 30 Apr 2013 12:43:41 GMT
    Server: Apache/1.3.31 (Win32) mod_fastcgi/2.4.1
    Connection: close
    Transfer-Encoding: chunked
    Content-Type: image/jpeg
    f49
    ÿØÿà  JFIF
    I´m using this function to decode parted response, with initial chunkedString with firs chunk size; in this case, f49:
    PartsSeparator="\r\n";
    function getPartedBody(partedBodyString) {
        var separatorPosition=partedBodyString.indexOf(PartsSeparator);
        var chunkSize=new Number("0x"+partedBodyString.substring(0,separatorPosition));
        separatorPosition+=PartsSeparator.length;
        var bodyString=new String("BINARY");
        bodyString="";
        if (chunkSize>0)
            bodyString=partedBodyString.substring(separatorPosition,separatorPosition+chunkSize)+
                getChunkedResponse(partedBodyString.substring(separatorPosition+chunkSize+PartsSeparator. length));
        return bodyString;
    Hope this helps
    regards

  • Read and write data from content repository .

    Hi All,
    We are using content repository to store some document and images on web center server .
    So we have created/setup a content repository on web center .
    Please proivde me some documnet /wiki page to get some idea how can i read and write date in
    content repository .
    You are most welocme to provide some idea /suggestion .
    Thanks,
    Arun.

    Have you already configured webcenter spaces so it can use content server?
    Have you installed the content server seperatly from webcenter or as a part of the webcenter installation?
    Check if you have the webcenter spaces component installed in content server because without i don't think it will work...
    If you already have configured UCM to work with spaces it's quiet easy.
    From your groupspace, open the settings page of your groupspace. Go to the services tab. In the left hand side you can enable the documents services. WHen you have done that, you are able to add the document services taskflows to your pages. Just go to a page in your pagegroup and edit it. Open the resource catalog and you will find some extra taskflows you can add.
    If you haven't configured UCM and webcenter to work together, here some steps that will help you:
    * Integrating UCM with Spaces
         * They both need to use the same LDAP store.
         * Since there is no LDAP server available, we choose for embedded WLS LDAP.
         * Integrating the ucm into apache
              * Stop UCM
              * In /oracle/product/wls10320/WebCenter/ucm/config/config.cfg, check the SocketHostAddressSecurityFilter to contain 127.0.0.1
              * Add the SocketHostAddressSecurityFilter to /oracle/product/wls10320/WebCenter/ucm/admin/bin/intradoc.cfg
              * Add to /oracle/product/wls10320/WebTier/instances/instance1/config/OHS/ohs1/httpd.conf
                   include /oracle/product/wls10320/WebCenter/ucm/data/users/apache22/apache.conf
              * Change the mod_wl_ohs.conf file to
                   <IfModule weblogic_module>
                         WebLogicHost localhost
                         WebLogicPort 7001
                         Debug ON
                         WLLogFile /tmp/weblogic.log
                   </IfModule>
                   <Location /webcenter>
                      SetHandler weblogic-handler
                      WebLogicCluster localhost:8888
                   </Location>
                   <Location /webcenterhelp>
                      SetHandler weblogic-handler
                      WebLogicCluster localhost:8888
                   </Location>
                   <Location /owc_discussions>
                      SetHandler weblogic-handler
                      WebLogicCluster localhost:8890
                   </Location>
                   <Location /em>
                      SetHandler weblogic-handler
                   </Location>
                   <Location /console>
                      SetHandler weblogic-handler
                   </Location>
                   <Location /consolehelp>
                      SetHandler weblogic-handler
                   </Location>
              * Restart UCM & WebTier
              * Test URL: http://yourServer:7777/idc
         * Configure the Identity Store for UCM & WebCenter
              * Set the password for the embedded ldap in WLS
                   Console => Domain Name => Security tab => Embedded LDAP tab => reset credentials
              * Restart AdminServer
              * Stop UCM
              * Add the following to /oracle/product/wls10320/WebCenter/ucm/config/jps-config.xml
                      <serviceInstance name="idstore.oid" provider="idstore.ldap.provider">
                          <property name="subscriber.name" value="ou=myrealm,dc=webcenter_domain"/>
                          <property name="idstore.type" value="WLS_OVD"/>
                          <property name="security.principal.key" value="ldap.credential"/>
                          <property name="security.principal.alias" value="JPS"/>
                              <property name="ldap.url" value="ldap://yourServer:7001"/>
                          <extendedProperty>
                              <name>user.search.bases</name>
                              <values><value>ou=people,ou=myrealm,dc=webcenter_domain</value></values>
                          </extendedProperty>
                          <extendedProperty>
                              <name>group.search.bases</name>
                              <values><value>ou=groups,ou=myrealm,dc=webcenter_domain</value></values>
                          </extendedProperty>
                          <property name="username.attr" value="uid"/>
                          <property name="user.login.attr" value="uid"/>
                          <property name="groupname.attr" value="cn"/>
                      </serviceInstance>
              * In the same file, change the serviceInstanceRef ref="idstore.ldap" to "idstore.oid"
              * Go to /oracle/product/wls10320/WebCenter/ucm/custom/FustionLibraries/tools
              * ./run_credtool.sh
                   Alias: default
                   Key: default
                   User Name: cn=Admin
                   Password: weblogic123
                   JPS Config: default
              * Start UCM
              * Check Provider:
                   * Go to http://yourServer:7777/idc
                   * Login : sysadmin/idc
                   * Administration -> Providers
                   * jpsuser should be good
                   * When a ldapuser exist, disable it!!
         * Configuring UCM for content search
              * Change the file /products/WebCenter11gR1/WebCenter/ucm/config/config.cfg
                  SearchIndexerEngineName=DATABASE.METADATA to SearchIndexerEngineName=DATABASE.FULLTEXT
              * Restart UCM server
              * Run the /products/WebCenter11gR1/WebCenter/ucm/database/oracle/admin/batchsnippet.sql in the wcbepsc_ocserver schema
              * Restart UCM server
              * Open the /products/WebCenter11gR1/WebCenter/ucm/bin/RepositoryManager (sysadmin/idc)
              * Recreate the indexes
         * Registering UCM with WebCenter
              * Go to http://yourServer:7777/em
              * Login with weblogic/weblogicPassword
              * Go to WebCenter - WebCenter Spaces - webcenter (WLS_Spaces)
              * From the top menu, select Settings - Service Configuration     
              * Select Content Repository
              * Add
                   Connection Name: ucm_connection
                   Repository Type: Oracle Content Server
                   Active Connection: checked
                   Administrator User Name: sysadmin
                   Root Folder: /WebCenterSpaces
                   Application Name: Spaces
                   CIS Socket Type: Socket
                   Server Host: localhost
                   Server Port: 4444
                   Authentication Method: Identity Propagation
              * Restart WLS_Spaces
         * Test the connection by creating a new group space and upload a document to the document page of this group spaceHope this helps.

Maybe you are looking for

  • MacBook Pro- Can't Find USB

    I have a Macbook Pro and when I plug my USB in, it doesn't show up on my desktop or in my finder. I read where i should have a "devises" tap on the sidebar of the finder menu, but I don't. I think I've accidentally made it to where its hidden somehow

  • How can I align text in Acrobat 8.1 Professional?

    Okay this is quite silly, but seriously how can I align text in adobe acrobat? I could not find a way other than creating a new document file which allows me to use alignment options automatically (example below), however does not allow me that when

  • How do I change the default language for the spell checker? - solved, sort of...

    As the previous thread was closed without actual resolution - https://support.mozilla.org/en-US/questions/941350?esab=a&s=&r=0&as=s I managed to solve this on my end by just reinstalling firefox using the localisation of the default dictionary langua

  • HT4007 I reinstalled Aperture 3. Do I have to install every single update files or only the latest one?

    Hi All. I just reinstalled Aperture 3. I'm just wondering do I have to install every update files by in order? or do I just need to install the latest one? Please let me know. Thank you.

  • Email remittance

    In sending email remittance to vendor can we use SAP Script or is it should be only PDF Form? Please let me whether it is mandatory to use smart form other than sap script cheers