Skip to content

Commit 303a6cf

Browse files
committed
Updated FAQ for Java 6. Hasn't SUN learned anything about bundling libraries in the JDK?
1 parent 408cd47 commit 303a6cf

File tree

1 file changed

+12
-32
lines changed

1 file changed

+12
-32
lines changed

src/site/fml/faq.fml

Lines changed: 12 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -25,48 +25,28 @@
2525
</p>
2626
<table class="bodyTable">
2727
<tbody>
28-
<tr>
29-
<th>Library</th>
30-
<th>Version</th>
31-
</tr>
32-
<tr>
33-
<td>
34-
<a href="http://xerces.apache.org/xerces2-j/">Xerces</a>
35-
</td>
36-
<td>2.8.1</td>
37-
</tr>
38-
<tr>
39-
<td>
40-
<a href="http://xml.apache.org/xalan-j/">Xalan</a>
41-
</td>
42-
<td>2.7.0</td>
43-
</tr>
44-
<tr>
45-
<td>
46-
<a href="http://xerces.apache.org/xerces2-j/">XML-APIs</a>
47-
</td>
48-
<td>1.3.04</td>
49-
</tr>
28+
<tr><th>Library</th><th>Version</th></tr>
29+
<tr><td><a href="http://xerces.apache.org/xerces2-j/">Xerces</a></td><td>2.8.1</td></tr>
30+
<tr><td><a href="http://xml.apache.org/xalan-j/">Xalan</a></td><td>2.7.0</td></tr>
31+
<tr><td><a href="http://xerces.apache.org/xerces2-j/">XML-APIs</a></td><td>1.3.04</td></tr>
32+
<tr><td><a href="http://java.sun.com/webservices/downloads/1.3/index.html">SAAJ</a></td><td>1.2</td></tr>
5033
</tbody>
5134
</table>
5235
<p>
53-
Note that the security module requires Java 5, because an underlying library (XWSS) requires it.
54-
Also note that SAAJ 1.3 required Java 5 as well, so you need to use SAAJ 1.2 (which can be
55-
downloaded as part of the<a href="http://java.sun.com/webservices/downloads/1.3/index.html">
56-
Java Web Services Developer Pack 1.3</a>.
36+
Note that the <code>XwsSecurityInterceptor</code> requires Java 5, because an underlying library (XWSS) requires
37+
it. Instead, you can use the<code>Wss4jSecurityInterceptor</code>.
5738
</p>
5839
</answer>
5940
</faq>
6041
<faq id="java-1.6">
6142
<question>Does Spring-WS work under Java 1.6?</question>
6243
<answer>
6344
<p>
64-
Spring Web Services works under Java 1.6, but you must make sure to use the versions of Xerces and
65-
Xalan that are packaged with it. Using other XML parsing libraries will cause exceptions to occur
66-
in the<tt>org.apache.xml.serializer.ToXMLSAXHandler</tt>.
67-
</p>
68-
<p>
69-
Therefore, when using Java 6, do not bundle Xerces, nor Xalan in your application.
45+
Java 1.6 ships with SAAJ 1.3, JAXB 2.0, and JAXP 1.4 (a custom version of Xerces and Xalan).
46+
Overriding these libraries by putting different version on the classpath will result in various
47+
classloading issues, or exceptions in <tt>org.apache.xml.serializer.ToXMLSAXHandler</tt>.
48+
The only option for using more recent versions is to put the newer version in the
49+
<code>endorsed</code> directory (see above).
7050
</p>
7151
</answer>
7252
</faq>

0 commit comments

Comments
 (0)