Fusion Webapps service
Deploying App Studio gives you an embedded instance of App Studio in each of your Fusion instances.Deploy App Studio
Deploy App Studio
This article describes how to deploy App Studio in Fusion 5 or App Studio in Fusion 4.
Starting in Fusion 5.11.0, Fusion has deprecated the Webapps service. As of Fusion 5.11.0, you should instead deploy App Studio manually.
In Fusion 4.x, the default
FUSION_PORT
value is 8764
. In Fusion 5.x, the default value is 6764
.-
Create UI (create a new App Studio project)
-
Execute the
command ./app-studio package
to generate theapp-studio-enterprise.war
file. The file is created in the following location:/<$Application>/dist/app-studio-enterprise.war
-
Deploy WAR (upload to webapps service)
-
Go to
https://FUSION_HOST:FUSION_PORT/webapps/UI_CONTEXT/
.
Standalone deployments
-
Deploy an App in a Servlet Container
Package your search app in a Java WAR file, which can be deployed in a servlet container such as Tomcat or Jetty. This is the most common way to deploy a search app.Deploy an App in a Servlet Container
The most common way to deploy an App Studio search application is to package it as a standard Java.war
file, which can be deployed in any standard servlet container such as Tomcat or Jetty.Create a WAR file
Create a WAR file suitable for deployment in a servlet container. Do either of the following:- Use a script - Run the script
app-studio
(on Unix or MacOS) orapp-studio.bat
(on Windows) with the parameterpackage
to create the WAR file. - Download the WAR file from Fusion - If you created the search interface in Fusion, you can download the WAR file from Fusion.
Deploy the WAR file
Deploy the WAR file in the servlet container. Follow the instructions in the documentation for the servlet container. - Use a script - Run the script
-
Deploy a Standalone App
- Package your search app in a Java JAR file that also contains an embedded Tomcat web server. The app is ready to deploy in a production environment. It is not necessary to build a WAR file and deploy that in a servlet container or application server.
- Package your search app in a Java JAR file. You can run the app with the Java launcher.
Deploy a Standalone App
There are two ways to deploy a standalone App Studio search interface:- Create an app with an embedded Tomcat web server
This deployment type has an embedded Tomcat web server and is ready to deploy in a production environment. Previously, this was referred to as a “self-contained deployment.” - Create an executable Java JAR file This is a JAR package. Previously, this was referred to as a “self-executing deployment.”
Embedded Tomcat web server
Package your app as a standalone app for deployment to a production server. The standalone app embeds an Apache Tomcat servlet container.Unix or MacOS:Windows:Standalone app directory
Unix or MacOS:The standalone app for deployment is in the_app-name_/search-app-standalone
directory.Windows:The standalone app for deployment is in the_app-name_\search-app-standalone
directory.Thesearch-app-project.zip
is a snapshot of your project at the time you compiled the application.Executable Java JAR file
In this deployment type, your search interface runs within the Java runtime environment (JRE).A downloaded project comes with anapp-studio
script that creates a JAR file.How to create the JAR file-
In a shell window, switch to your project directory:
-
Create the JAR file:
Unix and MacOS:
Windows:
dist
directory of your project:Running an executable JAR file