Child pages
  • WAR Deployment

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If {user.home} is a read-only folder, then a SERVOY_USER_HOME system variable must be defined to point to a writable folder. You can give this directly to the JVM as well using -DSERVOY_USER_HOME=... (in case of Tomcat you can put this in JAVA_OPTS; see Tomcat documentation on how that can be changed). It is also possible to set this in the servoy.properties file used for the WAR export, by setting "servoy.user.home".

NOTE: when using an existing servoy.properties file, check if the property "SocketFactory.tunnelConnectionMode" is set to one of the following values: "Http&Socket", "Http" or "Socket". The "2waysocket" option is not fully supported when deploying using a WAR: deploying multiple Servoy WAR's on the same server or a hot redeploy does not work when using "2waysocket". When not using an existing servoy.properties file the "SocketFactory.tunnelConnectionMode" is set to "Http&Socket".

...