0

ZK Spreadsheet Failure on App Engine Managed VM

asked 2016-01-07 08:22:50 +0800

gabiaxel gravatar image gabiaxel
51

Greetings,

I wrote a simple application with ZK Spreadsheet which works fine on Jetty but not on App Engine managed VM. I described the issue in detail here . I published the application sources to allow anyone to quickly reproduce the problem.

I am trying to figure out what difference could be between standalone Jetty and the Managed VM (which is based on the same Jetty version that I am trying as comparison). One difference I can think of is that on App Engine, being a clustered environment, sessions are persisted to the datastore, but I did set the required configuration for that in my zk.xml . I noticed this issue that refers to session serialization to Redis, which no one addressed since November, and I don't know if it's a real bug, and if so whether it has been fixed since reported, or even whether the fix should be in ZK or in the runtime.

Started an issue on GAE Java runtime project.

Assistance or direction would be appreciated.

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-01-12 09:24:50 +0800

hawk gravatar image hawk
2255 1 5
http://hawkphoenix.blogsp... ZK Team

updated 2016-01-12 10:13:59 +0800

I try to specify file path in `src', then the exception is gone like:

<spreadsheet 
id="spreadsheet"
src="/WEB-INF/blank-spreadsheet.xlsx"
vflex="1" hflex="1" maxVisibleRows="200" maxVisibleColumns="40"
showSheetbar="false" showToolbar="false" showFormulabar="false" showContextMenu="false"/>

But it still contains other problems. Even those problems can be solved, you should notice that since GAE is a clustering environment, zk spreadsheet collaboration edit mode cannot work correctly on it. Because collaboration edit depends on the application scope event queue which cannot be used in GAE. (Ref: http://books.zkoss.org/wiki/ZKInstallationGuide/SettingupServers/GoogleAppEngine)

The issue might be caused by GAE session manager partially because zss heavily relies on session attributes. We can test it after GAE fixes it.

link publish delete flag offensive edit

Comments

It's been confirmed that it's being caused by the session manager implementation in the runtime and should be fixed in a future runtime release: https://github.com/GoogleCloudPlatform/appengine-java-vm-runtime/issues/151

gabiaxel ( 2016-01-12 10:40:42 +0800 )edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2016-01-07 08:22:50 +0800

Seen: 14 times

Last updated: Jan 12 '16

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More