-
Notifications
You must be signed in to change notification settings - Fork 62
Compatibility with Jetty 9.1.5 #6
Comments
Hi, |
Hi Mathieu, I am sending you a patch file for you to review. I realized SessionManagerSkeleton.shutdownSessions can be left empty I also implemented SessionIdManagerSkeleton.renewSessionId Another new method introduced in Jetty 9. Best regards, On Mon, Jul 21, 2014 at 9:11 PM, Mathieu Carbou [email protected]
@OverRide
protected abstract void deleteClusterId(String clusterId); protected abstract void storeClusterId(String clusterId);
Index: src/main/java/com/ovea/jetty/session/SessionManagerSkeleton.java <+>UTF-8--- src/main/java/com/ovea/jetty/session/SessionManagerSkeleton.java (revision afb2b25) import org.eclipse.jetty.server.session.AbstractSession;
public final void invalidateSession(String clusterId) {
protected abstract void storeSession(T session); protected abstract void deleteSession(T session); protected abstract T loadSession(String clusterId, T current);
public abstract class SessionSkeleton extends AbstractSession { Index: pom.xml <+>UTF-8--- pom.xml (revision afb2b25)
jetty-session-redis
Index: src/main/java/com/ovea/jetty/session/redis/RedisSessionManager.java <+>UTF-8--- src/main/java/com/ovea/jetty/session/redis/RedisSessionManager.java (revision afb2b25)
final class RedisSession extends SessionManagerSkeleton.SessionSkeleton {
@@ -338,6 +352,12 @@
|
Hi Mathieu, Have you had sometime to review the patch I submitted a few days ago. We Best regards, On Wed, Jul 23, 2014 at 6:06 PM, Roth Jianping [email protected]
|
What do you mean by 'send a pull request' please? Jianping On Mon, Jul 21, 2014 at 9:11 PM, Mathieu Carbou [email protected]
|
A pull request means: you fork this repository under your account, then merge your patch into your forked repository and finally create a pull request to this repository. |
Excuse me, can be used to jetty9, bro? |
Hi Mathieu Carbou,
I wonder what is the timeframe for upgrading jetty-session-redis to be compatible with Jetty 9.1.5?
We currently use Jetty 9.1.5.v20140505 and jetty-session-redis-2.3.ga. We are not able to shutdown jetty properly because an abstract method, shutdownSessions, defined in AbstractSessionManager will have to be implemented.
It is really our problem. We shouldn't have used Jetty 9.1.5 as you have documented clearly in the software Compatibility section.
We are thinking to modify RedisSessionManager to add the missing implementation and contribute back to the source. What do you think please?
Best regards,
Jianping Roth
xMatters
The text was updated successfully, but these errors were encountered: