Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 50936 invoked from network); 8 Nov 2007 20:00:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2007 20:00:12 -0000 Received: (qmail 13225 invoked by uid 500); 8 Nov 2007 19:59:51 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 13208 invoked by uid 500); 8 Nov 2007 19:59:51 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 13197 invoked by uid 99); 8 Nov 2007 19:59:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 11:59:51 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of robertlazarski@gmail.com designates 72.14.204.228 as permitted sender) Received: from [72.14.204.228] (HELO qb-out-0506.google.com) (72.14.204.228) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 19:59:51 +0000 Received: by qb-out-0506.google.com with SMTP id e34so1418479qbe for ; Thu, 08 Nov 2007 11:59:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=zKFWDvBadXXV6txRdL/Tln7xhkG2ZH8srNm26K58ZzI=; b=Niq3pXrV7KYFnA9r+XxYauPrnzil8bSwb4crr7ncU8oEZM2+aXCZeHotFVsRIH7UL730QIcp2+NWotBnB2nAiqYVlWMo8H8icf55eyD3ZEmweWyhDDk1FbynfJ7hnt2d2o21RAN9ckXakqqeWjOE9xBGG80E1+u4iiPM/2vJRBU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TEPrSCHLYKL2ptjZ//ZHyXAgn9DY8XCgUibFKHscvNqEws88vh5Xu6qPWHvq/M/tl+cy6iwxeKTVWt3U540r0WVU6RvSz01aIQyv4vqukjYnhA5UBommuBIfo+yu6crKR3VFXlt/SQ/i9OxXs80a3HsRipfqrPeuRQ0bnSp2na4= Received: by 10.142.156.2 with SMTP id d2mr262302wfe.1194551969682; Thu, 08 Nov 2007 11:59:29 -0800 (PST) Received: by 10.142.80.19 with HTTP; Thu, 8 Nov 2007 11:59:29 -0800 (PST) Message-ID: Date: Thu, 8 Nov 2007 14:59:29 -0500 From: "robert lazarski" To: axis-user@ws.apache.org Subject: Re: Exception: Unable to load bytecode for class... In-Reply-To: <9da4f4520711081150w36c8a4f1ma731bb1e1e5ef338@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9da4f4520711080659n44bd9d77h7a4af3bf9a449ef@mail.gmail.com> <9da4f4520711081108p6edf784fuc492c01ce5378c07@mail.gmail.com> <9da4f4520711081150w36c8a4f1ma731bb1e1e5ef338@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Though I'm not a AspectJ, wrapping your transactions in interfaces has solved similair problems: http://www.mail-archive.com/axis-user@ws.apache.org/msg24681.html HTH, Robert On Nov 8, 2007 2:50 PM, Oliver Zeigermann wrote: > Hi Robert! > > You are quite right. I use some AspectJ stuff to do declarative > transaction control. > > This is my services.xml > > > > simple spring example > > org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier > springAwareService > > class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> > > > > > It was more or less taken from the Spring howto from axis2 website. > > Oliver > > 2007/11/8, robert lazarski : > > Just a guess from the cglib reference: You are using spring and or > > hibernate with an axis2 service, though you are instatiating it via > > ServiceClass in the services.xml , ie reflection. Yet whatever AOP > > you are using probably wants to preload your object. You would really > > have to explain what you are trying to do for me to help further. > > > > HTH, > > Robert > > > > On Nov 8, 2007 2:08 PM, Oliver Zeigermann wrote: > > > Just in case anyone bothers: This is caused by some AOP magic which > > > wraps my service. Because of this bytecode for the dynamic wrapper > > > can not be found. > > > > > > Can this be considered a bug in axis? Why is this done anyway? > > > > > > Oliver > > > > > > 2007/11/8, Oliver Zeigermann : > > > > Folks! > > > > > > > > I get the following exception when I try to load my web service: > > > > > > > > Caused by: java.io.IOException: Unable to load bytecode for class > > > > de.zeigermann.remoting.Axis2Service$$EnhancerByCGLIB$$fae2e45b > > > > at org.apache.axis2.description.java2wsdl.bytecode.ClassReader.getBytes(ClassReader.java:84) > > > > at org.apache.axis2.description.java2wsdl.bytecode.ParamReader.(ParamReader.java:57) > > > > at org.apache.axis2.description.java2wsdl.bytecode.ChainedParamReader.(ChainedParamReader.java:52) > > > > at org.apache.axis2.description.java2wsdl.bytecode.MethodTable.(MethodTable.java:30) > > > > at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.(DefaultSchemaGenerator.java:116) > > > > at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:340) > > > > at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:347) > > > > ... 39 more > > > > > > > > I use Java 1.6 and the latest axis2 release. Could this be caused by 1.6? > > > > > > > > Any ideas? > > > > > > > > Thanks in advance and cheers > > > > > > > > Oliver > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > > For additional commands, e-mail: axis-user-help@ws.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org