Skip to main content
Kofax

MarkView installation is failing on AIX using Weblogic 12 with the error java.lang.ClassCastException: org.apache.xerces .parsers.XIncludeAwareParserConfiguration incompatible with org.apache.xerces.xn i.parser.XMLParserConfiguration

308608

Behavior

When running the Kofax MarkView installer on AIX using WebLogic 12 the installer fails with the following error in the installer-fatal.log

java.lang.ClassCastException: org.apache.xerces .parsers.XIncludeAwareParserConfiguration incompatible with org.apache.xerces.xn i.parser.XMLParserConfiguration

You will see this error in the markview_server.out log

 <Error> <Security> <BEA-090060> <The AccessDecision class "weblogic.security.providers.xacml.authorization.XACMLAuthorization ProviderImpl" returned an error: java.lang.ClassCastException: org.apache.xerces .parsers.XIncludeAwareParserConfiguration incompatible with org.apache.xerces.xn i.parser.XMLParserConfiguration.>

Known Causes

This is the result of an Oracle WebLogic Defect. This is the same error as reported in Oracle Support Doc ID 1355665.1. This defect was fixed in WebLogic 10 but is present again in WebLogic 12

Resolution

While this is an Oracle issue, we do have the following work around:

Prerequisites:

  • The following programs should be installed on your AIX environment before run the script:
  • jar
  • zip
  • unzip
  • Unzip Kofax MarkView installation distribution

Steps:

1.  Copy the modify_mv_installer_for_weblogic_on_aix.zip file to your AIX machine into the base directory of the MarkView installation distribution and unzip it.

2.  Run the modify_mv_installer_for_weblogic_on_aix.sh script and ensure it completes without error. If it should error please log a support case. 

3. You should now be able to run the installation. 

Perform the following steps on the application server

 

For the Weblogic application server:

 

  1. Open Weblogic console and go to Environment -> Servers
  2. Go to markview_server -> Server Start
  3. In Arguments window add the JAVA options (string): -XX:+PositiveIdentityHash -XX:-IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
  4. Restart MarkView server.

For WildFly/EAP application servers:

 

Wildfly/EAP standalone mode:

 

  1. For Windows OS:

    1. Open file for editing: %JBOSS_HOME%\bin\standalone.conf.bat

    2. Go to end file and add string: set "JAVA_OPTS=%JAVA_OPTS% -XX:+PositiveIdentityHash -XX:-IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions" before :JAVA_OPTS_SET instruction.

    3. Save file.

  2. For Linux OS:

    1. Open file for editing: $JBOSS_HOME/bin/standalone.conf

    2. Go to end file and add string: JAVA_OPTS="$JAVA_OPTS -XX:+PositiveIdentityHash -XX:-IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions".

    3. Save file. 

 

Wildfly/EAP domain mode, for Unix and Windows OS:

 

  1. On the web server, open the WildFly or JBoss EAP Administration Console.

  2. On the Runtime tab, select Server Groups.

  3. On the Server Group menu, select Server Group Name.

  4. In the Server Group Name box, press View button.

  5. In the left pane select JVMs, and add a new JVM configuration.

  6. Click Edit, and set the following memory properties for your application server. Suggested values are:

    1. JVM Options to
      -XX:+PositiveIdentityHash
      -XX:-IgnoreUnrecognizedVMOptions
      -XX:+UnlockExperimentalVMOptions

 

Applies to:  

Product Version Category
Markview All MarkView versions where Weblogic 12 is being used as the application server and AIX is the operating system Installation

 

Author:  David Connors-MacMillan

8/5/2019 - Article published