Ah, cool. The problem described in that thread is exactly the same as mine. The solution you propose there makes much sense to me and I guess it resolves my issue :)
Thanks a lot :) Oliver 2007/11/8, robert lazarski <[EMAIL PROTECTED]>: > Though I'm not a AspectJ, wrapping your transactions in interfaces has > solved similair problems: > > http://www.mail-archive.com/[email protected]/msg24681.html > > HTH, > Robert > > On Nov 8, 2007 2:50 PM, Oliver Zeigermann <[EMAIL PROTECTED]> wrote: > > Hi Robert! > > > > You are quite right. I use some AspectJ stuff to do declarative > > transaction control. > > > > This is my services.xml > > > > <service name="SpringAwareService"> > > <description> > > simple spring example > > </description> > > <parameter > > name="ServiceObjectSupplier">org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier</parameter> > > <parameter name="SpringBeanName">springAwareService</parameter> > > <operation name="getValue"> > > <messageReceiver > > class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> > > <!-- messageReceiver > > class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/--> > > </operation> > > </service> > > > > It was more or less taken from the Spring howto from axis2 website. > > > > Oliver > > > > 2007/11/8, robert lazarski <[EMAIL PROTECTED]>: > > > 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>: > > > > > 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.<init>(ParamReader.java:57) > > > > > at > > > > > org.apache.axis2.description.java2wsdl.bytecode.ChainedParamReader.<init>(ChainedParamReader.java:52) > > > > > at > > > > > org.apache.axis2.description.java2wsdl.bytecode.MethodTable.<init>(MethodTable.java:30) > > > > > at > > > > > org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.<init>(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: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
