You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Drew Davidson <dr...@ognl.org> on 2003/06/18 20:42:34 UTC
Exception during vlib JBoss install (3.0-beta-1a)
I'm using JDK1.4.1_02 and when I try to deploy to JBoss it complains
about not finding encoding "Cp1252".
I poked around and found that the vlibbeans.jar contains two files that
declare <?xml version="1.0" encoding="Cp1252"?>
I don't know if JDK1.4.1_02 changed something wrt encoding handling or
if it's my Xalan/Xerces installation (I've updated them both to the
latest versions using the jre/lib/endorsed mechanism). I've found the
XML parsing and XSLT to be the most fragile aspect of the newer JDKs.
Anyway I changed vlib.ear/vlibbeans.jar/meta-inf/jboss.xml and
vlib.ear/vlibbeans.jar/meta-inf/jbosscmp-jdbc.xml to remove the encoding
business, re-jar'd the vlibbeans.jar, re-jar'd the vlib.ear and it
worked fine.
Perhaps the distribution ought to be changed, if this encoding is not
important.
- Drew
Creator of OGNL and WebOGNL
http://www.ognl.org