{"action":"created","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/10925","repository_url":"https://api.github.com/repos/hazelcast/hazelcast","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/10925/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/10925/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/10925/events","html_url":"https://github.com/hazelcast/hazelcast/issues/10925","id":242889150,"node_id":"MDU6SXNzdWUyNDI4ODkxNTA=","number":10925,"title":"Hazelcast with tomcat parallel deploy - com.hazelcast.nio.serialization.HazelcastSerializationException: java.lang.ClassNotFoundException: org.springframework.security.web.csrf.DefaultCsrfToken","user":{"login":"wellprado","id":8352417,"node_id":"MDQ6VXNlcjgzNTI0MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/8352417?v=4","gravatar_id":"","url":"https://api.github.com/users/wellprado","html_url":"https://github.com/wellprado","followers_url":"https://api.github.com/users/wellprado/followers","following_url":"https://api.github.com/users/wellprado/following{/other_user}","gists_url":"https://api.github.com/users/wellprado/gists{/gist_id}","starred_url":"https://api.github.com/users/wellprado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wellprado/subscriptions","organizations_url":"https://api.github.com/users/wellprado/orgs","repos_url":"https://api.github.com/users/wellprado/repos","events_url":"https://api.github.com/users/wellprado/events{/privacy}","received_events_url":"https://api.github.com/users/wellprado/received_events","type":"User","site_admin":false},"labels":[{"id":793782133,"node_id":"MDU6TGFiZWw3OTM3ODIxMzM=","url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Source:%20Community","name":"Source: Community","color":"3afc37","default":false},{"id":2715855,"node_id":"MDU6TGFiZWwyNzE1ODU1","url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Team:%20Integration","name":"Team: Integration","color":"fef2c0","default":false},{"id":1740690,"node_id":"MDU6TGFiZWwxNzQwNjkw","url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Type:%20Defect","name":"Type: Defect","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-07-14T03:40:59Z","updated_at":"2018-08-29T07:15:34Z","closed_at":"2018-08-29T07:15:34Z","author_association":"NONE","body":"Hi guys,\r\n \r\nIm trying to do parallel deploy in my environment and all the times when I put the second deploy (eg: ROOT##002.war ) everything sounds good but I'm not able to load the website anymore when I try to login.\r\n\r\nIn the catalina.out log I have this situation when this problem appears:\r\n\r\n```\r\n2017-07-14 00:19:47.471  INFO 32730 --- [cached.thread-1] c.h.nio.tcp.TcpIpConnectionManager       : [10.56.46.5]:5710 [hazelepp] [3.8] Established socket connection between /10.XX.XX.5:33753 and /10.56.46.33:5710\r\n2017-07-14 00:19:47.471  INFO 32730 --- [cached.thread-2] c.h.nio.tcp.TcpIpConnectionManager       : [10.56.46.5]:5710 [hazelepp] [3.8] Established socket connection between /10.XX.XX.5:26437 and /10.56.46.6:5710\r\n2017-07-14 00:19:47.722  INFO 32730 --- [elepp.migration] c.h.i.partition.impl.MigrationManager    : [10.56.46.5]:5711 [hazelepp] [3.8] Re-partitioning cluster data... Migration queue size: 542\r\n2017-07-14 00:19:48.889  INFO 32730 --- [cached.thread-2] c.h.i.p.InternalPartitionService         : [10.56.46.5]:5711 [hazelepp] [3.8] Remaining migration tasks in queue => 103\r\n2017-07-14 00:19:50.140  INFO 32730 --- [elepp.migration] c.h.i.partition.impl.MigrationThread     : [10.56.46.5]:5711 [hazelepp] [3.8] All migration tasks have been completed, queues are empty.\r\n14-Jul-2017 00:20:09.939 INFO [ajp-nio-8009-exec-1529] com.hazelcast.session.HazelcastSessionManager.findSession Sticky Session is currently enabled.Some failover occured so reading session from Hazelcast map:empty_session_replication\r\n14-Jul-2017 00:20:09.946 SEVERE [ajp-nio-8009-exec-1529] org.apache.coyote.ajp.AjpProcessor.service Error processing request\r\n com.hazelcast.nio.serialization.HazelcastSerializationException: java.lang.ClassNotFoundException: org.springframework.security.web.csrf.DefaultCsrfToken\r\n        at com.hazelcast.internal.serialization.impl.JavaDefaultSerializers$JavaSerializer.read(JavaDefaultSerializers.java:224)\r\n        at com.hazelcast.internal.serialization.impl.StreamSerializerAdapter.read(StreamSerializerAdapter.java:48)\r\n        at com.hazelcast.internal.serialization.impl.AbstractSerializationService.readObject(AbstractSerializationService.java:266)\r\n        at com.hazelcast.internal.serialization.impl.ByteArrayObjectDataInput.readObject(ByteArrayObjectDataInput.java:599)\r\n        at com.hazelcast.session.HazelcastSession.deserializeMap(HazelcastSession.java:141)\r\n        at com.hazelcast.session.HazelcastSession.readData(HazelcastSession.java:127)\r\n        at com.hazelcast.internal.serialization.impl.DataSerializableSerializer.readInternal(DataSerializableSerializer.java:155)\r\n        at com.hazelcast.internal.serialization.impl.DataSerializableSerializer.read(DataSerializableSerializer.java:103)\r\n        at com.hazelcast.internal.serialization.impl.DataSerializableSerializer.read(DataSerializableSerializer.java:49)\r\n        at com.hazelcast.internal.serialization.impl.StreamSerializerAdapter.read(StreamSerializerAdapter.java:48)\r\n        at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toObject(AbstractSerializationService.java:184)\r\n        at com.hazelcast.map.impl.proxy.MapProxySupport.toObject(MapProxySupport.java:1075)\r\n        at com.hazelcast.map.impl.proxy.MapProxyImpl.get(MapProxyImpl.java:114)\r\n        at com.hazelcast.session.HazelcastSessionManager.findSession(HazelcastSessionManager.java:213)\r\n        at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:726)\r\n        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)\r\n        at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:478)\r\n        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)\r\n        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)\r\n        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434)\r\n        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n        at java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.ClassNotFoundException: org.springframework.security.web.csrf.DefaultCsrfToken\r\n        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n        at com.hazelcast.nio.ClassLoaderUtil.tryLoadClass(ClassLoaderUtil.java:146)\r\n        at com.hazelcast.nio.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:120)\r\n        at com.hazelcast.nio.IOUtil$ClassLoaderAwareObjectInputStream.resolveClass(IOUtil.java:522)\r\n        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1819)\r\n        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1713)\r\n        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1986)\r\n        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)\r\n        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)\r\n        at com.hazelcast.internal.serialization.impl.JavaDefaultSerializers$JavaSerializer.read(JavaDefaultSerializers.java:219)\r\n        ... 24 more\r\n\r\n14-Jul-2017 00:20:44.268 INFO [ajp-nio-8009-exec-1534] com.hazelcast.session.HazelcastSessionManager.findSession Sticky Session is currently enabled.Some failover occured so reading session from Hazelcast map:empty_session_replication\r\n14-Jul-2017 00:20:44.270 SEVERE [ajp-nio-8009-exec-1534] org.apache.coyote.ajp.AjpProcessor.service Error processing request\r\n com.hazelcast.nio.serialization.HazelcastSerializationException: java.lang.ClassNotFoundException: org.springframework.security.web.csrf.DefaultCsrfToken\r\n        at com.hazelcast.internal.serialization.impl.JavaDefaultSerializers$JavaSerializer.read(JavaDefaultSerializers.java:224)\r\n        at com.hazelcast.internal.serialization.impl.StreamSerializerAdapter.read(StreamSerializerAdapter.java:48)\r\n        at com.hazelcast.internal.serialization.impl.AbstractSerializationService.readObject(AbstractSerializationService.java:266)\r\n        at com.hazelcast.internal.serialization.impl.ByteArrayObjectDataInput.readObject(ByteArrayObjectDataInput.java:599)\r\n        at com.hazelcast.session.HazelcastSession.deserializeMap(HazelcastSession.java:141)\r\n        at com.hazelcast.session.HazelcastSession.readData(HazelcastSession.java:127)\r\n        at com.hazelcast.internal.serialization.impl.DataSerializableSerializer.readInternal(DataSerializableSerializer.java:155)\r\n        at com.hazelcast.internal.serialization.impl.DataSerializableSerializer.read(DataSerializableSerializer.java:103)\r\n        at com.hazelcast.internal.serialization.impl.DataSerializableSerializer.read(DataSerializableSerializer.java:49)\r\n        at com.hazelcast.internal.serialization.impl.StreamSerializerAdapter.read(StreamSerializerAdapter.java:48)\r\n        at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toObject(AbstractSerializationService.java:184)\r\n        at com.hazelcast.map.impl.proxy.MapProxySupport.toObject(MapProxySupport.java:1075)\r\n        at com.hazelcast.map.impl.proxy.MapProxyImpl.get(MapProxyImpl.java:114)\r\n        at com.hazelcast.session.HazelcastSessionManager.findSession(HazelcastSessionManager.java:213)\r\n        at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:726)\r\n        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)\r\n        at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:478)\r\n        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)\r\n        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)\r\n        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434)\r\n        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n        at java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.ClassNotFoundException: org.springframework.security.web.csrf.DefaultCsrfToken\r\n        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n        at com.hazelcast.nio.ClassLoaderUtil.tryLoadClass(ClassLoaderUtil.java:146)\r\n        at com.hazelcast.nio.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:120)\r\n        at com.hazelcast.nio.IOUtil$ClassLoaderAwareObjectInputStream.resolveClass(IOUtil.java:522)\r\n        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1819)\r\n        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1713)\r\n        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1986)\r\n        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)\r\n        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)\r\n        at com.hazelcast.internal.serialization.impl.JavaDefaultSerializers$JavaSerializer.read(JavaDefaultSerializers.java:219)\r\n        ... 24 more\r\n```\r\n\r\n  Some tip about this problem ? Is this a bug ?\r\n\r\nMy env:\r\nhazelcast-all-3.8.jar\r\nhazelcast-tomcat85-sessionmanager-1.1.1.jar\r\nTomcat 8.5  64bits  \r\nLinux Redhat 7.3\r\n"},"comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/comments/416850282","html_url":"https://github.com/hazelcast/hazelcast/issues/10925#issuecomment-416850282","issue_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/10925","id":416850282,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjg1MDI4Mg==","user":{"login":"mmedenjak","id":17194871,"node_id":"MDQ6VXNlcjE3MTk0ODcx","avatar_url":"https://avatars0.githubusercontent.com/u/17194871?v=4","gravatar_id":"","url":"https://api.github.com/users/mmedenjak","html_url":"https://github.com/mmedenjak","followers_url":"https://api.github.com/users/mmedenjak/followers","following_url":"https://api.github.com/users/mmedenjak/following{/other_user}","gists_url":"https://api.github.com/users/mmedenjak/gists{/gist_id}","starred_url":"https://api.github.com/users/mmedenjak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmedenjak/subscriptions","organizations_url":"https://api.github.com/users/mmedenjak/orgs","repos_url":"https://api.github.com/users/mmedenjak/repos","events_url":"https://api.github.com/users/mmedenjak/events{/privacy}","received_events_url":"https://api.github.com/users/mmedenjak/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T07:15:34Z","updated_at":"2018-08-29T07:15:34Z","author_association":"CONTRIBUTOR","body":"Closing the issue due to non-activity. @wellprado please open a new issue if the problem persists."}}
{"actor":{"display_login":"mmedenjak"}}