You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Davanum Srinivas <da...@gmail.com> on 2007/06/19 17:40:58 UTC

[Axis2] Cleanup of AxisConfigurators / API change alert (Re: Too many open file with Axis2 1.2)

Jerome,
You are right!

Team,
I am reviewing the code and running the tests, i can see that
org.apache.axis2.deployment.scheduler.Scheduler needs to cancel a
timer. So this means that we have to add cleanup methods in various
layers. Here's a diff that i got working with help from Glen and
Deepal. Unfortunately it means adding a cleanup method in
AxisConfigurator interface. I'll run some more tests before i checkin.

thanks,
dims

On 6/19/07, Jerome Camilleri <je...@bull.net> wrote:
> Davanum Srinivas wrote:
> > Please don't call createConfigurationContextFromFileSystem multiple
> > times. just call once when the daemon starts.
> thanks for this workaround...but don't you think that we should have a
> way to clean up the ressources used by the ConfigurationContext ?
>
> Regards
>
> Jérôme
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] Cleanup of AxisConfigurators / API change alert (Re: Too many open file with Axis2 1.2)

Posted by Davanum Srinivas <da...@gmail.com>.
oops! forgot the diff.

-- dims

On 6/19/07, Davanum Srinivas <da...@gmail.com> wrote:
> Jerome,
> You are right!
>
> Team,
> I am reviewing the code and running the tests, i can see that
> org.apache.axis2.deployment.scheduler.Scheduler needs to cancel a
> timer. So this means that we have to add cleanup methods in various
> layers. Here's a diff that i got working with help from Glen and
> Deepal. Unfortunately it means adding a cleanup method in
> AxisConfigurator interface. I'll run some more tests before i checkin.
>
> thanks,
> dims
>
> On 6/19/07, Jerome Camilleri <je...@bull.net> wrote:
> > Davanum Srinivas wrote:
> > > Please don't call createConfigurationContextFromFileSystem multiple
> > > times. just call once when the daemon starts.
> > thanks for this workaround...but don't you think that we should have a
> > way to clean up the ressources used by the ConfigurationContext ?
> >
> > Regards
> >
> > J�r�me
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

Re: [Axis2] Cleanup of AxisConfigurators / API change alert (Re: Too many open file with Axis2 1.2)

Posted by Davanum Srinivas <da...@gmail.com>.
oops! forgot the diff.

-- dims

On 6/19/07, Davanum Srinivas <da...@gmail.com> wrote:
> Jerome,
> You are right!
>
> Team,
> I am reviewing the code and running the tests, i can see that
> org.apache.axis2.deployment.scheduler.Scheduler needs to cancel a
> timer. So this means that we have to add cleanup methods in various
> layers. Here's a diff that i got working with help from Glen and
> Deepal. Unfortunately it means adding a cleanup method in
> AxisConfigurator interface. I'll run some more tests before i checkin.
>
> thanks,
> dims
>
> On 6/19/07, Jerome Camilleri <je...@bull.net> wrote:
> > Davanum Srinivas wrote:
> > > Please don't call createConfigurationContextFromFileSystem multiple
> > > times. just call once when the daemon starts.
> > thanks for this workaround...but don't you think that we should have a
> > way to clean up the ressources used by the ConfigurationContext ?
> >
> > Regards
> >
> > Jérôme
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com