VirtualBox

source: vbox/trunk/src/libs/dita-ot-1.8.5/docsrc/readme/DITA-troubleshooting.xml@ 99012

Last change on this file since 99012 was 98584, checked in by vboxsync, 2 years ago

Docs: bugref:10302. Setting svn properties of DITA-OT library.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--Arbortext, Inc., 1988-2011, v.4002-->
3<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
4 "reference.dtd">
5<?Pub Sty _display FontColor="red"?>
6<reference id="troubleshooting" xml:lang="en-us">
7<title>Other error messages</title>
8<shortdesc>In addition to error messages generated by the DITA Open
9Toolkit, you might also encounter error messages generated by
10Java or other tools.</shortdesc>
11<refbody>
12<!--
13<section id="section_rtj_4gj_wd">
14<title>Warning: XML resolver not found; external catalogs will be ignored</title>
15<p>Caused by <codeph>org.apache.tools.ant.types.resolver.ApacheCatalogResolver</codeph> class
16not being available in Ant claspath.</p>
17<ol>
18<li>Check that <codeph>ANT_HOME</codeph> system variable is correctly set. </li>
19<li>Check that <filepath>$ANT_HOME/lib/ant-apache-resolver.jar</filepath> exists.</li>
20</ol>
21</section>
22<section id="section_gpl_dhj_wd">
23<title>List file dita.xml.properties or dita.list not found</title>
24<p> Encountered during preprocessing.</p>
25<ol>
26<li>Check that classpath contains <filepath>$DITA_HOME/lib/dost.jar</filepath>.</li>
27</ol>
28</section>
29-->
30<section id="section_stj_4gj_wd"> <title>Out of Memory error</title>
31 <p>In some cases, you might receive a message stating the build
32has failed due to an <msgph>Out of Memory</msgph> error. Try the following
33approaches to resolve the problem:</p> <ol id="ol_rfb_c2p_qg">
34<li>(For custom-configured environments, not the DITA-OT Full Easy
35Install) If you use Xalan as the default XSLT processor,
36switch to Saxon.</li>
37<li>Increase the memory available to Java; see <xref
38href="increasing-the-jvm.dita"></xref>.</li>
39<li>Reduce memory consumption by setting the <option>generate-debug-attributes</option>
40 option to <codeph>false</codeph>. This option is set in
41the <filepath>lib/configuration.properties</filepath> file.
42This will disable debug attribute generation (used to trace DITA-OT
43error messages back to source files) and will reduce memory consumption.</li>
44<li>Set <codeph>dita.preprocess.reloadstylesheet</codeph> Ant property
45to <codeph>true</codeph>. This will allow the XSLT processor
46to release memory when converting multiple files.</li>
47<li>Run the transformation again.</li>
48</ol> </section>
49<section> <title>java.io.IOException: Can't store Document</title>
50 <p>After running a JavaHelp transformation, you may receive a <msgph>java.io.IOException:
51Can't store Document</msgph> message. </p> <p>This problem occurs
52when HTML files unrelated to the current transformation are found
53in the output directory. Delete the content of the output
54directory and run the transformation again.</p> </section>
55<!--<section><title>Failed to load message file</title><p>In some situations, the toolkit may fail to load the message file <filepath>messages.xml</filepath> and begin to throw exceptions.</p><p>To fix this problem, you need to check if the files <filepath>resource/messages.xml</filepath> and <filepath>resource/messages.dtd</filepath> exist in the toolkit. If not, please copy them from the toolkit's root directory.</p></section>-->
56<!--<section><title>Commas in file names</title><p>Commas in file names will cause trouble during the processing because Ant uses commas as a delimiter when processing batch files in a list. Please avoid using commas in the name of DITA files.</p></section>-->
57<section> <title>Stack Overflow error</title><p>If you receive an
58error about a stack memory overflow, increase the JVM and run the
59 transformation again. See <xref href="increasing-the-jvm.dita"></xref>.</p><?Pub
60Caret 115?> </section>
61</refbody>
62</reference>
63<?Pub *0000003759?>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette