Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: H2 edits

...

Since ClientErrorInterceptor does not exist in RESTeasy 3, its capabilities were removed from our client implementation, the REST client module. If you have been relying on such objects, you have to handle it in a different way.

Known issues

H2

...

does not accept more than one connection

Our default configuration is does not using the use server mode and therefore if one tries . Therefore, if you try to initiate a backup call via using CLI or REST, it will be failing due to the fact that H2 doesn't fails because H2 does not allow more than one connection at a time. We didn't have this This is a new issue in Magnolia before but for some reason (most likely due to H2 or Jackrabbit updates) we experience it now.

A temporary workaround is to make H2 run in the server mode by removing DB_CLOSE_ON_EXIT=FALSE from the value of the url parameters and adding AUTO_SERVER=TRUE:

<param name="url" value="jdbc:h2:${wsp.home}/db;AUTO_SERVER=TRUE" />

...