The problem seems exists for a long time...
And it only occurs in resin + Mac OS X , not Linux
For a wicket page that contains special characters , (such as Chinese chars
, and sure, it's encoded in UTF8) and jared.
It will be un-jared and loaded by resin's classloader ,
But , these special characters seems cannot be parsed at runtime.
Wicket will complain html errors , such as cannot find a matched </body>
for example :
2012-02-04 12:56:02,348 ERROR wicket.RequestCycle - unexpected exception
when handling another exception: Tag '<div style="border: 1px solid
#F7941D; background: #FEEFDA; text-align: center; clear: both; height:
75px; position: relative;">' (line 70, column 1) has a mismatched close tag
at '</body>' (line 237, column 1)
It seems resin under OS X cannot correctly parse the stream , maybe the
The error occurred in 4.0.19 (maybe earlier ) and the latest 4.0.25.
Because the error , I have to develop in linux .
Recently , I gave OS X and 4.0.25 another chance , but the problem still
The same webapp can be loaded and executed correctly in Linux.
I try to unpack the jar , and view the html template , and it is truly
encoded in UTF8 , can be correctly displayed in my console (also UTF8
I try to add '<character-encoding>utf-8</character-encoding>' in
resin-web.xml , or under <cluster> in resin.xml , but still not works....
$ uname -a
Darwin MiniServerLion.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12
18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
Mac OS X Lion 10.7.3
resin-interest mailing list