Hello all, I (think) I've got an issue with the classloader in
axis2-0.94.... When I try and run sendReceive(request) on a ServiceClient
object for the first time (since axis2 running inside tomcat) has been started
the operation takes so long that I get a HTTP timeout. When I then run the same
command again it works fine. After doing some debugging I came to the
conclusion that it was the Axis2 classloader. My web service uses quite a few
jaxb jars and it is the loading of these that takes time. When I specify these
inside tomcat (commons/lib - not the correct place I know but it works)
there is no delay and the client works fine from the start. I've also
tested this code outside of Axis2 and it works fine whether the jars are in the
webapp lib directory or within tomcat. Does it sounds like I'm right? Is this issue fixed in later versions of Axis2? Will there
be some way to initialise a webservice before a client call is made (like you
can with servlets) so that this kind of issue can be dealt with? Cheers Rob The information contained in this E-Mail and any
subsequent For those other than the recipient any disclosure,
copying, Emails and other electronic communication with
QinetiQ may be monitored Telephone calls to QinetiQ may be monitored or
recorded for quality |
- Axis2 class loader Hudson Robert
- Re: Axis2 class loader Deepal Jayasinghe
- RE: Axis2 class loader Michael Robinson
- Re: Axis2 class loader robert