<%@ page session="true" %><%-- --%><%-- --%><% // next page String nextPage = "step_2_check_components.jsp"; boolean isInitialized = false; boolean wizardEnabled = false; boolean showButtons = false; try { if (Bean.isInitialized()) { session.invalidate(); response.sendRedirect("index.jsp"); } // Initialize the Bean Bean.init(pageContext); // check wizards accessability wizardEnabled = Bean.getWizardEnabled(); if (!wizardEnabled) { request.getSession().invalidate(); } isInitialized = true; } catch (Exception e) { // the servlet container did not unpack the war, so lets display an error message } %> <%= Bean.getHtmlPart("C_HTML_START") %> Alkacon OpenCms Setup Wizard <%= Bean.getHtmlPart("C_HEAD_START") %> <%= Bean.getHtmlPart("C_STYLES") %> <%= Bean.getHtmlPart("C_STYLES_SETUP") %> <%= Bean.getHtmlPart("C_HEAD_END") %> Alkacon OpenCms Setup Wizard - License Agreement <%= Bean.getHtmlPart("C_CONTENT_SETUP_START") %>
<% if (wizardEnabled && isInitialized) { showButtons = true; %> <% } else if (! isInitialized) { %> <% } else { %> <% } %>
Do you accept all the terms of the preceding license agreement?    yes    no
<%= Bean.getHtmlPart("C_BLOCK_START", "Error starting wizard") %>
   Error starting Alkacon OpenCms setup wizard.
It appears that your servlet container did not unpack the Alkacon OpenCms WAR file. Alkacon OpenCms requires that it's WAR file is unpacked.

Please unpack the Alkacon OpenCms WAR file and try again.

Check out the documentation of your Servlet container to learn how to unpack the WAR file, or do it manually with some kind of unzip - tool.

Tip for Tomcat users:
Open the file {tomcat-home}/conf/server.xml and search for unpackWARs="false". Replace this with unpackWARs="true". Then restart Tomcat.
<%= Bean.getHtmlPart("C_BLOCK_END") %>
<%= Bean.getHtmlPart("C_BLOCK_START", "Wizard locked") %>
   The Alkacon OpenCms setup wizard is not available!
To enable the wizard, unlock it in "opencms.properties".
<%= Bean.getHtmlPart("C_BLOCK_END") %>
<%= Bean.getHtmlPart("C_CONTENT_END") %> <% if (showButtons) { %> <%= Bean.getHtmlPart("C_BUTTONS_START") %>
<%= Bean.getHtmlPart("C_BUTTONS_END") %> <% } %> <%= Bean.getHtmlPart("C_HTML_END") %>