Skip to content

Commit a3efdc6

Browse files
committed
SWS-759 - FAQ about Mac OS X test failures needs updating
1 parent f7e72d3 commit a3efdc6

File tree

1 file changed

+2
-50
lines changed

1 file changed

+2
-50
lines changed

src/site/fml/faq.fml

Lines changed: 2 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -30,43 +30,10 @@ NAMESPACE_ERR: An attempt is made to create or change an object in a way which i
3030
<part id="java">
3131
<title>Java</title>
3232
<faq id="java-1.3">
33-
<question>Does Spring-WS run under Java 1.3?</question>
33+
<question>Does Spring-WS run under Java 1.3 or 1.4?</question>
3434
<answer>
3535
<p>
36-
Spring Web Services requires Java 1.4 or higher.
37-
</p>
38-
</answer>
39-
</faq>
40-
<faq id="java-1.4">
41-
<question>Does Spring-WS work under Java 1.4?</question>
42-
<answer>
43-
<p>
44-
Spring Web Services works under Java 1.4, but it requires some effort to make it work. Java 1.4 is
45-
bundled with the older XML parser Crimson, which does not handle namespaces correctly. Additionally,
46-
it is bundled with an older version of Xalan, which also has problems.
47-
Unfortunately, placing newer versions of these on the class path does not override them.
48-
See <a href="http://xml.apache.org/xalan-j/faq.html#faq-N100D6">this FAQ</a> entry on the Xalan
49-
site, and also <a href="http://xerces.apache.org/xerces2-j/faq-general.html#faq-4">this entry</a>
50-
on the Xerces site.
51-
</p>
52-
<p>
53-
The only solution that works is to add newer versions of Xerces and Xalan in the lib/endorsed
54-
directory of your JDK, as explained in those FAQs (i.e.<tt>$JAVA_HOME/lib/endorsed</tt>).
55-
The following libraries are known to work with Java 1.4.2:
56-
</p>
57-
<table class="bodyTable">
58-
<tbody>
59-
<tr><th>Library</th><th>Version</th></tr>
60-
<tr><td><a href="http://xerces.apache.org/xerces2-j/">Xerces</a></td><td>2.8.1</td></tr>
61-
<tr><td><a href="http://xml.apache.org/xalan-j/">Xalan</a></td><td>2.7.0</td></tr>
62-
<tr><td><a href="http://xerces.apache.org/xerces2-j/">XML-APIs</a></td><td>1.3.04</td></tr>
63-
<tr><td><a href="http://java.sun.com/webservices/downloads/1.3/index.html">SAAJ</a></td><td>1.2</td></tr>
64-
</tbody>
65-
</table>
66-
<p>
67-
If you want to use WS-Security, note that the <code>XwsSecurityInterceptor</code> requires Java 5,
68-
because an underlying library (XWSS) requires it. Instead, you can use the
69-
<code>Wss4jSecurityInterceptor</code>.
36+
As of version 2.0, Spring Web Services requires Java 1.5 or higher.
7037
</p>
7138
</answer>
7239
</faq>
@@ -82,21 +49,6 @@ NAMESPACE_ERR: An attempt is made to create or change an object in a way which i
8249
</p>
8350
</answer>
8451
</faq>
85-
<faq id="osx">
86-
<question>Why do the Spring-WS unit tests fail under Mac OS X?</question>
87-
<answer>
88-
<p>
89-
For some reason, Apple decided to include a Java 1.4 compatibility jar with their JDK 1.5. This jar
90-
includes the XML parsers which were included in Java 1.4. No other JDK distribution does this, so it
91-
is unclear what the purpose of this compatibility jar is.
92-
</p>
93-
<p>
94-
The jar can be found at
95-
<tt>/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar</tt>.
96-
You can safely remove or rename it, and the tests will run again.
97-
</p>
98-
</answer>
99-
</faq>
10052
</part>
10153
<part id="saaj">
10254
<title>SAAJ</title>

0 commit comments

Comments
 (0)