axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject Re: cvs commit: xml-axis/java/src/org/apache/axis Constants.java
Date Mon, 12 Aug 2002 17:42:05 GMT
tomj@apache.org wrote:
> tomj        2002/08/02 13:46:56
> 
>   
>   Index: AxisServlet.java
>   ===================================================================
>   RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java,v
>   retrieving revision 1.130
>   retrieving revision 1.131
>   diff -u -r1.130 -r1.131
>   --- AxisServlet.java	2 Aug 2002 17:27:42 -0000	1.130
>   +++ AxisServlet.java	2 Aug 2002 20:46:55 -0000	1.131
>   @@ -766,6 +766,14 @@
>                                   req.getHeader(HTTPConstants.HEADER_AUTHORIZATION));
>            msgContext.setProperty(Constants.MC_REMOTE_ADDR, req.getRemoteAddr());
>    
>   +        // Set up a javax.xml.rpc.server.ServletEndpointContext
>   +        ServletEndpointContextImpl sec = 
>   +                new ServletEndpointContextImpl(req.getSession(),
>   +                                               msgContext,
>   +                                               req.getUserPrincipal(),
>   +                                               getServletConfig().getServletContext());
>   +        
>   +        msgContext.setProperty(Constants.MC_SERVLET_ENDPOINT_CONTEXT, sec);
>            /* Save the real path */
>            /**********************/
>            String realpath =

In recent performance profiling tests, a regression has been noticed... 
specifically that sessions are now always allocated.  It appears that 
this is do to the change above.  Is this necessary?

- Sam Ruby


Mime
View raw message