Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 54703 invoked from network); 11 Jan 2010 00:42:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jan 2010 00:42:41 -0000 Received: (qmail 78752 invoked by uid 500); 11 Jan 2010 00:42:37 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 78688 invoked by uid 500); 11 Jan 2010 00:42:37 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 78677 invoked by uid 99); 11 Jan 2010 00:42:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 00:42:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [80.190.253.131] (HELO mail.baseserver.net) (80.190.253.131) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2010 00:42:27 +0000 Received: from [192.168.2.2] (d042143.adsl.hansenet.de [80.171.42.143]) by mail.baseserver.net (Postfix) with ESMTP id 23AE19B286 for ; Mon, 11 Jan 2010 01:41:59 +0100 (CET) Subject: Re: How to access webapp classes from a Context/Manager implementation (jar located in in $CATALINA_HOME/lib/) From: Martin Grotzke To: Tomcat Users List In-Reply-To: <427155181001101554g5393e521mc32714a874562040@mail.gmail.com> References: <1263134149.3612.62.camel@localhost.localdomain.tld> <427155181001101554g5393e521mc32714a874562040@mail.gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-oEDLGmEizgcyCKvmsEib" Date: Mon, 11 Jan 2010 01:42:04 +0100 Message-Id: <1263170524.3612.67.camel@localhost.localdomain.tld> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) X-Virus-Checked: Checked by ClamAV on apache.org --=-oEDLGmEizgcyCKvmsEib Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2010-01-11 at 02:54 +0300, Konstantin Kolinko wrote: > 2010/1/10 Martin Grotzke : > > Hi, > > > > Jan 10, 2010 2:57:51 PM org.apache.catalina.connector.CoyoteAdapter ser= vice > > SEVERE: An exception or error occurred in the container during the requ= est processing > > java.lang.NoClassDefFoundError: org/joda/time/format/ISODateTimeFormat > > at de.javakaffee.web.msm.serializer.javolution.JodaDateTimeForma= t.(JodaDateTimeFormat.java:35) > > at java.lang.Class.forName0(Native Method) > > at java.lang.Class.forName(Class.java:247) >=20 > So, JodaDateTimeFormat was found and its was called, > but ISODateTimeFormat was not. JodaDateTimeFormat is the joda DateTime serializer shipped with the memcached-session-manager (msm), which should be used/activated if joda is available in the webapp classpath. ISODateTimeFormat is a class provided by joda. >=20 > Where have you placed your joda jar? The joda jar is placed in WEB-INF/lib of the application. I don't want to have this in $CATALINA_HOME/lib as joda serialization shall only be supported if it's required by the webapp. The JodaDateTimeFormat comes with the msm jar located in tomcat's lib. >=20 > Also please read > http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html I've already done that, but I didn't find the information to solve this issue. Also reading again didn't help ;-) Thanx && cheers, Martin >=20 > Best regards, > Konstantin Kolinko >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org >=20 --=-oEDLGmEizgcyCKvmsEib Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAktKc9wACgkQ7FvOl7Te+pbMgQCgvoM70MkrkxoZjuufyAxjf8A+ PqQAoKHLHQt1Fandd+j/5zcWqhYH62MU =xj1V -----END PGP SIGNATURE----- --=-oEDLGmEizgcyCKvmsEib--