Thursday, April 16, 2015

CMIS query UCM Document

For Database everyone is aware about SQL query. Similary for UCM there is query language that is called CMIS query. More details about the CMIS query can be found at below url.


http://docs.oracle.com/cd/E15919_01/doc.1032/e15813/toc.htm

Monday, April 13, 2015

SEVERE: Unable to retrieve trash status for repository WebCenterSpaces-ucm. When calling service COLLECTION_GET_ADMIN_MARKED_CONFIG, as user

Today I was working with on integration of  UCM and Webcenter .

I was encountering "The Document Service is unavailable. Error Contacting the Content repository"

Whenever i was trying to use any out of box taskf lows for intergrating with UCM, i was encountering this error in my logs.




SEVERE: Unable to retrieve trash status for repository WebCenterSpaces-ucm.  When calling service COLLECTION_GET_ADMIN_MARKED_CONFIG, as user 

After quite a bit of research we figured out the setting from the UCM side was off.

The folder_g folder was not enabled.

Steps to enable it:-


  1. Login to UCM Administration
  2. Select Admin Server in left navigation
  3. Select Component Manager
  4. Click on the Advance component manager
  5. In the enable component list, enable folder_g .
  6. If there is Framework folder enabled  then disable it.
Then restart the UCM managed server. Thus issue got resolved.



Monday, April 6, 2015

Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for


I was trying to deploy an application to a managed server which was on running my local integrated server .

But i encountered this exception.

It seems like some library is not present in the managed server but i was puzzled why a library may not be present in the managed server.


For my case i was missing the library Extension-Name: oracle.portlet-producer.wsrp in my managed server.

After looking at the weblogic console, i figured this library was targerted to different managed servers not to the one where i was deploying. I deployed my application to the managed server where the library was already deployed. The application deployment was successful.

[11:25:38 AM] Deploying Application...
[11:25:39 AM] [Deployer:149191]Operation 'deploy' on application 'POApp_application1' is initializing on 'WC_CustomPortal'
[11:25:39 AM] [Deployer:149193]Operation 'deploy' on application 'POApp_application1' has failed on 'WC_CustomPortal'
[11:25:39 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application POApp_application1 on WC_CustomPortal.: Failed to load webapp: 'POApp-ViewController-context-root'.
[11:25:40 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'POApp-ViewController-context-root'
[11:25:40 AM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@433031789[app:POApp_application1 module:POApp-ViewController-context-root path:/POApp-ViewController-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: oracle.portlet-producer.wsrp, exact-match: false]
[11:25:40 AM]   See server logs or server console for more details.
[11:25:40 AM] weblogic.application.ModuleException: Failed to load webapp: 'POApp-ViewController-context-root'
[11:25:40 AM] ####  Deployment incomplete.  ####

[11:25:40 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

Sunday, April 5, 2015

Static files in Webserver OHS or Apache

You can places static images or HTML in your webserver. Oracle HTTP Server (OHS) or apache has htdocs folder.

You can place all your static files in this folder. Then you can acces it by using


http://domainname/filename


In case you places your images inside a images folder in htdocs,

the url will change to http://domainname/images/filename


The location for htdocs folder is config/OHS/<ohs_name>/htdocs

For ex:- /u01/app/oracle/product/webcenter/fmw/Oracle_WT1/instances/instance1