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]

Reply via email to