[Opensymphony-oscache] Getting a UTFDataFormatException when file size is greater than about 6
Nigel Boyes <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <3663959.1113481142522.JavaMail.os-j2ee@opensymphony01.contegix.com> |
I put together a simple jsp page which is listed below. If I add a single character to a line in the table I get the error. i.e The listing below works but adding one character causes the error.
A bit more about our configuration. We are running on a Sun box - Solaris VM (build Solaris_JDK_1.2.2_10, native threads, sunwjit); java version "1.2.2" - using Resin 2.1.6.
<%@ taglib uri="oscache" prefix="cache" %>
<%@ page errorPage="/templates/error.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<title>Caching Test Page - Stockton Borough Council</title>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0">
<h1>Test 05</h1>
<% String cache_key = "0123456_-2_content_test"; %>
<cache:cache key="<%= cache_key %>" refresh="true">
<% for ( int i=0; i < 128; i++ ) { %>
<tr>
<td height="1" class="border1"></td>
</tr>
<tr>
<td height="20" class="cell14" valign="top">
xxxxxxxxxxxxxxxxxx
</td>
<td class="border1"></td>
<td class="cell14" valign="top">
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
</td>
<td class="border1"></td>
<td class="cell14" valign="top">
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
</td>
</tr>
<% } %>
</cache:cache>
</table>
</body>
</html>
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=1469&messageID=4770#4770