<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>For 2.x JARs or ZIPs on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/</link><description>Recent content in For 2.x JARs or ZIPs on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/index.xml" rel="self" type="application/rss+xml"/><item><title>Changing the name of the cast_dashboards schema</title><link>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/changing-the-name-of-the-cast-dashboards-schema/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/changing-the-name-of-the-cast-dashboards-schema/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;A &lt;strong&gt;graphical user interface&lt;/strong&gt; was implemented in ≥ 2.1 for managing the assignment of &lt;strong&gt;role and data authorizations&lt;/strong&gt; to users and groups of users. This interface replaces the existing mechanism provided by the &lt;strong&gt;roles.xml&lt;/strong&gt; and the &lt;strong&gt;authorizations.xml&lt;/strong&gt; files. You can find out more in:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://doc.castsoftware.com/export-v2/dashboards/installation-and-deployment-process/installation-process/new-customer-installation/install-cast-dashboards-new-customers/standalone-cast-dashboard-deployment-process/standalone-dashboard-post-install-configuration-steps/user-roles/"&gt;User roles&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a href="https://doc.castsoftware.com/export-v2/dashboards/installation-and-deployment-process/installation-process/new-customer-installation/install-cast-dashboards-new-customers/standalone-cast-dashboard-deployment-process/standalone-dashboard-post-install-configuration-steps/user-roles/user-roles-2-x-and-above/"&gt;User roles - 2.x and above&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href="https://doc.castsoftware.com/export-v2/dashboards/installation-and-deployment-process/installation-process/new-customer-installation/install-cast-dashboards-new-customers/standalone-cast-dashboard-deployment-process/standalone-dashboard-post-install-configuration-steps/data-authorization/"&gt;Data authorization&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a href="https://doc.castsoftware.com/export-v2/dashboards/installation-and-deployment-process/installation-process/new-customer-installation/install-cast-dashboards-new-customers/standalone-cast-dashboard-deployment-process/standalone-dashboard-post-install-configuration-steps/data-authorization/data-authorization-2-x-and-above/"&gt;Data authorization - 2.x and above&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/DASHBOARDS/attachments/518750413/518750414.jpg" alt=""&gt;&lt;/p&gt;
&lt;p&gt;This management interface relies on a&lt;strong&gt;schema hosted on a PostgreSQL instance&lt;/strong&gt; to store the roles/data authorizations. This schema is called &lt;strong&gt;cast_dashboards&lt;/strong&gt; by default and will be created on first startup of the web application. This schema is defined using two files:&lt;/p&gt;</description></item><item><title>Configure additional Dashboard schemas for JAR file deployments</title><link>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/configure-additional-dashboard-schemas-for-jar-file-deployments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/configure-additional-dashboard-schemas-for-jar-file-deployments/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;When deploying a &lt;strong&gt;JAR&lt;/strong&gt; file (available in &lt;strong&gt;≥ 2.5)&lt;/strong&gt; an installer is provided. This installer will only allow the configuration of &lt;strong&gt;one single PostgreSQL instance&lt;/strong&gt; and &lt;strong&gt;one single Dashboard/Central schema&lt;/strong&gt; as shown in the image below:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/DASHBOARDS/attachments/555679910/555679911.jpg" alt=""&gt;&lt;/p&gt;
&lt;p&gt;If you therefore need to define &lt;strong&gt;additional C PostgreSQL instance&lt;/strong&gt;(e.g. you need to define multiple Dashboard/Central schemas located on multiple PostgreSQL instances) or you need to define &lt;strong&gt;additional Dashboard/Central schemas&lt;/strong&gt; (located on the same PostgreSQL instance), you will need to make a manual change to the Dashboard configuration files as described below.&lt;/p&gt;</description></item><item><title>Deploying multiple 2.x ZIPs or JARs on the same server</title><link>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/deploying-multiple-2-x-zips-or-jars-on-the-same-server/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/deploying-multiple-2-x-zips-or-jars-on-the-same-server/</guid><description>&lt;div class="alert alert-warning" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Note&lt;/div&gt;
&lt;p&gt;This information is only valid for &lt;strong&gt;CAST Dashboard&lt;/strong&gt;**≥ 2.x** when using a &lt;strong&gt;ZIP/JAR&lt;/strong&gt;deployment (i.e. without Apache Tomcat).&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;The following situations require some small changes to the Dashboard deployment process so that each Dashboard deployment does not conflict with another:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;when multiple standalone 2.x Dashboards need to be run from the same server&lt;/li&gt;
&lt;li&gt;when embedded AIP Console Dashboards (from v. 1.25) need to be run on the same machine as standalone 2.x ZIP/JAR dashboards&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="required-changes"&gt;Required changes&lt;/h2&gt;
&lt;h3 id="step-1---change-the-port-on-which-the-dashboard-is-running---linux-and-microsoft-windows"&gt;Step 1 - Change the port on which the Dashboard is running - Linux and Microsoft Windows&lt;/h3&gt;
&lt;p&gt;By default the ZIP/JAR Dashboards are preconfigured to run on the following ports to accept incoming connections:&lt;/p&gt;</description></item><item><title>Modify the user access port or set up secure HTTPS dashboard access</title><link>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/modify-the-user-access-port-or-set-up-secure-https-dashboard-access/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/modify-the-user-access-port-or-set-up-secure-https-dashboard-access/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary:&lt;/strong&gt; this page describes how to change the CAST Dashboard access port, for example to enable HTTPS.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="alert alert-warning" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Note&lt;/div&gt;
&lt;p&gt;This information is only valid for CAST Dashboard ≥ 2.x when using a ZIP/JAR file deployment (i.e. without Apache Tomcat). If you are deploying WAR files using Apache Tomcat, see **&lt;a href="https://doc.castsoftware.com/display/DASHBOARDSDRAFT/Configuring+Apache+Tomcat+to+use+secure+https+protocol"&gt;Configuring Apache Tomcat to use secure https protocol&lt;/a&gt;**for more information.&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;By default, the CAST Dashboards will listen on an insecure &lt;strong&gt;HTTP&lt;/strong&gt; connection on port &lt;strong&gt;8080&lt;/strong&gt; (i.e for user access). This page explains how to change the listening port number, for example to enable a secured connection using &lt;strong&gt;HTTPS&lt;/strong&gt; on port &lt;strong&gt;443&lt;/strong&gt; or to change to an alternative HTTP port such as port &lt;strong&gt;80&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Start and stop 2.x JAR or ZIP deployments</title><link>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/start-and-stop-2-x-jar-or-zip-deployments/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/start-and-stop-2-x-jar-or-zip-deployments/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary:&lt;/strong&gt; this page describes how to start and stop the 2.x ZIP deployments.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="alert alert-warning" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Note&lt;/div&gt;
&lt;p&gt;This information is only valid for CAST Dashboard ≥ 2.x when using a ZIP file deployment (i.e. without Apache Tomcat).&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Out of the box, the 2.x ZIP files are provided with &lt;strong&gt;start-up and shut down scripts&lt;/strong&gt; that are used to start/stop the web applications manually:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-java" data-lang="java"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;Microsoft&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Windows&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;install_folder&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;startup&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;bat&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;***&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;there&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;is&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;no&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;shutdown&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;bat&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;for&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Microsoft&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;Windows&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;use&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;CTRL&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;C&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;escape&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;to&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;gracefully&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;stop&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;server&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;it&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;has&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;been&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;started&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;with&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;the&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;startup&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;bat&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;Linux&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;install_folder&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;startup&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;sh&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;install_folder&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;shutdown&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="na"&gt;sh&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In addition, for Microsoft Windows deployments, CAST provides scripts to install/uninstall a &lt;strong&gt;Microsoft Windows Service&lt;/strong&gt;. Installation instructions are provided in the relevant dashboard installation guide:&lt;/p&gt;</description></item><item><title>Updating Windows Service Java parameters</title><link>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/updating-windows-service-java-parameters/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/updating-windows-service-java-parameters/</guid><description>&lt;p&gt;When a Dashboard (embedded or standalone) is installed as a &lt;strong&gt;Windows Service&lt;/strong&gt;, it is configured with specific Java parameters, for example &lt;strong&gt;initial memory pool&lt;/strong&gt; and &lt;strong&gt;max memory pool&lt;/strong&gt; amongst others:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-java" data-lang="java"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;JvmMx&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;1024&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;JvmMs&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;256&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;It is sometimes necessary to modify these parameters, however, it is &lt;strong&gt;not possible&lt;/strong&gt; to do so by right clicking the service in the Windows Service snap-in and choosing &lt;strong&gt;Properties&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/DASHBOARDS/attachments/629735565/629735568.jpg" alt=""&gt;&lt;/p&gt;
&lt;p&gt;Instead CAST provides a specific tool with the installed Dashboard that allows you to view these Java parameters:&lt;/p&gt;</description></item><item><title>Unlock the persistence schema</title><link>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/unlock-the-persistence-schema/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/dashboards/advanced-standalone-cast-dashboard-configuration-options/advanced-configuration-options-for-all-dashboards/for-2-x-jars-or-zips/unlock-the-persistence-schema/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary:&lt;/strong&gt;
this page describes how to unlock the persistence schema
using a SQL query&lt;/p&gt;
&lt;/div&gt;
&lt;div class="alert alert-warning" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Note&lt;/div&gt;
&lt;p&gt;This information is only valid for CAST Dashboard ≥
2.x&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;If
your CAST Dashboard service is unable to start, it may be
due to a &amp;ldquo;locked&amp;rdquo; persistence schema (by default the
persistence schema is called &amp;ldquo;&lt;strong&gt;cast_dashboards&lt;/strong&gt;&amp;rdquo; and
stores information about roles and data authorization).
Schemas (and other database items) are usually &amp;ldquo;locked&amp;rdquo;
while they are being updated, but sometimes the lock that is
applied fails to be released correctly therefore preventing
applications from accessing and updating the schema.&lt;/p&gt;</description></item></channel></rss>