ADF11g Webcenter application with UCM: emas_fwk_config_ConfigTemplateViewBean.applyAction error.



In our application we’re using WebCenter services to present documents from the Oracle Universal Content Management (UCM). We’ve set this up in JDeveloper and it works fine. But we also want to use it in the stand alone weblogic.

In Weblogic choose your application open Application Deployment –> WebCenter –> Service Configuration:

Choose content repository and press add.

Now when trying to save a content repository connection for the webcenter services in our application we’re getting the following error:

Configuration options currently unavailable. The application might be down, did not start properly, or is incorrectly packaged. Check the log files for further details. These mbeans encountered exceptions and may not have been saved ddd - JCR -- Could not do this operation, the backing store for this context is read only. #{emas_fwk_config_ConfigTemplateViewBean.applyAction}: oracle.sysman.emSDK.app.exception.EMSystemException

Thats kind of strange because:

  • The application is up and accessible
  • The connection to the content server is valid, we use it in Jdeveloper

After some searching with no result we contacted Oracle Support. They pointed out a specific tag was needed in the ADF-CONFIG.xml

<doclibC:adf-doclib-config xmlns="http://xmlns.oracle.com/webcenter/doclib/config" primaryConnectionName="KlantRapportenRepository"/>

Normally this tag will be inserted on creation of the connection in JDeveloper. For some reason this doesn’t happens always. No the Mbeans can find the property and create a connection in Weblogic.

If you deploy your connections.xml file in the same ear and the following tag is present in the ADF-CONFIG.XML:

  <jndiC:adf-jndi-config>
    <jndiC:ConnectionsJndiContext initialContextFactoryClass="oracle.adf.share.jndi.InitialContextFactoryImpl" backingStoreURL="META-INF/connections.xml" backingStoreClass="oracle.adf.share.jndi.MDSBackingStore">
      <jndiC:contextEnv value="true" name="cache_application_scope"/>
    </jndiC:ConnectionsJndiContext>
  </jndiC:adf-jndi-config>

Your connection will be pre-configured in your Weblogic and you only have to change your server and credentials.

Comments are closed.

Algemeen (9)
GlassFish (49)
Java (58)
Managed Services (10)
Oracle (120)
Private Cloud Hosting (2)
SOA/BPEL/ESB (11)
Software development (92)
Strategie (7)
WSO2 (2)

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

  • 071 - 82 000 82
  • Rijndijk 137 | 2394 AG Hazerswoude-Rijndijk
Oracle SOA specialized partner
Java
GlassFish
WSO2
DEMO
i-bridge
Rabobank
Greencat
Jan de Rijk
Reuma Revalidatie Rotterdam
Robeco
VU Medisch Centrum
CHS
LUMC
TomTom
TKP
NCCW
Erasmus MC
UMCG
VIR
ANWB
BVA Auctions
D-Reizen
STEDIN