Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2650

Clarify required changes in Vaadin configuration for Magnolia 6.2.20

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • None
    • None
    • None
    • None

    Description

      I spent most of the day trying to figure out, why updating Magnolia to 6.2.20 or later versions always gave me a errors like this:

      com.vaadin.pro.licensechecker.VaadinComIntegration.openBrowserAndWaitForKey Opening system browser to validate license. If the browser is not opened, please open https://vaadin.com/pro/validate-license?connect=1e55726b-a3a8-4e84-8ce0-6c5cd26cd1c1&productName=vaadin-framework&productVersion=8.15.2 manually

      SEVERE [http-nio-8080-exec-10] com.vaadin.pro.licensechecker.VaadinComIntegration.openBrowserAndWaitForKey You are running in a headless environment. Please open https://vaadin.com/pro/validate-license?connect=1e55726b-a3a8-4e84-8ce0-6c5cd26cd1c1&productName=vaadin-framework&productVersion=8.15.2 in any browser to validate the license.

      ERROR info.magnolia.cms.filters.ServletDispatchingFilter: Unable to load servlet class com.vaadin.server.VaadinServlet : Unable to validate subscription. Please go to https://vaadin.com/pro/validate-license to check that your subscription is active. For troubleshooting steps, see https://vaadin.com/licensing-faq-and-troubleshooting.

      java.lang.RuntimeException: Unable to validate subscription. Please go to https://vaadin.com/pro/validate-license to check that your subscription is active. For troubleshooting steps, see https://vaadin.com/licensing-faq-and-troubleshooting.

      There is a very small hint in 6.2.20 release notes about "license for productionMode=false required!". But no hint given how to solve this in a custom Magnolia setup. Even the above mentioned errors did not produce any search results. Can you please improve the documentation to include the hint, that you need to add the following to your custom webapp web.xml. That would have saved me a lot of time.

        <context-param>
          <description>Vaadin production mode</description>
          <param-name>productionMode</param-name>
          <param-value>true</param-value>
        </context-param>
        <context-param>
          <param-name>heartbeatInterval</param-name>
          <param-value>90</param-value>
        </context-param>
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              abrooks Adrian Brooks
              skleine Sebastian Kleine
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: