Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 519BA200D4B for ; Mon, 27 Nov 2017 16:31:19 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 50368160C13; Mon, 27 Nov 2017 15:31:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 96107160C02 for ; Mon, 27 Nov 2017 16:31:18 +0100 (CET) Received: (qmail 51706 invoked by uid 500); 27 Nov 2017 15:31:17 -0000 Mailing-List: contact taglibs-user-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tag Libraries Users List" Delivered-To: mailing list taglibs-user@tomcat.apache.org Received: (qmail 51695 invoked by uid 99); 27 Nov 2017 15:31:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2017 15:31:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A116518030B for ; Mon, 27 Nov 2017 15:31:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.481 X-Spam-Level: *** X-Spam-Status: No, score=3.481 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id fFOxqfjfjLOh for ; Mon, 27 Nov 2017 15:31:15 +0000 (UTC) Received: from mail-pg0-f53.google.com (mail-pg0-f53.google.com [74.125.83.53]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 529F35F243 for ; Mon, 27 Nov 2017 15:31:15 +0000 (UTC) Received: by mail-pg0-f53.google.com with SMTP id z184so18823880pgd.13 for ; Mon, 27 Nov 2017 07:31:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=gsJYsnxMW/daUzdLiDkxHAdq+xTIv81u5Bs4FqccsiA=; b=a9m4b7n2B2voweQl2P/cmctIcNB2u15/nBn8H3qtibxFovXDMeYPLEdUk4zd7oQSrl DwIEQuTRFWa7b4zCzp2PnW7NZhDBKgRReQZ4TCzdd4R0T8tJgKHnNOC5+7NwaNnVtr/i uJ+Zfr1yh1/s6nBEdmWPcK5Ha8yPu5jEhMo+Rlh1GMyfEkj/GgiuNVKRHwzZvfQfDCF5 BM9LZV8m+1fv1RBAkrr9rrvxal4Eq3+dRnlGQrKMCk4Wflx9tXKgFXcMCYx9OsbkiTcc uJKtk/X6MiBnBAMY6JVFYwyY1SEPqN6sswFECIqKbzZEYpu1WXkwmzVek2Ri04isg+N3 diHg== X-Gm-Message-State: AJaThX63IFYvpuhe9dhAjvIOg7fqgd2IM5TpACVZe2kdWCsV5KCq0+2f O2b0GP+QoExj4S+tt+kNeFO/GvlQygHreA== X-Google-Smtp-Source: AGs4zMYkHRJw0UwMvZGTfdvoeY4/RGGOzCk92Y0DPEatBZ955izzKDqBGw4+qP39lqeBzCM7lRM3ig== X-Received: by 10.101.64.4 with SMTP id f4mr23886438pgp.205.1511796674137; Mon, 27 Nov 2017 07:31:14 -0800 (PST) Received: from jeremys-imac.localdomain (c-73-181-150-71.hsd1.wa.comcast.net. [73.181.150.71]) by smtp.gmail.com with ESMTPSA id 69sm51541267pft.11.2017.11.27.07.31.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Nov 2017 07:31:13 -0800 (PST) From: Jeremy Boynes Message-Id: <3CADD70C-C371-48E0-81C9-0EEE7E9A0D9E@apache.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_41515F8E-0550-46D9-A5C1-DC7840CBC690" Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: xalan usage in taglibs Date: Mon, 27 Nov 2017 07:31:12 -0800 In-Reply-To: <493466c1-8c4b-fe60-2efd-e9c9e3c9ceb9@nbmlaw.co.uk> Cc: rmannibucau@apache.org To: Tag Libraries Users List References: <66442bd7-e0db-31ec-00d3-76dd2f660b48@nbmlaw.co.uk> <0874B620-1354-45D8-8468-3C73BE493FA5@apache.org> <786191b4-42ec-2aee-1632-8444d831c4ab@nbmlaw.co.uk> <6BE4CAF3-41A1-4725-8D80-AAD26BA9C554@boynes.com> <493466c1-8c4b-fe60-2efd-e9c9e3c9ceb9@nbmlaw.co.uk> X-Mailer: Apple Mail (2.3273) archived-at: Mon, 27 Nov 2017 15:31:19 -0000 --Apple-Mail=_41515F8E-0550-46D9-A5C1-DC7840CBC690 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Nov 27, 2017, at 12:07 AM, Matthew Broadhead = wrote: >=20 > In TomEE 7.0.3 everything is fine at startup. But if a webapp is = reloaded I get > java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault = cannot be cast to org.apache.xml.dtm.DTMManager > and the whole container needs to be restarted which is not ideal = during production >=20 > Now in TomEE 7.0.4 I cannot even start without this error so I cannot = upgrade. >=20 > It seems like a classloader issue but taglibs is the only hardcoded = dependency on xalan Are you including the taglibs jars in your war when deploying to TomEE? = You shouldn=E2=80=99t need to do that as TomEE should be providing its = own implementation of JSTL which would mean there is a chance of = conflict if you also include them. =46rom a thread = on = tomee-users, it sounds like TomEE could be trying include taglibs and = avoid including the Xalan dependency but I wouldn=E2=80=99t expect that = to work as it actually is needed by the XML tags. The dependency is = =E2=80=9Cprovided=E2=80=9D scope to avoid automatic transitive inclusion = for applications that don=E2=80=99t use the XML tags (which is most). = For container integration it should be included as an application might = use those tags. --Apple-Mail=_41515F8E-0550-46D9-A5C1-DC7840CBC690--