Problem with GWT behind a reverse proxy - either nginx or apache

前端 未结 7 535
悲&欢浪女
悲&欢浪女 2020-12-15 22:20

I\'m having this problem with GWT when it\'s behind a reverse proxy. The backend app is deployed within a context - let\'s call it /context.

The GWT app works fine

相关标签:
7条回答
  • 2020-12-15 22:52

    I've run into a similar problem, a successful workaround was to make all serialized objects implement GWT's IsSerializable interface (in addition to the standard Serializable interface). If you read the message, it states that 'a legacy, 1.3.3 compatible, serialization policy will be used' - the 1.3.3 compatible policy requires all of your serialized objects implement the IsSerializable interface, so by adding it, everything worked.

    I do have concerns that the legacy policy will be desupported in future versions of GWT, so i am also in search for a better workaround myself.

    0 讨论(0)
提交回复
热议问题