FileNet P8 Content Engine, Version 5.0.+   Database:  Oracle   Application server:  JBOSS Application Server     

Editing XA data source XML files (Oracle and JBoss 4)

If you are using an Oracle database with JBoss Application Server version 4.0.5 or version 4.2.3, you must edit the data source XML files to set the <mbean> attribute to allow successful connection to the database.

To set the <mbean> attribute:

  1. Remove the <mbean> tag from the Global Configuration Data (GCD) data source XML file, jboss_install_dir/server/myserver/deploy/FNDGCDXA-ds.xml.
    1. Open the data source XML file in a text editor.
    2. Delete the following <mbean> tag:
      <mbean 
      code="org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter"  
      name="jboss.jca:service=OracleXAExceptionFormatter"> 
      <depends optional-attribute name="TransactionManagerService"> 
      jboss:service=TransactionManager 
      </depends>
      </mbean>
    3. Save your change.
  2. Remove the <mbean> tag from the object store FNDosnameXA-ds.xml data source XML files. Ensure that the data source XML files for your object stores do not have the <mbean> tag.
  3. Add the <mbean> tag to the CEMP-mbean-ds.xml XML file.
    1. Create an XML file and name it jboss_install_dir/server/myserver/deploy/CEMP-mbean-ds.xml.
    2. Add the following text to the XML file. Do not enter any line breaks in the <mbean> tag.
      <?xml version="1.0" encoding="UTF-8"?>
      <datasources>
        <mbean 
         code="org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter" 
         name="jboss.jca:service=OracleXAExceptionFormatter">
      	      <depends optional-attribute-name="TransactionManagerService">
             jboss:service=TransactionManager></depends>
        </mbean>
      </datasources>
    3. Save the file.


Feedback

Last updated: November 2010


© Copyright IBM Corporation 2010.
This information center is powered by Eclipse technology. (http://www.eclipse.org)