2013/10/31  <spr...@gmx.eu>:
> Hi,
>
> when I use the
> com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager I get
> classloader issues when a session gets deserialized and my session contains
> classes which are not available to the shared loader.
>
> My question:
>
> Is this a bug in
> com.amazonaws.services.dynamodb.sessionmanager.DynamoDBSessionManager?
> I do not want to put these classes into the shared loader because they
> belong only to a special webapp.
>
> Thank you.
>
> P.S.
>
> Code can be found here:
>
> https://github.com/aws/aws-dynamodb-session-tomcat/tree/master/src/main/java
> /com/amazonaws/services/dynamodb/sessionmanager
>

Their code (DynamoDBSessionStore.load(...)) uses ObjectInputStream

Tomcat code (e.g. o.a.catalina.session.FileStore.load(..)) uses
CustomObjectInputStream which knows how to deal with class loaders.

It is their bug (or feature).

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to