Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 99029 invoked from network); 16 Nov 2009 21:41:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Nov 2009 21:41:52 -0000 Received: (qmail 45638 invoked by uid 500); 16 Nov 2009 21:41:51 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 45526 invoked by uid 500); 16 Nov 2009 21:41:50 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 45516 invoked by uid 99); 16 Nov 2009 21:41:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 21:41:50 +0000 X-ASF-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of struts234@gmail.com designates 209.85.211.174 as permitted sender) Received: from [209.85.211.174] (HELO mail-yw0-f174.google.com) (209.85.211.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 21:41:48 +0000 Received: by ywh4 with SMTP id 4so5498047ywh.10 for ; Mon, 16 Nov 2009 13:41:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=WTeFZwslcuNy/IYEsOzMyvik/RxAl+2ZE0P2lTlyhMY=; b=Gg/Li8wfyjCXQ171kGEW1uptusZW4mlIGv7sLUKyU9zyIy1UwbIdg0BK3wXVx4O8NE zIXlqkzltsT0bBZXLz0w70V4iZbwJmop7yyYRZ3tVSF8rhJi44vRyrXSEPGUc275M+sv rnyfjhX2an5mTeKIFEcUZbu8+nApUdSvnH54E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZBqHVbRKPBNhyGbwTKR3hcqBMMUkOnXhyCv71t4gDHdEo6QDSmVcWuIxecln+kS6vt 3nede95TozFyz7k4r/KS4xEV1qQo42oE18P1bNBZegBom8JuceiaPsY0KcHLW3SgfiGG d7m+VuEUqrE3oOkchjmonwm9l9ESmzryHTR2A= MIME-Version: 1.0 Received: by 10.101.197.40 with SMTP id z40mr3203395anp.68.1258407687668; Mon, 16 Nov 2009 13:41:27 -0800 (PST) In-Reply-To: References: <598ad5b50911101112i1ad3f369k5852810e908d0332@mail.gmail.com> Date: Mon, 16 Nov 2009 16:41:27 -0500 Message-ID: Subject: Re: java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Hex.encodeHexString([B)Ljava/lang/String; From: Java Struts To: Commons Users List , joerg.schaible@gmx.de Content-Type: multipart/alternative; boundary=0016e68df2fe34c628047883df56 --0016e68df2fe34c628047883df56 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Could you please tell me the format of the manifest file? do i have to add every thing in the same line with space as delimiter? Thanks, On Mon, Nov 16, 2009 at 4:19 PM, J=F6rg Schaible wro= te: > Java Struts wrote: > > > Hey thanks a lot for the response... > > > > I have added the below code to the my code and i am getting the below > > exception. It is able to find the jar file location but i am getting th= e > > exception for the below line. > > JarFile jarFile =3D new JarFile(new File(loc.toURI())); > > > > The exception is here.. > > > > Illegal character in path at index 16: file:/C:/Program > > > > Files/IBM/SDP70/runtimes/base_v61/profiles/AppSrv01/installedApps/VIPFOLS= L0039Node01Cell/TeleworkServiceEAR.ear/lib/commons-codec-1.4.jar > > : java.net.URISyntaxException: Illegal character in path at index 16: > > > > don't know wht's going on.. Here is the manifest file for the same. > > > > Manifest-Version: 1.0 > > Class-Path: TeleworkServiceJAVA.jar > > lib/commons-codec-1.4.jar > > lib/classes12.jar > > lib/commons-logging.jar > > lib/j2ee.jar > > lib/log4j-1.2.15.jar > > lib/commons-lang-2.4.jar > > > > One more thing is.. i have added the same code to a simple standalone > java > > class file and which is working fine. But why it's giving the problem a= t > > the webspehere level i don't know... > > The format of the manifest file is simply wrong, it fails after > the "Class-Path:" line and will not find the other libraries. > > - J=F6rg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org > > --0016e68df2fe34c628047883df56--