axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josef Stadelmann (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-1991) ServiceGroupContextID re-created by second client calling in scope=soapsession making first client session fail with exception unknown ServiceGroupContextID
Date Mon, 05 Mar 2007 15:48:51 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josef Stadelmann updated AXIS2-1991:
------------------------------------

    Attachment: MyService.java

This is MyService5.java, taken and enhanced for performance taking, but used today to demonstrate
how client#1 fails when called by a client#2

> ServiceGroupContextID re-created by second client calling in scope=soapsession making
first client session fail with exception unknown ServiceGroupContextID 
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1991
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1991
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1
>         Environment: Windows 2000, tomcat, axis2-1.1, 
>            Reporter: Josef Stadelmann
>         Assigned To: Deepal Jayasinghe
>         Attachments: MyService.java, services.xml, SOAPClient.java
>
>
> Hi session-managers, 
> I'm running my client and server with modules addressing-1.1, logging, soapmonitor-1.1
engaged and have set scope=soapsession
> MyService.java got the additional methods 
>   
>    public void init(ServiceContext sCtx) { 
>         this.sc = sCtx; 
>         this.log.info(sc.toString()+" init() called "); 
>     } 
>     
>     public void destroy(ServiceContext sCtx) { 
>         if(!this.sc.toString().equals(sCtx.toString())){ 
>             this.log.error("ServiceContext on init() and destroy() not equal in "); 
>         } 
>         this.log.info(sc.toString()+" destroy() called "); 
>     } 
>     public void setOperationContext(OperationContext oCtx) { 
>         this.oc = oCtx; 
>         this.log.info(oc.toString()+" setOperationContext() called ");        
>     } 
>   
> I start client #1 which has the effect that MyService.init() is called; so far so right!

> Client #1 then loops and sends continously messages to MyService.echo() 
> I start client #2 which has the effect that MyService.destroy() is called followed by
MyService.init() 
> This has the effect that client #1 fails with an "invalid group context id exception"

> Josef 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message