Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 18407 invoked from network); 13 Mar 2007 20:56:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2007 20:56:15 -0000 Received: (qmail 77150 invoked by uid 500); 13 Mar 2007 20:56:20 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 77095 invoked by uid 500); 13 Mar 2007 20:56:20 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 77084 invoked by uid 99); 13 Mar 2007 20:56:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2007 13:56:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of joerg.heinicke@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 13 Mar 2007 13:56:09 -0700 Received: (qmail invoked by alias); 13 Mar 2007 20:55:47 -0000 Received: from p549D25C5.dip0.t-ipconnect.de (EHLO [192.168.178.20]) [84.157.37.197] by mail.gmx.net (mp042) with SMTP; 13 Mar 2007 21:55:47 +0100 X-Authenticated: #3483660 X-Provags-ID: V01U2FsdGVkX19Y8GwTDkxYyNH83vSMnmBBnleo5YKyTiFf5/vLaT 9AFwAx6X2N+E7e Message-ID: <45F70FAB.9090506@gmx.de> Date: Tue, 13 Mar 2007 21:55:07 +0100 From: Joerg Heinicke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: XHTML Serialization error References: <369e39fd0703130527r17deb8a2l4b4b2321e972fb9@mail.gmail.com> In-Reply-To: <369e39fd0703130527r17deb8a2l4b4b2321e972fb9@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org On 13.03.2007 13:27, JD wrote: > Hello, > this is my first post to the list. I have this error: > > Caused by: > org.apache.cocoon.components.serializers.encoding.CharsetFactory$CharsetFactoryException: > > Unable to access JAR "jar:file:/C:/Program Files/jboss- 4.0.3 > /server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/WEB-INF/lib/cocoon- > serializers-charsets-0.2.jar!/org/apache/cocoon/components/serializers/encoding/cs_US_ASCII.class > > Is there a solution to this? I wrote a test case as simple as that: package org.apache.cocoon.components.serializers.encoding; import junit.framework.TestCase; public class CharsetFactoryTestCase extends TestCase { public void testInitialization() throws Exception { CharsetFactory.newInstance().getCharset("UTF-8"); } } and it works for me. From Andrew's stacktrace I know it's just the loading of the class that fails, so which method is accessed has no influence. One issue you might have both with JBoss 4.0.3 is either a strange class loader or the fact that you both have spaces in your path ("Program Files"). I assume .sar and .war or only directories, not zipped files, aren't they? J�rg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org