You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Halestino Pimentel <et...@alunos.cic.ua.pt> on 2001/05/26 17:04:03 UTC
Tomcat handling of objects
Tomcat doesn't destroy the objects it creates upon a SOAP
request. As a consequence subsequent calls are handled with
the same object (same answer for diferent parameters).
All is OK if Tomcat is restarted.
How can I correct this?
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
Re: Tomcat handling of objects
Posted by Sanjiva Weerawarana <sa...@watson.ibm.com>.
Did you publish the service with application scope or
session scope? If its the prior you asked for one object
to handle all requests. If its the latter you asked for
one object to handle all requests for each http session.
If you want each call to be handled by a different
instance, then deploy with scope=request.
Please see the docs in v2.2 (RC3) for more details.
Sanjiva.
----- Original Message -----
From: "Halestino Pimentel" <et...@alunos.cic.ua.pt>
To: <so...@xml.apache.org>
Sent: Saturday, May 26, 2001 11:04 AM
Subject: Tomcat handling of objects
> Tomcat doesn't destroy the objects it creates upon a SOAP
> request. As a consequence subsequent calls are handled with
> the same object (same answer for diferent parameters).
> All is OK if Tomcat is restarted.
> How can I correct this?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
Re: Tomcat handling of objects
Posted by Sanjiva Weerawarana <sa...@watson.ibm.com>.
Did you publish the service with application scope or
session scope? If its the prior you asked for one object
to handle all requests. If its the latter you asked for
one object to handle all requests for each http session.
If you want each call to be handled by a different
instance, then deploy with scope=request.
Please see the docs in v2.2 (RC3) for more details.
Sanjiva.
----- Original Message -----
From: "Halestino Pimentel" <et...@alunos.cic.ua.pt>
To: <so...@xml.apache.org>
Sent: Saturday, May 26, 2001 11:04 AM
Subject: Tomcat handling of objects
> Tomcat doesn't destroy the objects it creates upon a SOAP
> request. As a consequence subsequent calls are handled with
> the same object (same answer for diferent parameters).
> All is OK if Tomcat is restarted.
> How can I correct this?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
Re: Tomcat handling of objects
Posted by Tom Myers <to...@dreamscape.com>.
At 04:04 PM 5/26/2001 +0100, Halestino Pimentel wrote:
>Tomcat doesn't destroy the objects it creates upon a SOAP
>request. As a consequence subsequent calls are handled with
>the same object (same answer for diferent parameters).
>All is OK if Tomcat is restarted.
>How can I correct this?
Are you using "request" scope? I certainly have no problem
getting new answers from new calls with different parameters...
Tom Myers
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
Re: Tomcat handling of objects
Posted by Tom Myers <to...@dreamscape.com>.
At 04:04 PM 5/26/2001 +0100, Halestino Pimentel wrote:
>Tomcat doesn't destroy the objects it creates upon a SOAP
>request. As a consequence subsequent calls are handled with
>the same object (same answer for diferent parameters).
>All is OK if Tomcat is restarted.
>How can I correct this?
Are you using "request" scope? I certainly have no problem
getting new answers from new calls with different parameters...
Tom Myers
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org