You are here

Enable UCM Check-In profiles in WebCenter PS3

One of the features in WebCenter PS2 that I thought weren't that good was the integration with UCM. I had a few projects were we definitely could use the integration of the Check-in profiles. Check-in profiles allow you to hide and/or preset metadata fields from UCM. This way when you check in a document, the user does not see all the fields and some fields can be preset for him.

I heard a lot of guys from Oracle saying that the integration between UCM and WebCenter is a lot better in PS3. One of the things that will be possible, is exposing the Check-in profiles so that you can select the Check-in profile. It also enabled to see the profile fields in the details of the document.

The problem was that I didn't find any documentation on this so I popped the question on the WebCenter EMG. I also created a topic on OTN and someone from Oracle pointed me to the correct documentation. Apparently it was documented in some appendix of the Administration guide of WebCenter so now I am writing this post so everybody will know how to enable additional UCM and Site Studio features in WebCenter.

Basically, the idea is simple. We only need to configure the Oracle HTTP Server properly and configure the UCM connection in the Enterprise Manager. That's it...

So now a little bit in more detail.

Configure OHS

You can download the Web Tier Utilities (where the OHS is a part of) from following URL: http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-0...

You will need to download and install Web Tier Utilities 11.1.1.2, then 11.1.1.1.3 and then 11.1.1.4. You can't just install 11.1.1.4. They are all patch sets that need the previous version so that's why you have to start with 11.1.1.2. I'm not going to explain how to install OHS. It's just a simple process with a wizard. Just make sure you install it in the same middleware home as your WebCenter domain.

In order to configure the OHS, you need to modify mod_wl_ohs.confg from following directory:
/Oracle_WT1/instances/instance1/config/OHS/ohs1

Where Oracle_WT1 is the name of your Web Tier home and instance1 is the name of your Web Tier instance and ohs1 is the name of the OHS instance in your Web Tier instance. These names will all be asked during configuration of the Web Tier after installation.

In this file you need to configure the WebLogic Host and Port and bind the different managed servers to a location. This is whay my mod_wl_ohs.config looks like:

  1. <IfModule weblogic_module>
  2.       WebLogicHost localhost
  3.       WebLogicPort 7001
  4. </IfModule>
  5.  
  6. <Location /cs>
  7.       SetHandler weblogic-handler
  8.       WebLogicCluster localhost:16200
  9. </Location>
  10.  
  11. <Location /webcenter>
  12.       SetHandler weblogic-handler
  13.       WebLogicCluster localhost:8888
  14. </Location>
  15. <Location /adfAuthentication>
  16.         SetHandler weblogic-handler
  17.         WebLogicHost localhost
  18.         WebLogicPort 16200
  19. </Location>

As you can see, I added a location for both webcenter spaces (/webcenter) and the content server (/cs). The last entry is to make sure the identity propagation between WebCenter and UCM works.

This means that from now on, I can access both WebCenter Spaces and the content server from the same host and port. In my case, the Web Tier is configured to listen on port 7777 so from now on I access webcenter and content server from following URL:
http://localhost:7777/webcenter
http://localhost:7777/cs

This is the first prerequisite for a good integration between UCM and WebCenter. They both need to be accessible thru the same host and port using the OHS.

Create a connection in the Enterprise Manager

The next thing we need to do is create the connection in the Enterprise Manager.

So open up the enterprise manager (http://localhost:7001/em) and login.

In the tree on the left open the Webcenter folder, then the WebCenter Spaces folder and select the webcenter node.

From the top click on webcenter and select Settings => Service configuration.

Select Content Repository from the list of services and press the Add button to create a new connection.

Specify the connection information for your content server and make sure you set the socket type to socket and set the Web Server Context Root to the context root of your content server. Take a look at following screenshot for a reference:

Save the connection and restart the WebCenter Spaces server.

Once the server has been restarted, the UCM and Site Studio features will be enabled.

When you go to a page in your WebCenter Space environment where you have added the document manager and upload a new file, you will see a dropdown box with the available profiles:

When you select a profile, an inline frame will be shown with the check in form for the selected profile.

Hope this post will help some of you guys.
If there are questions about it, please, do let a comment.

Comments

thank you very much your guide solved my problem

Hello,

We have already integrated Webcenter with Content server. 1 Problem we are facing is whenever an i-frame opens it is asking for Content server Login prompt. Is there any way we can reduce this overhead. We are not using oracle SSO as it is not the part of our license.

Thanks

We are having the same issue using active directory. Did you ever get a solution other than SSO

You can only use SSO in order to solve this issue. You can however use AD as your identity store but not as SSO solution. You need to use Oracle SSO to authenticate...

Thanks Yannick. Is there an easy to understand step by step instructions to setup/configure SSO using Active Directory? I'm new to Webcenter and linux.

Yannick, do you think that the error above can occurs because my UCM and my WC isn't in the same host and port?

SEVERE: Unable to retrieve configuration information for Content Server associated with repository UCM at host 172.20.4.33 and port 4444. When calling service CONFIG_INFO, as user weblogic, at timestamp 7/1/11 2:15 PM, recieved status code -1.

Thanks

I Don't think this could be the problem. You should however configure SSO between both servers.
Also, both server need to be in the same domain of your WLS. If they are in a different WLS, you need to configure both WLS as trusted.

Yannic, if I change the user to sysadmin in UCM connection, works fine...Have any ideia?

I have recently done a POC on the contributions, if you can setup the Default Data Element and region Definition you will be able to use the Magic key ctrl + shift + 'C' to switch Webcenter Spaces PS3 to contribution mode.

This way you can present the Site Studio content as well as Contribute to the same content list. As you can define the Data Element/Region Definition such that, each site studio list can have it's own defined Contribution Metadata list.

Pre-requisite -
In Webcenter Spaces/ Spaces page, Make sure that you have at least one Content Presenter with a content and Region Template from Site Studio.

The limitation I have felt is, the Content Presenter is not able to Query against any Metadata field. The only way to query is using keywords and file names and after doing that, there is no way you can contribute to the same Webcenter list, i.e there is no metadata specific contribution other than using the profiler as mentioned in this blog.

Hi

Could you help me out how to configure webcenter services like announcements, blogs ,wikis and etc. with webcenter spaces administration.

Regards..
Nagaraju Manchala

Hi,

I've done all the steps but now I have an exception saying:

"intradoc.common.ServiceException: !csCollectionUnableToInfoCollection!csCollectionUnableToLoad,9D29FAFF-7123-4135-BA3F-4A0AB06EE79F (guid)
at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
at intradoc.server.Service.buildServiceException(Service.java:2260)
at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)..."

Can you help me?

Thanks

Did you enable the folders_g component?

I followed your instructions, however it seems like it simply did not work. I am still able access WebCenter Spaces and UCM using the old port. 7777 does not work. Is there anything I should double check?

What do you get when you go to localhost:7777/webcenter ?
Does localhost:7777 work without /webcenter or /cs ?
Is your OHS running and did you restart it when you made these changes?

I just get a Page Not Found. Although, we're not using localhost, we have this all up on an Amazon Cloud Server, but still.

hostname:7777 does not work with or without /webcenter or /cs

OHS seems to be up and running, and yes, I restarted...

Firewall that is blocking port 7777?

that worked! not sure why I didn't think of that to begin with. thanks. is it normal that I can still access webcenter and UCM at the old URL's as well? also, if we want to access them just at hostname/webcenter or hostname/cs (no port), would changing the web tier listener port to '80' instead of '7777' do the trick? seems like it's giving us issues:

Permission denied: make_sock: could not bind to address [::]:80

regarding my last question about port 80, I figured it out! check this out:

http://dirknachbar.blogspot.com/2011/03/switching-oracle-http-server-to-...

Thanks again for the help!

To be honest, this is not something I would recommend. The reason for this is that the ownership for the OHS is set to root. This is not a good practice in linux. You should give ownership to the actual user (Oracle). This is more secure.
My solution is to use port forwarding from 80 to 7777. Here's the command you need to run as the root user:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 7777

This way, the ownership remains on Oracle and the OHS remains running on 7777 but you actualy setup a port forwarding so that all the requests comming in on 80 will be redirected to port 7777. This is more secure.

Great post !!...

I have some questions about the configuration: in server 1 i have installed the webtier (also here i have installed a weblogic where I deploy the webtier), and on the server 2 I have installed the webcenter and UCM (here i have installed a weblogic)...

so is ok if i configure this way ? or in the weblogic_module i have to put the server1 ?. And why use WebLogicCluster instead of WebLogicHost ?

WebLogicHost server2
WebLogicPort 7001

SetHandler server2
WebLogicCluster server2:16200

SetHandler weblogic-handler
WebLogicCluster server2:9000

SetHandler weblogic-handler
WebLogicHost server2
WebLogicPort 16200

Thank you verry much !!

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer