System and method for session handling in a multitenant application server environment
First Claim
1. A system for session handling in a multitenant application server environment, comprising:
- one or more computers, including an application server environment executing thereon, together with;
a plurality of deployable resources which can be used within the application server environment,one or more resource groups, which including groupings of the deployable resources for use by a partition within a domain, andone or more partitions, wherein each of the one or more partitions provides an administrative and runtime subdivision of the domain, and wherein the system can associate the one or more partitions and the one or more resource groups with a tenant, for use by the tenant; and
wherein the system uses a patching process that is performed by the application server environment to apply patches to a plurality of servers in the domain in a controlled manner that maintains operations of the domain without interruption; and
wherein the system provides for session handling during the patching process, wherein session handling comprises;
receiving at a traffic director a request for a session, the session being associated with a first version of a server patch, the first version of the server being capable of deserializing the requested session,attempting to load the requested session at a first server of the plurality of servers, the first server comprising a patched version of the first version of the server patch, the patched version of the first version of the server being incapable of deserializing the requested session,receiving, at the traffic director, a response message from the first server of the plurality of servers indicating that the first server is unable to deserialize the requested session, the response message comprising a list of one or more servers of the plurality of servers comprising the first version of the server patch, the list including a second server of the plurality of servers, andloading the requested session at the second server of the plurality of servers.
1 Assignment
0 Petitions
Accused Products
Abstract
In accordance with an embodiment, systems and methods for session handling in a multitenant application server environment are provided. The ability to replicate a session is important but equally so is the ability to ensure the session is successfully deserialized on some server in order to serve the request. After a server has been shut down, the front end can fail over the request to one of the remaining server members in a cluster. Once the server receives the request it can attempt to grab the session from a server that holds a copy of that session. When a patched or unpatched server attempts to load the session that originated from a server of the opposite state, it can fail to deserialize the session, and inform the traffic director of severs in the cluster that are capable of deserializing the session.
-
Citations
20 Claims
-
1. A system for session handling in a multitenant application server environment, comprising:
-
one or more computers, including an application server environment executing thereon, together with; a plurality of deployable resources which can be used within the application server environment, one or more resource groups, which including groupings of the deployable resources for use by a partition within a domain, and one or more partitions, wherein each of the one or more partitions provides an administrative and runtime subdivision of the domain, and wherein the system can associate the one or more partitions and the one or more resource groups with a tenant, for use by the tenant; and wherein the system uses a patching process that is performed by the application server environment to apply patches to a plurality of servers in the domain in a controlled manner that maintains operations of the domain without interruption; and wherein the system provides for session handling during the patching process, wherein session handling comprises; receiving at a traffic director a request for a session, the session being associated with a first version of a server patch, the first version of the server being capable of deserializing the requested session, attempting to load the requested session at a first server of the plurality of servers, the first server comprising a patched version of the first version of the server patch, the patched version of the first version of the server being incapable of deserializing the requested session, receiving, at the traffic director, a response message from the first server of the plurality of servers indicating that the first server is unable to deserialize the requested session, the response message comprising a list of one or more servers of the plurality of servers comprising the first version of the server patch, the list including a second server of the plurality of servers, and loading the requested session at the second server of the plurality of servers. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for session handling in a multitenant application server environment, comprising:
-
providing, at one or more computers, including an application server environment executing thereon, a plurality of deployable resources which can be used within the application server environment, one or more resource groups, which including groupings of the deployable resources for use by a partition within a domain, and one or more partitions, wherein each of the one or more partitions provides an administrative and runtime subdivision of the domain, associating each of the one or more partitions and resource groups with a tenant, for use by the tenant; providing a patching process that is performed by the application server environment to apply patches to a plurality of servers in the domain in a controlled manner that maintains operations of the domain without interruption; and providing for session handling during the patching process, wherein session handling comprises; receiving at a traffic director a request for a session, the session being associated with a first version of a server patch, the first version of the server being capable of deserializing the requested session, attempting to load the requested session at a first server of the plurality of servers, the first server comprising a patched version of the first version of the server patch, the patched version of the first version of the server being incapable of deserializing the requested session, receiving, at the traffic director, a response message from the first server of the plurality of servers indicating that the first server is unable to deserialize the requested session, the response message comprising a list of one or more servers of the plurality of servers comprising the first version of the server patch, the list including a second server of the plurality of servers, and loading the requested session at the second server of the plurality of servers. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer readable storage medium, including instructions stored thereon for session handling in a multitenant application server environment which when read and executed by one or more computers cause the one or more computers to perform the steps comprising:
-
providing, at one or more computers, including an application server environment executing thereon, a plurality of deployable resources which can be used within the application server environment, one or more resource groups, which including groupings of the deployable resources for use by a partition within a domain, and one or more partitions, wherein each of the one or more partitions provides an administrative and runtime subdivision of the domain, associating each of the one or more partitions and resource groups with a tenant, for use by the tenant; providing a patching process that is performed by the application server environment to apply patches to a plurality of servers in the domain in a controlled manner that maintains operations of the domain without interruption; and providing for session handling during the patching process, wherein session handling comprises; receiving at a traffic director a request for a session, the session being associated with a first version of a server patch, the first version of the server being capable of deserializing the requested session, attempting to load the requested session at a first server of the plurality of servers, the first server comprising a patched version of the first version of the server patch, the patched version of the first version of the server being incapable of deserializing the requested session, receiving, at the traffic director, a response message from the first server of the plurality of servers indicating that the first server is unable to deserialize the requested session, the response message comprising a list of one or more servers of the plurality of servers comprising the first version of the server patch, the list including a second server of the plurality of servers, and loading the requested session at the second server of the plurality of servers. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification