[ 
https://issues.apache.org/jira/browse/WINK-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829922#action_12829922
 ] 

Dave Lin commented on WINK-252:
-------------------------------

Hi Nick,

Now we enable the HTTP session by servlet filter like:

<filter>
        <display-name>RestSessionFilter</display-name>
        <filter-name>RestSessionFilter</filter-name>
        <filter-class>com.ibm.hats.rest.RestSessionFilter</filter-class>
</filter>
<filter-mapping>
        <filter-name>RestSessionFilter</filter-name>
        <url-pattern>/rest/*</url-pattern>
</filter-mapping>

We suggest to put this as a possible option feature of Wink sample servlet 
(org.apache.wink.server.internal.servlet.RestServlet), or have a document about 
it. the SOAP Web services can be configured to enable HTTP session easliy in 
Websphere Application Server. Let me know your opinion. Thanks!

Dave

> Wink doesn't support session affinity option on WebSphere Application Server 
> with Cluster configuration
> -------------------------------------------------------------------------------------------------------
>
>                 Key: WINK-252
>                 URL: https://issues.apache.org/jira/browse/WINK-252
>             Project: Wink
>          Issue Type: Improvement
>          Components: Server
>         Environment: Websphere Application Server V7
>            Reporter: Lori Ruffing
>            Priority: Minor
>
> In WebSphere Application Server with Cluster configuration, Wink doesn't 
> support session affinity option (which means Wink didn't initialize an HTTP 
> session object when it received an HTTP request from Client).  Therefore, the 
> request will be dispatched to one server and then the other server 
> alternately. For RESTful service with session enabled, this may be a problem. 
> Wink team may consider to provide to enable session affinity as a possible 
> option.
> What is session affinity?  
> http://publib.boulder.ibm.com/infocenter/wasinfo/v4r0/index.jsp?topic=/com.ibm.websphere.v4.doc/wasa_content/040401010702.html

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

Reply via email to