Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 92073 invoked by uid 99); 19 Jul 2004 10:17:49 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=NORMAL_HTTP_TO_IP X-Spam-Check-By: apache.org Received: from [194.94.224.6] (HELO mailserv.aei.mpg.de) (194.94.224.6) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 19 Jul 2004 03:17:48 -0700 Received: by mailserv.aei.mpg.de (Postfix, from userid 65534) id C2C6E23FD79; Mon, 19 Jul 2004 12:17:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailserv.aei.mpg.de (Postfix) with ESMTP id 7ECC624003E for ; Mon, 19 Jul 2004 12:17:46 +0200 (CEST) Received: from aei.mpg.de (portal.aei-potsdam.mpg.de [194.94.224.212]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by mailserv.aei.mpg.de (Postfix) with ESMTP id 84815240058 for ; Mon, 19 Jul 2004 12:17:43 +0200 (CEST) Message-ID: <40FB9FCA.2060706@aei.mpg.de> Date: Mon, 19 Jul 2004 12:17:46 +0200 From: Jason Novotny User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cactus Users List Subject: Re: aspectj method not found References: <200407171603.i6HG3lV24117@smtp-ft5.fr.colt.net> In-Reply-To: <200407171603.i6HG3lV24117@smtp-ft5.fr.colt.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS snapshot-20020531 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailserv.aei.mpg.de X-Spam-Level: X-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00, NORMAL_HTTP_TO_IP autolearn=no version=2.63 X-Virus-Checked: Checked Hi Vincent, I'm configuring Cactus manaually I believe-- I'm really just trying to use as much as I had working before with teh Cactus release from April 2003. Basically I just use the task. Do I have to now use task? Is aspectrt the same as aspectj jar? I place the aspectjjar every where I can imagine (it used to be I just place in $CATALINA_HOME/shared/lib co-located with cactus lib) but I always get java.lang.NoClassDefFoundError: org/aspectj/lang/Signature java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:1610) java.lang.Class.getConstructor0(Class.java:1922) java.lang.Class.newInstance0(Class.java:278) java.lang.Class.newInstance(Class.java:261) when I try to access by hand my address: http://127.0.0.1:8080/gridsphere/ServletRedirector?Cactus Thanks, Jason Vincent Massol wrote: >Jason, > >You have to tell us how you start your Cactus tests. The only reason I can >think of is that you're configuring Cactus manually instead of using the >provided front ends ( Ant task, Maven plugin, etc) and you have >forgotten to include the aspectjrt jar in your server side classpath. > >-Vincent > > > >>-----Original Message----- >>From: Jason Novotny [mailto:novotny@aei.mpg.de] >>Sent: samedi 17 juillet 2004 13:09 >>To: Cactus Users List >>Subject: Re: aspectj method not found >> >> >>Thanks Vincent, >> >> I downloaded the latest AspectJ 1.2 and now I get a new stack trace >> >>java.lang.NoClassDefFoundError: org/aspectj/lang/Signature >> java.lang.Class.getDeclaredConstructors0(Native Method) >> java.lang.Class.privateGetDeclaredConstructors(Class.java:1610) >> java.lang.Class.getConstructor0(Class.java:1922) >> java.lang.Class.newInstance0(Class.java:278) >> java.lang.Class.newInstance(Class.java:261) >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve. >>java:117) >> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:1 >>60) >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav >>a:793) >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc >>essConnection(Http11Protocol.java:702) >> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.jav >>a:571) >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread >>Pool.java:644) >> java.lang.Thread.run(Thread.java:552) >> >> >>Maybe I should try 1.1.1? I downloaded the cactus binary for J2EE 1.3 >> >> Thanks, Jason >> >> >>Vincent Massol wrote: >> >> >> >>>Hi Jason, >>> >>>Can you try using AspectJ 1.1.1 or greater? We've compiled Cactus with >>>AspectJ 1.1.1 which may be the reason for the problem. >>> >>>Sorry about that. >>>-Vincent >>> >>> >>> >>> >>> >>>>-----Original Message----- >>>>From: Jason Novotny [mailto:novotny@aei.mpg.de] >>>>Sent: samedi 17 juillet 2004 12:34 >>>>To: cactus-user@jakarta.apache.org >>>>Subject: aspectj method not found >>>> >>>> >>>>Hi, >>>> >>>> I was updating our code to use cactus from over a year ago to cactus >>>>1.6.1 out now. It seems mostly straightforward, however, my >>>>runservertests hangs and I looked at the FAQ entry which was still not >>>>too helpful. Just starting the server by hand and trying myself in the >>>>web browser to invoke the ServletTestRedirector gave me this 500 stack >>>>trace: >>>> >>>>----- Root Cause ----- >>>>java.lang.NoSuchMethodError: >>>>org.aspectj.runtime.reflect.Factory.makeSJP(Ljava/lang/String;Lorg/aspec >>>> >>>> >>tj >> >> >>>>/lang/Signature;I)Lorg/aspectj/lang/JoinPoint$StaticPart; >>>> >>>> I made sure to copy over aspectjrt-1.0.5.jar, cactus-1.6.1.jar over >>>>to my Tomcat server dir as I had before..... any ideas? >>>> >>>> Thanks, Jason >>>> >>>> >>>>--------------------------------------------------------------------- >>>>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org >>>>For additional commands, e-mail: cactus-user-help@jakarta.apache.org >>>> >>>> >>>> >>>> >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org >>>For additional commands, e-mail: cactus-user-help@jakarta.apache.org >>> >>> >>> >>> >>> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: cactus-user-help@jakarta.apache.org >> >> > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: cactus-user-help@jakarta.apache.org > > >