I have downloaded the axis2.0 RC1 distribution
and still have a problem with the classloader being very slow and in some cases
failing to find the correct class file(s).
I have a jar file of my own that contains
JAXB 2.0 compiled schema objects. I have tested this jar file outside of Axis2
and everything is fine. When I package a project for axis deployment and
include the jar(s) inside the .aar file’s lib directory I get class not
found errors.
I also tested what a previous post said
about including the jars in Tomcat’s global classloading path (and as the
previous post mentioned, not the correct place) and this solved the problem.
Any suggestions?
From: robert lazarski
[mailto:[EMAIL PROTECTED]
Sent: Thursday, April 20, 2006
1:12 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] Axis2 class
loader and RC1
Download locations :
* binary and source distributions -
http://people.apache.org/~deepal/axis2/1.0-RC1/
* jars
http://people.apache.org/~deepal/maven/ws/axis2/jars/
* mars (addressing and security)
http://people.apache.org/~deepal/maven/ws/axis2/mars/
HTH,
Robert
http://www.braziloutsource.com/
On 4/20/06, Mar,
Kheng Kok <[EMAIL PROTECTED]>
wrote:
I have the same problem
that Robert has in 0.95 as well. And by the way
why is RC1 not available through Axis2 main project page as previous
releases. And also, from the link deepal provided, I don't seem to see
the security module.
Rgds
Kheng Kok
-----Original Message-----
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 17, 2006 7:05 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 class loader
I think it is fixed now , Axis2 1.0 RC1 is available to download , so
why dont you have a look at that :)
Hudson Robert wrote:
> 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
> correspondence is private and is intended solely for the intended
> recipient(s). The information in this communication may be
confidential
> and/or legally privileged. Nothing in this e-mail is intended
to
> conclude a contract on behalf of QinetiQ or make QinetiQ subject to
any
> other legally binding commitments, unless the e-mail contains an
express
> statement to the contrary or incorporates a formal Purchase Order.
>
> For those other than the recipient any disclosure, copying,
> distribution, or any action taken or omitted to be taken in reliance
on
> such information is prohibited and may be unlawful.
>
> Emails and other electronic communication with QinetiQ may be
monitored
> and recorded for business purposes including security, audit and
> archival purposes. Any response to this email indicates consent
to
> this.
>
> Telephone calls to QinetiQ may be monitored or recorded for quality
> control, security and other business purposes.
>
--
Thanks,
Deepal
.................................................................
~Future is Open~