Skip to main content
Kofax

MarkView Viewer ear file fix to resolve performance problem or image load issue

3023232

Question / Problem: 

Due to a product defect (1467544), the MarkView Viewer may not load, maybe slow to load the first time, and/or may show an error, such as:

"Error: [Ext.getBody] document.body does not yet exist" 

Additionally - it may only impact IE, and it also may only impact the first time a document is loaded. Refreshing the viewer or attempting to load the document a second time may work fine.

Answer / Solution: 

All customers on MarkView 10.1, should first apply Fix Pack 10.1.0.2 (Fix Pack 2), and then deploy the Viewer ear hot fix (attached below as viewer.zip). As always Kofax recommends doing this in Non-Production prior to making any changes to Production, where proper testing can be conducted.

viewer.zip

 

How to Deploy the New Viewer Ear (WebLogic): 

  1. Copy the new viewer.ear in the <markview_installation>/applications directory.
  2. Open Weblogic Console.
  3. Click Deployments on the left hand side menu.
  4. Click Lock and Edit above the Left Hand Side Menu.
  5. Check the box next to viewer and click delete.
  6. Click the Install Button.
  7. Select the new viewer.ear file <markview_installation>/applications/viewer.ear.
  8. Click Next. Accept all defaults for each screen except the application name. This should be set to Viewer.
  9. Once finished, a message indicating the deployment was successful should appear.
  10. Click the Activate Changes button on the left hand side.
  11. Click the Control Tab.
  12. Check the box next to Viewer and select Start -> Servicing all requests. The Viewer should go to active state.
  13. Restart the application server.

 

How to Deploy the New Viewer Ear (JBOSS/WildFly): 

  1. Confirm the new viewer.ear is present in the deployment folder.
  2. Delete the existing viewer deployment through the Jboss console
  3. Ensure the standalone config file is configured for deployment "scanning"
  4. Copy the new ear file to the deployment source folder. The "scanning" should automatically deploy the new ear.

 

How to Verify if the New Viewer Ear is Deployed:

  1. Open the MarkView Viewer.
  2. Right-click on the page and select Inspect element in the menu or press the F12 button (The Developer Tools window appears).
  3. Open the DOM Explorer tab.
  4. Locate the script tag with id set to the "microloader". It should be right under the body tag. Example: article_viewer_hot_fix_example_verify.png
  5. If you do not see such the script tag in the body, please, verify the header tag. If it is in the header tag, the new viewer.ear is not deployed.

Applies to:  

Product Version
MarkView for Oracle 10.1.0.2

 

 

  • Was this article helpful?