| 51 |
a web application. To fix that, copy xercesImpl.jar and xmlParserAPIs.jar from |
a web application. To fix that, copy xercesImpl.jar and xmlParserAPIs.jar from |
| 52 |
d:\eclipse\plugins\org.apache.xerces_4.0.3\ to |
d:\eclipse\plugins\org.apache.xerces_4.0.3\ to |
| 53 |
d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0\WEB-INF\lib\ </li> |
d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0\WEB-INF\lib\ </li> |
| 54 |
<li><b>Tomcat 4:</b> Both Eclipse and Tomcat contain code to set a |
|
| 55 |
|
<li><b>Tomcat 4:</b> |
| 56 |
|
<ul><li> Both Eclipse and Tomcat contain code to set a |
| 57 |
URLStreamHandler, but it can only be set once. To allow both Tomcat and |
URLStreamHandler, but it can only be set once. To allow both Tomcat and |
| 58 |
Eclipse to work correctly, a library |
Eclipse to work correctly, a library |
| 59 |
d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0\infocenter\eclipseurl.jar needs |
d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0\infocenter\eclipseurl.jar needs |
| 61 |
tomcat/bin/setclasspath.bat file and after the line: <pre><em><span style="font-style: normal">set CLASSPATH=%JAVA_HOME%\lib\tools.jar</span></em></pre> |
tomcat/bin/setclasspath.bat file and after the line: <pre><em><span style="font-style: normal">set CLASSPATH=%JAVA_HOME%\lib\tools.jar</span></em></pre> |
| 62 |
<p>insert the line:</p> |
<p>insert the line:</p> |
| 63 |
<pre><em><span style="font-style: normal">set CLASSPATH=%CLASSPATH%;d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0\infocenter\eclipseurl.jar.</span></em> </pre> |
<pre><em><span style="font-style: normal">set CLASSPATH=%CLASSPATH%;d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0\infocenter\eclipseurl.jar.</span></em> </pre> |
|
<p>Replace the xerces.jar file in tomcat\common\lib with xercesImpl.jar and xmlParserAPIs.jar from d:\eclipse\plugins\org.apache.xerces_4.0.3 |
|
| 64 |
|
|
| 65 |
</li> |
</li> |
| 66 |
|
<li> |
| 67 |
|
Because of changes to the xml library, remove tomcat\common\lib\xerces.jar, then edit setclasspath.bat by replacing the line |
| 68 |
|
<pre><em><span style="font-style: normal">set JAVA_OPTS=</span></em> </pre> |
| 69 |
|
with |
| 70 |
|
<pre><em><span style="font-style: normal">set JAVA_OPTS=-Xbootclasspath/a:d:\eclipse\plugins\org.apache.xerces_4.0.3\xercesImpl.jar;d:\eclipse\plugins\org.apaches.xerces_4.0.3\xmlParserAPIs.jar.</span></em> </pre> |
| 71 |
|
</li> |
| 72 |
|
</ul> |
| 73 |
|
</li> |
| 74 |
<li><b>Disable precompiled JSP's:</b>. Unless you are using Tomcat 4.0.x or |
<li><b>Disable precompiled JSP's:</b>. Unless you are using Tomcat 4.0.x or |
| 75 |
plan to ship the jasper jar files, you should also copy |
plan to ship the jasper jar files, you should also copy |
| 76 |
d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0\infocenter\web.xml to |
d:\eclipse\plugins\org.eclipse.help.webapp_2.0.0\infocenter\web.xml to |
| 89 |
documentation as Eclipse documentation plug-ins. Install them to |
documentation as Eclipse documentation plug-ins. Install them to |
| 90 |
d:\eclipse\plugins\. </p> |
d:\eclipse\plugins\. </p> |
| 91 |
|
|
| 92 |
<p><b>Note: It appears that, in F3 build, the infocenter support using Tomcat |
|
|
4.0.3 only works with JDK1.4. |
|
|
<br> |
|
|
JDK1.3 can be used to setup an older infocenter, present in Eclipse M5 build, |
|
|
later builds do not work with JDK1.3. New version of Xerces present in |
|
|
the newest drivers seems to cause the problem when used with this JDK. |
|
|
<br> |
|
|
With JDK1.3.1 we were unable to start Tomcat 4.0.3 at all.</b></p> |
|
| 93 |
|
|
| 94 |
</body> |
</body> |
| 95 |
</html> |
</html> |