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
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:
- Open Weblogic console and go to Environment -> Servers
- Go to markview_server -> Server Start
- In Arguments window add the JAVA options (string): -XX:+PositiveIdentityHash -XX:-IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
- Restart MarkView server.
For WildFly/EAP application servers:
Wildfly/EAP standalone mode:
-
For Windows OS:
-
Open file for editing: %JBOSS_HOME%\bin\standalone.conf.bat
-
Go to end file and add string: set "JAVA_OPTS=%JAVA_OPTS% -XX:+PositiveIdentityHash -XX:-IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions" before :JAVA_OPTS_SET instruction.
-
Save file.
-
-
For Linux OS:
-
Open file for editing: $JBOSS_HOME/bin/standalone.conf
-
Go to end file and add string: JAVA_OPTS="$JAVA_OPTS -XX:+PositiveIdentityHash -XX:-IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions".
-
Save file.
-
Wildfly/EAP domain mode, for Unix and Windows OS:
-
On the web server, open the WildFly or JBoss EAP Administration Console.
-
On the Runtime tab, select Server Groups.
-
On the Server Group menu, select Server Group Name.
-
In the Server Group Name box, press View button.
-
In the left pane select JVMs, and add a new JVM configuration.
-
Click Edit, and set the following memory properties for your application server. Suggested values are:
-
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 |