Friday, October 16, 2009

No Posting from days ...

I didn't post anything from days, because I am currently engaged in J2EE application for Vodafone Egypt with my current employer (Egabi Solutions) where we have lack of J2EE resources, and hopefully I will finish my tasks by the end of this month. For the first time I am coding using Hibernate and Struts, I was confused about them at the beginning but now I know how to work with them, and I like them especially hibernate.

Friday, October 2, 2009

Oracle Database RAC configuration with UCM

If want to configure Oracle Database RAC with Oracle UCM, you will need only to change database connection string inside UCM configuration file (/config/config.cfg), also you can change the connection string using System Properties utility if you want.

The new UCM configurations are:

JdbcDriver=oracle.jdbc.driver.OracleDriver
JdbcConnectionString=jdbc:oracle:thin:@(description=(address_list=(address=(host=your.host1.name)(protocol=tcp)(port=123))(address=(host=your.host2.name)(protocol=tcp)(port=123))(load_balance=yes)(failover=yes))(connect_data=(service_name=service.name)))

Friday, August 28, 2009

IRM Blog

I was searching for any available resources about IRM, and I discovered that there is an official Oracle blog for IRM http://blogs.oracle.com/irm/



Saturday, August 22, 2009

Create a new webService based on an existing content sever service

In latest release of Oracle UCM (10gR3 release), WSDLGenerator component has became one of the system components, which means when we install UCM, we will have that component installed and enabled for us to be used. That component is very important, because it facilitates the integration with Oracle UCM, i.e. we got 8 WSDL files with this component that WSDL files give us the most required webservices like a webservice for checking in a content.

But sometimes, we want to have some other webservices based on an existing content server service that service may be created by you. Next I will show you how to create a webservice that can create a virtual folder, the new webserice name will be CreateFolder, where that webservice will be based on COLLECTION_ADD -content server service.

Note all WSDL files are saved under the following path [UCM_INSTALL_DIR]/weblayout/groups/secure/wsdl/custom/

Steps For How To Create "CreateFolder" Webservice
1- Login as sysadmin user

2- Under Administration menu, click on the menu item Soap Wsdls, then Wsdl List page will open
3- From Actions menu choose Add WSDL


4- Next add the Wsdl Name which will be Folders and add Wsdl Description

5- Then Click on Add button, then you will be directed to Wsdl Information Page
6- Inside Wsdl Information Page, from Actions menu choose Add Service


7- Next add the Webservice Name, which will be CreateFolder, and IdcService Name which will be Collection_ADD


8- Then click on Add button, then you will return to the Wsdl Information Page again, and you can see a new webservice has been added to Services list
9- Click on Edit for the webservice CreateFolder, you will be directed to the Service Information Page


10- From Actions Menu, choose Update Request Parameters, and add the following parameters
Note:
The request (input) parameters for COLLECTION_ADD IdcService are divided to three parts,
the first part is related to folder information (first five parameters), the second part is the default metadata fields for the folder where any content added to the folder will inherent the metadata values, we can add them one by one or we can use another predefined type (d:CommonDocMetaFields) that holds all of them, and the third part is the custom metadatafields, also we have a predefined type (propertylist:CustomDocMeta) that will define them to be taken dynamically with specific names (you can add them one by one but in that case they will be static so if you deleted any custom metadata field you need to remove it manually from the Wsdl file)

11- From Actions Menu, choose Update Response Parameters, and add the following parameter

12- Inside Service Information Page click on update
13- Inside Wsdl Information Page click on update
14- Now you are in Wsdl List Page, from Actions menu, choose Generate Wsdls

Next after creating the webservice, we need to test it, we can do this using a Webservice testing tool, I am using SoapUI.

Wednesday, July 22, 2009

Documentum

Today I attended a presentation for Documentum, it was my first time to see documentum, and documentum offerings. it was interesting, they are offering every thing, document management, federated search, workflow, business process, web content management, high availabilitiy, storage management, eForms, virtualization, capturing solution, and other things, and the interesting thing is that they have a unified repository.

Actually, I love Oracle UCM so much, but as I saw Documentum is better than Oracle UCM, mmmmmm no comparison. Anyway, after that presentation I wish I will work in a Documentum project soon.

Tuesday, July 7, 2009

START_SEARCH_INDEX

I've been asked a question from "Anirban Datta" from "Tata Consultancy Services" about separating indexing of content based on document types, which means during indexing we want to not index all documents, just some documents based on document types.

By default you cannot do this, but I think using customization we can do that, in UCM we have a service called "START_SEARCH_INDEX" that service is executing a java function called "buildSearchIndex", so If we redeveloped that function again for that service (using reverse engineering), we can make indexing based on document types.

I wish I was helpful for "Anirban Datta"

Wednesday, June 24, 2009

How to move Vault and Weblayout Directories???

Most of the time you want the vault and weblayout folders to exist in a storage server (for example on SAN storage). You can do that during installation of UCM, where you will be asked for the location of the Vault and Weblayout directories, but if you forgot to do that, no problem you can change the location of the two directories.

In the following lines, I will tell you how to change the location of the two directories:

First I will suppose that we have a shared directory on the file server in which we will move the vault and weblayout directories, let us suppose the shared directory named "\\stellent-share\"

  1. Stop the content server
  2. Stop the webserver
  3. Move Vault and Weblayout directories to "\\stellent-share\"
  4. Edit the following configuration files
    /bin/intradoc.cfg
    /admin/bin/intradoc.cfg

    and add the following entries
    VaultDir=d:/vault/
    WeblayoutDir=d:/weblayout/
  5. In the currently used Web Server, change the location of the weblayout in the website settings

    Note: You need to create a mapped drive the new location of the weblayout directory (with win, use PUSHD command), which will be used with Web server settings

    If for example I mapped "//stellent-share/weblayout" to "Z:", in Apache the configurations will be

  6. Restart the web server
  7. Restart the content server
Don't forget you can do the